/* ===========================================================================
   ISOLUTION — feuille unique
   DA : froid industriel. Base grise et bleu acier, accent rouge parcimonieux.
   Contrastes vérifiés WCAG AA. Voir CLAUDE.md pour les règles d'usage.
   =========================================================================== */

/* ---------- 1. Tokens ---------- */

:root {
  /* Couleurs */
  --bleu-ardoise:   #132A3E;
  --bleu-ardoise-2: #1B3A52;
  --bleu-acier:     #0B3C5D;
  --rouge:          #C8102E;
  --rouge-dark:     #A81D24;
  --rouge-clair:    #EF5F6E;
  --gris-texte:     #475569;
  --gris-muted:     #64748B;
  --blanc:          #FFFFFF;
  --gris-froid:     #F5F7FA;
  --bordure:        #E7ECF2;
  --erreur:         #B91C1C;
  --succes:         #15803D;

  /* Typographie.
     Trois rôles distincts, c'est ce qui sépare une page composée d'une page
     mise en forme : le display porte la voix, le texte porte le propos, et le
     mono porte la donnée technique (indices, références, mesures, libellés).
     Le mono est le signal « bureau d'études » le plus économique qui soit. */
  --font-title: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:  'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* Grille Swiss : 12 colonnes, gouttière sur l'unité de base de 8 */
  --grid-cols: 12;
  --grid-gap: 1.5rem;

  /* Rythme vertical, échelle de 8 */
  --sp-1: 0.5rem;   /* 8  */
  --sp-2: 1rem;     /* 16 */
  --sp-3: 1.5rem;   /* 24 */
  --sp-4: 2rem;     /* 32 */
  --sp-5: 3rem;     /* 48 */
  --sp-6: 4rem;     /* 64 */
  --sp-7: 6rem;     /* 96 */
  --sp-8: 8rem;     /* 128 */

  /* Structure */
  --container: 1200px;
  --gutter: 1.5rem;
  /* Rayons remontés avec le passage à la grille bento (skill : Bento Grid,
     « rounded-xl 16px »). Les boutons restent plus tendus que les surfaces. */
  --radius-btn: 6px;
  --radius-card: 16px;
  --radius-tile: 20px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(19, 42, 62, .06);
  --shadow-hover: 0 4px 16px rgba(19, 42, 62, .09);

  /* Mouvement.
     L'easing est le même que celui d'AMBE : une décélération très longue, qui
     donne aux apparitions leur caractère posé plutôt que « pop ». Tout le site
     partage ces quatre valeurs, c'est ce qui unifie le rythme. */
  --ease:          cubic-bezier(.16, 1, .3, 1);   /* sortie cinéma */
  --ease-emphase:  cubic-bezier(.7, 0, .3, 1);    /* transitions de section */
  --dur-fast:      200ms;
  --dur:           400ms;
  --dur-slow:      900ms;
  --dur-cinema:    1200ms;
  --dur-reveal:    900ms;

  /* Vitesses de parallaxe (skill UI/UX : Parallax Storytelling) */
  --par-fond:  .3;
  --par-milieu: .6;
  --par-avant: 1;

  /* Motif signature : coupe de panneau isotherme (deux parements, une âme) */
  --motif-panneau: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, .10) 0 2px,
    rgba(255, 255, 255, .025) 2px 26px,
    rgba(255, 255, 255, .10) 26px 28px,
    transparent 28px 68px
  );
}

/* ---------- 2. Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.65;
  color: var(--gris-texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--bleu-ardoise);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-2);
  text-wrap: balance;
}

/* Échelle volontairement dramatique. Un h1 à 3,5 rem et un h2 à 2,5 rem, c'est
   la même voix à deux volumes : rien ne hiérarchise. L'écart doit s'entendre. */
h1 { font-size: clamp(2.75rem, 7.5vw, 6.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.6vw, 3.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 var(--sp-2); max-width: 68ch; }

a { color: var(--bleu-acier); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rouge); }

img { max-width: 100%; height: auto; display: block; }

ul { padding-left: 1.1rem; }

:focus-visible {
  outline: 2px solid var(--bleu-acier);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--bleu-ardoise);
  color: var(--blanc);
  padding: var(--sp-1) var(--sp-2);
  border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus { left: 0; color: var(--blanc); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Sections et titres ---------- */

.section { padding-block: var(--sp-6); }
.section--alt { background: var(--gris-froid); }
.section--dark { background: var(--bleu-ardoise); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3 { color: var(--blanc); }
.section--dark a { color: var(--blanc); }
.section--tight { padding-block: var(--sp-5); }

/* Libellé de section en mono : c'est une référence de document, pas un titre. */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gris-muted);
  margin-bottom: var(--sp-2);
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--rouge);
  flex: none;
}
.section--dark .section-label { color: rgba(255, 255, 255, .6); }
.section--dark .section-label::before { background: var(--rouge-clair); }

.section-label--center { justify-content: center; }

.section-intro {
  font-size: 1.125rem;
  color: var(--gris-texte);
  max-width: 62ch;
  margin-bottom: var(--sp-4);
}
.section--dark .section-intro { color: rgba(255, 255, 255, .8); }

.section-head { margin-bottom: var(--sp-5); }
.section-head--center { text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }

/* Tête de section éditoriale : grille 12 colonnes, placement asymétrique.
   Le libellé occupe les deux premières colonnes, le titre part de la troisième
   et court jusqu'au bord, le chapô reste dans une colonne étroite. C'est
   l'asymétrie qui fait lire la page comme composée plutôt que centrée. */
.section-head--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--bordure);
}
.section--dark .section-head--grid { border-top-color: rgba(255, 255, 255, .18); }
.section-head--grid .section-label { margin-bottom: 0; }
.section-head--grid h2 { margin-bottom: 0; }
.section-head--grid .section-intro { margin-bottom: 0; }

@media (min-width: 768px) {
  .section-head--grid {
    grid-template-columns: repeat(var(--grid-cols), 1fr);
    gap: var(--sp-3) var(--grid-gap);
    align-items: start;
  }
  /* Le titre s'arrête à la colonne 11 et l'action occupe les deux dernières
     sur la MÊME ligne de grille : un bouton relégué seul sous le titre casse
     la ligne de force et ouvre un blanc qui n'a pas de raison d'être. */
  .section-head--grid .section-label  { grid-column: 1 / 3;  grid-row: 1; padding-top: .55rem; }
  .section-head--grid h2              { grid-column: 3 / 11; grid-row: 1; }
  .section-head--grid .section-action { grid-column: 11 / 13; grid-row: 1; justify-self: end; align-self: start; }
  .section-head--grid .section-intro  { grid-column: 3 / 9;  grid-row: 2; }
}

