/* =========================================================
   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;

  /* 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: 1020px) {
  .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: 1021px) { .menu .menu-cta { display: none; } }

/* ---------- 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-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; }
.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: 4 / 3; }
  .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 .9s cubic-bezier(.65,0,.25,1) .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; }
  .pin-steps li { min-height: 0; opacity: 1; padding-block: 36px; }
  .pin-steps .step-media { display: block; aspect-ratio: 4 / 3; margin-bottom: 22px; 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); }
.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 1.4s cubic-bezier(.6,0,.3,1); }
.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 1.1s cubic-bezier(.3,.7,.2,1) .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 .7s cubic-bezier(.3,.7,.2,1); transition-delay: calc(var(--i) * 60ms + 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-fit, minmax(280px, 1fr)); gap: 16px; }
.testi { margin: 0; padding: 26px; border-radius: var(--r); background: var(--mist); }
.bg-mist .testi { background: #fff; }
.testi p { font-size: 1.05rem; }
.testi footer { font-weight: 650; }
.testi footer span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* ---------- 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 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 .6s cubic-bezier(.3,.7,.2,1); }
.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 { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.motion .rv.is-in { opacity: 1; transform: none; }
.motion .rv-img { clip-path: inset(8% 0 0 0); transition: clip-path 1s cubic-bezier(.2,.7,.2,1); }
.motion .rv-img.is-in { clip-path: inset(0 0 0 0); }
.anim .hero-in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) 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; }
}
