/* ============================================================
   lergodemonenfant.fr : feuille de style unique
   Design system « L'Ergo de mon enfant, v2 Sauge » (18/07/2026)
   Tokens et motifs repris du DS ; polices auto-hébergées (RGPD).
   Budget < 250 Ko par page.
   ============================================================ */

/* ---------------- polices auto-hébergées (variables, latin) ---------------- */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------------- tokens (copie exacte du DS, tokens/*.css) ---------------- */
:root {
  /* Base : palette « Sauge » */
  --fond: #FAFAF7; --surface: #FFFFFF; --sauge-50: #EFF6EF; --sauge-100: #DCE8DD;
  --encre: #173B33; --encre-2: #4A6157; --encre-3: #7C8F86;
  --vert: #1E6F5C; --vert-fonce: #175A4B; --menthe: #9BE8C2; --menthe-clair: #E4F8EE;
  --abricot: #E8A06B; --abricot-clair: #FBEFE3;
  --lagune: #2C7A9B; --lagune-clair: #E4F1F6;
  --brique: #C4553B; --brique-clair: #F9E9E4;
  /* Sémantiques */
  --surface-page: var(--fond);
  --surface-card: var(--surface);
  --surface-soft: var(--sauge-50);
  --text-body: var(--encre);
  --text-muted: var(--encre-2);
  --text-faint: var(--encre-3);
  --text-on-accent: #FFFFFF;
  --accent: var(--vert);
  --accent-hover: var(--vert-fonce);
  --positive-bg: var(--menthe-clair);
  --alerte: var(--brique);
  --alerte-bg: var(--brique-clair);
  --alerte-bord: #EBCFC2;
  --border-soft: #E3E5DE;
  --border-strong: #B9C4BC;
  --focus-ring: rgba(30, 111, 92, .3);
  /* Typo */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-corps: "Manrope", "Segoe UI", sans-serif;
  --type-hero: clamp(38px, 4.2vw, 60px);
  --type-titre: clamp(28px, 2.8vw, 42px);
  --type-sous-titre: 24px;
  --type-lead: 17px;
  --type-body: 15.5px;
  --type-small: 13.5px;
  --type-micro: 12px;
  --lh-display: 1.08;
  --lh-body: 1.65;
  --ls-tight: -0.03em;
  --ls-caps: .14em;
  /* Espace */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --mesure: 62ch;
  --conteneur: 1120px;
  /* Coins nets, bordures fines, ombres discrètes */
  --r-s: 4px; --r-m: 6px; --r-l: 10px; --r-pill: 999px;
  --ligne: 1px solid var(--border-soft);
  --ligne-forte: 1px solid var(--border-strong);
  --shadow-1: 0 1px 2px rgba(23, 59, 51, .06);
  --shadow-2: 0 4px 16px -6px rgba(23, 59, 51, .12);
  --shadow-3: 0 16px 40px -16px rgba(23, 59, 51, .22);
  --transition: 160ms ease;
  --transition-soft: 220ms ease;
}

/* ---------------- base ---------------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-corps);
  font-size: var(--type-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-display);
  color: var(--text-body);
  margin: 0 0 .4em;
}
h1 { font-size: var(--type-hero); font-weight: 800; }
h2 { font-size: var(--type-titre); margin-top: 1.8em; }
h3 { font-size: 19px; letter-spacing: -0.02em; margin: 1.4em 0 .4em; line-height: 1.25; }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--vert); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--encre); }
img { max-width: 100%; height: auto; }
strong { color: var(--encre); font-weight: 700; }
::selection { background: var(--menthe); }

.conteneur { max-width: var(--conteneur); margin: 0 auto; padding: 0 var(--s-6); }
.conteneur-etroit { max-width: 46rem; margin: 0 auto; padding: 0 var(--s-6); }

.lien-evitement {
  position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff;
  padding: .6rem 1rem; z-index: 100; border-radius: 0 0 var(--r-m) 0;
}
.lien-evitement:focus { left: 0; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); border-radius: var(--r-s); }

/* signature typographique : point final vert */
.pt { color: var(--vert); }
.pt-menthe { color: var(--menthe); }

/* surtitre en capitales espacées */
.surtitre {
  font-weight: 700; font-size: 11.5px; letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--vert); margin: 0 0 var(--s-4);
}