/* Mot accentué dans un titre, équivalent du .gold-word d'AMBE.
   Un seul mot par titre, jamais deux. */
.accent-word { color: var(--rouge); }
.section--dark .accent-word, .hero .accent-word { color: var(--rouge-clair); }

/* Variante « bandeau d'intro » d'AMBE : titre à gauche, bouton à droite. */
.section-head--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  align-items: end;
}
.section-head--split p { margin-bottom: 0; }

/* Motif signature : séparateur en coupe de panneau */
.panel-rule {
  height: 9px;
  background:
    linear-gradient(var(--bordure), var(--bordure)) 0 0   / 100% 2px no-repeat,
    linear-gradient(var(--bordure), var(--bordure)) 0 4px / 100% 1px no-repeat,
    linear-gradient(var(--bordure), var(--bordure)) 0 7px / 100% 2px no-repeat;
}
.panel-rule--dark {
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 0 0   / 100% 2px no-repeat,
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 0 4px / 100% 1px no-repeat,
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 0 7px / 100% 2px no-repeat;
}

/* ---------- 4. Boutons ---------- */

/* Le remplissage au survol balaie de gauche à droite, comme un panneau qu'on
   glisse en place. C'est le même geste que la transition de section : une seule
   idée de mouvement, déclinée à deux échelles. */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }

.btn--primary { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }
.btn--primary::before { background: var(--rouge-dark); }
.btn--primary:hover { border-color: var(--rouge-dark); color: var(--blanc); }

.btn--outline { background: transparent; color: var(--bleu-ardoise); border-color: var(--bleu-ardoise); }
.btn--outline::before { background: var(--bleu-ardoise); }
.btn--outline:hover { color: var(--blanc); }

.btn--ghost { background: transparent; color: var(--blanc); border-color: rgba(255, 255, 255, .45); }
.btn--ghost::before { background: rgba(255, 255, 255, .14); }
.btn--ghost:hover { border-color: var(--blanc); color: var(--blanc); }

.btn svg { position: relative; z-index: 1; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--sm { min-height: 40px; padding: 0.5rem 1.125rem; font-size: 0.875rem; }
.btn--lg { min-height: 54px; padding: 0.875rem 2.25rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* Le soulignement n'est pas décoratif : posé au milieu d'un paragraphe, un lien
   distingué par la seule couleur est invisible pour un daltonien (WCAG 1.4.1). */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--bleu-acier);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.link-arrow::after {
  content: "";
  width: 16px; height: 1.5px;
  background: currentColor;
  text-decoration: none;
  transition: width var(--dur) var(--ease);
}
/* Dans une carte entièrement cliquable, le lien n'est pas dans un bloc de texte :
   le soulignement y ferait doublon avec la cible de clic. */
.index-link .link-arrow { text-decoration: none; }
.link-arrow:hover { color: var(--rouge); }
.link-arrow:hover::after { width: 26px; }

/* ---------- 5. Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid var(--bordure);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 12px rgba(19, 42, 62, .08); }

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--bleu-ardoise);
  text-decoration: none;
  flex: none;
}
.nav-logo-text { white-space: nowrap; }
/* Logo client : hauteur fixe, largeur déduite du ratio (497 x 150). */
.nav-logo-img { display: block; height: 46px; width: auto; }
@media (max-width: 899px) { .nav-logo-img { height: 34px; } }

/* Plaque claire du footer, cousine de la plaque signalétique du site. */
/* Double classe : la règle .footer-logo (plus bas) imposerait display: flex et
   étirerait la plaque sur toute la colonne. */
.footer-logo.footer-logo--plaque {
  display: inline-flex;
  width: fit-content;
  padding: .7rem 1rem;
  background: var(--blanc);
  border-radius: var(--radius-card);
}
.footer-logo--plaque img { display: block; height: 38px; width: auto; }
.nav-logo-mark {
  width: 22px;
  height: 26px;
  flex: none;
  background:
    linear-gradient(var(--bleu-ardoise), var(--bleu-ardoise)) 0 0    / 100% 4px no-repeat,
    linear-gradient(var(--rouge), var(--rouge))               0 7px  / 100% 12px no-repeat,
    linear-gradient(var(--bleu-ardoise), var(--bleu-ardoise)) 0 22px / 100% 4px no-repeat;
  border-radius: 1px;
}

.nav-menu { display: flex; align-items: center; gap: var(--sp-4); }
.nav-list { display: flex; align-items: center; gap: var(--sp-3); list-style: none; margin: 0; padding: 0; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bleu-ardoise);
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--rouge);
  transition: right var(--dur) var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-link.is-active { color: var(--bleu-ardoise); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-2); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--bleu-ardoise);
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--rouge); }

.nav-burger {
  display: none;
  width: 48px; height: 48px;
  padding: 12px;
  background: none;
  border: 1px solid var(--bordure);
  border-radius: var(--radius-btn);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--bleu-ardoise);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-burger span + span { margin-top: 5px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--sp-2) var(--gutter) var(--sp-3);
  background: var(--blanc);
  border-top: 1px solid var(--bordure);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-link {
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--bleu-ardoise);
  text-decoration: none;
  border-bottom: 1px solid var(--bordure);
}
.nav-mobile-link.is-active { color: var(--rouge); font-weight: 600; }
.nav-mobile-cta { margin-top: var(--sp-2); }

/* ---------- 6. Hero ---------- */

/* Hero en scène : le bloc fait 130vh, son contenu reste collé pendant 100vh.
   Pendant ce parcours, --hero-p passe de 0 à 1 (piloté en JS) et sert à faire
   dériver les trois couches à des vitesses différentes. Le sol du hero devient
   ainsi une profondeur, pas une image fixe. */
.hero-stage {
  position: relative;
  height: 130vh;
  background: var(--bleu-ardoise);
}
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--bleu-ardoise);
  color: rgba(255, 255, 255, .84);
  overflow: hidden;
}

