/* =========================================================
   H&C — fiche programme (page intérieure) : gabarit commun
   Se charge après hero-v4.css (barre, boutons, titres `.stitle`, projecteur
   sur rail `.rig` et faisceau `.cone`, pied de page `.coda` y sont déjà).
   Deux familles de blocs :
   - les 4 essais de hero (`.fh1` … `.fh4`) : même contenu (nom du parcours,
     pour qui, promesse, 4 chiffres, « Demander un diagnostic »), seule la mise
     en scène change ;
   - le corps de page `.fb`, commun aux 5 fiches, en cinq actes (le constat,
     la pile des objectifs, la frise du parcours, le témoin, deux billets),
     puis le diagnostic `.diag` qui précède le pied de page.
   Chaque hero porte `data-fh`, chaque section du corps `data-rev` : fiche.js
   leur met `is-in` quand elles sont à l'écran (entrée, lumière, chiffres qui
   montent) et l'enlève quand elles sortent, donc ça rejoue. Sans JS : tout
   est affiché.
   Largeurs : ≤ 1000 px = tablette, ≤ 700 px = mobile.
   ========================================================= */

html { scroll-snap-type: none; }
[hidden] { display: none !important; }

.is-ready .site-head { animation: drop 0.6s 0.05s var(--ease-out) backwards; }
.is-ready .brand { animation: fade 0.6s 0.1s ease-out backwards; }

/* ---------- Éléments communs ---------- */
.fh { position: relative; isolation: isolate; overflow: clip; font-family: var(--font); }
.fh--dark { background: var(--night); color: #fff; }
.fh--light { background: var(--wall); color: var(--ink); }

.fh__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fh--dark .fh__pill { background: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.82); }
.fh--light .fh__pill { background: rgb(22 33 61 / 0.07); color: #5b6478; }

.fh__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}
.fh__crumb a { color: inherit; text-decoration: none; opacity: 0.7; transition: opacity 0.2s; }
.fh__crumb a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.fh__crumb li + li::before { content: "›"; margin-right: 8px; opacity: 0.45; }
.fh__crumb [aria-current] { font-weight: 500; }

.fh__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.fh__h1 { margin: 0; font-weight: 500; letter-spacing: -0.028em; line-height: 1.02; text-wrap: balance; }
.fh__h1 em { display: block; font-style: normal; color: var(--gold); }
.fh__lead { margin: 0; font-size: clamp(1.0625rem, 1.55vw, 1.4rem); font-weight: 400; line-height: 1.3; text-wrap: balance; }
.fh__for { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.fh--dark .fh__for { color: rgb(255 255 255 / 0.7); }
.fh--light .fh__for { color: #4b5569; }

.fh__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.fh__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.25s;
}
.fh__link:hover { text-decoration-color: currentColor; }

/* Les 4 chiffres. `b` est compté par fiche.js ; le texte du HTML est la valeur finale. */
.fh__stats { margin: 0; padding: 0; list-style: none; }
.fh__stat b {
  display: block;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.fh__stat span { display: block; margin-top: 9px; font-size: 0.875rem; line-height: 1.3; }

/* Entrée : les éléments montent l'un après l'autre (`--i` = rang). */
.fh .fh__rise {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s ease, translate 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + 350ms);
}
.fh.is-in .fh__rise,
html:not(.js) .fh .fh__rise { opacity: 1; translate: 0 0; }

/* Faisceau et lentille du projecteur : s'allument avec la hero. */
.fh__light {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease 0.2s;
}
.fh .cone { --spread: 20deg; --throw: 1000px; }
.fh .rig__glow { opacity: 0; transition: opacity 0.9s ease 0.2s; }
.fh.is-in :is(.fh__light, .rig__glow),
html:not(.js) .fh :is(.fh__light, .rig__glow) { opacity: 1; }

/* =========================================================
   Essai 1 · le rideau et le cadre (d'après S1 « Advisory Website »)
   Mur bleu nuit à plis de rideau ; un grand cadre aux coins ronds tient la
   photo du CODIR, le titre en bas à gauche, les 4 chiffres en bandeau de
   verre en bas du cadre. Le cadre s'ouvre comme un rond de projecteur.
   ========================================================= */
.fh1 {
  --rig-x: 50%;
  --rig-y: 10px;
  --rig-w: 72px;
  --rig-tilt: 0deg;
  padding: 100px var(--pad-x) clamp(18px, 3vh, 34px);
}
.fh1__curtain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/v4/rideau-1920.webp") center top / cover;
  opacity: 0.22;
  -webkit-mask: linear-gradient(#000 25%, transparent 78%);
  mask: linear-gradient(#000 25%, transparent 78%);
}
.fh1__frame {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  height: clamp(560px, calc(100svh - 134px), 820px);
  padding: clamp(18px, 2.4vw, 34px);
  border-radius: 32px;
  overflow: hidden;
  background: #0f1b2e;
}
.fh1__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  clip-path: circle(0% at 50% 38%);
  transition: clip-path 1.5s var(--ease-out);
}
.fh1.is-in .fh1__photo,
html:not(.js) .fh1__photo { clip-path: circle(150% at 50% 38%); }
.fh1__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(11 22 38 / 0.62), transparent 24%),
    linear-gradient(0deg, rgb(11 22 38 / 0.96) 0%, rgb(11 22 38 / 0.6) 34%, rgb(11 22 38 / 0.08) 66%),
    linear-gradient(90deg, rgb(11 22 38 / 0.72), transparent 62%);
}
.fh1__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.fh1__copy { align-self: end; display: grid; gap: 16px; max-width: 760px; }
.fh1__copy .fh__h1 { font-size: clamp(2.3rem, 5.2vw, 4.9rem); }
.fh1__copy .fh__lead { max-width: 34ch; color: rgb(255 255 255 / 0.92); }
.fh1__copy .fh__cta { margin-top: 4px; }
.fh1__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 22px;
  background: rgb(11 22 38 / 0.58);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.13);
}
.fh1__stats .fh__stat { padding: clamp(14px, 1.6vw, 22px) clamp(16px, 2vw, 28px); }
.fh1__stats .fh__stat + .fh__stat { border-left: 1px solid rgb(255 255 255 / 0.12); }
.fh1__stats .fh__stat b { color: var(--gold); }
.fh1__stats .fh__stat span { color: rgb(255 255 255 / 0.78); max-width: 20ch; }

/* =========================================================
   Essai 2 · le titre derrière le CODIR (d'après H25 / S16 « novera studio »)
   Le mur clair, le mot « Top Executive » en très grand en jaune, et devant
   lui les cinq dirigeants détourés, qui montent sur scène l'un après l'autre
   et le cachent en partie. Les 4 chiffres sur le bandeau bleu nuit du bas
   (page d'essais seulement : sur les fiches, ils sont dans « en bref »).
   ========================================================= */
.fh2 {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: max(700px, 100svh);
}
.fh2__top {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 18px clamp(24px, 6vw, 120px);
  align-items: start;
  padding: 104px var(--pad-x) 0;
}
.fh2__intro { display: grid; justify-items: start; gap: 16px; }
.fh2__intro .fh__lead { max-width: 30ch; font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; }
.fh2__aside { display: grid; gap: 18px; padding-top: 4px; }
/* Haut allégé des fiches (2026-10-13) : un seul bloc à gauche — fil d'Ariane, promesse,
   le seul bouton. Rien à droite sous la barre (son bouton jaune reste seul). */