/* ---------------- boutons (états du DS : hover ombre, press translateY) ---------------- */
.btn {
  font-family: var(--font-corps); font-weight: 700; border-radius: var(--r-m);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14.5px; padding: 11px 22px; line-height: 1.3; text-decoration: none; white-space: nowrap;
  transition: var(--transition); box-shadow: var(--shadow-1); border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primaire { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primaire:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: var(--shadow-2); }
.btn-secondaire { background: var(--surface-card); color: var(--text-body); border: var(--ligne-forte); }
.btn-secondaire:hover { border-color: var(--encre-2); color: var(--text-body); box-shadow: var(--shadow-2); }
.btn-menthe { background: var(--menthe); color: var(--encre); border-color: var(--menthe); }
.btn-menthe:hover { background: #b3f0d1; color: var(--encre); box-shadow: var(--shadow-2); }
.btn-lg { font-size: 15.5px; padding: 14px 28px; }
.lien-bouton {
  background: none; border: none; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; cursor: pointer; text-underline-offset: 3px;
}

/* ---------------- entête sticky (blur léger, ligne fine) ---------------- */
.entete {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 250, 247, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: var(--ligne);
}
.entete-int { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-top: 13px; padding-bottom: 13px; }
.logo { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.logo-marque {
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  letter-spacing: -0.025em; line-height: 1; color: var(--encre); white-space: nowrap;
}
.logo-point { color: var(--vert); }
.logo-sous { font-size: 10.5px; color: var(--text-muted); letter-spacing: .01em; }

.burger {
  display: none; align-items: center; gap: .4rem; background: var(--surface-card); border: var(--ligne-forte);
  border-radius: var(--r-m); padding: 8px 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--encre); cursor: pointer;
}

.nav ul { list-style: none; display: flex; align-items: center; gap: var(--s-5); margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--encre); }
.nav a[aria-current="page"] { color: var(--vert); font-weight: 700; }
.nav-cta a.btn { color: #fff; font-size: 13.5px; padding: 8px 16px; }
.nav-cta a.btn:hover { color: #fff; }

.nav-deroulant details { position: relative; }
.nav-deroulant summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: .3rem; white-space: nowrap;
}
.nav-deroulant summary:hover { color: var(--encre); }
.nav-deroulant summary::-webkit-details-marker { display: none; }
.nav-deroulant summary::after {
  content: ""; width: .45em; height: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform var(--transition);
}
.nav-deroulant details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.sous-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: var(--surface-card); border: var(--ligne); border-radius: var(--r-m); box-shadow: var(--shadow-2);
  padding: 6px !important; min-width: 13rem; flex-direction: column; align-items: stretch; gap: 0 !important;
}
.sous-menu li a { display: block; padding: 9px 12px; border-radius: var(--r-s); }
.sous-menu li a:hover { background: var(--surface-soft); }

/* ---------------- bandeau de disponibilité (vrai, maintenu en config) ---------------- */
.bandeau-dispo { background: var(--surface-soft); border-bottom: var(--ligne); }
.bandeau-dispo p { margin: 0; padding-top: 7px; padding-bottom: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); text-align: center; }
.bandeau-dispo a { color: var(--vert); }

/* ---------------- arcs concentriques (motif signature, décor) ---------------- */
.arcs { position: absolute; pointer-events: none; }
.arcs i { position: absolute; border-radius: 50%; border: 1.5px solid var(--sauge-100); animation: derive 8s ease-in-out infinite; }
.arcs i:nth-child(1) { inset: 0; animation-duration: 7s; }
.arcs i:nth-child(2) { inset: 12%; animation-duration: 8s; animation-delay: .6s; }
.arcs i:nth-child(3) { inset: 24%; animation-duration: 9s; animation-delay: 1.2s; }
.arcs i:nth-child(4) { inset: 36%; animation-duration: 10s; animation-delay: 1.8s; }
.arcs-menthe i { border-color: var(--menthe); }
.arcs-sombre i { border-color: rgba(155, 232, 194, .25); }
@keyframes derive {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, 10px); }
}

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; }
.hero-int { padding: var(--s-8) 0 var(--s-7); position: relative; }
.hero h1 { max-width: 18ch; margin: var(--s-4) 0 0; }
.hero-texte { font-size: var(--type-lead); color: var(--text-muted); max-width: var(--mesure); }
.hero .hero-texte { margin: var(--s-5) 0 0; border-left: var(--ligne-forte); padding-left: var(--s-5); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-6); }