/* Couche de fond : la trame de panneaux, la plus lente */
.hero-layer-motif {
  position: absolute;
  inset: -12% 0 -12% 0;
  background: var(--motif-panneau);
  opacity: .5;
  transform: translate3d(0, calc(var(--hero-p, 0) * 12vh * var(--par-fond)), 0);
  pointer-events: none;
}
/* Couche intermédiaire : la lueur froide */
.hero-layer-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 12% 8%, rgba(27, 58, 82, .95) 0%, transparent 62%),
    radial-gradient(60% 50% at 88% 92%, rgba(11, 60, 93, .55) 0%, transparent 65%);
  transform: translate3d(0, calc(var(--hero-p, 0) * 12vh * var(--par-milieu)), 0);
  pointer-events: none;
}
/* Filet rouge qui se tire sous le hero pendant la descente */
.hero-stage::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: calc(var(--hero-p, 0) * 100%);
  background: var(--rouge);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
  width: 100%;
  /* le contenu s'efface doucement quand la scène se termine */
  opacity: clamp(0, 1 - var(--hero-p, 0) * 1.6, 1);
  transform: translate3d(0, calc(var(--hero-p, 0) * -4vh), 0);
}

/* Taille propre au hero, plus contenue que le h1 générique : la scène est en
   hauteur fixe avec overflow caché, un titre trop haut serait tronqué sur un
   portable 13 pouces. */
.hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 4.75rem);
  color: var(--blanc);
  margin-bottom: var(--sp-3);
}
.hero h1 .accent { color: var(--rouge-clair); }

.hero-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .8);
  max-width: 54ch;
  margin-bottom: var(--sp-4);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.75rem 0.35rem 0.5rem;
  margin-bottom: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-btn);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rouge-clair);
  flex: none;
}

/* ---------- 7. Plaque signalétique (bandeau de preuves) ---------- */

.proof {
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  background: var(--blanc);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.proof-item {
  padding: var(--sp-4) var(--sp-2);
  border-right: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
}
.proof-item:nth-child(2n) { border-right: 0; }
.proof-item:nth-last-child(-n+2) { border-bottom: 0; }

.proof-value {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.875rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--bleu-ardoise);
  margin-bottom: 0.625rem;
}
/* Les entrées non chiffrées (Multimarques, France) sont composées un cran plus bas :
   un mot long ne doit jamais casser en deux dans la plaque. */
.proof-value--word { font-size: clamp(1.125rem, 2.6vw, 2rem); }

.proof-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-muted);
  line-height: 1.5;
}

/* ---------- 8. Index des interventions ----------
   Pas de grille de cartes bordées : c'est le marqueur le plus reconnaissable
   d'une page composée par défaut. Ici, un index de document technique, en
   lignes pleine largeur séparées par des filets. La ligne entière s'inverse
   au survol, ce qui rend la cible de clic évidente sans bouton.
   ------------------------------------------------------------------------- */

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bordure);
}

.index-row { border-bottom: 1px solid var(--bordure); }

.index-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem var(--grid-gap);
  align-items: baseline;
  padding: var(--sp-3) 0;
  text-decoration: none;
  color: inherit;
  transition: color var(--dur) var(--ease);
}
/* Le fond d'inversion balaie depuis la gauche : même geste que la pose de
   panneau et que le remplissage des boutons. */
.index-link::before {
  content: "";
  position: absolute;
  /* Débordement calé exactement sur la gouttière du conteneur : le fond atteint
     le bord de la page sans jamais le dépasser, à toutes les largeurs. Une
     valeur en dur y créait 12 px de défilement horizontal sur mobile. */
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--bleu-ardoise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.index-link:hover::before, .index-link:focus-visible::before { transform: scaleX(1); }
.index-link:hover, .index-link:focus-visible { color: var(--blanc); }

.index-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: var(--rouge);
  transition: color var(--dur) var(--ease);
}
.index-link:hover .index-num { color: var(--rouge-clair); }

.index-title {
  font-family: var(--font-title);
  font-size: clamp(1.375rem, 3vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: inherit;
  margin: 0;
}

.index-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gris-texte);
  margin: 0;
  max-width: 52ch;
  transition: color var(--dur) var(--ease);
}
.index-link:hover .index-desc { color: rgba(255, 255, 255, .78); }

/* Flèche en SVG et non en pseudo-éléments : deux bords pivotés autour d'un coin
   ne se raccordent jamais proprement au trait, la pointe flotte au-dessus de la
   ligne. Un tracé vectoriel est exact à tous les zooms. */
.index-go {
  justify-self: start;
  display: block;
  width: 30px;
  color: var(--bleu-acier);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.index-go svg { display: block; width: 100%; height: auto; }
.index-link:hover .index-go { transform: translateX(8px); color: var(--blanc); }

/* ---------- 9. Cibles ---------- */

.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}
.audience-item {
  padding-top: var(--sp-3);
  border-top: 2px solid var(--bleu-ardoise);
}
.audience-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-2);
  color: var(--bleu-acier);
}
.audience-item h3 { margin-bottom: 0.5rem; }
.audience-item p { font-size: 0.9375rem; margin-bottom: 0; }

/* ---------- 10. Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  counter-reset: step;
}
.step { position: relative; padding-top: var(--sp-3); border-top: 1px solid var(--bordure); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--rouge);
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9375rem; margin-bottom: 0; }

/* ---------- 11. Bloc média / stock ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
}
.split--reverse .split-media { order: -1; }

/* Placeholder photo : aplat acier texturé + légende de la photo attendue.
   À remplacer par un <img> dès réception des visuels. Voir CLAUDE.md. */
.media-ph {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, var(--bleu-ardoise-2) 0%, var(--bleu-ardoise) 55%, #0C2032 100%);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.media-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--motif-panneau);
  opacity: .6;
}
.media-ph::after {
  content: attr(data-label);
  position: relative;
  width: 100%;
  padding: var(--sp-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: rgba(255, 255, 255, .68);
  background: linear-gradient(transparent, rgba(8, 22, 35, .85));
}
.media-ph--tall { aspect-ratio: 3 / 4; }
.media-ph--wide { aspect-ratio: 16 / 9; }

/* Photo reelle : memes proportions que le placeholder qu'elle remplace,
   pour que la mise en page ne bouge pas d'un pixel au moment de la livraison
   des visuels. */
.media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 9; }

/* ---------- 12. Zone d'intervention ---------- */

.zone-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
}
.zone-map {
  padding: var(--sp-3);
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius-card);
}

