/* ==========================================================================
   cs2coach.fr — Julien Paul, coaching Counter-Strike 2
   Feuille de style unique. Aucune dépendance externe.
   Voir DESIGN.md pour les règles durables du système.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices auto-hébergées (aucun appel Google Fonts — conformité CNIL)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/chakrapetch-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/chakrapetch-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/chakrapetch-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/chakrapetch-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/chakrapetch-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/chakrapetch-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/chakrapetch-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/chakrapetch-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond — italique uniquement (la voix française) */
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 600; font-display: swap;
  src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 600; font-display: swap;
  src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Noto Serif SC — sous-ensemble des seuls idéogrammes présents sur le site */
@font-face {
  font-family: 'Noto Serif SC'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/notoserifsc-500-zh.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/notoserifsc-600-zh.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. Jetons
   -------------------------------------------------------------------------- */

:root {
  --ink:      #0A0C10;
  --ink-2:    #0D1017;
  --panel:    #10141B;
  --panel-2:  #151A23;
  --text:     #E8EAF0;
  --muted:    #9AA3B5;
  --dim:      #7A8496;
  --blue:     #5B7CFF;
  --blue-dk:  #3D5AFE;
  --gold:     #C9A24B;
  --red:      #E5484D;
  --red-lt:   #FF8A8E;
  --wa:       #25D366;
  --wa-ink:   #06220F;

  --line:   rgba(136,158,255,.18);
  --line-2: rgba(136,158,255,.30);
  --glow:   rgba(61,90,254,.22);

  --sans:  'Chakra Petch', system-ui, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
  --han:   'Noto Serif SC', 'Songti SC', 'Source Han Serif SC', serif;

  --shell: 1240px;
  --pad:   clamp(20px, 5vw, 48px);
  --sec:   clamp(56px, 8vw, 104px);

  --bevel-sm: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  --bevel-lg: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--blue); color: var(--ink); }

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 12px 20px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  font-size: 12px; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; color: var(--ink); }

/* --------------------------------------------------------------------------
   4. Éléments de langage
   -------------------------------------------------------------------------- */

