/* ==========================================================================
   CSales Academy · site.css
   Système de design : jetons, reset, typographie, grille, sections, composants.
   Mobile-first. Paliers : 48em (768 px), 64em (1024 px), 80em (1280 px).
   Règle d'or : aplats uniquement. Aucun dégradé, flou, halo ni ombre portée.
   ========================================================================== */

/* ---------- Polices auto-hébergées : Archivo variable (wdth 62-125, wght 100-900) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-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 {
  /* Italique : sous-ensemble francais (latin + accents + ponctuation typographique),
     instancie en wght 500 / wdth 100 — seul usage du site : la citation de #charles.
     11,8 Ko au lieu de 190,3 Ko pour les deux fichiers Google d'origine (revue technique I8). */
  font-family: "Archivo Italique";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/archivo-italic-fr.woff2") format("woff2");
}

/* ---------- Jetons ---------- */
:root {
  /* Palette de marque (BRIEF §4) */
  --ink: #0b1321;        /* bleu nuit : texte, sections sombres */
  --ink-2: #1b2536;      /* survol des boutons encre, champs sur fond encre */
  --paper: #f4f0e7;      /* fond principal */
  --paper-2: #e9e3d6;    /* sections et cartes en alternance */
  --paper-3: #fbf9f4;    /* fond des champs sur crème */
  --gold: #c9a84c;       /* accent : ~5 % de surface max, jamais en texte sur crème */
  --gold-2: #d8ba62;     /* survol du bouton or */
  --muted: #535d6d;      /* texte secondaire : 5,85:1 sur paper, 5,21:1 sur paper-2 */
  --muted-inv: #a3acba;  /* texte secondaire sur encre : 8,1:1 */
  --line: rgb(11 19 33 / .14);
  --line-inv: rgb(244 240 231 / .16);
  --error: #9a2b1f;      /* 7:1 sur paper */
  --error-inv: #f0a495;

  /* Rôles : inversés automatiquement dans .on-ink */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--muted);
  --rule: var(--line);
  --focus: var(--ink);
  --field: var(--paper-3);
  --err: var(--error);

  /* Typographie */
  --ff: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wd-display: 62%;   /* H1, grands chiffres */
  --wd-title: 62%;     /* H2 : meme largeur que le H1 (revue 7) */
  --wd-sub: 74%;       /* H3, intertitres */
  --fs-display: clamp(2.875rem, 1rem + 9.4vw, 3.75rem);  /* 52 px a 390 (revue 1) ; 2 lignes de 9,52 em */
  --fs-h2: clamp(2.625rem, 1.6rem + 4.4vw, 5.25rem);
  --fs-h3: clamp(1.5rem, 1.3rem + .8vw, 2rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --fs-num: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  --fs-mega: clamp(8rem, 4rem + 18vw, 14.5rem);  /* 240 px : « 2 mois » tient dans sa colonne (revue 12) */

  /* Espacements (rythme serré, pas de vides géants) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --pad-x: clamp(1.25rem, .55rem + 2.9vw, 3rem);
  --gap: clamp(1rem, .7rem + 1vw, 1.5rem);
  --section-y: clamp(3.5rem, 2.2rem + 5vw, 7rem);
  --maxw: 90rem;
  --col: calc((var(--maxw) - 2 * var(--pad-x) - 11 * var(--gap)) / 12);
  --header-h: 4rem;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 48em) { :root { --fs-display: clamp(3.5rem, 7.3vw, 4.5rem); } }
@media (min-width: 64em) { :root { --header-h: 4.5rem; --fs-display: clamp(3.75rem, 5.95vw, 5.5rem); } }  /* 88 px max : les 2 lignes du H1 tiennent jusqu'a 1920 */

.on-ink {
  --bg: var(--ink);
  --fg: var(--paper);
  --fg-2: var(--muted-inv);
  --rule: var(--line-inv);
  --focus: var(--gold);
  --field: var(--ink-2);
  --err: var(--error-inv);
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
/* Décalage d'ancre et de focus sous l'en-tête collant. Pas de scroll-padding sur <html> :
   il fait défiler la page dès qu'un élément de l'en-tête reçoit le focus. */
main, footer, main *, footer * { scroll-margin-top: calc(var(--header-h) + 1rem); }
main:focus { outline: none; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
p, li, dd { text-wrap: pretty; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--pad-x); top: -10rem; z-index: 100;
  padding: .75rem 1rem; background: var(--ink); color: var(--paper); font-weight: 700;
}
.skip:focus { top: .5rem; }

/* ---------- Typographie ---------- */
h1, h2, h3, .display, .h2, .h3 {
  font-weight: 900;
  font-stretch: var(--wd-title);
  text-transform: uppercase;
  line-height: 1;            /* 1.00 : un titre capitales accentue ne pardonne pas moins (revue 1) */
  letter-spacing: -.004em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.display { font-size: var(--fs-display); font-stretch: var(--wd-display); letter-spacing: -.008em; word-spacing: .04em; text-wrap: initial; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 800; font-stretch: var(--wd-sub); line-height: 1; letter-spacing: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 34em; }
.small { font-size: var(--fs-sm); }
.muted { color: var(--fg-2); }
.measure { max-width: 38em; }
.flow > * + * { margin-top: var(--flow, 1em); }
.prog__lead { align-self: start; }          /* cale sur la 1re ligne du H2 (revue 16) */
.cards > .card { align-self: start; }       /* hauteur = contenu, pas d'etirement (revue 16) */

/* Surtitre numéroté : « 01 · Le constat ». Capitales réservées ici, tracking 0,08 em. */
.eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
/* Role structurel de l'or : le numero de section en pastille or, texte encre (8,14:1).
   L'or en texte sur creme reste interdit (2,01:1) — revue 22 + brief §4. */
.eyebrow b {
  display: inline-block; padding: .1em .4em .15em; margin-right: .15em;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-variant-numeric: tabular-nums;
}

/* Chiffres : condensés, tabulaires */
.num {
  font-stretch: var(--wd-display);
  font-weight: 900;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: .86;
  letter-spacing: -.01em;
}
/* qualificatif en bas-de-casse devant un chiffre : « jusqu'à 80 % », « plus de 500 » */
.num small { font-size: .36em; font-weight: 700; letter-spacing: .01em; margin-right: .2em; text-transform: none; }

/* ---------- Grille éditoriale 12 colonnes ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--row-gap, var(--s-6));
}
.grid > * { grid-column: 1 / -1; }
/* Largeur = fin « span N », départ = classe .lg-sN : les deux se combinent (<div class="lg-7 lg-s6">) */
@media (min-width: 48em) {
  .md-3 { grid-column: auto / span 3; } .md-4 { grid-column: auto / span 4; } .md-5 { grid-column: auto / span 5; }
  .md-6 { grid-column: auto / span 6; } .md-7 { grid-column: auto / span 7; } .md-8 { grid-column: auto / span 8; }
  .md-12 { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .lg-2 { grid-column: auto / span 2; } .lg-3 { grid-column: auto / span 3; } .lg-4 { grid-column: auto / span 4; }
  .lg-5 { grid-column: auto / span 5; } .lg-6 { grid-column: auto / span 6; } .lg-7 { grid-column: auto / span 7; }
  .lg-8 { grid-column: auto / span 8; } .lg-9 { grid-column: auto / span 9; } .lg-10 { grid-column: auto / span 10; }
  .lg-12 { grid-column: 1 / -1; }
  .lg-s6 { grid-column-start: 6; } .lg-s7 { grid-column-start: 7; }
  .lg-s8 { grid-column-start: 8; } .lg-s10 { grid-column-start: 10; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); background: var(--bg); }
/* Rythme module : bascules respirees, sections qui se repondent rapprochees (revue 5) */
.pivot { padding-block: clamp(4rem, 2.5rem + 7vw, 10rem); }
#appel { padding-top: clamp(4rem, 2.5rem + 7vw, 10rem); }
#preuves { padding-bottom: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); }
#charles { padding-top: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); }
section[id], [data-anchor] { scroll-margin-top: var(--header-h); } /* sections : bord à bord sous l'en-tête */
.section--alt { --bg: var(--paper-2); --field: var(--paper); background: var(--bg); }
.section__head { display: grid; gap: var(--s-5); margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.section__title { max-width: 15em; }        /* H2 « declaration » : ~1260 px (revue 6) */
.section__title--col { max-width: 9.2em; }  /* H2 apparie a une colonne : ~774 px (revue 6) */
/* H2 dans une colonne étroite : évite la coupure des mots longs (« accompagnement ») */
.h2--tight { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); }
.folio { border-top: 1px solid var(--fg); padding-top: var(--s-3); }

/* Filets */
.rule { height: 0; margin: 0; border: 0; border-top: 1px solid var(--rule); }
.rule--strong { border-top: 2px solid var(--fg); }
.rule--gold { width: 3rem; border-top: 3px solid var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-arrow: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .875rem;
  min-height: 3.25rem;
  padding: .8rem 1.25rem .8rem 1.375rem;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .005em;
  text-decoration: none;
  text-align: left;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg, .link-arrow svg {
  flex: none; width: 1.125rem; height: 1.125rem; color: var(--btn-arrow, currentColor);
  transition: transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--ink-2); }
.btn:hover svg, .link-arrow:hover svg { transform: translateX(3px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-arrow: var(--ink); }
.btn--gold:hover { --btn-bg: var(--gold-2); }
.btn--line { --btn-arrow: currentColor; background: transparent; border-color: var(--fg); color: var(--fg); }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.on-ink .btn:not(.btn--gold):not(.btn--line) { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-arrow: var(--ink); }
.on-ink .btn:not(.btn--gold):not(.btn--line):hover { --btn-bg: var(--paper); }
.btn--sm { min-height: 2.75rem; padding: .5rem 1rem; font-size: .9375rem; gap: .625rem; white-space: nowrap; }
/* libellé court sur petit écran, nom complet conservé pour les lecteurs d'écran */
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--rule);
  text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.link-arrow:hover { text-decoration-color: currentColor; }
/* Lien secondaire volontairement discret : ni gras, ni fleche (revue 17) */
.link-quiet {
  display: inline-block; margin-top: var(--s-3); min-height: 2.75rem; padding-top: .7rem;
  font-size: var(--fs-sm); font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--fg-2); text-underline-offset: .3em;
}
.link-quiet:hover { text-decoration-color: currentColor; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid var(--rule);
}
.site-header__bar { display: flex; align-items: center; gap: var(--s-3); height: var(--header-h); }

/* Logo typographique : CSALES (900) + ACADEMY (400), condensés */
.brand {
  display: inline-flex; align-items: baseline; padding-block: .72rem; margin-right: auto;
  font-size: 1.375rem; font-stretch: 62%; line-height: 1; text-transform: uppercase;
  letter-spacing: .01em; text-decoration: none; white-space: nowrap;
}
.brand b { font-weight: 900; }
/* Espace reel dans le balisage (nom accessible = « CSales Academy », WCAG 2.5.3),
   rattrape visuellement : l'espace condense vaut 0,13 em. */
.brand span { font-weight: 400; margin-left: -.02em; }
/* point final or, posé sur la ligne de base */
.brand::after { content: ""; width: .26em; height: .26em; margin-left: .1em; background: var(--gold); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 .25rem 0 .5rem; margin-right: -.25rem;
  border: 0; background: none; color: inherit;
  font-size: var(--fs-sm); font-weight: 600;
}
.menu-btn__icon { position: relative; width: 1.375rem; height: .75rem; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: calc(100% - 2px); }
.is-open .menu-btn__icon::before { top: calc(50% - 1px); transform: rotate(45deg); }
.is-open .menu-btn__icon::after { top: calc(50% - 1px); transform: rotate(-45deg); }
.menu-btn__label { display: inline; }
.no-js .menu-btn { display: none; }

/* Navigation : panneau plein écran sous 64em, ligne horizontale au-delà */
.nav__list a { text-decoration: none; }
.nav__extra { display: none; }
@media (max-width: 63.99em) {
  .nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; gap: var(--s-6);
    height: 100vh; height: 100dvh;
    padding: calc(var(--header-h) + var(--s-5)) var(--pad-x) var(--s-6);
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--ink); color: var(--paper);
    visibility: hidden; opacity: 0;
    transition: opacity .2s var(--ease), visibility 0s linear .2s;
  }
  .site-header.is-open .nav { visibility: visible; opacity: 1; transition: opacity .2s var(--ease); }
  .site-header.is-open {
    --bg: var(--ink); --fg: var(--paper); --fg-2: var(--muted-inv); --rule: var(--line-inv); --focus: var(--gold);
  }
  .site-header.is-open .site-header__cta { visibility: hidden; }
  .nav__list { border-top: 1px solid var(--line-inv); }
  .nav__list a {
    display: flex; align-items: baseline; gap: .75rem; min-height: 3.5rem; padding-block: .55rem;
    border-bottom: 1px solid var(--line-inv);
    font-size: clamp(2.25rem, 1.2rem + 5vw, 3.5rem); font-weight: 900; font-stretch: 62%;
    line-height: 1; text-transform: uppercase;
  }
  .nav__extra { display: grid; gap: var(--s-4); margin-top: auto; }
  .nav__extra p { font-size: var(--fs-sm); color: var(--muted-inv); }
  /* verrou sur <html> seulement : un overflow sur <body> en ferait le conteneur du sticky */
  html.menu-open { overflow: hidden; }
  /* Sans JS : le panneau devient une liste simple sous l'en-tete (revue technique D12) */
  .no-js .nav { position: static; visibility: visible; opacity: 1; height: auto;
                padding: var(--s-3) 0 0; background: none; color: inherit; }
  .no-js .nav__list { border-top: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
  .no-js .nav__list a { font-size: var(--fs-sm); font-weight: 600; font-stretch: 100%;
                        min-height: 2.75rem; border-bottom: 0; text-transform: none; }
  .no-js .nav__extra { display: none; }
  .no-js .site-header__bar { flex-wrap: wrap; height: auto; padding-bottom: var(--s-2); }
}
@media (min-width: 64em) {
  .menu-btn { display: none; }
  .nav { margin-right: var(--s-5); }
  .nav__list { display: flex; gap: clamp(1rem, .2rem + 1.4vw, 2rem); }
  .nav__list a {
    position: relative; display: inline-flex; align-items: center; min-height: 2.75rem;
    font-size: var(--fs-sm); font-weight: 500;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg); }
.hero__grid {
  display: grid;
  grid-template-columns: [full-start] var(--pad-x) [main-start] minmax(0, 1fr) [main-end] var(--pad-x) [full-end];
}
.hero__grid > * { grid-column: main; }
.hero__text { padding-block: clamp(1.75rem, 1rem + 3vw, 3rem) var(--s-6); }
.hero__eyebrow { margin-bottom: var(--s-4); }
.hero__title { margin-bottom: var(--s-5); }
.hero__lead { margin-bottom: var(--s-6); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.hero__cta .btn { flex: 1 1 auto; }
.hero__note { font-size: var(--fs-sm); color: var(--fg-2); line-height: 1.4; }
.hero__note b { color: var(--fg); font-weight: 600; }
.hero__media { grid-column: full; position: relative; margin: 0; background: var(--ink); }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%; }
/* légende : bandeau sous la photo (mobile), étiquette posée sur la photo (desktop) */
.caption {
  padding: .75rem var(--pad-x) 0;
  background: var(--ink); color: var(--muted-inv);
  font-size: var(--fs-xs); line-height: 1.35;
}
.caption b { color: var(--paper); font-weight: 700; }
@media (min-width: 30em) and (max-width: 63.99em) {
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__media img { aspect-ratio: 5 / 4; object-position: 50% 26%; }
}
@media (min-width: 64em) {
  .hero__grid {
    column-gap: var(--gap);
    grid-template-columns:
      [full-start] minmax(calc(var(--pad-x) - var(--gap)), 1fr)
      [main-start] repeat(12, minmax(0, var(--col)))
      [main-end] minmax(calc(var(--pad-x) - var(--gap)), 1fr) [full-end];
    /* le hero + la bande de faits tiennent dans le premier écran */
    min-height: clamp(30rem, calc(100vh - var(--header-h) - 13rem), 44rem);
  }
  .hero__text {
    grid-column: 2 / span 8; grid-row: 1;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: var(--s-7);
    padding-right: var(--s-6);
  }
  .hero__eyebrow { margin-bottom: var(--s-5); }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__media { grid-column: 10 / full-end; grid-row: 1; }
  .hero__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 35% 40%; }
  .caption { position: absolute; left: 0; bottom: 0; padding: .625rem 1rem; color: var(--paper); }
}

/* ---------- Bande de faits ---------- */
/* Taille des chiffres calculée sur la largeur de la bande (cqi du <dl>), identique pour toutes les cellules */
.band { padding-block: var(--s-5); }
.facts { container-type: inline-size; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact {
  display: flex; flex-direction: column; gap: .5rem;
  padding: var(--s-4) var(--s-4) var(--s-4) 0;
  border-top: 1px solid var(--rule);
}
.fact:nth-child(even) { padding-left: var(--s-4); border-left: 1px solid var(--rule); }
.fact:nth-child(-n+2) { border-top: 0; }
.fact dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.fact__n { font-size: clamp(2rem, 10.5cqi, 4.25rem); color: var(--fg); text-transform: uppercase; }
.on-ink .fact__n { color: var(--gold); }
.fact__d { font-size: var(--fs-sm); line-height: 1.35; color: var(--fg-2); }
/* Desktop : cellules calées sur la grille 12 colonnes (3/2/3/4), la dernière s'aligne sur le bord de la photo */
@media (min-width: 64em) {
  .band { padding-block: 1.25rem; }
  .facts { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .fact, .fact:nth-child(even) { padding: var(--s-2) var(--s-4) var(--s-2) var(--s-4); border-top: 0; border-left: 1px solid var(--rule); }
  .fact:first-child { padding-left: 0; border-left: 0; }
  .fact:nth-child(1), .fact:nth-child(3) { grid-column: span 3; }
  .fact:nth-child(2) { grid-column: span 2; }
  .fact:nth-child(4) { grid-column: span 4; }
  .fact__n { font-size: clamp(2.5rem, 4.9cqi, 4.25rem); }
}
@media (min-width: 100em) {
  /* au-dela de 1600 px l'alignement sur la photo desequilibre la rangee (revue 20) */
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact:nth-child(1), .fact:nth-child(2), .fact:nth-child(3), .fact:nth-child(4) { grid-column: auto; }
}

/* ---------- Verbatims (voix des entrepreneurs, 1re personne) ---------- */
.voices { padding-block: var(--section-y) calc(var(--section-y) * .75); }
.voices__head { display: grid; gap: var(--s-4); align-content: start; }
.voices__list { margin-top: var(--s-5); }
.voice { padding-block: var(--s-4); border-top: 1px solid var(--rule); }
.voice:last-child { border-bottom: 1px solid var(--rule); }
.voice p {
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); font-weight: 500; line-height: 1.28;
  letter-spacing: -.012em;
}
@media (min-width: 64em) {
  .voices__list { margin-top: 0; }
  .voice { padding-block: 1.125rem; }
}

/* ---------- Constat : colonne collante ---------- */
.split { display: grid; gap: var(--s-7); }
.split__aside { align-self: start; border-top: 1px solid var(--fg); padding-top: var(--s-4); }
@media (min-width: 64em) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .split__aside { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + var(--s-6)); }
  .split__main { grid-column: 7 / -1; }
}