.map-fr {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-inline: auto;
}
.map-fr__land {
  fill: var(--gris-froid);
  stroke: var(--bleu-ardoise);
  stroke-width: 2;
  stroke-linejoin: round;
}
.map-fr__dot   { fill: var(--rouge); }
.map-fr__pulse { fill: none; stroke: var(--rouge); stroke-width: 2; opacity: .45; }
.map-fr__halo  { fill: none; stroke: var(--rouge); stroke-width: 1.5; opacity: .2; }

/* Le point d'implantation respire lentement : c'est le seul élément animé de la
   section, et il désigne l'information utile. */
@media (prefers-reduced-motion: no-preference) {
  .map-fr__pulse { transform-origin: var(--mx) var(--my); animation: map-pulse 3.2s var(--ease) infinite; }
  .map-fr__halo  { transform-origin: var(--mx) var(--my); animation: map-pulse 3.2s var(--ease) .4s infinite; }
}
@keyframes map-pulse {
  0%   { transform: scale(.7); opacity: .5; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.map-fr__caption {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  justify-content: center;
  margin: var(--sp-2) 0 0;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--bordure);
  font-size: 0.9375rem;
  max-width: none;
}
.map-fr__key {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-muted);
}

/* ---------- 13. CTA ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--motif-panneau);
  opacity: .45;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  align-items: center;
}
.cta-title { margin-bottom: 0.75rem; }
.cta-text { color: rgba(255, 255, 255, .8); margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ---------- 14. Page services : ancres ---------- */

.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--blanc);
  border-bottom: 1px solid var(--bordure);
}
.anchor-list {
  display: flex;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.anchor-link {
  display: inline-block;
  padding: 0.875rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--gris-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.anchor-link:hover { color: var(--bleu-ardoise); }
.anchor-link.is-active { color: var(--bleu-ardoise); border-bottom-color: var(--rouge); font-weight: 600; }

.service-block { padding-block: var(--sp-6); border-top: 1px solid var(--bordure); }
.service-block:first-of-type { border-top: 0; }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: start;
}
.service-meta {
  padding: var(--sp-2) 0 0;
  margin-bottom: var(--sp-3);
  border-top: 1px solid var(--bordure);
  font-size: 0.875rem;
  color: var(--gris-muted);
}
.service-meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-muted);
  margin-bottom: 0.35rem;
}

.check-list { list-style: none; padding: 0; margin: 0 0 var(--sp-3); }
.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 2px;
  background: var(--rouge);
}

/* ---------- 15. Marques et FAQ ---------- */

.brands {
  /* flex et non grid : avec 5 marques, une grille laisserait une case vide
     sur 2 ou 3 colonnes ; ici la dernière ligne s'étire et remplit. */
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.brands { list-style: none; margin: 0; padding: 0; }
.brands .brand-slot { flex: 1 1 calc(50% - 1px); }
@media (min-width: 640px)  { .brands .brand-slot { flex-basis: calc(33.333% - 1px); } }
@media (min-width: 1024px) { .brands .brand-slot { flex-basis: 0; } }
/* Noms de marque composés dans la typo du site : une rangée homogène, là où
   cinq logos récupérés en capture auraient eu cinq qualités différentes. */
.brand-slot {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: var(--sp-2);
  background: var(--blanc);
  font-family: var(--font-title);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--bleu-ardoise);
  text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.brand-slot:hover { background: var(--gris-froid); color: var(--rouge); }
/* Logos : même hauteur visuelle pour tous, en niveaux de gris au repos. Cinq
   logos de couleurs et de qualités différentes, côte à côte, se battent entre
   eux ; en gris ils forment une rangée. Ils reprennent leurs couleurs au survol. */
.brand-slot img {
  display: block;
  width: auto;
  max-width: 78%;
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.brand-slot:hover img { filter: none; opacity: 1; }
@media (hover: none) { .brand-slot img { filter: none; opacity: 1; } }

.faq { border-top: 1px solid var(--bordure); }
.faq-item { border-bottom: 1px solid var(--bordure); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
  font-family: var(--font-title);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bleu-ardoise);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-right: 2px solid var(--rouge);
  border-bottom: 2px solid var(--rouge);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-item p { padding-bottom: var(--sp-3); font-size: 0.9375rem; margin-bottom: 0; }

/* ---------- 16. Formulaire ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: start;
}

.form-card {
  padding: var(--sp-3);
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.field { margin-bottom: var(--sp-2); }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }

.label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bleu-ardoise);
}
.label .req { color: var(--rouge); }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.875rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bleu-ardoise);
  background: var(--blanc);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-btn);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--bleu-acier);
  box-shadow: 0 0 0 3px rgba(11, 60, 93, .12);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B3C5D' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.help { display: block; margin-top: 0.35rem; font-size: 0.8125rem; color: var(--gris-muted); }

.checkbox { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; }
.checkbox input {
  flex: none;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--rouge);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--sp-2);
  margin-bottom: var(--sp-3);
  font-size: 0.9375rem;
  border-radius: var(--radius-btn);
  border-left: 3px solid;
}
.alert--ok    { background: #F0FDF4; border-color: var(--succes); color: #14532D; }
.alert--error { background: #FEF2F2; border-color: var(--erreur); color: #7F1D1D; }
.alert svg { flex: none; margin-top: 2px; }

/* Colonne coordonnées */
.contact-info { display: flex; flex-direction: column; gap: var(--sp-3); }
.contact-item { display: flex; gap: var(--sp-2); }
.contact-item-icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  color: var(--bleu-acier);
  background: var(--gris-froid);
  border-radius: var(--radius-btn);
}
.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-muted);
  margin-bottom: 0.2rem;
}
.contact-item strong { color: var(--bleu-ardoise); font-weight: 600; }
.contact-item a { font-weight: 600; text-decoration: none; }

.note {
  padding: var(--sp-2);
  background: var(--gris-froid);
  border-left: 3px solid var(--rouge);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  font-size: 0.9375rem;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- 17. Pages légales ---------- */

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.375rem; margin-top: var(--sp-4); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin-bottom: var(--sp-2); }
.prose li { margin-bottom: 0.4rem; }
.placeholder-inline {
  padding: 0.1rem 0.4rem;
  background: #FEF3C7;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #78350F;
}

/* ---------- 18. Footer ---------- */

