/* =========================================================
   QG PERF | feuille de style (v5)
   Base « campagne » (grandes photos, Anton en capitales, boutons pilule),
   touches de la charte Canva (coup de pinceau, bordeaux) et du « labo »
   (tracé biomécanique, données).
   .u-dom   Coaching à domicile  (clair, calme, bordeaux, vouvoiement)
   .u-prep  Préparation physique (sombre, intense, rouge signal, tutoiement)
   ========================================================= */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-wdth.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-wdth-italic.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-wdth-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}

:root {
  --black: #000;
  --ink: #111111;
  --ink-2: #1A1A1A;
  --ink-3: #2B2B2B;
  --paper: #FFFFFF;
  --mist: #F5F5F5;
  --line: #E5E5E5;
  --line-2: #CACACB;
  --muted: #707072;

  --signal: #E8390E;       /* rouge QG PERF : aplats, barres, pinceau */
  --signal-btn: #C9310B;   /* bouton rouge (texte blanc lisible) */
  --signal-txt: #B02A08;   /* rouge pour du texte sur fond clair */
  --signal-lt: #FF6A3D;    /* rouge pour du texte sur fond sombre */
  --bordeaux: #8F2020;
  --bordeaux-dk: #5A1018;
  --bordeaux-deep: #2B070C;

  --font-d: "Anton", Impact, "Arial Narrow", sans-serif;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1360px;
  --gut: clamp(20px, 3.4vw, 48px);
  --sec: clamp(72px, 9vw, 128px);
  --r: 8px;

  /* Mouvement : une seule façon d'apparaître, une seule façon de se dessiner */
  --ease: cubic-bezier(.2, .7, .2, 1);     /* apparitions, cartes, barres */
  --ease-draw: cubic-bezier(.65, 0, .25, 1); /* traits qui se dessinent */
  --t-in: .8s;
  --t-draw: 1s;
  --stagger: 90ms;

  /* contexte clair par défaut */
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --line-c: var(--line);
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bg-hover: #3A3A3A;
  --accent: var(--ink);
  --accent-txt: var(--signal-txt);
  --mark: var(--signal);
}
.u-dom  { --accent: var(--bordeaux); --accent-txt: var(--bordeaux); --mark: var(--bordeaux); }
.u-prep { --accent: var(--signal-btn); --accent-txt: var(--signal-txt); --mark: var(--signal); }
.u-membre { --accent: var(--signal-btn); }