/* Kicker HUD — [ étiquette ] */
.kicker {
  font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.kicker::after {
  content: ''; flex: 1; height: 1px; max-width: 120px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* Titre de section : romain capitales + fin en italique doré */
.h2 {
  font-weight: 700;
  font-size: clamp(27px, 3.5vw, 42px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .005em;
  text-wrap: balance;
}
.h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .01em;
  color: var(--gold);
}

.lede {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

/* Cadre à équerres */
.frame { position: relative; padding: 14px; }
.frame span[data-corner] {
  position: absolute; width: 26px; height: 26px; pointer-events: none;
  border-color: var(--blue); border-style: solid; border-width: 0;
}
.frame span[data-corner="tl"] { top: 0; left: 0;  border-top-width: 2px; border-left-width: 2px; }
.frame span[data-corner="tr"] { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.frame span[data-corner="bl"] { bottom: 0; left: 0;  border-bottom-width: 2px; border-left-width: 2px; }
.frame span[data-corner="br"] { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.frame--gold span[data-corner] { border-color: var(--gold); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  clip-path: var(--bevel-sm);
  border: 0; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--gold); color: var(--ink); }
.btn--blue { background: var(--blue); color: var(--ink); }
.btn--blue:hover { background: var(--gold); color: var(--ink); }
.btn--lg { padding: 19px 42px; font-size: 13.5px; }
.btn--block { display: flex; width: 100%; }

/* Puce WhatsApp */
.wa-dot {
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  flex: 0 0 auto;
}

/* Étiquettes */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2);
  padding: 9px 16px;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.chip--gold { border-color: rgba(201,162,75,.45); color: var(--gold); }
.chip--red {
  background: rgba(229,72,77,.14); border-color: rgba(229,72,77,.42); color: var(--red-lt);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; padding: 5px 10px;
}

.zh { font-family: var(--han); font-weight: 500; letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   5. Grille bleu — fond d'ambiance
   -------------------------------------------------------------------------- */

.blueprint {
  position: relative;
  background-image:
    linear-gradient(rgba(124,155,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,155,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.blueprint::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 72% 12%, var(--glow), transparent 70%),
    radial-gradient(500px 300px at 8% 90%, rgba(201,162,75,.10), transparent 70%);
}
.blueprint > * { position: relative; }

/* --------------------------------------------------------------------------
   6. En-tête
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,12,16,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 14px;
}

.wordmark { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; color: var(--text); }
.wordmark:hover { color: var(--text); }
.wordmark b {
  font-weight: 700; font-size: 18px; letter-spacing: .22em; text-transform: uppercase;
}
.wordmark b i { font-style: normal; color: var(--blue); }
.tricolore { display: flex; height: 2px; width: 72px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--blue-dk); }
.tricolore i:nth-child(2) { background: var(--text); }
.tricolore i:nth-child(3) { background: var(--red); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); }
.nav a:not(.btn) {
  font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); position: relative; padding-block: 4px;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold);
  /* scaleX plutôt que width : composité, sans recalcul de mise en page. */
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(44px, 7vw, 92px);
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(33px, 5.4vw, 64px);
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: .008em;
  text-wrap: balance;
  margin-bottom: 8px;
}
.hero .signature {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(29px, 3.8vw, 48px);
  line-height: 1.06;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero .alt-lang { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--dim); }
.hero .alt-lang em { font-style: italic; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-aside { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* Carte offre */
.offer {
  background: var(--panel);
  border: 1px solid var(--line-2);
  padding: clamp(22px, 3vw, 30px);
  clip-path: var(--bevel-lg);
}
.offer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 10px;
}
.offer-head p {
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--blue);
}
.offer-desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 14px; }
.offer-price { display: flex; align-items: baseline; gap: 12px; }
.offer-price b {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 58px; line-height: 1; color: var(--gold);
}
.offer-price span {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
}

/* La règle qui vend : 1 h minimum, sans maximum */
.offer-rule {
  margin: 16px 0 18px;
  border: 1px solid rgba(201,162,75,.34);
  background: rgba(201,162,75,.07);
  padding: 12px 14px;
  display: flex; align-items: flex-start; gap: 11px;
}
.offer-rule svg { flex: 0 0 auto; margin-top: 2px; }
.offer-rule p { font-size: 13px; line-height: 1.5; color: var(--text); }
.offer-rule b { color: var(--gold); font-weight: 700; }
.offer-rule small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }

.offer-foot {
  margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--muted);
}

/* --------------------------------------------------------------------------
   8. Bandeau défilant
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track > div {
  display: flex; gap: 34px; align-items: center;
  padding: 13px 17px; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted);
}
.marquee b { color: var(--text); font-weight: 600; }
.marquee i { color: var(--blue); font-style: normal; }
.marquee u { color: var(--gold); text-decoration: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   9. Bandeau HUD (séparateur)
   -------------------------------------------------------------------------- */

.hud {
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.hud .shell {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  padding-block: 15px;
  font-variant-numeric: tabular-nums;
}
.hud-cell { display: flex; align-items: center; gap: 10px; }
.hud-cell dt {
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}
.hud-cell dd { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--text); }
.hud-cell dd.is-live { color: var(--wa); display: flex; align-items: center; gap: 8px; }
.hud-sep { width: 1px; height: 22px; background: var(--line-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* --------------------------------------------------------------------------
   10. Sections génériques
   -------------------------------------------------------------------------- */

.section { border-bottom: 1px solid var(--line); }
.section > .shell { padding-block: var(--sec); }
.section--alt { background: var(--ink-2); }

/* --------------------------------------------------------------------------
   11. Le coach
   -------------------------------------------------------------------------- */

.coach-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.coach-copy p + p { margin-top: 14px; }

.creds {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 30px;
  border: 1px solid var(--line-2);
  gap: 1px;
  background: var(--line-2);
}
.creds > div { background: var(--panel); padding: 20px; }
.creds dt {
  font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--blue);
  text-transform: uppercase; letter-spacing: .04em;
}
.creds dd {
  margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted);
}
.creds > div:last-child dt { color: var(--gold); }

/* Emplacement photo — état vide dessiné, pas une image cassée */
.photo {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 24px;
  background-image:
    linear-gradient(rgba(124,155,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,155,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.photo-empty p {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim);
}
.photo-cap {
  margin-top: 12px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Le déroulé — phases
   -------------------------------------------------------------------------- */

.phases { border-top: 1px solid var(--line-2); margin-top: 34px; }
.phase {
  display: grid;
  grid-template-columns: 116px minmax(0, 240px) minmax(0, 1fr);
  gap: 8px 28px;
  align-items: baseline;
  padding-block: 24px;
  border-bottom: 1px solid var(--line-2);
}
.phase-idx {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: 9px;
}
.phase-idx::before {
  content: ''; width: 6px; height: 6px; background: var(--blue); flex: 0 0 auto;
  transform: rotate(45deg);
}
.phase h3 {
  font-weight: 600; font-size: 20px; line-height: 1.25;
  text-transform: uppercase; letter-spacing: .04em;
}
.phase p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.phase-note {
  margin-top: 26px;
  display: flex; align-items: flex-start; gap: 13px;
  border-left: 1px solid var(--gold);
  padding: 4px 0 4px 18px;
}
.phase-note p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--gold);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   13. Le programme — 3 démontrés + 3 compacts
   -------------------------------------------------------------------------- */

.demos { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; }

.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 46%);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(24px, 3.4vw, 40px);
  clip-path: var(--bevel-lg);
  transition: border-color .22s var(--ease);
}
.demo:hover { border-color: rgba(201,162,75,.5); }
.demo:nth-child(even) { direction: rtl; }
.demo:nth-child(even) > * { direction: ltr; }

.demo-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.demo h3 {
  font-weight: 700; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.18;
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px;
}
.demo p { font-size: 14.5px; line-height: 1.68; color: var(--muted); max-width: 46ch; }
.demo-fig { margin: 0; }
.demo-fig figcaption {
  margin-top: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); text-align: center;
}