/* ligne de réassurance (ordre des questions du parent) */
.reassurance {
  list-style: none; margin: var(--s-6) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px var(--s-5); align-items: center;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.reassurance li { display: flex; align-items: center; gap: var(--s-5); }
.reassurance li + li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--vert); display: inline-block;
}

/* ---------------- bande défilante de mots (motif signature) ---------------- */
.bande-defilante {
  border-top: var(--ligne); border-bottom: var(--ligne);
  overflow: hidden; padding: 13px 0; background: transparent;
}
.bande-defilante .defile { display: flex; width: max-content; animation: defile 30s linear infinite; }
.bande-defilante span {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  padding: 0 26px; display: flex; align-items: center; gap: 26px; color: var(--text-muted); white-space: nowrap;
}
.bande-defilante span::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--vert); display: inline-block;
}
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- bandeau de stats (chiffres réels, signature) ---------------- */
.stats-bande { background: var(--surface-soft); border-bottom: var(--ligne); }
.stats-bande .conteneur { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 0; padding-bottom: 0; }
.stats-bande .stat { padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.stats-bande .stat + .stat { border-left: var(--ligne); }
.stats-bande b {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 1.9vw, 25px);
  letter-spacing: var(--ls-tight); color: var(--vert); white-space: nowrap;
}
.stats-bande span { font-size: 12.5px; color: var(--text-muted); }

/* ---------------- sections ---------------- */
.section { padding: var(--s-8) 0; }
.section + .section { border-top: var(--ligne); }
.section-douce { background: var(--surface-soft); }
.section h2:first-child, .section .surtitre + h2 { margin-top: 0; }

/* ---------------- liste-index à numéros fantômes (motif signature) ---------------- */
.index-liste { border-top: var(--ligne-forte); margin-top: var(--s-6); }
.index-item {
  border-bottom: var(--ligne); padding: 22px 4px;
  display: grid; grid-template-columns: 84px 1fr; gap: var(--s-5); align-items: start;
  transition: var(--transition-soft);
}
.index-item:hover { background: var(--surface-soft); }
.index-num {
  font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1;
  letter-spacing: var(--ls-tight); color: var(--sauge-100); transition: var(--transition-soft);
}
.index-item:hover .index-num { color: var(--vert); }
.index-titre { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; color: var(--encre); margin: 0 0 6px; }
.index-item p { margin: 0; color: var(--text-muted); max-width: 60ch; }