.site-footer {
  padding-block: var(--sp-5) var(--sp-3);
  background: var(--bleu-ardoise);
  color: rgba(255, 255, 255, .72);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
}
.footer-brand { max-width: 34ch; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--blanc);
  margin-bottom: var(--sp-2);
}
.footer-logo .nav-logo-mark {
  background:
    linear-gradient(#FFF, #FFF)                 0 0    / 100% 4px no-repeat,
    linear-gradient(var(--rouge), var(--rouge)) 0 7px  / 100% 12px no-repeat,
    linear-gradient(#FFF, #FFF)                 0 22px / 100% 4px no-repeat;
}
.footer-baseline { font-size: 0.875rem; margin-bottom: var(--sp-2); }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blanc);
  margin-bottom: var(--sp-2);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; line-height: 1.5; }
.footer-links--contact li { font-size: 0.875rem; }
.footer-link { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-link:hover { color: var(--blanc); text-decoration: underline; }
/* .62 et pas .4 : même un texte de remplissage doit rester lisible (4.5:1). */
.footer-placeholder { color: rgba(255, 255, 255, .62); font-style: italic; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 19. Barre fixe mobile ---------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.5rem;
  padding: 0.625rem var(--gutter);
  padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--bordure);
  box-shadow: 0 -2px 12px rgba(19, 42, 62, .08);
}
.mobile-bar-item { flex: 1; min-height: 46px; font-size: 0.875rem; padding-inline: 0.5rem; }

/* ---------- 20. Apparitions au scroll ---------- */

/* 44px de course sur 900ms : c'est la longueur qui fait la différence entre
   « un élément apparaît » et « un élément arrive ». En dessous de 30px et de
   600ms, le mouvement se lit comme un défaut d'affichage. */
.reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

/* Entrée latérale, pour les blocs en deux colonnes.
   Par défaut elle est VERTICALE : un décalage horizontal sur un élément pleine
   largeur déborde du conteneur tant qu'il n'est pas révélé, et fait apparaître
   une barre de défilement horizontale. L'entrée latérale n'est activée qu'à
   partir de 1024 px, où la gouttière (48 px) absorbe les 36 px de course. */
.reveal-x {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}
.reveal-x.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (min-width: 1024px) {
  .reveal-x          { transform: translate3d(-36px, 0, 0); }
  .reveal-x--right   { transform: translate3d(36px, 0, 0); }
  .reveal-x.is-visible { transform: translate3d(0, 0, 0); }
}

/* Titre révélé mot à mot. Les mots sont enveloppés en JS, jamais dans le HTML :
   le texte reste lisible et copiable si le script ne se charge pas. */
.reveal-words__w {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
  transition-delay: calc(var(--word-i, 0) * 55ms);
}
.reveal-words.is-visible .reveal-words__w { opacity: 1; transform: translate3d(0, 0, 0); }

/* ---------- 20 bis. Couche mouvement ----------
   Trois signatures, toutes dérivées du produit :
   1. la section qui se pose comme un panneau qu'on glisse (.section-slide)
   2. la ligne de froid qui se tire le long des 4 étapes (.steps)
   3. la trame de panneaux qui dérive derrière le hero (voir §6)
   Tout est neutralisé par prefers-reduced-motion en §23.
   ------------------------------------------------------------------------- */

/* 1. Pose de panneau : la section se découvre de gauche à droite.
      clip-path n'entraîne aucun recalcul de mise en page, donc pas de CLS. */
.section-slide {
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--dur-cinema) var(--ease-emphase);
}
.section-slide.is-visible { clip-path: inset(0 0 0 0); }

/* Filet rouge court centré en tête de section, repris d'AMBE et recoloré. */
.section--rule { position: relative; }
.section--rule::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 8vw, 80px);
  height: 2px;
  background: var(--rouge);
  opacity: .75;
}

/* 2. Ligne de froid : se remplit au fil du scroll sur les 4 étapes.
      --steps-line est piloté en JS, de 0% à 100%. */
.steps { position: relative; }

/* En colonne unique (mobile), la ligne est verticale à gauche : elle suit le
   sens de lecture. À partir de 2 colonnes elle passe à l'horizontale. */
.steps::before, .steps::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
}
.steps::before { width: 2px; height: 100%; background: var(--bordure); }
.steps::after  { width: 2px; height: var(--steps-line, 0%); background: var(--rouge); transition: height 120ms linear; }
.step { border-top: 0; padding-top: 0; padding-left: var(--sp-3); }

@media (min-width: 640px) {
  .steps::before { width: 100%; height: 2px; }
  .steps::after  { width: var(--steps-line, 0%); height: 2px; transition: width 120ms linear; }
  .step { padding-left: 0; padding-top: var(--sp-3); }
}

/* 3. Barre de progression de lecture */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  height: 2px;
  width: var(--scroll-pct, 0%);
  background: var(--rouge);
  opacity: .8;
  pointer-events: none;
  transition: width 100ms linear;
}

/* 4. Curseur. Uniquement sur pointeur fin : sur écran tactile il n'existe pas,
      et sur préférence de mouvement réduit il est retiré. */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rouge);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) translate(-50%, -50%);
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease),
              opacity var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  will-change: transform;
}
.cursor.is-active { opacity: .9; }
.cursor.is-link { width: 30px; height: 30px; background: transparent; border: 1.5px solid var(--rouge); opacity: 1; }
.cursor.is-dark  { border-color: var(--rouge-clair); background: transparent; }

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body, a, button { cursor: none; }
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor { display: none; }
  body, a, button { cursor: auto; }
}

/* 5. L'inversion des lignes d'index remplace l'inclinaison des cartes.
      Un basculement de fond sur une ligne pleine largeur se lit de loin ;
      une inclinaison 3D sur une carte, non. */

/* 6. Dérive lente du média au scroll (parallaxe légère, 1 élément par écran) */
.split-media { will-change: transform; }
.split-media .media-ph { transform: translate3d(0, var(--drift, 0px), 0); }

/* ---------- 20 ter. Hero photographique ----------
   La photo occupe tout le cadre, un dégradé ardoise la recouvre à gauche pour
   porter le texte (contraste vérifié), elle respire à droite. Pendant la
   descente elle se resserre légèrement : c'est la couche « avant » du parallaxe. */
