/* ============================================================
   NoctamBus — style.css
   CFP Arts · Atelier Web · ID3 · 2025–2026
   Palette & polices d'origine conservées. Police secondaire
   ajoutée : Quicksand (style du logo tpg). Splatink reste la
   police d'affichage et n'est JAMAIS utilisée pour un chiffre.
   ============================================================ */

/* ── Police d'affichage d'origine ───────────────────────────── */
@font-face {
  font-family: 'Splatink';
  src: url('fonts/Splatink_PERSONAL_USE_ONLY.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Quicksand auto-hébergée (woff2) ─────────────────────────── */
@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Jetons de design (design tokens) ───────────────────────── */
:root {
  /* Couleurs d'origine — valeurs hex inchangées */
  --c-navy: #1C1C7A;
  /* fond général (bleu nuit)        */
  --c-navy-deep: #141464;
  /* sections alternées (plus sombre)*/
  --c-orange: #F65111;
  /* accent TPG                      */
  --c-white: #FFFFFF;

  /* Dérivés (uniquement des voiles, aucune nouvelle teinte) */
  --text: rgba(255, 255, 255, 0.90);
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.40);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.06);
  --orange-soft: rgba(246, 81, 17, 0.14);

  /* Typographies */
  --font-display: 'Splatink', Impact, 'Arial Black', sans-serif;
  --font-ui: 'Quicksand', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rythme & rayons */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 14px;
  --radius-lg: 26px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Réinitialisation ───────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* décalage des ancres sous la barre de navigation fixe */
section[id],
header[id] {
  scroll-margin-top: 72px;
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--c-navy);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Texture papier d'origine (overlay) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('img/texture.jpg');
  background-repeat: repeat;
  background-size: 900px;
  mix-blend-mode: screen;
  opacity: 0.06;
  pointer-events: none;
  z-index: 9998;
}

/* ── Accessibilité ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--c-orange);
  color: var(--c-white);
  padding: 0.6em 1em;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Typographie ────────────────────────────────────────────── */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
}

h1 {
  font-size: clamp(4.5rem, 13vw, 12rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
}

/* CHIFFRES : toujours en Quicksand, jamais en Splatink */
.num {
  font-family: var(--font-ui);
  font-feature-settings: 'tnum' 1;
}

.kicker {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-orange);
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.kicker .num {
  font-weight: 600;
  background: var(--orange-soft);
  color: var(--c-orange);
  padding: 0.25em 0.55em;
  border-radius: 999px;
}

.kicker.on-dark {
  color: var(--c-white);
}

.kicker.on-dark .num {
  background: rgba(255, 255, 255, 0.18);
  color: var(--c-white);
}

/* ── Disposition de section ─────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 11vh, 9rem) var(--gutter);
}

.section-head {
  max-width: 60rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head .kicker {
  margin-bottom: 1.1em;
}

.section-head h2 {
  color: var(--c-white);
}

.section-lede {
  margin-top: 1.2em;
  max-width: 38rem;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* Classe de révélation (JS) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}


/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  background: rgba(20, 20, 100, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-orange);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-links a {
  color: var(--text-dim);
  transition: color 0.2s var(--ease-out);
}

.nav-links a:hover {
  color: var(--c-white);
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-orange);
  padding: 0.6em 1.1em;
  border-radius: 999px;
  transition: transform 0.2s var(--ease-spring), filter 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--line-soft);
}

#nav-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--c-orange);
}


/* ═══════════════════════════════════════════════════════════
   HERO — collision taxi × bus au centre exact du viewport
   ═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--c-navy);
}

.hero-top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  padding: clamp(4.5rem, 12vh, 8rem) var(--gutter) 0;
  text-align: center;
  pointer-events: none;
}

.hero-top .kicker {
  justify-content: center;
  margin-bottom: 1em;
}

.hero-title {
  color: var(--c-white);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}

.hero-tag {
  margin-top: 0.6em;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--c-orange);
}

/* Scène = calque plein viewport → impact au centre exact */
.scene {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.scene-road {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  transform: translateY(28px);
  background-color: var(--line);
}

.vehicle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  transform: translate(-50%, -50%);
  /* centrage (repli sans JS) */
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.45));
  will-change: transform;
}

/* Les deux véhicules regardent vers la droite : le bus percute le taxi par l'arrière. */
#taxi {
  height: clamp(88px, 15vw, 188px);
  z-index: 5;
}

#bus {
  height: clamp(96px, 17vw, 208px);
  z-index: 4;
}