.fh2__top--slim { grid-template-columns: minmax(0, 1fr); gap: 22px 0; padding-bottom: clamp(16px, 1.8vw, 26px); }
.fh2__top--slim .fh2__aside { display: block; padding: 0; }
.fh2__top--slim .fh__cta { margin: 0; }
.fh2__stage { position: relative; min-height: 360px; container-type: size; }
.fh2__h1 {
  position: absolute;
  top: var(--word-top, 5%);
  right: 0;
  left: 0;
  z-index: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 18px;
  margin: 0;
  padding: 0 var(--pad-x);
  line-height: 0.8;
}
.fh2__pre,
.fh2__post {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b6478;
}
.fh2__pre { order: 0; }
.fh2__post { order: 1; }
.fh2__word {
  order: 2;
  flex: 1 0 100%;
  margin: 14px 0 0 -0.04em;
  font-size: var(--wsz, clamp(3.4rem, 13.4vw, 14rem));
  font-weight: 600;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s var(--ease-out) 0.15s;
}
.fh2.is-in .fh2__word,
html:not(.js) .fh2__word { clip-path: inset(-10% -2% -10% 0); }
.fh2__crew {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 calc(var(--pad-x) * 0.4);
  pointer-events: none;
}
.fh2__crew img {
  position: relative;
  flex: none;
  width: auto;
  height: calc(var(--h, 90%) * var(--hk, 1));
  max-width: none;
  margin: 0 clamp(-60px, -3.4vw, -16px);
  translate: 0 38%;
  opacity: 0;
  transition: translate 1s var(--ease-out), opacity 0.6s ease;
  transition-delay: calc(var(--i, 0) * 120ms + 250ms);
}
.fh2.is-in .fh2__crew img,
html:not(.js) .fh2__crew img { translate: 0 0; opacity: 1; }

/* Silhouettes dont le bras / l'épaule était coupé à plat par la photo source : l'image a été
   prolongée (dir-*-bras.webp). La largeur ajoutée est retirée de la marge du côté prolongé,
   pour que chaque corps reste exactement à sa place. */
.fh2__crew img { --m: clamp(-60px, -3.4vw, -16px); --k: var(--hk, 1); }
.fh2__crew img[data-bras] { --ext: calc(var(--bx) * var(--hn) * var(--k) * 1cqh); }
.fh2__crew img[data-bras="l"] { margin-left: calc(var(--m) - var(--ext)); }
.fh2__crew img[data-bras="r"] { margin-right: calc(var(--m) - var(--ext)); }
/* Fiches (`fh2--open`, 2026-10-13) : plus de bandeau sous la scène. Le bas des silhouettes
   se fond dans le mur, et « en bref », sur le même mur, prend la suite sans coupure. */
.fh2--open .fh2__stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 24%;
  background: linear-gradient(rgb(228 232 239 / 0), var(--wall) 92%);
  pointer-events: none;
}
.fh2__band {
  position: relative;
  z-index: 4;
  padding: clamp(16px, 2.4vh, 26px) var(--pad-x);
  background: var(--night);
  color: #fff;
  box-shadow: 0 -18px 30px -18px rgb(11 22 38 / 0.5);
}
.fh2__band .fh__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fh2__band .fh__stat { display: flex; align-items: center; gap: 16px; }
.fh2__band .fh__stat b { color: var(--gold); font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.fh2__band .fh__stat span { margin: 0; max-width: 17ch; color: rgb(255 255 255 / 0.78); }

/* =========================================================
   Essai 3 · le rond de projecteur (d'après J7 / J9 « less is more »)
   Mur clair ; à droite, l'Afrique en jaune éclairée par un projecteur sur
   rail, et les deux dirigeants détourés devant ; à gauche le texte ; les
   4 chiffres en rangée sous le tout, séparés par un filet.
   ========================================================= */
.fh3 {
  --rig-x: 73%;
  --rig-y: 8px;
  --rig-w: 68px;
  --rig-tilt: -3deg;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(700px, 100svh);
  padding: 104px var(--pad-x) 0;
}
.fh3 .cone {
  background: radial-gradient(circle var(--throw) at var(--cx) var(--cy), rgb(226 174 12 / 0.34), rgb(226 174 12 / 0.14) 28%, rgb(226 174 12 / 0.04) 62%, transparent);
}
.fh3 .cone::after {
  background: radial-gradient(circle calc(var(--throw) * 0.8) at var(--cx) var(--cy), rgb(226 174 12 / 0.22), transparent);
}
.fh3__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
.fh3__copy { display: grid; justify-items: start; gap: 20px; padding-bottom: 28px; }
.fh3__copy .fh__h1 { font-size: clamp(2.5rem, 5.6vw, 5.3rem); }
.fh3__copy .fh__lead { max-width: 30ch; }
.fh3__copy .fh__for { max-width: 40ch; }
.fh3__visual { position: relative; align-self: end; aspect-ratio: 830 / 721; width: 100%; max-height: 66svh; justify-self: center; }
.fh3__africa {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scale: 0.55;
  opacity: 0;
  transition: scale 1.2s var(--ease-out) 0.2s, opacity 0.7s ease 0.2s;
}
.fh3.is-in .fh3__africa,
html:not(.js) .fh3__africa { scale: 1; opacity: 1; }
.fh3__duo {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 78%;
  height: auto;
  translate: -50% 30%;
  opacity: 0;
  transition: translate 1.1s var(--ease-out) 0.55s, opacity 0.6s ease 0.55s;
}
.fh3.is-in .fh3__duo,
html:not(.js) .fh3__duo { translate: -50% 0; opacity: 1; }
.fh3__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgb(22 33 61 / 0.14);
}
.fh3__stats .fh__stat { padding: clamp(16px, 2.6vh, 28px) clamp(14px, 2vw, 32px) clamp(18px, 3vh, 32px) 0; }
.fh3__stats .fh__stat + .fh__stat { padding-left: clamp(14px, 2vw, 32px); border-left: 1px solid rgb(22 33 61 / 0.14); }
.fh3__stats .fh__stat span { color: #4b5569; max-width: 22ch; }

/* =========================================================
   Essai 4 · la mosaïque (d'après H9 et J10)
   Une carte claire à gauche porte le titre et le bouton ; à droite, une
   mosaïque de photos et de tuiles de chiffres (jaune, clair, bleu nuit
   plus clair). Les tuiles s'allument l'une après l'autre.
   ========================================================= */
.fh4 {
  --rig-x: 76%;
  --rig-y: 8px;
  --rig-w: 66px;
  --rig-tilt: 0deg;
  min-height: max(700px, 100svh);
  padding: 100px var(--pad-x) clamp(18px, 3vh, 34px);
}
.fh4__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: clamp(540px, calc(100svh - 134px), 780px);
}
.fh4__card {
  grid-column: 1 / 4;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 44px);
  border-radius: 28px;
  background: var(--wall);
  color: var(--ink);
}
.fh4__card .fh__h1 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.fh4__card .fh__h1 em { color: #b98a00; }
.fh4__card .fh__pill { background: rgb(22 33 61 / 0.07); color: #5b6478; }
.fh4__card .fh__for { color: #4b5569; }
.fh4__card .fh__lead { max-width: 28ch; }
.fh4__body { display: grid; justify-items: start; gap: 18px; }
.fh4__t {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  opacity: 0;
  scale: 0.9;
  transition: opacity 0.6s ease, scale 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms + 300ms);
}
.fh4.is-in .fh4__t,
html:not(.js) .fh4__t { opacity: 1; scale: 1; }
.fh4__t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fh4__t--a { grid-column: 4 / 6; grid-row: 1; }
.fh4__t--b { grid-column: 6; grid-row: 1; }
.fh4__t--c { grid-column: 4; grid-row: 2; }
.fh4__t--d { grid-column: 5 / 7; grid-row: 2; }
.fh4__t--e { grid-column: 4; grid-row: 3; }
.fh4__t--f { grid-column: 5; grid-row: 3; }
.fh4__t--g { grid-column: 6; grid-row: 3; }
.fh4__t--n {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(12px, 1.5vw, 20px);
}
.fh4__t--n .fh__stat { display: contents; }
.fh4__t--n .fh__stat span { order: -1; margin: 0; font-size: clamp(0.75rem, 0.95vw, 0.875rem); }
.fh4__t--n .fh__stat b { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.fh4__t--gold { background: var(--gold); color: var(--ink); }
.fh4__t--ink { background: #16213d; color: #fff; }
.fh4__t--ink b { color: var(--gold); }
.fh4__t--wall { background: var(--wall); color: var(--ink); }
.fh4__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 22 38 / 0.35), transparent 55%); }

/* =========================================================
   Corps de page : cinq actes (refonte du 2026-10-12)
   Une section = `.fb` (fond `--paper`, `--wall` ou `--night`). Les sections
   à projecteur portent aussi `.fh` : le rail, le faisceau et la lentille y
   sont ceux de l'accueil, allumés quand fiche.js leur pose `is-in`.
   - Acte 1 `.a1`  Le constat : un chiffre géant sur la photo, les axes qui
     s'allument un à un ;
   - Acte 2 `.a2`  Ce que ça change : la pile qui se déplie (geste de la S3
     « Vous êtes… »), les compétences en détail sous chaque objectif ;
   - Acte 3 `.a3`  Le parcours : la frise à photos, un projecteur qui suit le
     défilement, les modules en tiroir dans la 1re brique, un billet à la fin ;
   - Acte 4 `.a4`  La preuve : le témoin (style S7) et les logos ;
   - Acte 5 `.a5`  Et maintenant : deux billets (style S4) qui descendent.
   Chaque section du corps porte `data-rev` : fiche.js lui met `is-in` à
   l'arrivée et l'enlève à la sortie, donc ça rejoue. Sans JS : tout est affiché.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.fb {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(72px, 10vw, 140px) var(--pad-x);
  font-family: var(--font);
}
.fb--paper { background: var(--paper); color: var(--ink); }
.fb--wall { background: var(--wall); color: var(--ink); }
.fb--night { background: var(--night); color: #fff; }
.fb--rig { --rig-x: 50%; --rig-y: 12px; --rig-w: 76px; --rig-tilt: 0deg; padding-top: clamp(116px, 12vw, 172px); }
.fb--rig .cone { --spread: 24deg; --throw: 1000px; }
.fb__in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; }
.fb__head { display: grid; justify-items: start; gap: 16px; max-width: 780px; }
.fb__pill {
  display: inline-flex;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fb--paper .fb__pill,
.fb--wall .fb__pill { background: rgb(22 33 61 / 0.07); color: #5b6478; }
.fb--night .fb__pill { background: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.82); }
.fb--night .stitle { --title-on: var(--paper); --title-off: rgb(255 255 255 / 0.22); }
.diag .fb__pill { background: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.82); }
.diag .fb__lead { color: rgb(255 255 255 / 0.78); }
.fb__lead { margin: 0; max-width: 56ch; font-size: 1.0625rem; line-height: 1.55; color: #4b5569; }
.fb--night .fb__lead { color: rgb(255 255 255 / 0.78); }

/* Entrée : chaque élément monte à son tour. */
.fb [data-r] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.7s ease, translate 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms + 60ms);
}
.fb.is-in [data-r],
html:not(.js) .fb [data-r] { opacity: 1; translate: 0 0; }