/* Contexte sombre : toute section qui porte .is-dark (ou ces classes) */
.is-dark, .bg-ink, .hero--full, .door--prep, .cta-band, .foot, .analyse, .prog-hero, .u-prep .bar, .u-prep .strip, .strip {
  --fg: #fff;
  --fg-muted: #A7A7A9;
  --line-c: rgba(255,255,255,.16);
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bg-hover: #D9D9D9;
  --accent-txt: var(--signal-lt);
  color: var(--fg);
}
.u-dom .cta-band { --accent-txt: #F3B3B3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Typographie ---------- */
h1, h2, .display {
  font-family: var(--font-d);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: .004em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.2; margin: 0 0 .45em; letter-spacing: -.005em; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.5; max-width: 36em; }
.muted { color: var(--fg-muted); }
.small { font-size: .9rem; }
.label { font-weight: 600; font-size: .95rem; color: var(--fg-muted); margin: 0 0 .8rem; }
.measure { max-width: 40em; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(56px, 6vw, 88px); }
.bg-mist { background: var(--mist); }
.bg-stone { background: var(--mist); }
.bg-ink { background: var(--ink); }
.u-prep .bg-ink { background: var(--black); }
.bg-ink .muted { color: var(--fg-muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--center { align-items: center; }
.sec-head { max-width: 52rem; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lead { color: var(--fg-muted); }
@media (max-width: 880px) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.15;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--accent { background: var(--signal-btn); color: #fff; }
.btn--accent:hover { background: #A8290A; }
.u-dom .btn--accent { background: var(--bordeaux); }
.u-dom .btn--accent:hover { background: var(--bordeaux-dk); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #E5E5E5; }
.btn--ghost { border-color: currentColor; background: transparent; color: var(--fg); }
.btn--ghost:hover { background: rgba(127,127,127,.14); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 32px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--mark); text-underline-offset: .22em; }
.btn-row .link { padding: 12px 4px; }

/* ---------- Bandeau univers + en-tête ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.strip { background: var(--black); font-size: .82rem; }
.u-dom .strip, .u-home .strip, .u-membre .strip { background: var(--mist); color: var(--ink); --fg: var(--ink); --fg-muted: #5E5E60; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.strip nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.strip nav::-webkit-scrollbar { display: none; }
.strip a { text-decoration: none; padding: 8px 10px; white-space: nowrap; font-weight: 500; color: var(--fg-muted); border-bottom: 2px solid transparent; }
.strip a:hover { color: var(--fg); }
.strip a[aria-current="true"] { color: var(--fg); font-weight: 650; border-bottom-color: var(--mark); }
.strip .strip-side { white-space: nowrap; }
.strip .strip-side a { padding-right: 0; }
.l-short { display: none; }
@media (max-width: 600px) { .l-long { display: none; } .l-short { display: inline; } .strip a { padding-inline: 7px; } }

.bar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.u-prep .bar { background: rgba(0,0,0,.92); border-bottom-color: #222; }
.bar .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-d); font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-sub { font-size: .78rem; color: var(--fg-muted); }
.u-dom .brand-sub, .u-home .brand-sub, .u-membre .brand-sub { color: var(--muted); }

.menu { display: flex; align-items: center; gap: 2px; }
.menu a { text-decoration: none; padding: 10px 12px; font-weight: 600; font-size: .98rem; border-radius: 999px; }
.menu a:hover { background: rgba(127,127,127,.14); }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--mark); text-underline-offset: .3em; }
.bar .btn { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: inherit; }
.menu-btn svg { width: 28px; height: 28px; display: block; }
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .bar .bar-cta { display: none; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 22px; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .u-prep .menu { background: #000; border-bottom-color: #222; }
  .menu.is-open { display: flex; }
  .menu a { padding: 15px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line-c); }
  .menu .menu-cta { margin-top: 16px; border: 0; text-align: center; border-radius: 999px; }
}
@media (min-width: 1181px) { .menu .menu-cta { display: none; } .menu a, .bar .btn, .brand-sub { white-space: nowrap; } }

/* ---------- Médias (photos et vidéos) ---------- */
.media { position: relative; overflow: hidden; background: #DADADA; margin: 0; }
.is-dark .media, .u-prep .media { background: #1A1A1A; }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--entier { background: #161616; }
.media--entier > img { object-fit: contain; padding: clamp(18px, 6%, 48px); }
.media--flou { background: #161616; }
.media.media--flou > .media-fond { inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(28px) saturate(1.15) brightness(.8); }
.media.media--flou > .media-avant { inset: 0; margin: auto; height: auto; max-height: 88%; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.media-badge { position: absolute; top: 18px; left: 18px; z-index: 2; background: #fff; color: var(--ink); font-weight: 700; font-size: .95rem; padding: 10px 14px; }
.vid-toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center;
}
.vid-toggle:hover { background: rgba(0,0,0,.8); }
.vid-toggle svg { width: 18px; height: 18px; }
.vid-toggle .i-play { display: none; }
.vid-toggle[aria-pressed="true"] .i-play { display: block; }
.vid-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Héros ---------- */
.hero { padding-block: clamp(56px, 8vw, 112px); }
.hero h1 { max-width: 13em; }
.hero .lead { margin-top: 1.4rem; }

.hero--full { position: relative; min-height: min(90vh, 880px); display: flex; align-items: flex-end; padding-block: 0; background: #000; overflow: hidden; }
.hero--full .media { position: absolute; inset: 0; background: #000; }
.hero--full .media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 58%, rgba(0,0,0,0) 100%), linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 55%); }
.hero--full .hero-in { position: relative; z-index: 2; width: 100%; padding-block: clamp(120px, 18vh, 200px) clamp(56px, 8vw, 96px); }
.hero--full h1 { font-size: clamp(3.4rem, 9.4vw, 9.4rem); line-height: .98; max-width: 12em; }
.h1-sur { display: block; margin-bottom: 1.1rem; font-family: var(--font); font-weight: 650; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.35; letter-spacing: .01em; text-transform: none; max-width: 32em; }
.hero--full .lead { color: #E5E5E5; }
.u-prep .hero--full .media::after { background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,0) 100%), linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 55%), linear-gradient(180deg, rgba(43,7,12,.35), rgba(43,7,12,.35)); }

.hero--split { padding: 0; }
.hero--split .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(86vh, 820px); }
.hero--split .hero-txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 96px) max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.hero--split h1 { font-size: clamp(2.8rem, 4.8vw, 4.9rem); }
.hero--split .media { min-height: 420px; }
.u-dom .hero--split { background: var(--mist); }
@media (max-width: 880px) {
  .hero--split .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero--split .media { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .hero--split .hero-txt { padding: 36px var(--gut) 56px; }
}

.chips, .sports { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips li, .sports li { font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-c); }
.u-dom .hero--split .chips li { background: #fff; border-color: var(--line); }

/* ---------- Pinceau (charte QG PERF) ---------- */
.brushed { position: relative; display: inline-block; z-index: 0; padding-inline: .06em; }
.brush { position: absolute; z-index: -1; left: -3%; top: 8%; width: 106%; height: 92%; transform: rotate(-1.8deg); overflow: visible; pointer-events: none; }
.motion .brush { clip-path: inset(0 100% 0 0); transition: clip-path var(--t-draw) var(--ease-draw) .25s; }
.motion .is-in .brush, .motion .brush.is-in { clip-path: inset(0 0 0 0); }

/* ---------- Accueil : deux portes illustrées ---------- */
.doors-sec { padding-block: clamp(64px, 8vw, 112px); }
.doors-sec > .wrap > h2 { font-family: var(--font); text-transform: none; font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.7rem); letter-spacing: -.01em; line-height: 1.2; margin-bottom: 28px; }
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.door { display: flex; flex-direction: column; gap: 22px; }
.door .media { aspect-ratio: 1 / 1; }
.door .door-in { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.door h2, .door h3 { font-family: var(--font-d); text-transform: uppercase; font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1.02; margin: 0; }
.door .label { margin: 0; }
.door-facts { list-style: none; display: grid; gap: 8px; margin: 6px 0 4px; }
.door-facts li { padding-left: 22px; position: relative; }
.door-facts li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 2px; background: var(--ink); }
.door-price { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 6px; }
.door-price strong { font-weight: 700; }
.door-price .small { color: var(--muted); }
.door--prep { color: var(--ink); --fg: var(--ink); --fg-muted: var(--muted); --btn-bg: var(--ink); --btn-fg: #fff; --btn-bg-hover: #3A3A3A; }
@media (max-width: 880px) { .doors { grid-template-columns: minmax(0, 1fr); gap: 56px; } .door .media { aspect-ratio: 4 / 3; } }

/* ---------- Bandeau typographique géant ---------- */
.ticker { overflow: hidden; white-space: nowrap; padding-block: clamp(20px, 3vw, 36px); background: var(--paper); }
.ticker span { display: inline-block; font-family: var(--font-d); text-transform: uppercase; font-size: clamp(5rem, 14vw, 14rem); line-height: 1; letter-spacing: -.005em; color: var(--ink); will-change: transform; padding-left: var(--gut); }
.ticker--dark { background: #000; }
.ticker--dark span { color: #fff; }
.ticker span i { font-style: normal; color: var(--mark); }

/* ---------- Intro ---------- */
.intro { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.intro h1 { max-width: 14em; }

/* ---------- Listes ---------- */
.ticks { list-style: none; display: grid; gap: 0; }
.ticks li { padding: 20px 0 20px 40px; position: relative; border-top: 1px solid var(--line-c); }
.ticks li:last-child { border-bottom: 1px solid var(--line-c); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 15px; height: 8px; border-left: 2.5px solid var(--mark); border-bottom: 2.5px solid var(--mark); transform: rotate(-45deg); }
.ticks strong { display: block; font-size: 1.12rem; font-weight: 700; }
.ticks span { color: var(--fg-muted); }
.liste-vis { margin-top: 36px; }
.split > .media { aspect-ratio: 4 / 5; position: sticky; top: 100px; }
@media (max-width: 880px) { .split > .media { aspect-ratio: 4 / 3; position: relative; top: 0; } }

/* ---------- Étapes ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: st; }
.steps li { counter-increment: st; border-top: 2px solid var(--fg); padding-top: 18px; }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--font-d); font-size: 3.2rem; line-height: .9; color: var(--mark); margin-bottom: 14px; }
.steps h3 { margin-bottom: .4em; }
.steps p { margin: 0; color: var(--fg-muted); }
@media (max-width: 880px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Étapes « épinglées » : la photo reste en place, les étapes défilent */
.pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pin-media { position: sticky; top: 92px; height: min(calc(100vh - 124px), 760px); }
.pin-media .media { position: absolute; inset: 0; }
.pin-media .media + .media { opacity: 0; transition: opacity .6s ease; }
.pin-media .media.is-on { opacity: 1; }
.pin-steps { list-style: none; counter-reset: st; }
.pin-steps li { counter-increment: st; min-height: min(50vh, 460px); display: flex; flex-direction: column; justify-content: center; padding-block: 32px; border-top: 1px solid var(--line-c); opacity: .35; transition: opacity .4s; }
.pin-steps li:first-child { border-top: 0; }
.pin-steps li.is-active, .no-motion .pin-steps li { opacity: 1; }
.pin-steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--font-d); font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: .85; color: var(--mark); margin-bottom: 18px; }
.pin-steps h3 { font-family: var(--font-d); text-transform: uppercase; font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.02; }
.pin-steps p { color: var(--fg-muted); max-width: 30em; }
.pin-steps .step-media { display: none; }
@media (max-width: 880px) {
  .pin { grid-template-columns: minmax(0, 1fr); }
  .pin-media { display: none; }
  /* Téléphone : chaque étape est une carte qu'on fait glisser, comme les formules et les avis */
  .pin-steps li { min-height: 0; opacity: 1; padding: 0 0 22px; border: 0; border-radius: 14px; overflow: hidden; justify-content: flex-start;
    background: #fff; color: var(--ink); --fg: var(--ink); --fg-muted: var(--muted); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .3); }
  .pin-steps li:first-child { border-top: 0; }
  .pin-steps li::before { margin: 18px 20px 6px; font-size: 3rem; }
  .pin-steps li > :not(.step-media) { margin-inline: 20px; }
  .pin-steps p { margin-bottom: 0; }
  .pin-steps .step-media { display: block; aspect-ratio: 4 / 3; order: -1; }
}

/* Récit en chapitres (page parcours) : photo plein écran, puis texte par-dessus */
.story-stack { position: relative; background: #0B0B0B; color: #fff; }
.chap-bg { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0B0B0B; }
.chap-bg .media { position: absolute; inset: 0; background: #0B0B0B; }
.chap-bg .media > img { transform: scale(var(--zoom, 1)); transform-origin: 50% 40%; will-change: transform; }
.chap-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%), rgba(0,0,0,var(--dim, .68)); }
.chap-cap { position: absolute; right: 24px; bottom: 20px; z-index: 2; font-size: .9rem; color: rgba(255,255,255,.85); opacity: calc(1 - var(--dim, .68) * 1.4); }
.slides > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.slides > img.is-on { opacity: 1; }
.chap-cap[data-slide] { transition: opacity .6s ease; }
.chap-cap[data-slide]:not(.is-on) { opacity: 0; }
.chap-body { position: relative; margin-top: -100vh; margin-top: -100svh; padding-bottom: 22vh; }
.chap-body:not(.chap-body--new) { margin-top: 0; }
.chap-space { height: 78vh; height: 78svh; }
.chap-space--short { height: 12vh; }
.chap-text { max-width: 40rem; }
.chap-text h2 { font-family: var(--font-d); text-transform: uppercase; font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; margin-bottom: .45em; color: #fff; }
.chap-text .prose { max-width: none; }
.chap-text .prose p { color: rgba(255,255,255,.92); font-size: 1.06rem; }
.chap-text .prose p + p { margin-top: 1em; }
.chap-body:last-child { padding-bottom: 30vh; }
.recit-plain + .recit-plain { margin-top: 2.4em; }
.recit-plain h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: .4em; }
.recit-plain p + p { margin-top: 1em; }
@media (max-width: 880px) {
  .chap-space { height: 70vh; height: 70svh; }
  .chap-text h2 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .chap-cap { left: 20px; right: auto; }
}

/* Citation */
.quote { margin: 0; padding-left: 22px; border-left: 3px solid var(--mark); }
.quote p { font-weight: 650; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.25; margin-bottom: .6em; font-style: italic; }
.quote footer { color: var(--fg-muted); font-size: .95rem; }

/* ---------- Analyse biomécanique (signature) ---------- */
.analyse { background: #000; padding-block: var(--sec); }
.analyse-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.analyse-fig { position: relative; aspect-ratio: 16 / 11; }
.analyse-fig .media { position: absolute; inset: 0; }
.analyse-fig .media > img, .analyse-fig .media > video { filter: brightness(.6) saturate(.75) contrast(1.05); }
.trace { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.trace .bone { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.trace .joint { fill: var(--ink); stroke: #fff; stroke-width: 5; }
.trace .hot { fill: var(--signal); stroke: #fff; stroke-width: 5; }
.trace .arc { fill: none; stroke: var(--signal); stroke-width: 7; stroke-linecap: round; }
.trace .com { fill: none; stroke: var(--signal); stroke-width: 4; stroke-dasharray: 12 12; }
.trace .lbl { font: 700 27px var(--font); fill: #fff; }
.trace .lead-l { stroke: #fff; stroke-width: 2.5; }
.motion .trace .bone, .motion .trace .arc { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset calc(var(--t-draw) * 1.4) var(--ease-draw); }
.motion .trace .joint, .motion .trace .hot, .motion .trace .lbl, .motion .trace .lead-l, .motion .trace .com { opacity: 0; transition: opacity .5s ease 1.1s; }
.motion .trace.is-in .bone, .motion .trace.is-in .arc { stroke-dashoffset: 0; }
.motion .trace.is-in .joint, .motion .trace.is-in .hot, .motion .trace.is-in .lbl, .motion .trace.is-in .lead-l, .motion .trace.is-in .com { opacity: 1; }
.corners i { position: absolute; z-index: 3; width: 34px; height: 34px; border: 0 solid rgba(255,255,255,.65); }
.corners i:nth-child(1) { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.corners i:nth-child(2) { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; }
.corners i:nth-child(3) { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; }
.corners i:nth-child(4) { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; }
.analyse .ticks li::before { border-color: var(--signal); }
.analyse-cap { margin: 14px 0 0; font-size: .88rem; color: var(--fg-muted); }
@media (max-width: 960px) { .analyse-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Barre crédit d'impôt (Domicile) ---------- */
.pricecard { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); }
.pc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.pc-top p { margin: 0; font-weight: 600; }
.pc-total { font-family: var(--font-d); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.pc-bar { display: flex; height: clamp(84px, 9vw, 108px); border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg, #EDEDED 0 8px, #F7F7F7 8px 16px); }
.pc-you { flex: 0 0 50%; background: var(--bordeaux); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; }
.motion .pc-you { flex-basis: 100%; transition: flex-basis var(--t-draw) var(--ease) .2s; }
.motion .is-in .pc-you, .motion .pricecard.is-in .pc-you { flex-basis: 50%; }
.pc-state { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; text-align: right; min-width: 0; }
.pc-bar b { font-family: var(--font-d); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; }
.pc-bar span { font-size: .9rem; white-space: nowrap; margin-top: 4px; }
.pc-foot { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Périodisation ---------- */
.peri { background: #111; color: #fff; border: 1px solid #2B2B2B; border-radius: var(--r); padding: clamp(20px, 3vw, 30px); --fg-muted: #A7A7A9; }
.peri-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.peri-head p { margin: 0; font-weight: 650; }
.peri-legend { display: flex; gap: 14px; font-size: .82rem; color: var(--fg-muted); }
.peri-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.peri-plot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; height: 200px; align-items: end; border-bottom: 1px solid #2B2B2B; position: relative; }
.peri-bar { background: #fff; height: var(--h); transform-origin: bottom; }
.motion .peri-bar { transform: scaleY(0); transition: transform var(--t-in) var(--ease); transition-delay: calc(var(--i) * var(--stagger) * .7 + 150ms); }
.motion .is-in .peri-bar { transform: scaleY(1); }
.peri-bar--deload { background: #5E5E60; }
.peri-bar--taper { background: var(--signal); }
.peri-flag { align-self: stretch; position: relative; }
.peri-flag::before { content: ""; position: absolute; top: 24px; bottom: 0; left: 50%; border-left: 2px dashed #fff; opacity: .7; }
.peri-flag span { font-size: .76rem; font-weight: 700; background: #fff; color: var(--ink); padding: 3px 6px; border-radius: 3px; white-space: nowrap; position: absolute; top: 0; right: 0; }
.peri-weeks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 8px; font-size: .72rem; color: var(--fg-muted); text-align: center; }
.peri-phases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 12px; font-size: .8rem; font-weight: 600; }
.peri-phases span { border-top: 2px solid #fff; padding-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peri-phases .ph-a { grid-column: 1 / 5; }
.peri-phases .ph-i { grid-column: 5 / 9; }
.peri-phases .ph-t { grid-column: 9 / 12; border-top-color: var(--signal); }
.peri-cap { margin: 14px 0 0; font-size: .88rem; color: var(--fg-muted); }
@media (max-width: 520px) { .peri-plot { height: 160px; gap: 4px; } .peri-weeks, .peri-phases { gap: 4px; } .peri-weeks { font-size: .64rem; } }

/* ---------- Offres (cartes) ---------- */
.offers { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.offer { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r); border: 1px solid var(--line-c); background: transparent; }
.offer--main { background: #fff; color: var(--ink); border-color: #fff; --fg: var(--ink); --fg-muted: var(--muted); --line-c: var(--line); --btn-bg: var(--ink); --btn-fg: #fff; --btn-bg-hover: #3A3A3A; }
.offers--light .offer { background: #fff; border-color: var(--line); }
.offers--light .offer--main { background: var(--ink); color: #fff; border-color: var(--ink); --fg: #fff; --fg-muted: #A7A7A9; --line-c: rgba(255,255,255,.16); --btn-bg: #fff; --btn-fg: var(--ink); --btn-bg-hover: #D9D9D9; }
.offer .label { color: var(--accent-txt); margin-bottom: .6rem; }
.offer--main .label { color: var(--signal-txt); }
.offers--light .offer--main .label { color: var(--signal-lt); }
.offer h3 { font-family: var(--font-d); text-transform: uppercase; font-weight: 400; font-size: clamp(2.2rem, 3.2vw, 3rem); line-height: 1; margin-bottom: .3em; }
.offer .for { color: var(--fg-muted); margin-bottom: 18px; }
.offer-format { display: inline-block; align-self: flex-start; font-size: .82rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-c); margin-bottom: 18px; }
.offer ul { list-style: none; display: grid; gap: 10px; margin: 0 0 24px; }
.offer li { padding-left: 26px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.u-dom .offer li::before { border-color: var(--bordeaux); }
.offer-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-c); display: grid; gap: 14px; justify-items: start; }
.offer-meta { margin: 0; font-size: .95rem; color: var(--fg-muted); }
.offer-note { margin: 0; font-weight: 600; }
.offers-note { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 40px; color: var(--fg-muted); font-size: .98rem; }
.offers-note p { margin: 0; }
.offers-note strong { color: var(--fg); }
@media (max-width: 1000px) { .offers { grid-template-columns: minmax(0, 1fr); } .offers-note { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Portrait / parcours ---------- */
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1A1A1A; margin: 0; display: grid; place-items: center; }
.portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait img.ph { position: static; width: 40%; height: auto; object-fit: contain; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .88rem; z-index: 2; }
.u-prep .person .portrait { box-shadow: 18px 18px 0 var(--bordeaux); margin: 0 18px 18px 0; }
.story h2 { margin-bottom: .35em; }
.story .lead { font-weight: 600; }
.story p { max-width: 38em; }
.story h1 ~ h2, .story h2 ~ h2 { font-family: var(--font); text-transform: none; font-size: 1.5rem; font-weight: 700; margin-top: 1.6em; line-height: 1.2; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 30px 0; border-top: 2px solid var(--fg); }
.facts li { padding: 16px 16px 0 0; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--line-c); }
.facts b { display: block; font-family: var(--font-d); font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.facts span { display: block; margin-top: 8px; font-size: .9rem; color: var(--fg-muted); }
.socials { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
@media (max-width: 880px) { .person { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 520px; } }
.person--long { align-items: start; }
@media (min-width: 881px) { .person--long > div:first-child { position: sticky; top: 96px; } }
.person .story h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-c); } .facts li { padding-bottom: 14px; } }

/* ---------- Témoignages ---------- */
.testis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: start; }
.testi { margin: 0; padding: 24px 26px 26px; border-radius: var(--r); background: var(--mist); color: var(--ink); display: flex; flex-direction: column; gap: 16px; }
.bg-mist .testi, .bg-stone .testi { background: #fff; }
.testi-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.testi-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink); }
.bg-mist .testi-ico, .bg-stone .testi-ico { background: var(--mist); }
.testi-ico svg { width: 18px; height: 18px; }
.testi-ico img { width: 22px; height: 22px; object-fit: contain; }
.testi-src { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.testi-src b { font-weight: 650; font-size: .88rem; }
.testi-src span { color: var(--muted); font-size: .8rem; }
.testi-note { margin-left: auto; flex: none; color: var(--signal); letter-spacing: .1em; font-size: .95rem; line-height: 1; white-space: nowrap; }
.testi-note span { color: #D4D4D4; }
.testi blockquote { margin: 0; }
.testi blockquote p { margin: 0 0 .7em; font-size: 1.05rem; }
.testi blockquote p:last-child { margin-bottom: 0; }
.testi figcaption { font-size: .95rem; }
.testi figcaption b { display: block; font-weight: 650; }
.testi figcaption span { display: block; color: var(--muted); font-size: .9rem; }
@media (min-width: 720px) { .testi--long { grid-column: span 2; } }
@media (max-width: 719px) {
  .testis { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); gap: 12px; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 10px; scrollbar-width: thin; }
  .testis > .testi { flex: 0 0 86%; scroll-snap-align: start; }
  .testis > .testi:only-child { flex-basis: 100%; }
}
.testi-mention { margin: 24px 0 0; max-width: 52em; font-size: .82rem; color: var(--fg-muted); }

/* ---------- Logos et labels ---------- */
.sec--logos { padding-block: clamp(40px, 6vw, 72px); }
.logos { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.logos-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; display: grid; place-items: center; height: 104px; }
.logo-tile--dark { background: #000; border-color: #000; }
.logo-tile img { max-height: 80px; max-width: 180px; width: auto; height: auto; display: block; }
.logo-tile a { display: block; }
.logos-title { font-family: var(--font); text-transform: none; font-size: 1.25rem; font-weight: 700; margin: 0 0 .4em; }
.logos-txt p { margin: 0; max-width: 46em; color: var(--fg-muted); }
.logos-txt p + p { margin-top: .6em; }
@media (max-width: 760px) { .logos { grid-template-columns: minmax(0, 1fr); } .logo-tile { height: 88px; } .logo-tile img { max-height: 64px; max-width: 150px; } }

/* ---------- Crédit d'impôt : bandeau bordeaux et ticket de séance QG PERF ----------
   Le talon (la part prise en charge) se détache au défilement : --tear va de 0 (attaché) à 1 (détaché).
   Sans animation, le ticket reste détaché et se lit tel quel. */
.credit { background: var(--bordeaux); padding-block: var(--sec); overflow: hidden; overflow: clip; }
.credit h2 { color: #fff; }
.credit .lead { color: #F6DADA; }
.credit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ticket { margin: 0; --tear: 1; }
.tk { display: flex; align-items: stretch; filter: drop-shadow(0 22px 34px rgba(43, 7, 12, .42)); }
.tk-main { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; background: #fff; color: var(--ink); border-radius: 14px 3px 3px 14px; padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px) clamp(16px, 2vw, 24px); }
.tk-main, .tk-stub { --notch: radial-gradient(circle 12px at var(--nx) 0, #0000 11px, #000 12px), radial-gradient(circle 12px at var(--nx) 100%, #0000 11px, #000 12px); -webkit-mask: var(--notch); -webkit-mask-composite: source-in; mask: var(--notch); mask-composite: intersect; }
.tk-main { --nx: 100%; }
.tk-stub { --nx: 0; }
.tk-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tk-head img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.tk-head span { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); line-height: 1.25; }
.tk-head b { font-family: var(--font-d); font-weight: 400; font-size: 1.15rem; letter-spacing: .02em; color: var(--ink); }
.tk-label { margin: 16px 0 0; font-weight: 650; }
.tk-num { margin: 0; font-family: var(--font-d); font-size: clamp(4.6rem, 9vw, 8rem); line-height: .9; color: var(--bordeaux); font-variant-numeric: tabular-nums; }
.tk-stub { flex: 0 0 34%; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px clamp(14px, 1.8vw, 22px); border-radius: 3px 14px 14px 3px; border-left: 2px dashed #D9B2B2; background: repeating-linear-gradient(135deg, #F7ECEC 0 9px, #FFF8F8 9px 18px); color: var(--bordeaux-dk); transform-origin: 0 100%; transform: translate(calc(var(--tear) * 9%), calc(var(--tear) * 22px)) rotate(calc(var(--tear) * 7deg)); }
.tk-num--s { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--bordeaux-dk); }
.tk-stub-txt { margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.3; }
.ticket figcaption { margin-top: 44px; max-width: 30em; font-size: .95rem; color: #F6DADA; }
.credit-facts { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .24); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); }
.credit-facts b { display: block; font-family: var(--font-d); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.02; color: #fff; text-wrap: balance; }
.credit-facts span { display: block; margin-top: 8px; color: #F6DADA; }
@media (max-width: 880px) {
  .credit-grid, .credit-facts { grid-template-columns: minmax(0, 1fr); }
  .tk-stub { flex-basis: 36%; }
}

/* ---------- Formules : le rythme de chaque formule, dessiné ---------- */
.fcards { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.fcard { background: #fff; color: var(--ink); border-radius: 12px; padding: 22px 22px 18px; display: flex; flex-direction: column; min-width: 0; }
.fcard--pack { grid-column: span 2; }
.fc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.fc-top .tc-tag { margin-top: 0; background: var(--bordeaux); color: #fff; }
.fc-vis { margin: 22px 0 14px; min-height: 104px; display: flex; align-items: center; }
.fc-meta { margin: 0; font-weight: 600; }
.fc-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; width: 100%; }
.fc-week li { aspect-ratio: 1; max-height: 52px; display: grid; place-items: center; border-radius: 8px; background: var(--mist); color: #9A9A9C; font-weight: 650; font-size: .9rem; }
.fc-week li.on { background: var(--bordeaux); color: #fff; }
.fc-punch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 52px); gap: 10px 14px; }
.fc-punch li, .fc-punch--one { width: 52px; height: 52px; border-radius: 50%; border: 2px dashed #D3B3B3; display: grid; place-items: center; }
.fc-punch span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--bordeaux); color: #fff; font-family: var(--font-d); font-size: 1.05rem; letter-spacing: .02em; transform: rotate(-12deg); }
.fc-punch li:nth-child(3n) span { transform: rotate(8deg); }
.fc-punch li:nth-child(4n+1) span { transform: rotate(-4deg); }
.fc-punch.fc-punch--one { width: 72px; height: 72px; grid-template-columns: minmax(0, 1fr); gap: 0; }
.fc-punch--one span { font-size: 1.4rem; }
.fc-price { margin-top: auto; padding-top: 16px; border-top: 1px dashed #D9D9D9; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.fc-meta + .fc-price { margin-top: 18px; }
.fc-lock { width: 18px; height: 18px; color: var(--bordeaux); }
.fc-lock svg { width: 100%; height: 100%; display: block; }
.fc-pl { font-size: .85rem; color: var(--muted); }
.fc-blur { font-family: var(--font-d); font-weight: 400; font-size: 1.7rem; color: var(--bordeaux); filter: blur(6px); user-select: none; }
.fc-price--on { display: block; }
.fc-price--on .tc-pay { margin-top: 0; }
@media (max-width: 980px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .fcards { grid-template-columns: minmax(0, 1fr); }
  .fcard--pack { grid-column: auto; }
  .fc-punch { grid-template-columns: repeat(5, minmax(0, 46px)); gap: 8px 10px; }
  .fc-punch li { width: 46px; height: 46px; }
}
/* Tampons et jours qui se remplissent à l'arrivée de la carte à l'écran */
.motion .fcard .fc-punch span { opacity: 0; transform: scale(1.6) rotate(-30deg); transition: opacity .25s ease, transform .35s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--i, 0) * var(--stagger) + 150ms); }
.motion .fcard.is-in .fc-punch span { opacity: 1; transform: rotate(-12deg); }
.motion .fcard.is-in .fc-punch li:nth-child(3n) span { transform: rotate(8deg); }
.motion .fcard.is-in .fc-punch li:nth-child(4n+1) span { transform: rotate(-4deg); }
.motion .fcard .fc-week li.on { background: var(--mist); color: #9A9A9C; transition: background-color .3s ease, color .3s ease; transition-delay: calc(var(--i, 0) * var(--stagger) * 1.6 + 200ms); }
.motion .fcard.is-in .fc-week li.on { background: var(--bordeaux); color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--line-c); }
.faq details:first-of-type { border-top: 1px solid var(--line-c); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 650; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 2px; background: var(--fg); transition: transform .25s; }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { margin: 0 0 22px; color: var(--fg-muted); max-width: 44em; }

/* ---------- Appel à l'action final ---------- */
.cta-band { padding-block: clamp(80px, 10vw, 144px); background: #000; position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 56px; align-items: end; position: relative; }
.cta-band h2 { margin: 0 0 .25em; font-size: clamp(2.8rem, 6.4vw, 6rem); }
.cta-band p { margin: 0; max-width: 34em; color: #D4D4D4; }
.u-dom .cta-band { background: var(--bordeaux); }
.u-dom .cta-band p { color: #F6DADA; }
.u-prep .cta-band { background: radial-gradient(ellipse 70% 90% at 15% 40%, #5A1018 0%, #1F0508 60%, #000 100%); }
.u-prep .cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Formulaires ---------- */
.form-page { padding-block: clamp(40px, 6vw, 80px) var(--sec); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-aside { position: sticky; top: 100px; background: var(--mist); border-radius: var(--r); padding: 28px; }
.u-prep .form-aside { background: #000; color: #fff; --fg-muted: #A7A7A9; }
.form-aside h2 { font-size: 2rem; }
.form-aside ol { list-style: none; counter-reset: f; display: grid; gap: 14px; margin: 0 0 18px; }
.form-aside li { counter-increment: f; padding-left: 40px; position: relative; }
.form-aside li::before { content: counter(f); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.u-prep .form-aside li::before { background: var(--signal-btn); }
.u-dom .form-aside li::before { background: var(--bordeaux); }
.form-aside .small { color: var(--fg-muted); margin: 0; }
@media (max-width: 900px) { .form-layout { grid-template-columns: minmax(0, 1fr); } .form-aside { position: static; order: -1; } }
.form { display: grid; gap: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field > label, .form fieldset > legend { font-weight: 650; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form fieldset > legend { margin-bottom: 10px; padding: 0; }
.req { color: var(--signal-txt); }
.u-dom .req { color: var(--bordeaux); }
.hint { font-size: .88rem; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 1rem; color: var(--ink); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.14); }
.input:user-invalid, .textarea:user-invalid { border-color: #B3261E; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: block; height: 100%; padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 550; cursor: pointer; }
.choice span small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.u-dom .choice input:checked + span { border-color: var(--bordeaux); background: var(--bordeaux); }
.choice input:checked + span small { color: rgba(255,255,255,.85); }
.choice input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: var(--r); font-weight: 550; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FBE9E7; color: #8A1C12; }
.form-status.is-info { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.form-layout--solo { grid-template-columns: minmax(0, 760px); }

/* ---------- Newsletter ---------- */
.nl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.nl h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form .input { flex: 1 1 220px; border-radius: 999px; padding-inline: 20px; }
.nl-form .btn { flex: 0 0 auto; }
.nl-msg { margin: 12px 0 0; font-size: .92rem; }
.nl-sec { background: #000; }
.nl-sec .input { background: #1A1A1A; border-color: #3A3A3A; color: #fff; }
.nl-sec .input::placeholder { color: #8E8E90; }
@media (max-width: 880px) { .nl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pied de page ---------- */
.foot { background: #000; padding-block: 72px 32px; font-size: .95rem; }
.foot a { text-decoration: none; color: #C9C9CB; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 40px; }
.foot-grid--sans-nl { grid-template-columns: 1.4fr 1fr 1fr; }
.foot h2 { font-family: var(--font); text-transform: none; font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 14px; color: #fff; line-height: 1.3; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot .brand-name { color: #fff; }
.foot p { color: #A7A7A9; }
.foot .nl-form .input { background: #1A1A1A; border-color: #3A3A3A; color: #fff; }
.foot .nl-form .input::placeholder { color: #8E8E90; }
.foot-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid #2B2B2B; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .84rem; color: #8E8E90; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tarifs (Domicile) ---------- */
.tarif-group + .tarif-group { margin-top: 56px; }
.tarif-group h3 { font-family: var(--font-d); text-transform: uppercase; font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; margin-bottom: .3em; }
.tarif-group > p { color: var(--fg-muted); max-width: 46em; }
.tcards { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 980px) { .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tcards { grid-template-columns: minmax(0, 1fr); } }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; display: flex; flex-direction: column; color: var(--ink); }
.tc-name { font-family: var(--font-d); text-transform: uppercase; font-weight: 400; font-size: 1.55rem; line-height: 1.05; margin: 0; }
.tc-tag { align-self: flex-start; margin-top: 8px; font-size: .75rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--mist); }
.tc-rythme { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.tc-pay { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.tc-label { flex-basis: 100%; font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tc-pay b { font-family: var(--font-d); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--bordeaux); }
.tc-unit { font-weight: 600; }
.tc-extra { margin: 4px 0 0; font-size: .95rem; font-weight: 600; }
.tc-detail { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.tc-detail div { display: flex; justify-content: space-between; gap: 12px; }
.tc-detail div + div { margin-top: 4px; }
.tc-detail dt { font-weight: 400; }
.tc-detail dd { margin: 0; white-space: nowrap; }
.tcards--nu { gap: 10px; }
.tcard--nu { padding: 16px 18px; }
.tcard--nu .tc-name { font-size: 1.3rem; }
.bg-mist .tcard { border-color: transparent; }

/* ---------- Simulateur ---------- */
.sim { background: var(--mist); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); }
.sim fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.sim legend { font-weight: 650; margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 600; cursor: pointer; }
.seg input:checked + span { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.sim-out { background: #fff; border-radius: var(--r); padding: 18px 20px; }
.sim-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sim-row:last-of-type { border-bottom: 0; }
.sim-row--pay { padding-top: 14px; align-items: baseline; }
.sim-row--pay b { font-family: var(--font-d); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--bordeaux); }
.sim-month { margin: 10px 0 0; font-weight: 600; }
.sim-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Pages simples / légales ---------- */
.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(24px, 4vw, 40px); }
.page-head [data-de] h1 { max-width: 14em; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.prose h2 { font-family: var(--font); text-transform: none; font-weight: 700; font-size: 1.55rem; line-height: 1.2; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.todo { background: #FFF2C6; border: 1px dashed #B88A00; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.route { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.route a { display: block; text-decoration: none; padding: 30px; border-radius: var(--r); }
.route .r-dom { background: var(--mist); }
.route .r-prep { background: #000; color: #fff; }
.route h2 { font-size: 2.4rem; margin-bottom: .3em; }
.route p { margin: 0 0 18px; }
.route .r-prep p { color: #A7A7A9; }
.route .r-go { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
@media (max-width: 760px) { .route { grid-template-columns: minmax(0, 1fr); } }
.hero-img { margin: 0; border-radius: var(--r); overflow: hidden; }
.intro + .sec:not([class*="bg-"]) { padding-top: clamp(8px, 1.5vw, 16px); }

/* ---------- Programmes ---------- */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--fg); }
.pc-vis { background: var(--mist); aspect-ratio: 5 / 4; display: flex; align-items: flex-end; justify-content: center; padding: 14% 12% 12%; margin-bottom: 12px; transition: background-color .2s; }
.pcard:hover .pc-vis { background: #EBEBEB; }
.bg-mist .pc-vis { background: #fff; }
.bg-mist .pcard:hover .pc-vis { background: #FAFAFA; }
.is-dark .pc-vis, .bg-ink .pc-vis { background: #1A1A1A; }
.is-dark .pcard:hover .pc-vis, .bg-ink .pcard:hover .pc-vis { background: #222; }
.pc-vis .wk { width: 100%; height: 100%; margin: 0; }
.pcard .pc-tag { font-weight: 600; font-size: .95rem; color: var(--accent-txt); }
.pcard h3 { font-size: 1.1rem; font-weight: 650; margin: 0; }
.pcard .pc-hook { margin: 0; color: var(--fg-muted); font-size: .97rem; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--fg-muted); font-size: .95rem; }
.pc-meta div { display: flex; gap: 6px; }
.pc-meta dt { display: none; }
.pc-meta dd { margin: 0; }
.pcf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.pc-price { font-weight: 700; font-size: 1.05rem; }
.pc-price s, .bb-price s { font-size: .8em; font-weight: 500; opacity: .6; margin-right: 4px; }
.pc-go { font-weight: 600; font-size: .92rem; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--mark); text-underline-offset: .2em; }
.ptags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ptags li { font-size: .8rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; opacity: .85; }
.wk { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 6%; height: 44px; margin: 4px 0; }
.wk i { display: block; height: var(--h); background: var(--fg); }
.wk i.deload { background: #BDBDBD; }
.is-dark .wk i.deload, .bg-ink .wk i.deload { background: #5E5E60; }
.wk i.taper { background: var(--signal); }
.motion .pc-vis .wk i { transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-in) var(--ease); }
.motion .is-in .pc-vis .wk i, .motion .pc-vis.is-in .wk i { transform: scaleY(1); }

.prog-hero { background: #000; }
.prog-hero .lead { color: #D4D4D4; }
.prog-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prog-top h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); max-width: 12em; margin-top: .3em; }
.prog-top .ptags { margin-top: 18px; }
.crumb { display: inline-block; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; opacity: .85; }
.buybox { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 30px); display: grid; gap: 14px; --fg: var(--ink); --fg-muted: var(--muted); --btn-bg: var(--ink); --btn-fg: #fff; --btn-bg-hover: #3A3A3A; }
.u-membre .buybox { border: 1px solid var(--line); }
.bb-price { margin: 0; font-family: var(--font-d); font-size: clamp(2.2rem, 3.4vw, 2.8rem); line-height: 1; }
.bb-price--txt { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.05; }
.buybox .wk { height: 64px; }
.buybox .small { margin: 0; color: var(--muted); }
.bb-legal { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.bb-facts { list-style: none; margin: 4px 0 0; display: grid; gap: 0; }
.bb-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.bb-facts span { color: var(--muted); }
.bb-facts b { text-align: right; font-weight: 650; }
.bb-ok { margin: 0 0 8px; font-weight: 750; color: var(--signal-txt); }
.btn--off { background: var(--mist); color: var(--muted); cursor: not-allowed; }
.form--compact { gap: 14px; }
.form--compact .input { min-height: 48px; }
@media (max-width: 880px) { .prog-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Espace membre ---------- */
.u-membre { background: var(--mist); }
.m-head { padding-block: clamp(40px, 5vw, 72px) 8px; }
.m-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.m-sec { padding-block: 28px 64px; }
.m-sec h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; min-height: 160px; transition: border-color .15s; }
.tile:hover { border-color: var(--ink); }
.tile h2 { font-size: 2rem; margin: 0; }
.tile p { margin: 0; color: var(--muted); }
.tile .count { margin-top: auto; font-weight: 650; color: var(--signal-txt); }
.checklist { list-style: none; display: grid; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: 0 0 auto; }
.checklist label { cursor: pointer; }
.checklist input:checked + label { color: var(--muted); text-decoration: line-through; }
.vgroup + .vgroup { margin-top: 44px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.video { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.v-frame { aspect-ratio: 16 / 9; background: #000; position: relative; display: grid; place-items: center; }
.v-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-play { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #000 0%, #2B2B2B 100%); }
.v-play::after { content: ""; width: 64px; height: 64px; border-radius: 50%; background: var(--signal-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") center/28px no-repeat; }
.v-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.v-soon { color: #A7A7A9; font-weight: 650; }
.v-body { padding: 16px 18px 20px; }
.v-body h3 { font-size: 1.2rem; margin-bottom: .3em; }
.v-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.lex-tools { display: grid; gap: 14px; margin-bottom: 28px; }
.lex-tools .input { max-width: 520px; }
.lex-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.lex-cats button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 8px 15px; font-weight: 600; cursor: pointer; }
.lex-cats button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lex-cat + .lex-cat { margin-top: 36px; }
.lex-cat h2 { font-size: 2rem; }
.lex-list { background: #fff; border-radius: var(--r); border: 1px solid var(--line); margin: 0; }
.lex-item { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 24px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.lex-item:last-child { border-bottom: 0; }
.lex-item dt { font-weight: 750; font-size: 1.08rem; line-height: 1.3; }
.lex-item dt small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.lex-item dd { margin: 0; }
.lex-empty { padding: 20px; background: #fff; border-radius: var(--r); }
@media (max-width: 640px) { .lex-item { grid-template-columns: minmax(0, 1fr); } }
.ebooks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ebook { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.ebook .label { color: var(--signal-txt); margin-bottom: .5rem; }
.ebook h2 { font-size: 1.9rem; }
.ebook p { color: var(--muted); }
.ebook .btn, .ebook .soon { margin-top: auto; }
.soon { display: inline-block; font-weight: 650; color: var(--muted); padding: 12px 0 0; border-top: 1px solid var(--line); }

/* ---------- Apparitions au défilement ---------- */
.motion .rv, .motion .rv-img { opacity: 0; transform: translateY(26px); transition: opacity var(--t-in) var(--ease), transform var(--t-in) var(--ease); transition-delay: calc(var(--d, 0) * var(--stagger)); }
.motion .rv.is-in, .motion .rv-img.is-in { opacity: 1; transform: none; }
.anim .hero-in > * { animation: rise var(--t-in) var(--ease) both; }
.anim .hero-in > *:nth-child(2) { animation-delay: .12s; }
.anim .hero-in > *:nth-child(3) { animation-delay: .22s; }
.anim .hero-in > *:nth-child(4) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Focus & mouvement ---------- */
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.is-dark :focus-visible, .foot :focus-visible, .u-prep .bar :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Portrait : plaque QG PERF posée sur la photo, qui déborde du cadre ---------- */
.person-media { position: relative; }
.nameplate { position: absolute; left: clamp(-10px, -1vw, 0px); right: clamp(-28px, -3vw, -8px); bottom: clamp(18px, 3vw, 32px); z-index: 3; display: flex; align-items: center; gap: 14px; }
.nameplate img { width: 44px; height: 44px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #fff; }
.np-name { margin: 0; font-family: var(--font-d); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; color: #fff; }
.np-name span { display: inline-block; padding: .1em .32em .06em; background: var(--signal); transform: skewX(-8deg); box-shadow: 6px 6px 0 var(--ink); }
.u-dom .np-name span { background: var(--bordeaux); }
.np-role { margin: 10px 0 0; display: inline-block; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 650; padding: 4px 10px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.motion .nameplate .np-name span { clip-path: inset(0 100% 0 0); transition: clip-path var(--t-draw) var(--ease-draw) .2s; }
.motion .nameplate.is-in .np-name span { clip-path: inset(-20% -20% -20% -20%); }
@media (max-width: 880px) { .nameplate { right: 8px; } }

/* ---------- Avis : un avis en vedette, les autres en colonnes ---------- */
.testis--wall { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.testis--solo { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.testis-rest { columns: 2 280px; column-gap: 16px; }
.testis-rest .testi { break-inside: avoid; margin-bottom: 16px; }
.testis--wall .testi--long { grid-column: auto; }
.testi--feat { background: transparent !important; padding: 0; position: sticky; top: 110px; }
.testi--feat::before { content: "«"; display: block; font-family: var(--font-d); font-size: clamp(6rem, 10vw, 9rem); line-height: .7; color: var(--accent-txt); margin-bottom: 8px; }
.testi--feat blockquote p { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.4; font-weight: 500; }
.testi--feat .testi-head { order: 3; border-bottom: 0; padding-bottom: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.testi--feat figcaption { order: 2; }
.testi--feat figcaption b { font-size: 1.05rem; }
@media (max-width: 719px) {
  .testis--wall { display: flex; }
  .testis-rest { display: contents; }
  .testis-rest .testi { margin-bottom: 0; flex: 0 0 86%; scroll-snap-align: start; }
  .testi--feat { position: static; background: var(--mist) !important; padding: 24px 26px 26px; }
  .testi--feat::before { font-size: 4.5rem; }
  .testi--feat blockquote p { font-size: 1.1rem; }
}

/* ---------- FAQ : les questions, et Quentin qui répond directement ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-wrap .faq { max-width: none; }
.ask { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 22px; border-radius: 12px; background: var(--mist); }
.bg-mist .ask, .bg-stone .ask { background: #fff; }
.ask-av { grid-row: span 2; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: block; }
.ask-av img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(2.3); transform-origin: 50% 14%; }
.ask-t { margin: 0; font-family: var(--font-d); text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.ask-n { margin: 0; color: var(--muted); font-size: .95rem; }
.ask-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.ask-links .btn { min-height: 46px; padding: 10px 20px; }
.faq details[open] > p, .faq details[open] > p + p { border-left: 3px solid var(--mark); padding-left: 16px; }
.faq details[open] summary { color: var(--accent-txt); }
@media (max-width: 880px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-side { position: static; } }

/* ---------- Appel final en ticket QG PERF ---------- */
.cta-band--ticket .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.tk--cta { filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .35)); transform: rotate(-2deg); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.tk--cta:hover, .tk--cta:focus-within { transform: rotate(0deg); }
.tk--cta .tk-stub { transform: none; flex-basis: 30%; align-items: flex-start; }
.cta-band .tk--cta p.tk-txt { margin: 14px 0 18px; color: var(--ink); font-size: 1rem; max-width: none; }
.cta-band .tk--cta .tk-stub p { color: var(--bordeaux-dk); }
.tk--cta .tk-num--s { white-space: nowrap; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.u-prep .tk--cta .btn--accent { background: var(--signal-btn); }
.u-prep .tk--cta .tk-stub { background: repeating-linear-gradient(135deg, #F6E7E2 0 9px, #FFF8F5 9px 18px); color: #6B1B0B; border-left-color: #E3B9AD; }
.u-prep .cta-band .tk--cta .tk-stub p { color: #6B1B0B; }
@media (max-width: 760px) { .cta-band--ticket .wrap { grid-template-columns: minmax(0, 1fr); } .tk--cta { transform: none; } }

/* ---------- Grandes phrases : le point au centre de l'écran s'allume ---------- */
.lines-sec { background: var(--black); }
.lines-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lines-head { position: sticky; top: 120px; }
.lines-head h2 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.lines { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.lines li { padding: clamp(28px, 6vh, 64px) 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.lines li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.lines b { display: block; font-family: var(--font-d); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .98; color: #fff; text-wrap: balance; }
.lines span { display: block; margin-top: 12px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #B5B5B7; }
.lines b::before { content: ""; display: block; width: 44px; height: 6px; margin-bottom: 18px; background: var(--signal); transform-origin: left; }
.motion .lines li b::before { transform: scaleX(0); transition: transform var(--t-draw) var(--ease-draw) .2s; }
.motion .lines li.is-in b::before { transform: scaleX(1); }
@media (max-width: 880px) { .lines-grid { grid-template-columns: minmax(0, 1fr); } .lines-head { position: static; } }

/* ---------- Formules prépa : jauge du niveau de suivi ---------- */
.gauge { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-bottom: 18px; }
.gauge i { width: 12px; height: calc(var(--h) * 100%); border-radius: 2px; background: rgba(127, 127, 127, .28); }
.gauge i.on { background: var(--signal); }
.gauge span { margin-left: 10px; font-size: .82rem; font-weight: 650; color: var(--fg-muted); align-self: center; }
.motion .offer .gauge i.on { transform: scaleY(.15); transform-origin: bottom; transition: transform var(--t-in) var(--ease); transition-delay: calc(var(--i) * var(--stagger) * 1.5 + 250ms); }
.motion .offer.is-in .gauge i.on { transform: scaleY(1); }

/* ---------- Signature de Quentin dans le haut de page ---------- */
.sig { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.sig-av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px var(--mark); }
.sig-av img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(2.3); transform-origin: 50% 14%; background: #fff; }
.sig p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sig b { font-weight: 700; }
.sig span { font-size: .88rem; color: var(--fg-muted); }
.hero--full .sig span { color: #D4D4D4; }

/* ---------- Page avis : récolte, et invitation Google sur la page merci ---------- */
.avis-direct { margin: 0; padding: 14px 18px; border-radius: 10px; background: var(--mist); font-size: .95rem; }
.hint-inline { font-weight: 400; color: var(--muted); font-size: .9em; }
.avis-google { margin: 30px 0 0; max-width: 34rem; }
.btn--google { gap: 12px; padding-left: 10px; min-height: 60px; font-size: 1.08rem; }
.g-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; flex: none; }
.g-ico img { width: 22px; height: 22px; object-fit: contain; }
.avis-copie { margin: 12px 0 0; color: var(--muted); }
.avis-secours { margin-top: 12px; min-height: 120px; }
.btn-row--after { margin-top: 40px; }
.envoye { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 14px; font-weight: 650; color: #1D6B3A; }
.envoye span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1D6B3A; color: #fff; font-size: .8rem; }
.etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 650; font-size: .95rem; color: var(--muted); }
.etapes li { display: flex; align-items: center; gap: 8px; }
.etapes span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; font-size: .8rem; }
.etapes .is-on { color: var(--ink); }
.etapes .is-on span { background: var(--ink); border-color: var(--ink); color: #fff; }
.etapes .is-done { color: #1D6B3A; }
.etapes .is-done span { background: #1D6B3A; border-color: #1D6B3A; color: #fff; }
.form-prive { display: grid; gap: 18px; padding: 22px; border-radius: 12px; background: var(--mist); }
.form-prive .small { margin: -12px 0 0; color: var(--muted); }
.form-prive-t { margin: 0; font-family: var(--font-d); text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.form-prive .textarea { background: #fff; }
.form-prive-t .hint-inline { font-family: var(--font); text-transform: none; font-size: .95rem; font-weight: 400; }

/* ---------- Barre d'action sur téléphone ---------- */
.sticky-cta { display: none; }
@media (max-width: 880px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .3s ease; visibility: hidden; }
  .u-prep .sticky-cta { background: rgba(17, 17, 17, .94); border-top-color: rgba(255, 255, 255, .12); }
  .sticky-cta.is-on { transform: none; visibility: visible; }
  .sticky-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Zones à toucher assez grandes sur téléphone ---------- */
@media (max-width: 720px) {
  .foot ul { gap: 0; }
  .foot li a, .foot-bottom nav a, .foot p a { display: inline-block; padding: 10px 0; }
  .ask-links .link, .story > .link { display: inline-block; padding: 12px 0; }
}

/* ---------- Formulaires « une question à la fois » ---------- */
.is-steps .step { display: none; }
.is-steps .step.is-current { display: grid; gap: 22px; animation: step-in .25s ease; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.is-steps .step > fieldset > legend, .is-steps .step > .field:first-child > label { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.25; margin-bottom: 14px; }
.is-steps .step .choices:not(.choices--cards) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.is-steps .step .choices:not(.choices--cards) .choice span { display: block; padding: 16px 18px; }
.steps-top { display: grid; gap: 8px; }
.steps-count { font-size: .9rem; font-weight: 650; color: var(--fg-muted); }
.steps-bar { display: block; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent, var(--ink)); transition: width .3s ease; }
.u-dom .steps-bar i { background: var(--bordeaux); }
.steps-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.steps-nav .steps-next { margin-left: auto; }
.steps-nav.is-last { justify-content: flex-start; }
.step-intro { margin: 0; font-weight: 650; font-size: 1.1rem; }
.form:not(.is-steps) .step-intro { margin-top: 8px; }
@media (max-width: 900px) { .form-layout--steps .form-aside { order: 1; } }

/* ---------- Question budget ---------- */
.budget { max-width: 860px; }
.budget-q .lead { margin-top: .6em; }
.budget-choices { margin-top: 22px; }
.budget-choices .choice span { padding: 14px 20px; font-size: 1.02rem; }
.budget-rep { margin-top: 26px; padding: 24px clamp(18px, 3vw, 30px); border-radius: 12px; background: var(--mist); border-left: 5px solid var(--accent, var(--ink)); }
.u-dom .budget-rep { border-left-color: var(--bordeaux); }
.bg-mist .budget-rep, .bg-stone .budget-rep { background: #fff; }
.budget-rep--non { border-left-color: #9A9A9C !important; }
.budget-rep h3 { margin: 0 0 8px; font-family: var(--font-d); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; }
.budget-prix { margin: 0 0 12px; font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.35rem); }
.u-dom .budget-prix { color: var(--bordeaux); }
.budget-rep p { max-width: 40em; }
.budget-rep .btn-row { margin-top: 20px; }
.motion .budget-rep.is-in { animation: rise var(--t-in) var(--ease) both; }
.is-dark .budget-rep, .bg-ink .budget-rep { background: rgba(255,255,255,.06); color: #fff; }
.budget-pairs { margin: 6px 0 14px; }
.budget-rep .bp-head { max-width: none; }
.bp-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; margin: 0 0 6px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); }
.budget-pairs ul { list-style: none; margin: 0; padding: 0; }
.budget-pairs li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.bp-obj { font-weight: 700; }
.bp-sol { color: var(--fg); }
@media (max-width: 640px) {
  .bp-head { display: none; }
  .budget-pairs li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .bp-sol::before { content: "→ "; color: var(--accent, var(--ink)); font-weight: 700; }
  .u-dom .bp-sol::before { color: var(--bordeaux); }
}

/* ---------- Formules sur téléphone : cartes qu'on fait glisser ---------- */
.car-nav { display: none; }
@media (max-width: 880px) {
  [data-carousel] {
    position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: 12px; align-items: stretch;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 10px; scroll-padding-inline: var(--gut);
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; }
  .motion [data-carousel] > .rv, .motion [data-carousel-flat] > .rv { opacity: 1; transform: none; }
  [data-carousel].is-nudge > * { animation: car-nudge 1.15s cubic-bezier(.45, 0, .2, 1) 1; }
  .fcards[data-carousel] { margin-top: 18px; }
  .fcards[data-carousel] .fcard--pack { grid-column: auto; }
  .fcards[data-carousel] .fcard { border: 1px solid var(--line); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .3); }
  .fcards[data-carousel] .fc-punch { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 290px; }
  .fcards[data-carousel] .fc-punch li { width: auto; height: auto; aspect-ratio: 1; }
  .fcards[data-carousel] .fc-punch.fc-punch--one { width: 72px; height: 72px; max-width: none; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .car-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
  .car-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: opacity .2s, background-color .2s; }
  .is-dark .car-btn, .bg-ink .car-btn { border-color: rgba(255, 255, 255, .35); }
  .car-btn svg { width: 20px; height: 20px; }
  .car-btn:disabled { opacity: .28; cursor: default; }
  .car-dots { display: flex; align-items: center; gap: 8px; }
  .car-dots i { display: block; width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .3s ease, background-color .3s ease; }
  .is-dark .car-dots i, .bg-ink .car-dots i { background: rgba(255, 255, 255, .3); }
  .car-dots i.is-on { width: 28px; background: var(--mark); }
}
@media (min-width: 600px) and (max-width: 880px) { [data-carousel] { grid-auto-columns: calc(50% - 6px); } }
@media (min-width: 881px) { .motion [data-carousel].rv { opacity: 1; transform: none; } }
@media (max-width: 880px) {
  .testis[data-carousel] .testis-rest { display: contents; }
  .testis[data-carousel] .testi { margin: 0; }
}
@keyframes car-nudge { 0%, 100% { transform: none; } 45% { transform: translateX(-46px); } }

/* ---------- Téléphone : la photo d'une liste arrive juste après l'introduction, avant les points ---------- */
@media (max-width: 880px) {
  .split--photo { gap: 0; }
  .split--photo > div:first-child { display: contents; }
  .split--photo > .liste-photo { order: 1; margin: 22px 0 30px; }
  .split--photo .ticks { order: 2; }
}


/* ---------- Tests : version sur fond clair (même photo de labo, assombrie) ---------- */
.analyse--clair { background: var(--paper); color: var(--ink); --fg: var(--ink); --fg-muted: var(--muted); --line-c: var(--line);
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bg-hover: #3A3A3A; --accent-txt: var(--signal-txt); }
.analyse--clair.bg-mist { background: var(--mist); }

/* ---------- Chiffres : quatre chiffres sur deux lignes ---------- */
.facts--4, .facts--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts--4 li:nth-child(odd), .facts--5 li:nth-child(odd) { padding-left: 0; border-left: 0; }
.facts--4 li:nth-child(n+3), .facts--5 li:nth-child(n+3) { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-c); }
@media (max-width: 560px) {
  .facts--4 li + li, .facts--5 li + li { border-top: 0; }
  .facts--4 li:nth-child(even), .facts--5 li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line-c); }
  .facts--4 li:nth-child(n+3), .facts--5 li:nth-child(n+3) { border-top: 1px solid var(--line-c); }
}

/* ---------- Question budget sur fond sombre ---------- */
.is-dark .choice input:checked + span { background: var(--signal-btn); border-color: var(--signal-btn); color: #fff; }
.budget-pairs li { border-top-color: var(--line-c); }