/* ---------------- étapes (frise à points, ÉTAPE n en capitales) ---------------- */
.etapes { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: var(--ligne-forte); }
.etapes li { border-right: var(--ligne); padding: 4px 24px 8px 20px; position: relative; }
.etapes li::before {
  content: ""; position: absolute; left: -7px; top: 0; width: 13px; height: 13px;
  border-radius: 50%; background: var(--vert); border: 3px solid var(--fond);
}
.etapes .etape-num {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.etapes strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.etapes li p { margin: 0; font-size: 14px; color: var(--text-muted); }
.etapes-note { margin-top: var(--s-5); font-size: var(--type-small); color: var(--text-muted); }

/* ---------------- cartes ---------------- */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.carte {
  background: var(--surface-card); border: var(--ligne); border-radius: var(--r-l);
  padding: var(--s-5); box-shadow: var(--shadow-1); transition: var(--transition);
}
.carte:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.carte h3 { margin-top: 0; }
.carte p:last-child { margin-bottom: 0; }

/* ---------------- bloc preuve : mockup du compte rendu ---------------- */
.preuve-grille { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; margin-top: var(--s-6); }
.cr-mockup { position: relative; padding: var(--s-4) 0 0 var(--s-4); }
.cr-page {
  background: var(--surface-card); border: var(--ligne); border-radius: var(--r-l);
  box-shadow: var(--shadow-3); padding: 26px 26px 30px; position: relative; z-index: 2;
}
.cr-page-arriere {
  position: absolute; inset: 0 var(--s-4) var(--s-4) 0; background: var(--surface-card);
  border: var(--ligne); border-radius: var(--r-l); box-shadow: var(--shadow-1); z-index: 1;
}
.cr-entete { display: flex; justify-content: space-between; align-items: baseline; border-bottom: var(--ligne-forte); padding-bottom: 10px; margin-bottom: 14px; }
.cr-entete b { font-family: var(--font-display); font-size: 13px; letter-spacing: -0.01em; }
.cr-entete span { font-size: 10.5px; color: var(--text-faint); }
.cr-ligne { height: 7px; border-radius: 3px; background: var(--sauge-50); margin-bottom: 7px; }
.cr-ligne.l2 { width: 86%; } .cr-ligne.l3 { width: 70%; }
.cr-score { display: grid; grid-template-columns: 90px 1fr; gap: 8px; align-items: center; margin-bottom: 6px; }
.cr-score span { font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: .02em; text-transform: uppercase; }
.cr-barre { height: 8px; border-radius: 3px; background: var(--sauge-100); position: relative; overflow: hidden; }
.cr-barre i { position: absolute; inset: 0; width: var(--v, 50%); background: var(--vert); border-radius: 3px; }
.cr-synthese { background: var(--menthe-clair); border: 1px solid var(--menthe); border-radius: var(--r-m); padding: 10px 12px; margin-top: 14px; }
.cr-synthese b { font-size: 10px; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--vert-fonce); display: block; margin-bottom: 6px; }
.cr-note-dispo { font-size: var(--type-small); color: var(--text-muted); margin-top: var(--s-4); }

/* ---------------- bloc honnêteté / limites (fond clair bordé, texte encre) ---------------- */
.honnetete {
  background: var(--alerte-bg); border: 1px solid var(--alerte-bord); border-radius: var(--r-l);
  padding: var(--s-5); margin: var(--s-6) 0;
}
.honnetete-titre { font-family: var(--font-display); font-weight: 700; color: var(--encre); margin: 0 0 10px; font-size: 16px; letter-spacing: -0.01em; }
.honnetete ul { margin: 0 0 12px; padding-left: 1.1rem; }
.honnetete li { margin-bottom: 6px; }
.honnetete p:last-child { margin: 0; }

/* ---------------- tableaux ---------------- */
.tableau-defilant { overflow-x: auto; margin: var(--s-5) 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--surface-card); }
th, td { border: var(--ligne); padding: 11px 13px; text-align: left; vertical-align: top; }
th { background: var(--surface-soft); color: var(--encre); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: -0.01em; }