/* Grand chiffre (« environ 25 % ») */
.mega { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.mega__l { font-size: var(--fs-sm); line-height: 1.35; color: var(--fg-2); max-width: 22em; }
.mega__n { display: flex; align-items: flex-start; font-size: var(--fs-mega); line-height: .85; margin-left: -.03em; word-spacing: -.045em; }

/* Liste numérotée à filets (symptômes, étapes) */
.steps { border-top: 1px solid var(--fg); }
.step { padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.step h3, .step__t { margin-bottom: var(--s-3); font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.step p { color: var(--fg-2); max-width: 32em; }
@media (min-width: 64em) { .step { padding-block: var(--s-5) var(--s-6); } }

/* ---------- Cartes (angles francs) ---------- */
.card {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: clamp(1.25rem, .9rem + 1.6vw, 2.25rem);
  background: var(--card, var(--paper-2));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.section--alt .card { --card: var(--paper); }
.card.on-ink { --card: var(--ink); }
.card__top { display: grid; gap: var(--s-2); padding-bottom: var(--s-3); border-bottom: 2px solid var(--fg); }
.card__list { counter-reset: c; }
.card__list li {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--s-2);
  padding-block: .8rem; border-bottom: 1px solid var(--rule);
}
.card__list li::before {
  counter-increment: c; content: counter(c, lower-alpha) ".";
  font-weight: 700; color: var(--fg-2);
}
/* Liste a filets, sans lettrage (revue 19) */
.plain-list > li { padding-block: .8rem; border-bottom: 1px solid var(--rule); }
.plain-list > li:first-child { border-top: 1px solid var(--rule); }

.tag {
  display: inline-flex; align-items: center; min-height: 1.5rem; padding: .15rem .5rem;
  background: var(--fg); color: var(--bg); border-radius: var(--radius);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.on-ink .tag { background: var(--gold); color: var(--ink); }

/* Chiffre de preuve */
.stat { display: grid; align-content: start; gap: var(--s-3); padding-top: var(--s-4); border-top: 2px solid var(--fg); }
.stat__n { font-size: var(--fs-num); }
.stat__l { font-size: var(--fs-sm); color: var(--fg-2); max-width: 18em; }

/* ---------- Questions fréquentes (<details>) ---------- */
.faq { border-top: 2px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-5);
  min-height: 3.5rem; padding-block: var(--s-4); cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem); font-weight: 700; font-stretch: 100%;
  line-height: 1.35; letter-spacing: -.005em;
}
.faq summary > span:first-child { max-width: 62ch; }   /* l'indicateur reste pres du texte (revue 27) */
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq__icon { position: relative; flex: none; width: 1rem; height: 1rem; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; background: currentColor;
  transition: transform .2s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding-bottom: var(--s-5); max-width: 62ch; color: var(--fg-2); }
@media (min-width: 64em) { .questions__aside { display: flex; flex-direction: column; justify-content: flex-end; } }
.faq__a > * + * { margin-top: .75em; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 40em) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .choice legend { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.field .opt { font-weight: 400; color: var(--fg-2); }
/* asterisque des champs requis : dore sur encre (7,2:1), gris-bleu ailleurs */
.req { color: var(--fg-2); font-weight: 700; }
.on-ink .req { color: var(--gold); }
.input {
  width: 100%; min-height: 3.25rem; padding: .75rem .9rem;
  background: var(--field); color: var(--fg);
  border: 1px solid var(--fg-2); border-radius: var(--radius);
  font-size: 1.0625rem; line-height: 1.3;
  transition: border-color .15s var(--ease);
}
.input::placeholder { color: var(--fg-2); opacity: .85; }
.input:hover { border-color: var(--fg); }
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--fg); }
.input[aria-invalid="true"] { border-color: var(--err); border-left-width: 4px; padding-left: calc(.9rem - 3px); }
.field__error { font-size: var(--fs-sm); color: var(--err); font-weight: 600; }
.choice__opts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: .45rem; }
.choice__opt { position: relative; }
.choice__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice__opt span {
  display: flex; align-items: center; min-height: 3.25rem; padding: .5rem 1rem;
  border: 1px solid var(--fg-2); background: var(--field); text-align: left;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.2;
}
.choice__opt + .choice__opt span { border-left: 0; }
.choice__opt:first-child span { border-radius: var(--radius) 0 0 var(--radius); }
.choice__opt:last-child span { border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 29.99em) {
  .choice__opts { grid-template-columns: 1fr; }
  .choice__opt + .choice__opt span { border-left: 1px solid var(--fg-2); border-top: 0; }
  .choice__opt:first-child span { border-radius: var(--radius) var(--radius) 0 0; }
  .choice__opt:last-child span { border-radius: 0 0 var(--radius) var(--radius); }
}
.choice__opt input:hover + span { background: var(--bg); }
.choice__opt input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; position: relative; z-index: 1; }
.form__foot { display: grid; gap: var(--s-4); }
@media (min-width: 40em) { .form__foot .btn { justify-self: start; min-width: 60%; } }
.form__legal { font-size: var(--fs-sm); color: var(--fg-2); max-width: 40em; }
.form-state { padding: var(--s-5); border: 1px solid var(--rule); border-top: 3px solid var(--fg); background: var(--field); }
.form-state > * + * { margin-top: var(--s-3); }
.form-state--ok { border-top-color: var(--gold); }
.form-state--err { border-top-color: var(--err); }
.form-state__note {
  display: block; width: fit-content; padding: .2rem .5rem; border: 1px dashed var(--fg-2);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--fg-2);
}