/* ---------- En bref (2026-10-13, d'après la réf. « /OUR VISION/ ») ----------
   Remplace le bandeau bleu nuit du bas du hero. À gauche, l'étiquette et les infos
   clés (durée / groupe / format / lieu), posées en bas, au niveau des chiffres ; à
   droite, pour qui en grand, le dispositif en une phrase, les chiffres en jaune (comme
   le grand mot du hero, juste au-dessus) ; un filet, puis les logos clients qui
   défilent. Les mots de la grande phrase s'allument l'un après l'autre. */
.brief { padding-block: clamp(48px, 5.4vw, 88px) clamp(56px, 6vw, 88px); }
.brief__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 4vw, 64px);
  align-items: stretch;
}
.brief__pill { margin-top: 0.6em; }
.brief__say {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--ink);
}
.js .brief__w { color: rgb(22 33 61 / 0.18); transition: color 0.45s ease; transition-delay: calc(var(--w) * 55ms + 120ms); }
.js .brief.is-in .brief__w { color: var(--ink); }
.brief__txt { max-width: 46ch; margin: clamp(20px, 2.2vw, 30px) 0 0; font-size: 1.0625rem; line-height: 1.55; color: #4b5569; }
.brief__stats {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), auto);
  justify-content: space-between;
  gap: 28px clamp(20px, 2.6vw, 44px);
  margin: clamp(56px, 6.4vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}
.brief__stat b {
  display: block;
  font-size: clamp(2.7rem, 4.6vw, 4.3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--gold);
}
.brief__stat b small { font-size: 0.42em; letter-spacing: 0; vertical-align: 0.3em; color: #5b6478; }
.brief__stat span { display: block; max-width: 16ch; margin-top: 12px; font-size: 0.9375rem; line-height: 1.35; color: var(--ink); }
.brief__logos { margin-top: clamp(64px, 7vw, 104px); padding-top: clamp(28px, 3.2vw, 44px); border-top: 1px solid rgb(22 33 61 / 0.12); }
/* Les logos : une rangée fixe sans JS ou en mouvement réduit ; sinon le JS pose trois listes
   identiques qui glissent chacune de leur largeur (boucle sans couture), en pause hors de l'écran. */
.brief__marquee { --gap: clamp(44px, 5vw, 76px); --k: 1.1; }
.brief__track { display: flex; justify-content: center; }
.brief__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px var(--gap); margin: 0; padding: 0; list-style: none; }
.brief__list li { flex: none; }
.brief__list img { width: calc(var(--w) * var(--k) * 1px); height: auto; filter: grayscale(1); opacity: 0.62; }
.brief__marquee.is-looping {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.brief__marquee.is-looping .brief__track { width: max-content; justify-content: flex-start; }
.brief__marquee.is-looping .brief__list { flex-wrap: nowrap; flex-shrink: 0; padding-right: var(--gap); animation: marquee 42s linear infinite; }
.brief__marquee.is-looping:hover .brief__list,
.brief__marquee.is-away .brief__list { animation-play-state: paused; }

/* Les infos clés, sous l'étiquette (essai 1 retenu le 2026-10-13). */
.brief__side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.brief__facts { width: 100%; max-width: 380px; margin: auto 0 0; }
.brief__facts div {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid rgb(22 33 61 / 0.12);
}
.brief__facts dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #5b6478; }
.brief__facts dd { margin: 0; font-size: 1.125rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }

/* ---------- Acte 1 · le constat (d'après la réf. « Cómo funciona », 2026-10-14) ----------
   Le titre à gauche, l'étiquette en haut à droite. Dessous, des cases claires à fin
   contour qui se touchent et descendent en escalier, la photo au bout avec le bouton
   jaune, le grand chiffre dans le creux en bas à gauche. Quand le bloc arrive à l'écran,
   les cases entrent l'une après l'autre dans l'ordre de l'escalier et leur numéro passe
   au jaune, puis le chiffre compte et la photo se pose. */
.a1__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px 40px;
}
.a1__intro { display: grid; justify-items: start; gap: 16px; max-width: 780px; }
.a1__pill { margin-top: 0.5em; }