.hero--photo { background: #0C1F2E; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transform: scale(calc(1.06 - var(--hero-p, 0) * 0.06));
  transform-origin: 70% 50%;
  will-change: transform;
}
.hero--photo .hero-layer-glow {
  background:
    /* Opacité >= .82 jusqu'à 52 % de la largeur : c'est la zone du titre. Mesuré
       sur le rendu : à .69, le mot accentué rouge clair tombait à 2,3:1 sur la
       partie claire de la photo (seuil 3:1). */
    linear-gradient(90deg, rgba(12, 31, 46, .96) 0%, rgba(12, 31, 46, .9) 40%, rgba(12, 31, 46, .82) 52%, rgba(12, 31, 46, .35) 75%, rgba(12, 31, 46, .12) 100%),
    linear-gradient(0deg, rgba(12, 31, 46, .75) 0%, transparent 35%);
}
.hero--photo .hero-layer-motif { opacity: .22; }
.hero--photo .hero-inner { grid-template-columns: 1fr; }
.hero-copy { max-width: 40rem; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: var(--sp-4);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  opacity: clamp(0, 1 - var(--hero-p, 0) * 4, 1);
}
.hero-scroll__line {
  position: relative;
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .2);
  overflow: hidden;
}
.hero-scroll__line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 40%;
  background: var(--rouge-clair);
  animation: scroll-hint 2.2s var(--ease) infinite;
}
@keyframes scroll-hint {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}

/* ---------- 20 quater. Grille bento ----------
   Skill ui-ux-pro-max, style « Bento Box Grid » : performance excellente,
   WCAG AA, registre « Apple-style marketing ». Tuiles de spans variés, rayons
   larges, ombre discrète, légère montée au survol. */
.section--bento { padding-top: var(--sp-7); }

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}

.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 200px;
  padding: var(--sp-3);
  background: var(--gris-froid);
  border: 1px solid var(--bordure);
  border-radius: var(--radius-tile);
  color: var(--gris-texte);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(19, 42, 62, .35); }

.tile-label {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris-muted);
}
.tile-num {
  margin: auto 0 0;
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--bleu-ardoise);
}
.tile-num--sm { font-size: clamp(2rem, 3.6vw, 3rem); }
.tile-text { margin: 0; font-size: .9375rem; line-height: 1.55; max-width: 36ch; }
.tile-text--lg {
  margin-top: auto;
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--bleu-ardoise);
}

/* Tuile sombre avec photo en fond : un voile ardoise garantit la lisibilité. */
.tile--dark {
  background: var(--bleu-ardoise);
  border-color: transparent;
  color: rgba(255, 255, 255, .82);
}
.tile--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tile-img, none) center / cover no-repeat;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.tile--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Sombre en haut (libellé), plus clair au milieu (la photo respire),
     sombre en bas (chiffre et texte). Un voile uniforme éteindrait l'image. */
  background: linear-gradient(180deg,
    rgba(12, 31, 46, .72) 0%,
    rgba(12, 31, 46, .3) 32%,
    rgba(12, 31, 46, .45) 55%,
    rgba(12, 31, 46, .93) 85%);
}
.tile--dark:hover::before { transform: scale(1.08); }
.tile--dark .tile-label { color: rgba(255, 255, 255, .7); }
.tile--dark .tile-num, .tile--dark .tile-text--lg { color: var(--blanc); }

/* Tuile accent : le seul aplat rouge du site, sur une petite surface. */
.tile--accent { background: var(--rouge); border-color: transparent; color: rgba(255, 255, 255, .9); }
.tile--accent .tile-label { color: rgba(255, 255, 255, .8); }
.tile--accent .tile-num { color: var(--blanc); }

.tile--map { background: var(--blanc); }
.tile--map .map-fr { max-width: 100%; margin: .25rem auto 0; flex: 1; min-height: 0; }
.tile-text--map strong { color: var(--bleu-ardoise); }

.tile-go {
  position: absolute;
  right: var(--sp-3);
  bottom: var(--sp-3);
  width: 30px;
  color: var(--blanc);
  transition: transform var(--dur) var(--ease);
}
.tile-go svg { display: block; width: 100%; height: auto; }
.tile--depan:hover .tile-go { transform: translateX(6px); }
.tile--depan { color: rgba(255, 255, 255, .82); }

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(210px, auto);
    grid-template-areas:
      "stock stock"
      "ans   delai"
      "map   map"
      "marq  depan";
  }
  .tile--stock   { grid-area: stock; min-height: 360px; }
  .tile--ans     { grid-area: ans; }
  .tile--delai   { grid-area: delai; }
  .tile--map     { grid-area: map; min-height: 420px; }
  .tile--marques { grid-area: marq; }
  .tile--depan   { grid-area: depan; }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: var(--sp-3);
    grid-template-areas:
      "stock stock ans   delai"
      "stock stock map   map"
      "marq  depan map   map";
  }
  .tile--stock, .tile--map { min-height: 0; }
}

/* Carte vivante : départs tracés depuis le dépôt, arrivées qui s'allument.
   Skill, profil logistique : anti-pattern « suivi statique ». */
.map-fr__route {
  fill: none;
  stroke: var(--rouge);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: .7;
}
.map-fr__stop { fill: var(--blanc); stroke: var(--rouge); stroke-width: 2.5; opacity: 0; }
.is-visible .map-fr__route { animation: route-draw 1.4s var(--ease) calc(.3s + var(--i) * .18s) forwards; }
.is-visible .map-fr__stop  { animation: stop-in .5s var(--ease) calc(1.2s + var(--i) * .18s) forwards; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes stop-in    { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 20 quinquies. Conception pilotée par le scroll ----------
   La section fait 320vh ; .scrolly-sticky reste collée 100vh. main.js fixe
   video.currentTime et l'étape active selon la progression (--sp). */
.scrolly { position: relative; background: #0C1F2E; color: rgba(255, 255, 255, .82); }
.scrolly--video { height: 320vh; }
.scrolly-sticky {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.scrolly--video .scrolly-sticky { position: sticky; top: 0; height: 100vh; }

.scrolly-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scrolly-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 31, 46, .94) 0%, rgba(12, 31, 46, .82) 34%, rgba(12, 31, 46, .25) 62%, rgba(12, 31, 46, .05) 80%),
    linear-gradient(0deg, rgba(12, 31, 46, .7) 0%, transparent 40%);
}

.scrolly-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding-block: var(--sp-7) var(--sp-6);
}
.scrolly-head h2 { color: var(--blanc); max-width: 14ch; }
.scrolly-head .section-label { color: rgba(255, 255, 255, .65); }
.scrolly-head .section-label::before { background: var(--rouge-clair); }
.scrolly .accent-word { color: var(--rouge-clair); }