/* ---------- Pied de page ---------- */
.site-footer { padding-block: var(--s-8) var(--s-5); }
.site-footer__grid { row-gap: var(--s-6); }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; } .site-footer__grid > * { grid-column: auto; } }
.site-footer h2 { font-size: var(--fs-xs); font-weight: 600; font-stretch: 100%; letter-spacing: .08em; color: var(--fg-2); margin-bottom: var(--s-3); }
.site-footer address { font-style: normal; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer .brand { font-size: 1.75rem; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5);
  margin-top: var(--s-7); padding-top: var(--s-3); border-top: 1px solid var(--rule);
  font-size: var(--fs-xs); color: var(--fg-2);
}

/* ---------- Bandeau de recadrage (encre, phrase seule en très grand) ---------- */
.pivot { padding-block: var(--section-y); }
.pivot__h2 {
  font-size: clamp(2.25rem, .5rem + 8.6vw, 7.5rem);   /* phrase pleine largeur, 2 lignes (revue, heure de plus 1) */
  font-stretch: var(--wd-display); max-width: 21em;
}
.pivot__foot { margin-top: clamp(2rem, 1.2rem + 3vw, 4rem); }
@media (min-width: 64em) { .pivot__foot { align-items: end; } }
.pivot__p { font-size: var(--fs-lead); color: var(--fg-2); max-width: 46ch; }
.pivot__media { margin: 0; }
.pivot__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 35%; }
.pivot__media figcaption { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--fg-2); }