/* Légendes narratives au centre */
.scene-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(90vw, 40rem);
  transform: translate(-50%, calc(-50% + 150px));
  text-align: center;
  font-size: clamp(1.1rem, 3.2vw, 2rem);
  font-weight: 600;
  color: var(--c-white);
}

.scene-caption[data-state='after'] {
  opacity: 0;
  color: var(--c-orange);
}

/* Effets d'impact */
.impact-bam {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 8rem);
  color: var(--c-orange);
  opacity: 0;
  z-index: 6;
  text-shadow: 0 0 30px rgba(246, 81, 17, 0.5);
  pointer-events: none;
}

.impact-flash {
  position: absolute;
  inset: 0;
  background-color: var(--c-white);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
}

.scroll-cue-line {
  width: 2px;
  height: 38px;
  background-color: var(--c-orange);
  animation: cue 1.8s var(--ease-out) infinite;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}


/* ═══════════════════════════════════════════════════════════
   MANIFESTE
   ═══════════════════════════════════════════════════════════ */
#manifeste {
  background: var(--c-navy-deep);
  border-top: 1px solid var(--line-soft);
}

#manifeste .kicker {
  margin-bottom: 1.6em;
}

.manifeste-text {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(1.5rem, 4.4vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 24ch;
  color: var(--c-white);
}

.manifeste-text em {
  font-style: normal;
  color: var(--c-orange);
}

.manifeste-text.reveal-block {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.manifeste-text.is-in {
  opacity: 1;
  transform: none;
}


/* ═══════════════════════════════════════════════════════════
   INFOS — chiffres + cartes
   ═══════════════════════════════════════════════════════════ */
#infos {
  background: var(--c-navy);
  border-top: 1px solid var(--line-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1;
  color: var(--c-orange);
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 0.6em;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 18rem;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}

.info-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-orange);
  background: rgba(255, 255, 255, 0.07);
}

.info-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 0.9em;
}

.info-card-body {
  color: var(--text);
  font-size: 1rem;
}


/* ═══════════════════════════════════════════════════════════
   LIGNES — marquee PNG
   ═══════════════════════════════════════════════════════════ */
#lignes {
  position: relative;
  background: var(--c-navy-deep);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}

.lignes-bg-num {
  position: absolute;
  top: -0.08em;
  right: -0.02em;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 42vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

#lignes .section-head,
.rangee {
  position: relative;
  z-index: 1;
}

.rangee {
  overflow: hidden;
  height: 6.5em;
  margin-bottom: 0.8em;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
}

.piste {
  display: flex;
  align-items: center;
  gap: 1.1em;
  width: max-content;
  height: 100%;
  padding: 0 0.6em;
  will-change: transform;
  animation: defiler-gauche 30s linear infinite;
}

/* On ne redéfinit que le nom/la durée (pas le raccourci complet) : sinon
   animation-play-state repasserait à "running" et battrait la pause au survol. */
#rangee-2 .piste {
  animation-name: defiler-droite;
  animation-duration: 24s;
}

#rangee-3 .piste {
  animation-duration: 38s;
}

.rangee:hover .piste {
  animation-play-state: paused;
}

.img-ligne {
  width: auto;
  min-width: 4em;
  height: 4.6em;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.25s var(--ease-spring);
}

.img-ligne:hover {
  transform: scale(1.12) translateY(-4px);
}

@keyframes defiler-gauche {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes defiler-droite {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}




/* ═══════════════════════════════════════════════════════════
   ATOUTS — accordéon
   ═══════════════════════════════════════════════════════════ */
#atouts {
  background: var(--c-navy-deep);
  border-top: 1px solid var(--line-soft);
}

.atouts-liste {
  border-bottom: 1px solid var(--line);
  max-width: 64rem;
}

.atout-item {
  border-top: 1px solid var(--line);
}

.atout-entete {
  display: flex;
  align-items: center;
  gap: 1.4em;
  width: 100%;
  text-align: left;
  padding: clamp(1.1rem, 2.6vw, 1.7rem) 0.2rem;
  transition: color 0.25s var(--ease-out);
}

.atout-entete:hover {
  color: var(--c-orange);
}

.atout-num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-orange);
  width: 2em;
  flex-shrink: 0;
}

.atout-nom {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  flex: 1;
  color: var(--c-white);
  transition: letter-spacing 0.4s var(--ease-spring), color 0.25s;
}

.atout-entete:hover .atout-nom {
  letter-spacing: 0.02em;
  color: var(--c-orange);
}