.scrolly-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); max-width: 30rem; }
.scrolly-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--sp-2);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-2);
  border-left: 2px solid rgba(255, 255, 255, .18);
  transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.scrolly-step h3 { margin: 0 0 .25rem; font-size: 1.125rem; color: var(--blanc); }
.scrolly-step p  { margin: 0; font-size: .9375rem; color: rgba(255, 255, 255, .78); }
.scrolly-step__num { font-family: var(--font-mono); font-size: .8125rem; color: var(--rouge-clair); padding-top: .2rem; }

/* Avec la vidéo, seule l'étape en cours est pleinement lisible. */
.scrolly--video .scrolly-step { opacity: .38; }
.scrolly--video .scrolly-step.is-active { opacity: 1; border-left-color: var(--rouge-clair); }

.scrolly-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 1; }
.scrolly-bar span { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: var(--rouge-clair); }

@keyframes step-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: none; }
}

/* Titre et étapes restent dans la colonne gauche, sur la partie assombrie du
   dégradé. À droite, la vidéo montre des murs blancs : du texte posé dessus y
   perdait tout contraste. La droite est laissée au chantier. */
.scrolly-inner { max-width: calc(34rem + 2 * var(--gutter)); margin-inline: 0; }
@media (min-width: 1200px) {
  .scrolly-inner { margin-left: calc((100vw - var(--container)) / 2); }
}
.scrolly--video .scrolly-step { opacity: .5; }

/* ---------- 20 sexies. Cas d'intervention (carrousel) ----------
   Rangée en scroll-snap natif : au clavier, au trackpad, au doigt. Les boutons
   ne sont qu'un raccourci. Elle déborde à droite pour signaler le défilement. */
.cases-nav { display: flex; gap: .5rem; }
.cases-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0 14px;
  color: var(--bleu-ardoise);
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cases-btn svg { width: 100%; height: auto; }
.cases-btn:hover { background: var(--bleu-ardoise); border-color: var(--bleu-ardoise); color: var(--blanc); }
.cases-btn:disabled { opacity: .4; cursor: default; background: var(--blanc); color: var(--bleu-ardoise); }

.cases {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84vw, 420px);
  gap: var(--sp-3);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) var(--sp-2);
  scrollbar-width: none;
}
.cases::-webkit-scrollbar { display: none; }
.cases:focus-visible { outline: 2px solid var(--bleu-acier); outline-offset: -2px; }

.case {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius-tile);
  overflow: hidden;
}
.case-media { position: relative; }
.case-media .media, .case-media .media-ph { border-radius: 0; }
.case-tag {
  position: absolute;
  left: var(--sp-2);
  top: var(--sp-2);
  padding: .35rem .7rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blanc);
  background: rgba(12, 31, 46, .78);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.case-body { padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.case-title { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.case-spec { margin: 0; display: grid; gap: .75rem; }
.case-spec div { display: grid; gap: .15rem; }
.case-spec dt {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gris-muted);
}
.case-spec dd { margin: 0; font-size: .9375rem; line-height: 1.5; }
.case-spec__result { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--bordure); }
.case-spec__result dd { color: var(--bleu-ardoise); font-weight: 600; }

/* ---------- 21. Utilitaires ---------- */

.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--sp-3); }
.text-muted { color: var(--gris-muted); }

/* ---------- 22. Responsive ---------- */

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .index-link { grid-template-columns: 3rem minmax(0, 1fr); }
  .index-link .index-title { grid-column: 2; }
  .index-link .index-desc  { grid-column: 2; }
  .index-link .index-go    { grid-column: 2; }
  .audience { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; }
  .section-head--split { grid-template-columns: 1fr auto; gap: var(--sp-4); }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-item { border-bottom: 0; }
  .proof-item:nth-child(2n) { border-right: 1px solid var(--bordure); }
  .proof-item:last-child { border-right: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-3); }
  /* Asymétrie Swiss : 7/5 plutôt que 1fr/1fr. Deux colonnes égales se lisent
     comme un gabarit ; un rapport inégal se lit comme une composition. */
  .split { grid-template-columns: 7fr 5fr; gap: var(--sp-5); }
  .split--reverse { grid-template-columns: 5fr 7fr; }
  .split--reverse .split-media { order: 0; }
  .zone-inner { grid-template-columns: 1.3fr 1fr; }
  .cta-inner { grid-template-columns: 1.5fr auto; gap: var(--sp-4); }
  .service-grid { grid-template-columns: 1.15fr 1fr; gap: var(--sp-5); }
  .contact-grid { grid-template-columns: 1.3fr 1fr; gap: var(--sp-5); }
  .form-card { padding: var(--sp-4); }
}

@media (min-width: 1024px) {
  :root { --gutter: 3rem; }
  .section { padding-block: var(--sp-7); }
  .section--tight { padding-block: var(--sp-6); }
  .hero-inner { grid-template-columns: 1.05fr 1fr; padding-block: var(--sp-7); }
  /* Placement Swiss : indice, titre, description et flèche sur une seule
     ligne de grille, en colonnes de largeurs inégales. */
  .index-link {
    grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 5fr) 3rem;
    align-items: center;
    padding-block: var(--sp-4);
  }
  .index-link .index-title { grid-column: 2; }
  .index-link .index-desc  { grid-column: 3; }
  .index-link .index-go    { grid-column: 4; justify-self: end; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .service-block { padding-block: var(--sp-7); }
}