.also {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px; margin-top: 18px;
  background: var(--line);
  border: 1px solid var(--line);
}
.also > div { background: var(--ink); padding: 24px; transition: background .2s var(--ease); }
.also > div:hover { background: var(--panel); }
.also h3 {
  font-weight: 600; font-size: 16px; line-height: 1.25;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.also h3 svg { flex: 0 0 auto; color: var(--blue); }
.also p { font-size: 13.5px; line-height: 1.62; color: var(--muted); }

/* --------------------------------------------------------------------------
   14. Témoignage
   -------------------------------------------------------------------------- */

.quote-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(28px, 5vw, 56px); align-items: center; margin-top: 30px;
}
.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: clamp(26px, 3.4vw, 40px);
}
.quote blockquote {
  font-family: var(--han); font-weight: 500;
  font-size: clamp(18px, 2.1vw, 23px); line-height: 1.85;
  color: var(--text);
}
.quote .translation {
  margin-top: 18px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(15px, 1.7vw, 18px); line-height: 1.5; color: var(--muted);
  max-width: 52ch;
}
.quote figcaption {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue);
}
.quote figcaption span { color: var(--dim); letter-spacing: .12em; font-weight: 500; }

.quote-side p { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.quote-side p + p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line-2); margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 44px 20px 0; position: relative;
  font-weight: 600; font-size: 17px; line-height: 1.35; letter-spacing: .02em;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transform-origin: center;
  transition: transform .24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p {
  padding: 0 0 22px; font-size: 14.5px; line-height: 1.72; color: var(--muted); max-width: 64ch;
}
.faq details p + p { padding-top: 0; margin-top: -8px; }

/* --------------------------------------------------------------------------
   16. Appel à l'action final
   -------------------------------------------------------------------------- */