.cst {
  --line: rgb(22 33 61 / 0.14);
  --r: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(clamp(230px, 21vw, 300px), 1fr)) auto;
  grid-template-areas:
    "c1 c2 ."
    "big c3 ph"
    "core core core";
  margin: clamp(36px, 4.6vw, 64px) 0 0;
}
.cst--n4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "c1 c2 c3 ."
    "big big c4 ph"
    "core core core core";
}
/* Cases à une seule phrase : l'escalier est moins haut. */
.cst:has(.cst__cell--note) { grid-template-rows: repeat(2, minmax(clamp(200px, 16vw, 240px), 1fr)) auto; }
.cst__cells { display: contents; }
/* Les cases se touchent : chacune déborde d'un pixel sur sa voisine, un seul trait entre elles.
   Contours à angles droits (2026-10-14 : « elles ne doivent pas être arrondies »). */
.cst__cell,
.cst__ph { margin: 0 0 -1px -1px; }
.cst__cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 1.8vw, 26px) clamp(18px, 1.8vw, 26px) clamp(20px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}
.cst__no { margin: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; color: #5b6478; font-variant-numeric: tabular-nums; }
.cst__no::before { content: "[\2009"; }
.cst__no::after { content: "\2009]"; }
.cst__name { margin: 6px 0 0; font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
.cst__list { display: grid; gap: 9px; margin: auto 0 0; padding: 22px 0 0; list-style: none; }
.cst__list li { position: relative; padding-left: 18px; font-size: 0.9375rem; line-height: 1.38; color: #4b5569; }
.cst__list li::before { content: ""; position: absolute; left: 0; top: 0.64em; width: 9px; height: 2px; background: var(--gold); }
/* Fiches hors CODIR : une phrase courte par case, posée en bas comme la description de la réf. */
.cst__cell--note .cst__name { margin-top: auto; padding-top: 28px; font-size: clamp(1.2rem, 1.55vw, 1.45rem); line-height: 1.2; }

.cst__big {
  grid-area: big;
  align-self: end;
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0;
  padding: 0 24px 4px 0;
  color: var(--ink);
}
.cst__big b {
  font-size: clamp(6rem, 13vw, 12.5rem);
  font-weight: 500;
  line-height: 0.74;
  letter-spacing: -0.06em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.cst__big span { max-width: 12ch; padding-bottom: 0.2em; font-size: clamp(1.1rem, 1.7vw, 1.55rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }

.cst__ph {
  grid-area: ph;
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--night);
}
.cst__ph img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.cst__cta { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); }

.cst__core {
  grid-area: core;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: clamp(30px, 3.4vw, 48px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.cst__core span { flex-basis: 100%; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #5b6478; }
.cst__core b { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.cst__core b:not(:last-child)::after { content: "·"; margin-left: 14px; color: var(--gold); }

/* Entrée : les cases dans l'ordre de l'escalier, puis le chiffre, la photo, la ligne du centre. */
.js .cst__cell,
.js .cst__big,
.js .cst__ph,
.js .cst__core {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s ease, translate 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .cst__big { --i: 4; }
.js .cst__ph { --i: 5; }
.js .cst__core { --i: 6; }
.js .cst__ph img { scale: 1.08; transition: scale 1.3s var(--ease-out) 0.55s; }
.js .cst__no { transition: color 0.5s ease; transition-delay: calc(var(--i, 0) * 110ms + 350ms); }
.js .cst.is-in .cst__cell,
.js .cst.is-in .cst__big,
.js .cst.is-in .cst__ph,
.js .cst.is-in .cst__core { opacity: 1; translate: 0 0; }
.js .cst.is-in .cst__ph img { scale: 1; }
.cst.is-in .cst__no,
html:not(.js) .cst__no { color: #b98a00; }

/* ---------- Acte 2 · la pile qui se déplie (le geste de la S3) ----------
   La piste est haute ; la scène reste collée à l'écran pendant qu'on la
   traverse, et l'objectif actif suit le défilement (fiche.js). Le projecteur
   est sur la scène : il pivote vers la carte dépliée. */
.a2 { --rig-x: 46%; --rig-y: 72px; --rig-w: 64px; --rig-tilt: 0deg; padding: 0; }
.a2 .cone { --spread: 16deg; --throw: 900px; }
.a2__track { position: relative; height: calc(100svh + var(--n, 4) * 46svh); }
.a2__stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100svh;
  min-height: 600px;
  padding: 150px var(--pad-x) 36px;
}
.a2__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.a2__text { display: grid; justify-items: start; gap: 16px; }
.a2__count { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 0.9375rem; color: rgb(255 255 255 / 0.6); font-variant-numeric: tabular-nums; }
.a2__count b { font-size: 1.5rem; font-weight: 500; color: var(--gold); }
.a2__ticks { display: flex; gap: 6px; margin-left: 6px; }
.a2__ticks i { width: 28px; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.2); transition: background-color 0.4s ease; }
.a2__ticks i.is-on { background: var(--gold); }
.a2__stack { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.goal {
  border-radius: 24px;
  background: rgb(255 255 255 / 0.07);
  color: rgb(255 255 255 / 0.88);
  transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}
.goal__hd {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 18px;
  align-items: baseline;
  width: 100%;
  padding: 18px 24px;
  border: 0;
  border-radius: inherit;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.goal__hd:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.goal__n { font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--gold); font-variant-numeric: tabular-nums; }
.goal__t { font-size: 1.0625rem; line-height: 1.35; transition: font-size 0.4s var(--ease-out); }
.goal__bd { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.55s var(--ease-out), visibility 0s 0.55s; }
.goal__bd > div { min-height: 0; overflow: hidden; }
.goal.is-on { background: var(--paper); color: var(--ink); box-shadow: 0 34px 60px -28px rgb(0 0 0 / 0.7); }
.goal.is-on .goal__t { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 500; letter-spacing: -0.01em; }
.goal.is-on .goal__bd { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.55s var(--ease-out), visibility 0s; }
.goal__cols { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 20px; padding: 2px 24px 24px; }
.goal__ph { position: relative; align-self: center; margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--wall); }
.goal__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.goal__lab { margin: 4px 0 12px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #5b6478; }
.goal__pts { display: grid; align-content: center; }
.goal__pts ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.goal__pts li { position: relative; padding-left: 22px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; }
.goal__pts li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); }

/* Sans JS : toute la pile est dépliée, à la suite. */
html:not(.js) .a2__track { height: auto; }
html:not(.js) .a2__stage { position: static; height: auto; min-height: 0; padding-block: 100px 64px; }
html:not(.js) .goal { background: var(--paper); color: var(--ink); }
html:not(.js) .goal__bd { grid-template-rows: 1fr; visibility: visible; }

/* ---------- Acte 3 · la frise à photos ----------
   Le projecteur reste sur son rail, en tête de section (`.fb--rig`) : il
   éclaire le départ du fil. En descendant, la brique du milieu de l'écran
   allume son numéro (fiche.js : `is-lit`) et le fil jaune se remplit
   (`--fill`). Rien ne colle à l'écran : le contenu n'est jamais recouvert. */
.a3 { --fill: 0; }
.a3 .cone {
  --spread: 22deg;
  --throw: 1000px;
  background: radial-gradient(circle var(--throw) at var(--cx) var(--cy), rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.5) 30%, rgb(255 255 255 / 0.14) 66%, transparent);
}
.a3 .cone::after { background: radial-gradient(circle calc(var(--throw) * 0.8) at var(--cx) var(--cy), rgb(255 255 255 / 0.7), transparent); }
.frise {
  position: relative;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  margin: clamp(44px, 5vw, 76px) 0 0;
  padding: 0;
  list-style: none;
}
.frise::before,
.frise::after { content: ""; position: absolute; top: 24px; bottom: 24px; left: 50%; width: 2px; translate: -50% 0; background: rgb(22 33 61 / 0.14); }
.frise::after { background: var(--gold); transform-origin: 50% 0; scale: 1 var(--fill); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
}
/* Tiroir des modules ouvert : la carte s'allonge, la photo reste en haut et suit la lecture. */
.step:has(.mods[open]) { align-items: start; }
.step:has(.mods[open]) .step__photo { position: sticky; top: 112px; }
/* Chaque brique entre quand elle arrive à l'écran (elle porte `data-rev`) :
   la photo, puis la carte. Le fichier se rejoue si on remonte. */
.step__photo,
.step__card,
.bill {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s ease, translate 0.9s var(--ease-out);
}
.step__card { transition-delay: 0.12s; }
.step.is-in .step__photo,
.step.is-in .step__card,
.bill.is-in,
html:not(.js) .step__photo,
html:not(.js) .step__card,
html:not(.js) .bill { opacity: 1; translate: 0 0; }
.step__node {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 8px var(--wall);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.4s ease, scale 0.5s var(--ease-out);
}
.step.is-lit .step__node { background: var(--gold); scale: 1.14; }
.step__photo { grid-column: 1; grid-row: 1; margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #16213d; }
.step__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.step__card { grid-column: 3; grid-row: 1; padding: clamp(22px, 2.6vw, 38px); border-radius: 28px; background: var(--paper); box-shadow: 0 28px 50px -34px rgb(11 22 38 / 0.5); }
.step:nth-child(even) .step__photo { grid-column: 3; }
.step:nth-child(even) .step__card { grid-column: 1; }
.step__fig { margin: 0; }
.step__fig b { display: block; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.step__fig b.is-word { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.025em; }
.step__fig span { display: block; margin-top: 8px; font-size: 0.875rem; color: #5b6478; }
.step__t { margin: 20px 0 8px; font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.step__p { margin: 0; font-size: 1rem; line-height: 1.5; color: #4b5569; }

/* Les modules : un tiroir dans la 1re brique. */
.mods { margin: 22px 0 0; }
.mods__sum {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.mods__sum::-webkit-details-marker { display: none; }
.mods__sum:hover { background: var(--gold-strong); }
.mods__sum:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.mods__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; transition: rotate 0.4s var(--ease-out); }
.mods__ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mods[open] .mods__ico { rotate: 180deg; }
.mods__lead { margin: 18px 0 4px; font-size: 0.96875rem; line-height: 1.5; color: #4b5569; }
.mods__list { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid rgb(22 33 61 / 0.14); }
.mods[open] .mods__lead,
.mods[open] .mods__list { animation: mods-in 0.5s var(--ease-out) both; }
@keyframes mods-in { from { opacity: 0; translate: 0 -8px; } }
.mods__list li { display: grid; grid-template-columns: 2.4ch minmax(0, 1fr); gap: 0 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgb(22 33 61 / 0.14); }
.mods__list b { font-size: 0.9375rem; font-weight: 500; color: #b98a00; font-variant-numeric: tabular-nums; }
.mods__list p { margin: 0; font-size: 1rem; line-height: 1.38; }

/* Le billet, à la fin de la frise : le parcours d'un côté, le diagnostic de l'autre
   (les infos pratiques sont montées dans « en bref », 2026-10-13). */
/* Les deux morceaux portent chacun leur fond, avec une encoche découpée (masque)
   aux deux bouts de la coupe : le mur se voit à travers, même sous la lumière.
   L'ombre suit la découpe (drop-shadow sur l'ensemble). */
.bill {
  --nb: 14px;
  --r: 28px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  margin: clamp(40px, 5vw, 72px) 0 0;
  color: #fff;
  filter: drop-shadow(0 26px 26px rgb(11 22 38 / 0.28));
}
.bill__main,
.bill__stub {
  background: var(--night);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.bill__main {
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--r) 0 0 var(--r);
  -webkit-mask-image: radial-gradient(circle var(--nb) at 100% 0, #0000 97%, #000), radial-gradient(circle var(--nb) at 100% 100%, #0000 97%, #000);
  mask-image: radial-gradient(circle var(--nb) at 100% 0, #0000 97%, #000), radial-gradient(circle var(--nb) at 100% 100%, #0000 97%, #000);
}
.bill__tag { margin: 0 0 16px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.bill__stub {
  position: relative;
  display: grid;
  place-content: center;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: inset 2px 0 rgb(255 255 255 / 0.16);
  -webkit-mask-image: radial-gradient(circle var(--nb) at 0 0, #0000 97%, #000), radial-gradient(circle var(--nb) at 0 100%, #0000 97%, #000);
  mask-image: radial-gradient(circle var(--nb) at 0 0, #0000 97%, #000), radial-gradient(circle var(--nb) at 0 100%, #0000 97%, #000);
}
.bill__prog { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.bill__prog small { display: block; margin-top: 12px; font-size: 0.9375rem; font-weight: 400; letter-spacing: 0; color: rgb(255 255 255 / 0.7); }

/* ---------- Acte 4 · le témoin (style S7) et les logos ---------- */
.fb--tem { --rig-x: 76%; }
.tem { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 88px); align-items: center; }
.tem__punch { margin: 8px 0 0; font-size: clamp(2.1rem, 4.2vw, 4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.tem__punch::before { content: "«\00a0"; color: var(--gold); }
.tem__punch::after { content: "\00a0»"; color: var(--gold); }
.tem__quote {
  position: relative;
  margin: 26px 0 0;
  max-width: 50ch;
  padding: 18px 22px 18px 70px;
  border-radius: 22px;
  background: rgb(255 255 255 / 0.96);
  font-size: 1rem;
  line-height: 1.5;
  color: #2b3550;
  box-shadow: 0 24px 44px -26px rgb(0 0 0 / 0.7);
}
.tem__quote::before {
  content: "“";
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.tem__quote p { margin: 0; }
.tem__who { display: inline-flex; align-items: center; gap: 14px; margin: 30px 0 0; padding: 8px 22px 8px 8px; border-radius: 999px; background: rgb(255 255 255 / 0.1); }
.tem__init { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.tem__name { display: block; font-size: 1rem; line-height: 1.2; }
.tem__name b { font-weight: 600; }
.tem__role { display: block; margin-top: 2px; font-size: 0.8125rem; color: rgb(255 255 255 / 0.66); }
.tem__fig { position: relative; align-self: end; margin: 0; }
.tem__fig::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 92%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #243660, #131f38 72%);
}
.tem__fig img {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  /* le bas des épaules se fond dans le mur au lieu d'être coupé net */
  -webkit-mask-image: linear-gradient(#000 84%, #0000);
  mask-image: linear-gradient(#000 84%, #0000);
}

/* ---------- Acte 5 · deux billets (style S4) ----------
   Les deux parcours voisins pendent à une perche ; ils descendent l'un
   après l'autre quand la section arrive, et se posent en se balançant.
   Le papier et ses encoches viennent de `.ticket__*` (hero-v4.css). */
.a5 {
  --tk: var(--night);
  --tk-ink: var(--paper);
  --tk-soft: rgb(255 255 255 / 0.78);
  --tk-rule: rgb(255 255 255 / 0.4);
  --tk-line: rgb(255 255 255 / 0.26);
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --hook: 10px;
  --cord: 34px;
  --tw: clamp(250px, 24vw, 336px);
}
.a5__in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.a5__stage { position: relative; padding-top: 3px; clip-path: inset(0 -60px -90px -60px); } /* les billets sortent de la perche */
.a5__rod { position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 6px; border-radius: 3px; background: var(--ink); box-shadow: 0 3px 8px rgb(11 22 38 / 0.16); }
.a5__row { position: relative; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 28px; margin: 0; padding: 0; list-style: none; }
.bt { filter: drop-shadow(0 16px 14px rgb(11 22 38 / 0.2)); }
.bt__hang {
  position: relative;
  display: block;
  width: var(--tw);
  color: inherit;
  text-decoration: none;
  transform-origin: 50% 0;
  -webkit-tap-highlight-color: transparent;
}
.bt__hang:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 6px; }
.bt__paper {
  --n: calc(var(--tw) * 0.034);
  --y1: calc(var(--tw) * 0.546);              /* tête | affiche */
  --y2: calc(var(--tw) * 1.306);              /* affiche | texte (la hauteur du texte est libre) */
  position: relative;
  z-index: 1;
  display: block;
  width: var(--tw);
  margin-top: calc(var(--tw) * -0.101);
  container-type: inline-size;
  font-family: var(--font);
  line-height: 1.2;
  color: var(--tk-ink);
  background: linear-gradient(var(--tk) 0 0) 0 calc(var(--tw) * 0.026) / 100% calc(100% - var(--tw) * 0.052) no-repeat;
  -webkit-mask:
    radial-gradient(circle var(--n) at 0 var(--y1), #0000 98%, #000),
    radial-gradient(circle var(--n) at 100% var(--y1), #0000 98%, #000),
    radial-gradient(circle var(--n) at 0 var(--y2), #0000 98%, #000),
    radial-gradient(circle var(--n) at 100% var(--y2), #0000 98%, #000);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--n) at 0 var(--y1), #0000 98%, #000),
    radial-gradient(circle var(--n) at 100% var(--y1), #0000 98%, #000),
    radial-gradient(circle var(--n) at 0 var(--y2), #0000 98%, #000),
    radial-gradient(circle var(--n) at 100% var(--y2), #0000 98%, #000);
  mask-composite: intersect;
}
.bt__paper > span { position: relative; }
.bt__paper > span:not(.ticket__head) { display: block; }
.bt__paper .ticket__head { height: 52cqw; }   /* de la place sous l'œillet, même avec un titre sur deux lignes */
.bt__paper .ticket__pill { border: 0; background: var(--gold); color: var(--ink); padding: 1.2cqw 3.6cqw 1.4cqw; }
.bt__paper .ticket__name { max-width: 66cqw; font-size: 8.2cqw; }
.bt__paper .ticket__poster { height: 76cqw; }
.bt__txt {
  min-height: 33cqw;                          /* jusqu'à 4 lignes : les deux billets ont la même hauteur */
  padding: 4.4cqw 6cqw 5.4cqw;
  font-size: 4.1cqw;
  line-height: 1.36;
  color: var(--tk-soft);
  background: repeating-linear-gradient(90deg, var(--tk-line) 0 1.7cqw, #0000 0 3.1cqw) 0 0 / 100% 0.42cqw no-repeat;
}

/* La descente : de la perche à leur place, avec un petit balancement. */
@keyframes bt-drop {
  0% { translate: 0 calc(-100% - 40px); rotate: 0deg; }
  52% { translate: 0 0; rotate: 0deg; animation-timing-function: ease-out; }
  66% { rotate: 2.4deg; }
  82% { rotate: -1.3deg; }
  100% { translate: 0 0; rotate: 0deg; }
}
.js .a5:not(.is-in) .bt__hang { translate: 0 calc(-100% - 40px); }
.a5.is-in .bt__hang { animation: bt-drop 1.3s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 260ms + 150ms); }
/* Le petit coup de balancier au survol passe par `transform`, pas par `rotate` : l'animation de
   descente reste en place (la couper puis la remettre au départ rejouait la chute à chaque sortie
   du pointeur, billet qui disparaît puis retombe). */
.bt__hang { transition: transform 0.5s var(--ease-out); }
.bt__hang:hover,
.bt__hang:focus-visible { transform: rotate(1.6deg); }

/* ---------- Le diagnostic (CTA final, devant le pied de page) ---------- */
.diag {
  --rig-x: 72%;
  --rig-y: 12px;
  --rig-w: 78px;
  --rig-tilt: 0deg;
  min-height: min(100svh, 920px);
  padding: clamp(124px, 15vh, 164px) var(--pad-x) clamp(56px, 9vh, 100px);
}
.finale { position: relative; }
.finale > .diag { z-index: 1; box-shadow: 0 16px 56px rgb(11 22 38 / 0.2); }
.diag .cone { --spread: 24deg; --throw: 1000px; }
.diag__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
.diag .stitle { --title-on: var(--paper); --title-off: rgb(255 255 255 / 0.22); }
.diag__text { display: grid; justify-items: start; gap: 18px; }
.diag__steps { display: grid; gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; counter-reset: s; }
.diag__steps li { display: flex; align-items: baseline; gap: 14px; font-size: 1rem; line-height: 1.4; color: rgb(255 255 255 / 0.88); counter-increment: s; }
.diag__steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 0.8125rem; font-weight: 600; translate: 0 5px; }
.diag__contact { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.diag__contact a { display: inline-flex; align-items: center; gap: 12px; font-size: 1.0625rem; color: #fff; text-decoration: none; }
.diag__contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.diag__contact svg { width: 20px; height: 20px; color: var(--gold); }
.diag__card { padding: clamp(22px, 3vw, 40px); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.7); }
.diag__for { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px; border-radius: 999px; background: rgb(226 174 12 / 0.18); font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.diag__form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form__f { display: grid; gap: 7px; font-size: 0.8125rem; font-weight: 500; color: #4b5569; }
.form__f input,
.form__f select,
.form__f textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--wall);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.form__f input,
.form__f select { height: 52px; }
.form__f textarea { min-height: 104px; resize: vertical; }
.form__f input::placeholder,
.form__f textarea::placeholder { color: #8791a5; }
.form__f :is(input, select, textarea):focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; background: #fff; box-shadow: 0 0 0 4px rgb(226 174 12 / 0.2); }
.form__ck { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8125rem; line-height: 1.4; color: #4b5569; }
.form__ck input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold); }
.diag__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.diag__note { margin: 0; font-size: 0.8125rem; color: #5b6478; }
.diag__note a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.diag__note a:hover { color: var(--ink); }

/* =========================================================
   Tablette
   ========================================================= */
@media (max-width: 1000px) {
  .fh1 { padding-top: 88px; }
  .fh1__frame { height: auto; min-height: clamp(620px, 88svh, 860px); }
  .fh1__stats { grid-template-columns: repeat(2, 1fr); }
  .fh1__stats .fh__stat:nth-child(3) { border-left: 0; }
  .fh1__stats .fh__stat:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / 0.12); }

  .fh2 { min-height: 0; grid-template-rows: auto auto auto; }
  .fh2__top { grid-template-columns: 1fr; padding-top: 92px; }
  .fh2__aside { grid-template-columns: 1fr auto; align-items: center; max-width: none; }
  .fh2__band .fh__stats { grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
  .fh2__band .fh__stat b { min-width: 2.2ch; }
  .fh2__stage { min-height: 0; height: clamp(380px, 56vw, 480px); }
  .fh2__h1 { top: 3%; }

.fh2__word { font-size: var(--wsz-t, var(--wsz, clamp(3.4rem, 13.4vw, 14rem))); }
  .fh2__crew img { height: calc(var(--h) * 0.86); --k: 0.86; }
  .fh2__crew img[data-t="0"] { display: none; }

  .fh3 { padding-top: 92px; }
  .fh3__grid { grid-template-columns: 1fr; gap: 8px; }
  .fh3__copy { padding-bottom: 0; }
  .fh3__visual { max-width: 520px; max-height: none; margin-top: 8px; }
  .fh3__stats { grid-template-columns: repeat(2, 1fr); }
  .fh3__stats .fh__stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .fh3__stats .fh__stat:nth-child(n + 3) { border-top: 1px solid rgb(22 33 61 / 0.14); }

  .fh4 { padding-top: 88px; }
  .fh4__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    height: auto;
  }
  .fh4__t { min-height: clamp(150px, 22vw, 200px); }
  .fh4__card { grid-column: 1 / -1; grid-row: auto; gap: 28px; }
  .fh4__t--a { grid-column: 1 / 3; grid-row: auto; }
  .fh4__t--b { grid-column: 3; grid-row: auto; }
  .fh4__t--c { grid-column: 4; grid-row: auto; }
  .fh4__t--d { grid-column: 1 / 3; grid-row: auto; }
  .fh4__t--e { grid-column: 3; grid-row: auto; }
  .fh4__t--f { grid-column: 4; grid-row: auto; }
  .fh4__t--g { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; min-height: 110px; }
  .fh4__t--g .fh__stat { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
  .fh4__t--g .fh__stat span { order: 0; max-width: 24ch; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 700px) {
  .fh1 { --rig-w: 54px; padding-top: 76px; }
  .fh1__frame { min-height: 0; border-radius: 26px; gap: 14px; padding: 16px; }
  .fh1__top { gap: 10px; }
  .fh1__copy { padding-top: 120px; }
  .fh1__copy .fh__h1 { font-size: clamp(2.1rem, 9.6vw, 2.8rem); }
  .fh1__stats { border-radius: 18px; }
  .fh1__stats .fh__stat { padding: 14px 16px; }
  .fh1__stats .fh__stat b { font-size: 2.2rem; }
  .fh1__stats .fh__stat span { font-size: 0.8125rem; }

  .fh2 { min-height: 0; }
  .fh2__top { padding-top: 84px; gap: 14px; }
  .fh2__aside { grid-template-columns: 1fr; gap: 14px; }
  .fh2__top--slim { gap: 18px 0; }
  .fh2__stage { height: 440px; }
  .fh2__h1 { top: 3%; }
  .fh2__word { font-size: var(--wsz-m, clamp(3.3rem, 19vw, 5.6rem)); white-space: normal; line-height: 0.82; margin-top: 10px; }
  .fh2__crew { padding: 0; }
  .fh2__crew img { height: calc(var(--h) * 0.66); margin: 0 -16px; --m: -16px; --k: 0.66; }
  .fh2__crew img[data-m="0"] { display: none; }
  .fh2__crew img[data-m="1"] { display: block; }
  .fh2__band .fh__stat { gap: 10px; }
  .fh2__band .fh__stat b { font-size: 2.2rem; }
  .fh2__band .fh__stat span { font-size: 0.8125rem; }

  .fh3 { --rig-w: 54px; --rig-x: 50%; padding-top: 80px; }
  .fh3__visual { max-width: 400px; }
  .fh3__duo { width: 84%; }
  .fh3__stats .fh__stat b { font-size: 2.3rem; }

  .fh4 { --rig-w: 54px; --rig-x: 50%; padding-top: 80px; }
  .fh4__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; }
  .fh4__t { min-height: clamp(140px, 38vw, 190px); }
  .fh4__card { border-radius: 24px; padding: 22px 20px; }
  .fh4__t--a { grid-column: 1 / -1; }
  .fh4__t--b { grid-column: 1; }
  .fh4__t--c { grid-column: 2; }
  .fh4__t--d { grid-column: 1 / -1; }
  .fh4__t--e { grid-column: 1; }
  .fh4__t--f { grid-column: 2; }
  .fh4__t--g { grid-column: 1 / -1; min-height: 110px; }
  .fh4__t { border-radius: 18px; }
}

/* Écrans bas : la pile garde sa place sans la photo des objectifs. */
@media (max-height: 760px) and (min-width: 701px) {
  .a2__stage { padding-top: 124px; min-height: 0; }
  .goal__cols { grid-template-columns: 1fr; }
  .goal__ph { display: none; }
}

/* =========================================================
   Corps de page — tablette et mobile
   ========================================================= */
@media (max-width: 1000px) {
  .brief__grid { grid-template-columns: 1fr; gap: 22px; }
  .brief__pill { margin-top: 0; }
  .brief__say { max-width: 22ch; }
  .brief__stat span { max-width: 14ch; }
  .brief__side { display: contents; }
  .brief__pill { justify-self: start; }
  .brief__main { order: 1; }
  .brief__facts { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; max-width: none; margin-top: 20px; }

  /* le constat : deux colonnes, l'escalier repris sur trois marches */
  .cst,
  .cst--n4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(230px, auto)) auto auto;
    grid-template-areas:
      "c1 c2"
      "big c3"
      "ph ph"
      "core core";
  }
  .cst:has(.cst__cell--note) { grid-template-rows: repeat(2, minmax(200px, auto)) auto auto; }
  .cst--n4:has(.cst__cell--note) { grid-template-rows: repeat(3, minmax(200px, auto)) auto; }
  .cst--n4 {
    grid-template-rows: repeat(3, minmax(230px, auto)) auto;
    grid-template-areas:
      "c1 c2"
      "big c3"
      "c4 ph"
      "core core";
  }
  .cst:not(.cst--n4) .cst__ph { min-height: 360px; }
  .cst__core { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
  .cst__core span { grid-column: 1 / -1; margin-bottom: 4px; }
  .cst__core b { position: relative; padding-left: 18px; }
  .cst__core b:not(:last-child)::after { content: none; }
  .cst__core b::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 2px; background: var(--gold); }

  .a2 { --rig-x: 50%; }
  .a2__stage { padding-top: 138px; }
  .a2__in { grid-template-columns: 1fr; gap: 16px; }
  .a2__text { gap: 12px; }

  .step { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); }

  .bill { grid-template-columns: 1fr; }
  .bill__stub { justify-content: start; }
  .bill__main {
    border-radius: var(--r) var(--r) 0 0;
    -webkit-mask-image: radial-gradient(circle var(--nb) at 0 100%, #0000 97%, #000), radial-gradient(circle var(--nb) at 100% 100%, #0000 97%, #000);
    mask-image: radial-gradient(circle var(--nb) at 0 100%, #0000 97%, #000), radial-gradient(circle var(--nb) at 100% 100%, #0000 97%, #000);
  }
  .bill__stub {
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: inset 0 2px rgb(255 255 255 / 0.16);
    -webkit-mask-image: radial-gradient(circle var(--nb) at 0 0, #0000 97%, #000), radial-gradient(circle var(--nb) at 100% 0, #0000 97%, #000);
    mask-image: radial-gradient(circle var(--nb) at 0 0, #0000 97%, #000), radial-gradient(circle var(--nb) at 100% 0, #0000 97%, #000);
  }

  .fb--tem { --rig-x: 50%; }
  .tem { grid-template-columns: 1fr; gap: 12px; }
  .tem__fig { order: -1; max-width: 380px; margin: 0 auto 40px; } /* le disque dépasse de 10 % sous la photo */

  .a5__in { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .a5 { --tw: clamp(250px, 38vw, 320px); }

  .diag__in { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .fb { padding-block: 64px; }
  .fb--rig { --rig-w: 54px; --rig-x: 50%; padding-top: 108px; }
  .fb--tem { --rig-x: 50%; }

  .brief { padding-block: 40px 48px; }
  .brief__say { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .brief__txt { font-size: 1rem; }
  .brief__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; margin-top: 44px; }
  .brief__stat b { font-size: clamp(2.3rem, 11vw, 2.9rem); }
  .brief__stat span { margin-top: 8px; font-size: 0.875rem; }
  .brief__logos { margin-top: 52px; padding-top: 26px; }
  .brief__marquee { --k: 0.92; --gap: 40px; }
  .brief__facts { grid-template-columns: 1fr; margin-top: 12px; }
  .brief__facts div { padding: 13px 0; }
  .brief__facts dd { font-size: 1rem; }

  .a1__head { grid-template-columns: 1fr; }
  .a1__pill { grid-row: 1; justify-self: start; margin-top: 0; }
  .cst,
  .cst--n4 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "big" "c1" "c2" "c3" "c4" "ph" "core";
  }
  .cst:not(.cst--n4) { grid-template-areas: "big" "c1" "c2" "c3" "ph" "core"; }
  .cst:has(.cst__cell--note),
  .cst--n4:has(.cst__cell--note) { grid-template-rows: none; }
  .cst__big { padding: 0 0 22px; }
  .cst__cell { min-height: 0; padding: 18px 18px 20px; }
  .cst__list { padding-top: 16px; }
  .cst__cell--note .cst__name { padding-top: 18px; }
  .cst__ph,
  .cst:not(.cst--n4) .cst__ph { min-height: 0; aspect-ratio: 4 / 3; }
  .cst__core { grid-template-columns: 1fr; }

  .a2 { --rig-x: 86%; --rig-w: 52px; --rig-y: 62px; }
  .a2__stage { align-items: flex-start; padding: 100px var(--pad-x) 16px; min-height: 0; }
  .a2__text { padding-right: 70px; }
  .a2__text .fb__lead { display: none; }
  .a2__text .stitle { font-size: clamp(1.45rem, 7vw, 1.8rem); }
  .a2__count { margin-top: 0; }
  .goal { border-radius: 20px; }
  .goal__hd { gap: 0 14px; padding: 13px 18px; }
  .goal__t { font-size: 0.96875rem; }
  .goal:not(.is-on) .goal__t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .goal__cols { grid-template-columns: 1fr; gap: 0; padding: 0 18px 18px; }
  .goal__ph { display: none; }                /* la photo reste sur tablette et ordinateur : l'écran du téléphone ne la porte pas */

  .frise::before,
  .frise::after { left: 22px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px 12px; align-items: start; }
  .step__node { grid-column: 1; grid-row: 1 / span 2; justify-self: start; align-self: start; width: 44px; height: 44px; box-shadow: 0 0 0 6px var(--wall); }
  .step__photo,
  .step:nth-child(even) .step__photo { grid-column: 2; grid-row: 1; border-radius: 22px; }
  .step__card,
  .step:nth-child(even) .step__card { grid-column: 2; grid-row: 2; padding: 20px 20px 24px; border-radius: 22px; }
  .step:has(.mods[open]) .step__photo { position: static; }   /* une seule colonne : la photo ne colle pas sur la carte */
  .bill { --r: 24px; }

  .tem__quote { padding: 16px 18px 16px 62px; }
  .a5 { --tw: min(78vw, 320px); }
  .a5__stage { padding-top: 0; clip-path: none; }
  .a5__rod { display: none; }
  .a5__row { justify-content: center; gap: 44px; }
  .bt { position: relative; padding-top: 6px; clip-path: inset(0 -60px -90px -60px); }
  .bt::before { content: ""; position: absolute; top: 0; left: -14px; right: -14px; z-index: 3; height: 6px; border-radius: 3px; background: var(--ink); box-shadow: 0 3px 8px rgb(11 22 38 / 0.16); }
  .form__row { grid-template-columns: 1fr; }
  .diag { --rig-w: 54px; --rig-x: 50%; padding-top: 108px; }
  .diag .cone { --spread: 13deg; }
}

@media (max-width: 700px) and (max-height: 700px) {
  .a2__text .fb__pill { display: none; }
  .a2__stage { padding-top: 88px; }
  .goal:not(.is-on) .goal__t { -webkit-line-clamp: 1; line-clamp: 1; }
}

/* Mouvement réduit : tout est là d'emblée. */
@media (prefers-reduced-motion: reduce) {
  .fh *, .fh *::before, .fh *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .cst__cell, .cst__big, .cst__ph, .cst__ph img, .cst__core, .cst__no, .goal, .goal__bd, .step, .step__node, .bt__hang, .brief__w { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .a5.is-in .bt__hang { animation: none; }
  .mods[open] .mods__lead, .mods[open] .mods__list { animation: none; }
}