/* ---------- Cartes de pôle ---------- */
.card__listtitle { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.card__p { color: var(--fg-2); }
/* Bloc « les deux pôles », plus discret */
.callout {
  display: grid; gap: var(--s-4); align-items: center;
  padding: clamp(1.25rem, .9rem + 1.6vw, 2rem);
  border: 1px solid var(--fg);
}
.callout p { color: var(--fg-2); max-width: 46em; }
@media (min-width: 64em) { .callout { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-6); } }

/* ---------- Ligne de temps du lundi type ---------- */
.timeline { display: grid; gap: 0; counter-reset: t; }
.tl { position: relative; padding: var(--s-5) 0 var(--s-6) var(--s-6); border-left: 1px solid var(--rule); }
.tl::before {
  counter-increment: t; content: "";
  position: absolute; left: -.3125rem; top: calc(var(--s-5) + .45em);
  width: .625rem; height: .625rem; background: var(--gold);
}
.tl__rep { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.tl h3 { margin: var(--s-2) 0 var(--s-3); }
.tl p { color: var(--fg-2); }
.tl__n { font-variant-numeric: tabular-nums; }
@media (min-width: 64em) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--fg); }
  .tl { padding: var(--s-5) var(--s-5) 0 0; border-left: 0; }
  .tl::before { left: 0; top: -.3125rem; }
}