.atout-signe {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.atout-signe::before,
.atout-signe::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--c-orange);
  transition: transform 0.35s var(--ease-out);
}

.atout-signe::before {
  transform: translateY(-50%);
}

.atout-signe::after {
  transform: translateY(-50%) rotate(90deg);
}

.atout-item.est-ouvert .atout-signe::after {
  transform: translateY(-50%) rotate(0deg);
}

/* Ouverture fluide via grid-template-rows (pas de clipping) */
.atout-contenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.atout-item.est-ouvert .atout-contenu {
  grid-template-rows: 1fr;
}

.atout-contenu>.atout-details {
  overflow: hidden;
}

.atout-details {
  padding-left: calc(2em + 1.4em);
  color: var(--text-dim);
  list-style: disc;
}

.atout-item.est-ouvert .atout-details {
  padding-bottom: 1.6em;
}

.atout-details li {
  font-size: 1rem;
  padding: 0.3em 0;
}

.atout-details li::marker {
  color: var(--c-orange);
}


/* ═══════════════════════════════════════════════════════════
   CAPSULE — vidéo pilotée au scroll
   ═══════════════════════════════════════════════════════════ */
#capsule {
  position: relative;
  background: #000;
}

.capsule-sticky {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.capsule-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* vidéo entière toujours visible, jamais rognée */
  background: #000;
}

.capsule-overlay {
  position: absolute;
  left: var(--gutter);
  top: clamp(5rem, 12vh, 8rem);
  z-index: 2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.capsule-overlay .kicker {
  margin-bottom: 0.8em;
}

.capsule-line {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--c-white);
  max-width: 16ch;
}

.sound-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.5rem, 7vh, 4rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--c-white);
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s var(--ease-spring);
}

.sound-toggle:hover {
  background: rgba(246, 81, 17, 0.85);
  transform: translateY(-2px);
}

.sound-ico {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--ico-mute) center/contain no-repeat;
  mask: var(--ico-mute) center/contain no-repeat;
}

.sound-toggle[aria-pressed='true'] .sound-ico {
  -webkit-mask-image: var(--ico-sound);
  mask-image: var(--ico-sound);
}

:root {
  --ico-mute: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 9v6h4l5 5V4L7 9H3zm13.5 3l2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4z'/%3E%3C/svg%3E");
  --ico-sound: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 9v6h4l5 5V4L7 9H3zm13 3a4 4 0 00-2-3.5v7A4 4 0 0016 12zm-2-7.7v2.1a6 6 0 010 11.2v2.1a8 8 0 000-15.4z'/%3E%3C/svg%3E");
}

.capsule-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 1em 1.8em;
  border-radius: 999px;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
}

.capsule-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(2.5rem, 7vh, 4rem);
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
#cta {
  background-color: var(--c-navy);
  text-align: center;
  border-top: 1px solid var(--line-soft);
}

#cta .kicker {
  justify-content: center;
  margin-bottom: 1.2em;
}

.cta-title {
  color: var(--c-white);
}

.cta-lede {
  margin: 1.4em auto 2.2em;
  max-width: 34rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.cta-btn {
  display: inline-block;
  padding: 1em 2em;
  border-radius: 999px;
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-spring), filter 0.25s, box-shadow 0.25s;

}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
#pied-de-page {
  background: var(--c-orange);
  color: var(--c-navy);
  padding: clamp(3rem, 8vw, 5rem) var(--gutter);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-nom {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  color: var(--c-navy);
  margin-bottom: 0.3em;
}

.footer-info {
  font-size: 0.95rem;
  color: var(--c-navy);
  margin-bottom: 0.8em;
  font-weight: 500;
}

.footer-info a {
  text-decoration: underline;
}

.footer-credit {
  font-size: 0.78rem;
  color: rgba(28, 28, 122, 0.7);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .stats,
  .info-cards {
    grid-template-columns: 1fr;
  }

  .stat {
    text-align: center;
  }

  .stat-label {
    margin-inline: auto;
  }

  .scene-caption {
    transform: translate(-50%, calc(-50% + 116px));
  }
}

@media (max-width: 480px) {
  .nav-mark {
    font-size: 1.25rem;
  }

  .hero-tag {
    letter-spacing: 0.22em;
  }
}


/* ═══════════════════════════════════════════════════════════
   PRÉFÉRENCE : MOUVEMENT RÉDUIT
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .piste {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .scene-caption[data-state='before'] {
    opacity: 0;
  }

  .scene-caption[data-state='after'] {
    opacity: 1;
  }

  .scroll-cue,
  .capsule-hint {
    display: none;
  }
}