.cta { border-bottom: 1px solid var(--line); overflow: hidden; }
.cta::before {
  background: radial-gradient(640px 380px at 50% 0%, rgba(61,90,254,.26), transparent 70%);
}
.cta .shell { max-width: 900px; text-align: center; padding-block: clamp(60px, 9vw, 118px); }
.cta .kicker { justify-content: center; color: var(--gold); }
.cta .kicker::after { display: none; }
.cta h2 {
  font-weight: 700; font-size: clamp(30px, 4.8vw, 56px); line-height: 1.06;
  text-transform: uppercase; text-wrap: balance; margin-bottom: 18px;
}
.cta h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  text-transform: none; color: var(--gold);
}
.cta .lede { margin-inline: auto; max-width: 50ch; }
.cta .alt-lang { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--dim); }
.cta-actions {
  margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cta-actions .meta { font-size: 13px; letter-spacing: .06em; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. Pied de page
   -------------------------------------------------------------------------- */

.site-footer { background: #07090C; color: var(--dim); }
.site-footer .shell { padding-block: 30px; }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a {
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  /* Cible tactile confortable au doigt, sans changer le rythme visuel. */
  display: inline-flex; align-items: center; min-height: 40px;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
  font-size: 12.5px; letter-spacing: .06em;
}
.footer-bottom p { color: var(--dim); }

/* --------------------------------------------------------------------------
   18. Pages de texte (mentions légales, confidentialité, 404)
   -------------------------------------------------------------------------- */

.doc { max-width: 820px; }
.doc h1 {
  font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  text-transform: uppercase; margin-bottom: 10px; text-wrap: balance;
}
.doc .updated {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 40px;
}
.doc h2 {
  font-weight: 600; font-size: 19px; line-height: 1.25;
  text-transform: uppercase; letter-spacing: .05em;
  margin: 40px 0 14px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--text);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc p, .doc li { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; }
.doc li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.doc li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; background: var(--blue); transform: rotate(45deg);
}
.doc b, .doc strong { color: var(--text); font-weight: 600; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc dl {
  margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 22px;
  font-size: 15px; line-height: 1.7;
}
.doc dt { color: var(--dim); letter-spacing: .06em; }
.doc dd { margin: 0; color: var(--text); }

.err { text-align: center; max-width: 620px; margin-inline: auto; }
.err .code {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(84px, 18vw, 168px); line-height: .9; color: var(--gold);
}

/* --------------------------------------------------------------------------
   19. Instruments SVG
   -------------------------------------------------------------------------- */

.instrument { width: 100%; height: auto; }
.instrument .ink-panel { fill: #0B0E14; }
.instrument .stroke-line { stroke: var(--line-2); }
.instrument .stroke-blue { stroke: var(--blue); }
.instrument .fill-blue  { fill: var(--blue); }
.instrument .stroke-gold { stroke: var(--gold); }
.instrument .fill-gold  { fill: var(--gold); }
.instrument .fill-red   { fill: var(--red); }
.instrument .label {
  font-family: var(--sans); font-size: 8px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; fill: var(--dim);
}
.instrument .label--blue { fill: var(--blue); }
.instrument .label--gold { fill: var(--gold); }

/* Balayage radar — transform-box: view-box pour un centre indépendant du viewBox */
.radar-sweep {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: sweep 4.6s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.tracer { stroke-dasharray: 300; stroke-dashoffset: 300; animation: trace 4.6s var(--ease) infinite; }
@keyframes trace {
  0%   { stroke-dashoffset: 300; }
  35%  { stroke-dashoffset: 0; }
  75%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.blip { animation: blip 4.6s ease-in-out infinite; }
@keyframes blip { 0%, 55% { opacity: 0; } 65%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   20. Entrée « boot HUD » — le seul moment orchestré
   -------------------------------------------------------------------------- */

/* RÈGLE DE SÛRETÉ : le contenu n'est JAMAIS masqué par la feuille de style
   seule. C'est main.js qui pose « will-reveal », et uniquement sur les
   éléments encore hors écran. Conséquences :
     - si main.js est bloqué (bloqueur de contenu, réseau, erreur JS),
       rien n'est masqué et la page reste entièrement lisible ;
     - le contenu au-dessus de la ligne de flottaison n'est jamais masqué,
       donc aucun clignotement au chargement.
   Ne jamais remettre le masquage dans une règle CSS inconditionnelle. */
.reveal.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease),
    clip-path .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.will-reveal.is-in {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0);
}

/* --------------------------------------------------------------------------
   21. Adaptatif
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero .shell { grid-template-columns: 1fr; }
  .hero-aside { max-width: 480px; }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-media { max-width: 380px; }
  .demo, .demo:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .demo-fig { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .quote-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }

  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  }
  .nav-toggle span {
    display: block; width: 18px; height: 2px; background: var(--text); position: relative;
    transition: background .2s var(--ease);
  }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
    transition: transform .24s var(--ease), top .24s var(--ease);
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after  { top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 68px 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-2);
    padding: 8px var(--pad) 24px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) {
    padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }

  .phase { grid-template-columns: 1fr; gap: 6px; }
  .phase-idx { margin-bottom: 2px; }

  .footer-top { flex-direction: column; gap: 20px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .offer-price b { font-size: 48px; }
  .site-header .shell { padding-block: 12px; }
  .creds { grid-template-columns: 1fr; }
  .hud .shell { gap: 8px 18px; }
  .hud-sep { display: none; }
  .doc dl { grid-template-columns: 1fr; gap: 2px 0; }
  .doc dt { margin-top: 10px; }
}

/* --------------------------------------------------------------------------
   22. Mouvement réduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee-track { animation: none; transform: none; }
  .radar-sweep, .tracer, .blip, .pulse { animation: none; }
  .tracer { stroke-dashoffset: 0; }
  .blip { opacity: 1; }
  .reveal, .reveal.will-reveal { opacity: 1; transform: none; clip-path: none; }
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   23. Impression
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .marquee, .nav, .skip, .cta-actions { display: none; }
  body { background: #fff; color: #000; }
  .section, .hero { border: 0; }
}