/* ---------- Mur de noms (typographie seule) ---------- */
.names {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .75em;
  padding-top: var(--s-4); border-top: 1px solid var(--rule);
}
.names { gap: .15em 0; }
.names li {
  font-size: clamp(1.125rem, .95rem + 1.1vw, 1.75rem); font-weight: 800; font-stretch: var(--wd-sub);
  line-height: 1.2; letter-spacing: -.005em;   /* casse officielle des marques conservee */
}
/* Separateur accroche au nom precedent : jamais en debut de ligne (revue 21) */
.names li:not(:last-child)::after { content: "\00a0·\00a0"; color: var(--fg-2); font-weight: 400; }

/* ---------- Frise des âges ---------- */
.frise { border-top: 1px solid var(--fg); }
.frise__row { display: grid; gap: var(--s-2); padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.frise__rep {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 900; font-stretch: var(--wd-display);
  text-transform: uppercase; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  color: var(--fg-2);
}
/* Les trois ages chiffres portent la montee en puissance (brief §5, revue heure de plus 2) */
.frise__rep--age { font-size: clamp(2.5rem, 1rem + 4.4vw, 6rem); color: var(--fg); }
.frise__row p { color: var(--fg-2); max-width: 46ch; }
.frise__row h3 { margin-bottom: var(--s-2); }
@media (min-width: 48em) {
  /* Colonne de reperes fixe + filet vertical continu : sept lignes, un seul bord gauche (revue 3) */
  .frise__row { grid-template-columns: 15rem minmax(0, 1fr); column-gap: 0; }
  .frise__rep { padding-right: var(--s-5); }
  .frise__row > div { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
}

/* ---------- Section Charles : portrait + citation qui suivent la frise ---------- */
.charles__portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
/* ---------- Citation de Charles (le seul italique du site) ---------- */
.quote { padding-top: var(--s-4); border-top: 2px solid var(--fg); }
blockquote.quote, .quote blockquote {
  font-family: "Archivo Italique", var(--ff);
  font-style: italic; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.625rem); font-weight: 500;
  line-height: 1.3; letter-spacing: -.01em;
}

/* ---------- Trois points numérotés (section appel) ---------- */
.points { display: grid; gap: 0; margin-block: var(--s-5) 0; }
@media (min-width: 64em) { .appel__aside { display: flex; flex-direction: column; } .appel__aside .points { margin-top: auto; } }
.points li { padding-block: var(--s-3); border-top: 1px solid var(--rule); }
.points li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- Grand chiffre de section (10, 80 %) ---------- */
.figure { display: grid; gap: var(--s-2); align-content: start; }
.figure__n { font-size: clamp(4.5rem, 2rem + 9vw, 9rem); }
.figure__l { font-size: var(--fs-lead); line-height: 1.35; max-width: 22em; color: var(--fg-2); }
.on-ink .figure__n { color: var(--gold); }

/* ---------- Page mentions legales ---------- */
.legal-dl { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.legal-dl > div { display: grid; gap: .25rem var(--gap); padding-block: var(--s-3); border-bottom: 1px solid var(--rule); }
.legal-dl dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.legal-dl dd { margin: 0; }
@media (min-width: 40em) { .legal-dl > div { grid-template-columns: 14rem minmax(0, 1fr); align-items: baseline; } }
.legal-flow h3 { margin-top: var(--s-6); }
.legal-flow h3 + p { margin-top: var(--s-3); max-width: 42em; color: var(--fg-2); }
.legal-flow > h2 + h3 { margin-top: var(--s-5); }

/* ---------- Apparition discrète au scroll ---------- */
/* .reveal-on est posee par site.js lui-meme : si le fichier ne charge pas, rien n'est masque */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(10px); }
.reveal-on [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* A 390 px, l'en-tete doit porter le logo, « Réserver un appel » et « Menu » (copy.md §0) */
@media (max-width: 29.99em) {
  :root { --pad-x: 1rem; }
  .brand { font-size: 1.1875rem; padding-block: .82rem; }   /* cible tactile >= 44 px */
  .site-header__bar { gap: .5rem; }
  .site-header__cta { font-size: .8125rem; padding: .5rem .625rem; }
  .menu-btn { gap: .375rem; font-size: .8125rem; padding-left: .25rem; }
}
/* Sous 368 px (iPhone SE et assimiles) : le mot « Menu » cede la place, l'icone suffit */
@media (max-width: 22.99em) {
  .brand { font-size: 1.0625rem; padding-block: .9rem; }
  .menu-btn__label { display: none; }
}
@media (max-width: 20em) { .site-header__cta { font-size: .75rem; padding: .5rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
}