/* Le menu mobile et la barre fixe ne servent qu'en dessous de 900px */
@media (max-width: 899px) {
  .nav-menu { display: none; }
  .nav-burger { display: block; }
  .nav-mobile { display: flex; }
  .nav-mobile[hidden] { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }

  /* Alternative mobile exigée par le skill pour le parallaxe : sur téléphone,
     la scène sticky coûte cher en rendu, entre en conflit avec la barre
     d'action fixe et dépend d'un 100vh qui bouge quand la barre d'URL se
     rétracte. Le hero redevient une section classique, la dérive est coupée. */
  .hero-stage { height: auto; }
  .hero { position: static; height: auto; min-height: 0; padding-block: var(--sp-6); }
  .hero-inner { opacity: 1; transform: none; }
  .hero-layer-motif, .hero-layer-glow { transform: none; }
  .split-media .media-ph { transform: none; }
  .hero-photo { transform: none; }
  .tile:hover { transform: none; }

  /* Hero mobile. L'indicateur « Défiler » est positionné en bas d'une scène
     plein écran ; ici le hero n'en est plus une, il tombait sur les boutons.
     Les deux boutons prennent la même largeur : deux largeurs différentes
     empilées font bricolé. */
  .hero-scroll { display: none; }
  /* Le texte occupe toute la largeur : le voile latéral du desktop laissait la
     fin des lignes sur la partie claire de la photo. Voile uniforme ici. */
  .hero--photo .hero-layer-glow {
    background: linear-gradient(180deg, rgba(12, 31, 46, .84) 0%, rgba(12, 31, 46, .9) 55%, rgba(12, 31, 46, .95) 100%);
  }
  .hero .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }

  /* ---- Vidéo au scroll, version mobile ----
     Écran partagé : la vidéo en haut, nette et sans voile ; en dessous, sur
     fond ardoise, le titre et UNE étape à la fois, qui change au fil du scroll.
     Hauteurs en svh et non en vh : 100vh change quand la barre d'adresse du
     navigateur se rétracte, ce qui ferait sauter la scène pendant le scroll.
     La zone collée s'arrête au-dessus de la barre d'action fixe (76 px). */
  .scrolly--video { height: 300svh; }
  .scrolly--video .scrolly-sticky {
    position: sticky;
    top: var(--header-h);
    height: calc(100svh - var(--header-h) - 76px);
    min-height: 0; /* sinon le min-height: 100vh de base l'emporte sur height */
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .scrolly--video .scrolly-video { position: relative; inset: auto; flex: 0 0 52%; height: 52%; }
  .scrolly--video .scrolly-shade {
    inset: auto 0 auto 0;
    top: calc(52% - 48px);
    height: 48px;
    background: linear-gradient(180deg, transparent, #0C1F2E);
  }
  .scrolly--video .scrolly-inner { flex: 1; min-height: 0; padding-block: var(--sp-3) var(--sp-2); gap: var(--sp-2); align-content: start; }
  .scrolly--video .scrolly-head h2 { font-size: clamp(1.625rem, 7vw, 2.25rem); max-width: none; }
  .scrolly--video .scrolly-head .section-label { margin-bottom: .5rem; }
  .scrolly--video .scrolly-step { display: none; }
  .scrolly--video .scrolly-step.is-active { display: grid; opacity: 1; animation: step-in .45s var(--ease); }
  .scrolly-bar { bottom: 0; }

  /* Sans vidéo : image en fond, étapes toutes visibles, voile uniforme. */
  .scrolly:not(.scrolly--video) .scrolly-shade { background: linear-gradient(180deg, rgba(12, 31, 46, .74) 0%, rgba(12, 31, 46, .9) 100%); }

  /* Cibles tactiles : au doigt, un lien de 19px de haut n'est pas atteignable.
     On épaissit la zone cliquable sans changer l'apparence du texte. */
  .footer-links li { margin-bottom: 0; }
  .footer-links .footer-link { display: inline-block; padding-block: 0.8rem; }
  .footer-bottom .footer-link { padding-block: 0.6rem; }
  .link-arrow { padding-block: 0.6rem; }
}

/* Téléphone en paysage : moins de 520 px de haut ne laissent pas la place à un
   écran partagé vidéo + texte. La section redevient statique, étapes en liste. */
@media (max-width: 899px) and (max-height: 520px) {
  .scrolly--video { height: auto; }
  .scrolly--video .scrolly-sticky { position: relative; top: 0; height: auto; }
  .scrolly--video .scrolly-video { height: auto; flex: none; aspect-ratio: 16 / 9; }
  .scrolly--video .scrolly-step { display: grid; opacity: 1; animation: none; }
  .scrolly-bar { display: none; }
}

/* Écran peu haut (portable 13 pouces en navigation, fenêtre réduite) : la scène
   sticky de 100vh ne laisse pas la place au contenu et le tronquerait, puisque
   le hero est en overflow caché. On repasse en section classique. */
@media (max-height: 720px) and (min-width: 900px) {
  .hero-stage { height: auto; }
  .hero { position: static; height: auto; min-height: 0; padding-block: var(--sp-6); }
  .hero-inner { opacity: 1; transform: none; }
  .hero-layer-motif, .hero-layer-glow { transform: none; }
  .scrolly--video { height: auto; }
  .scrolly--video .scrolly-sticky { position: relative; height: auto; }
  .scrolly--video .scrolly-step { opacity: 1; }
}

/* ---------- 23. Accessibilité mouvement ---------- */

/* Le site doit rester intégralement lisible sans une seule animation.
   Le parallaxe et le scroll-jacking sont la première cause de nausée signalée
   sur ce type de mise en page : ici tout est désactivé, rien n'est masqué. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-x { opacity: 1; transform: none; }
  .reveal-words__w { opacity: 1; transform: none; }
  .section-slide { clip-path: none; }
  .steps::after { height: 100%; }
  .split-media .media-ph { transform: none; }
  .scroll-progress, .cursor { display: none; }

  /* La scène du hero redevient une section normale, sans sticky ni dérive. */
  .hero-stage { height: auto; }
  .hero { position: static; height: auto; min-height: 0; padding-block: var(--sp-6); }
  .hero-inner { opacity: 1; transform: none; }
  .hero-layer-motif, .hero-layer-glow { transform: none; }
  .hero-stage::after { width: 100%; }
  .hero-photo { transform: none; }
  .hero-scroll { display: none; }
  .map-fr__route { stroke-dashoffset: 0; }
  .map-fr__stop { opacity: 1; }
  .scrolly--video { height: auto; }
  .scrolly--video .scrolly-sticky { position: relative; height: auto; }
  .scrolly--video .scrolly-step { opacity: 1; display: grid; animation: none; }
  .scrolly--video .scrolly-sticky { top: 0; }
  .scrolly--video .scrolly-video { height: auto; flex: none; aspect-ratio: 16 / 9; }
  .scrolly-bar { display: none; }
  .tile:hover { transform: none; }
}

/* ---------- 24. Impression ---------- */

@media print {
  .site-header, .mobile-bar, .cta-band, .anchor-nav { display: none !important; }
  body { color: #000; font-size: 11pt; padding-bottom: 0; }
  .reveal { opacity: 1; transform: none; }
}