/* ---------------- tarif éditorial (prix XXL à gauche, motif signature) ---------------- */
.tarif-ligne {
  display: grid; grid-template-columns: 220px 1fr auto; gap: var(--s-6); align-items: center;
  padding: 26px 4px; border-top: var(--ligne-forte); border-bottom: var(--ligne);
  background: var(--surface-soft); border-radius: var(--r-s); margin-top: var(--s-5);
}
.tarif-prix {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 3.6vw, 54px);
  letter-spacing: var(--ls-tight); line-height: 1; color: var(--encre); padding-left: var(--s-4);
}
.tarif-corps .tarif-titre { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.tarif-corps p { margin: 4px 0 0; font-size: var(--type-small); color: var(--text-muted); }
.tarif-ligne .btn { margin-right: var(--s-4); }

/* ---------------- FAQ / accordéons ---------------- */
.faq-groupe { margin-top: var(--s-5); }
.faq-groupe h2 { font-size: 22px; margin: var(--s-7) 0 var(--s-4); }
.faq-item { border: var(--ligne); border-radius: var(--r-m); margin-bottom: 8px; background: var(--surface-card); transition: var(--transition); }
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.faq-item summary {
  cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 15px; color: var(--encre); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 20px; color: var(--vert); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-reponse { padding: 0 16px 14px; color: var(--text-body); }
.faq-reponse p:last-child { margin-bottom: 0; }

/* ---------------- guide (capture email, section sombre) ---------------- */
.guide { background: var(--encre); color: rgba(255, 255, 255, .85); padding: var(--s-8) 0; position: relative; overflow: hidden; }
.guide h2 { color: #fff; margin-top: 0; }
.guide strong { color: #fff; }
.guide a { color: var(--menthe); }
.guide-int { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-7); align-items: center; position: relative; }
.guide-note { font-size: var(--type-small); color: rgba(255, 255, 255, .6); }
.guide-form label { font-weight: 700; color: #fff; display: block; margin-bottom: 6px; font-size: 14px; }
.guide-ligne { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-ligne input { flex: 1; min-width: 12rem; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; }
.guide-ligne input::placeholder { color: rgba(255, 255, 255, .4); }
.guide-ligne input:focus { border-color: var(--menthe); box-shadow: 0 0 0 3px rgba(155, 232, 194, .25); }
.guide .case { font-weight: 400; font-size: 12.5px; color: rgba(255, 255, 255, .6); display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; }
.guide .case input { margin-top: 3px; }

/* ---------------- formulaires ---------------- */
input, textarea, select {
  font: inherit; padding: 10px 13px; border: var(--ligne-forte); border-radius: var(--r-m);
  background: var(--surface-card); color: var(--encre); width: 100%; transition: var(--transition);
}
input:focus, textarea:focus { border-color: var(--vert); outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
.champ { margin-bottom: var(--s-4); }
.champ label { display: block; font-weight: 700; margin-bottom: 5px; color: var(--encre); font-size: 14px; }
.champ .aide { font-size: 12.5px; color: var(--text-muted); margin-top: 5px; }
.champ-cache { position: absolute; left: -999px; }
.case { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.case input { width: auto; margin-top: 3px; }
fieldset { border: none; margin: 0; padding: 0; }

/* ---------------- citation / modèle à copier ---------------- */
.modele {
  background: var(--surface-soft); border: 1px dashed var(--border-strong); border-radius: var(--r-l);
  padding: var(--s-5); margin: var(--s-5) 0; font-size: 15px;
}
.modele p { margin-bottom: 8px; }
.modele p:last-child { margin-bottom: 0; }
.modele-actions { margin-top: var(--s-4); display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- encadrés ---------------- */
.encadre {
  background: var(--surface-soft); border: var(--ligne); border-radius: var(--r-l);
  padding: var(--s-5); margin: var(--s-6) 0;
}
.encadre p:last-child { margin-bottom: 0; }
.encadre-vert { background: var(--menthe-clair); border-color: var(--menthe); }

/* ---------------- portrait ---------------- */
.portrait-bloc { display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: start; margin: var(--s-5) 0; }
.portrait-bloc img { border-radius: var(--r-l); width: 190px; height: auto; border: var(--ligne); box-shadow: var(--shadow-2); }

/* ---------------- clôture sombre (motif citation du DS) ---------------- */
.cloture { background: var(--encre); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; text-align: center; }
.cloture-int { padding: var(--s-9) var(--s-6) var(--s-8); position: relative; max-width: 46rem; margin: 0 auto; }
.cloture h2 { color: #fff; font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; margin: 0 0 var(--s-4); }
.cloture p { color: rgba(255, 255, 255, .75); max-width: 48ch; margin: 0 auto var(--s-5); }
.cloture .cta-note { font-size: var(--type-small); color: rgba(255, 255, 255, .55); margin-top: var(--s-4); }
.cloture a { color: var(--menthe); }
.cloture a.btn-menthe { color: var(--encre); }
.cloture a.btn-menthe:hover { color: var(--encre); }
.cloture-ligne { font-family: var(--font-display); font-weight: 700; color: var(--menthe) !important; font-size: 15px; letter-spacing: -0.01em; }
.cloture-signature { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .15); }
.cloture-signature .nom { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.02em; }
.cloture-signature .role { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 4px; }

/* clôture claire pour pages intérieures */
.cta-final { text-align: center; padding: var(--s-8) 0; background: var(--surface-soft); border-top: var(--ligne); position: relative; overflow: hidden; }
.cta-final h2 { margin-top: 0; }
.cta-final .btn { margin-top: var(--s-2); position: relative; }
.cta-final .cta-note { font-size: var(--type-small); color: var(--text-muted); margin-top: var(--s-4); margin-bottom: 0; }
.cta-final > .conteneur-etroit { position: relative; }

/* ---------------- article ---------------- */
.article-en-tete { padding: var(--s-7) 0 0; }
.article-meta { color: var(--text-muted); font-size: var(--type-small); }
.article-corps { padding: var(--s-3) 0 var(--s-7); }
.article-corps h2 { font-size: 26px; margin-top: 1.8em; }
.auteur {
  display: flex; gap: var(--s-4); align-items: center; background: var(--surface-soft);
  border: var(--ligne); border-radius: var(--r-l); padding: var(--s-4) var(--s-5); margin-top: var(--s-6);
}
.auteur img { border-radius: 50%; width: 56px; height: 56px; object-fit: cover; border: var(--ligne); }
.auteur p { margin: 0; font-size: 13.5px; }

/* ---------------- fil d'ariane ---------------- */
.ariane { font-size: 12.5px; color: var(--text-muted); padding: var(--s-4) 0 0; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.ariane li + li::before { content: "›"; margin-right: 6px; color: var(--text-faint); }
.ariane a { color: var(--text-muted); }

/* ---------------- pied (collé à la dernière section, pas de bande claire) ---------------- */
.pied { background: var(--encre); color: rgba(255, 255, 255, .75); margin-top: 0; font-size: 13.5px; }
.pied a { color: rgba(255, 255, 255, .75); }
.pied a:hover, .pied .lien-bouton:hover { color: #fff; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); padding-top: var(--s-7); padding-bottom: var(--s-6); }
.pied-marque { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 18px; letter-spacing: -0.025em; margin-bottom: 2px; }
.pied-marque .logo-point { color: var(--menthe); }
.pied-fondatrice { font-size: 11px; color: rgba(255, 255, 255, .55); margin-bottom: 4px; }
.pied-baseline { font-size: 12px; color: rgba(255, 255, 255, .55); margin-bottom: var(--s-4); max-width: 30ch; }
.pied-titre { font-family: var(--font-display); font-weight: 700; color: #fff; margin-bottom: 10px; font-size: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 7px; }
.pied-mention { font-size: 12px; color: rgba(255, 255, 255, .55); }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: var(--s-4); padding-bottom: var(--s-5); }
.pied-bas p { font-size: 11.5px; color: rgba(255, 255, 255, .5); margin: 0; }
.pied .lien-bouton { color: rgba(255, 255, 255, .75); }

/* ---------------- quiz ---------------- */
.quiz-fond {
  position: fixed; inset: 0; background: rgba(23, 59, 51, .55); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: var(--s-4);
}
.quiz {
  background: var(--fond); border: var(--ligne); border-radius: var(--r-l); max-width: 34rem; width: 100%; max-height: 90vh;
  overflow-y: auto; padding: var(--s-5) var(--s-6) var(--s-6); box-shadow: var(--shadow-3);
}
.quiz-haut { display: flex; justify-content: space-between; align-items: center; }
.quiz-surtitre { font-weight: 700; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: var(--ls-caps); margin: 0; }
.quiz-fermer { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 8px; border-radius: var(--r-s); }
.quiz-fermer:hover { background: var(--surface-soft); color: var(--encre); }
.quiz-progression { height: 4px; background: var(--sauge-100); border-radius: 2px; margin: 14px 0 6px; overflow: hidden; }
.quiz-progression span { display: block; height: 100%; width: 33%; background: var(--vert); border-radius: 2px; transition: width var(--transition-soft); }
.quiz-etape-num { font-size: 11.5px; font-weight: 700; letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-4); }
.quiz-question { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 var(--s-4); }
.quiz-choix { display: flex; flex-direction: column; gap: 8px; }
.quiz-choix button {
  text-align: left; background: var(--surface-card); border: var(--ligne-forte); border-radius: var(--r-m);
  padding: 13px 16px; font: inherit; cursor: pointer; color: var(--encre); font-weight: 600; transition: var(--transition);
}
.quiz-choix button:hover { border-color: var(--vert); background: var(--menthe-clair); box-shadow: var(--shadow-1); }
.quiz-choix button:active { transform: translateY(1px); }
.quiz-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--s-4); }
.quiz-retour { background: none; border: none; color: var(--text-muted); font: inherit; font-size: 13.5px; cursor: pointer; margin-top: var(--s-5); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.quiz-retour:hover { color: var(--encre); }
.quiz-note { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-top: 14px; }
.quiz-label { font-weight: 700; display: block; margin-bottom: 5px; font-size: 14px; }

/* ---------------- bannière consentement ---------------- */
.consentement {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--fond); border-top: var(--ligne-forte);
  box-shadow: var(--shadow-3); z-index: 50; padding: var(--s-4) 0;
}
.consentement-int { display: flex; gap: var(--s-5); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consentement-texte { margin: 0; font-size: 13px; max-width: 44rem; }
.consentement-boutons { display: flex; gap: 8px; }
.consentement .btn { padding: 8px 16px; font-size: 13.5px; }

/* ---------------- divers ---------------- */
.liste-coche { list-style: none; padding: 0; }
.liste-coche li { padding-left: 1.5rem; position: relative; margin-bottom: 8px; }
.liste-coche li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 700; }
.note-source { font-size: 12.5px; color: var(--text-muted); }
.sans-marge-haute { margin-top: 0; }
.filigrane {
  position: absolute; right: -40px; top: -10px; font-family: var(--font-display); font-weight: 800;
  font-size: 240px; line-height: 1; letter-spacing: -0.05em; color: var(--surface-soft);
  user-select: none; pointer-events: none;
}

/* ---------------- responsive ---------------- */
/* la nav passe en burger dès 1100px : au-dessus, les 6 entrées + CTA tiennent sur une seule ligne */
@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--fond); border-bottom: var(--ligne-forte); box-shadow: var(--shadow-2); }
  .nav.ouverte { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-3) var(--s-6) var(--s-5); }
  .nav li { border-bottom: var(--ligne); }
  .nav li:last-child { border-bottom: none; }
  .nav a, .nav-deroulant summary { display: flex; padding: 13px 0; }
  .sous-menu { position: static; transform: none; border: none; box-shadow: none; background: transparent; padding: 0 0 8px 16px !important; min-width: 0; }
  .nav-cta { padding-top: var(--s-3); }
  .nav-cta a.btn { display: flex; justify-content: center; }
}
@media (max-width: 980px) {
  .grille-3, .grille-2 { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr; border-left: none; }
  .etapes li { border-right: none; border-left: var(--ligne-forte); padding: 4px 4px 20px 20px; }
  .stats-bande .conteneur { grid-template-columns: 1fr 1fr; }
  .stats-bande .stat:nth-child(3) { border-left: none; }
  .stats-bande .stat { border-top: var(--ligne); }
  .stats-bande .stat:nth-child(-n+2) { border-top: none; }
  .guide-int, .preuve-grille { grid-template-columns: 1fr; gap: var(--s-6); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .portrait-bloc { grid-template-columns: 1fr; }
  .portrait-bloc img { width: 150px; }
  .tarif-ligne { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-5); }
  .tarif-prix { padding-left: 0; }
  .index-item { grid-template-columns: 56px 1fr; }
  .index-num { font-size: 28px; }
  .filigrane { display: none; }
}
@media (max-width: 560px) {
  .pied-grille { grid-template-columns: 1fr; }
  .hero-int { padding: var(--s-6) 0 var(--s-6); }
  .hero-actions .btn { width: 100%; }
  .stats-bande .conteneur { grid-template-columns: 1fr; }
  .stats-bande .stat { border-left: none !important; border-top: var(--ligne) !important; }
  .stats-bande .stat:first-child { border-top: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .bande-defilante .defile { animation: none !important; flex-wrap: wrap; width: auto; }
}
