/* ══════════════════════════════════════════════════════════════════════
   Pages légales (mentions, CGV, confidentialité).
   Feuille séparée d'index.html : ces pages sont statiques, lues une fois,
   et n'ont besoin d'aucun des 2 000 sélecteurs du funnel.

   Les variables reprennent la PALETTE G d'index.html pour que le client
   ne change pas d'univers en cliquant sur un lien de bas de page.

   <mark> = point non tranché, à compléter avant l'ouverture officielle.
   C'est volontairement voyant : ce jaune ne doit pas survivre au lancement.
   ══════════════════════════════════════════════════════════════════════ */
*{box-sizing:border-box;margin:0;padding:0}
:root{
  --ink:#16233A;--ink-2:#33415C;
  --bg:#FDFDFE;--bg-2:#F4F5F8;--paper:#FFFFFF;
  --green:#24406E;--green-d:#182F55;--green-soft:#EAEEF6;--green-line:rgba(36,64,110,.28);
  --amber-soft:#FFF3BF;--amber-line:#E0C64A;--amber-txt:#5C4708;
  --muted:#5A6579;
  --line:rgba(22,35,58,.13);
  --shadow:0 2px 20px rgba(22,35,58,.07),0 1px 3px rgba(22,35,58,.05);
  --disp:'Bricolage Grotesque',system-ui,-apple-system,sans-serif;
  --sans:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --r-lg:16px;--r-md:12px;--r-sm:9px;
}
html{-webkit-font-smoothing:antialiased;scroll-behavior:smooth}
body{font-family:var(--sans);background:var(--bg);color:var(--ink);line-height:1.62;font-size:17px}

/* ── En-tête : le logo ramène au site, toujours ────────────────────── */
.lnav{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:14px clamp(18px,4vw,40px);background:rgba(253,253,254,.94);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.lnav .logo{font-family:var(--disp);font-size:20px;font-weight:800;letter-spacing:-.02em;
  text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:9px}
.lnav .logo .dot{width:10px;height:10px;border-radius:50%;background:var(--green)}
/* La mascotte du kit de marque a remplacé le point vert (07/09/2026). Elle est
   servie par /img/ — liste blanche `_IMAGES_EXEMPLE` de routes/public.py. */
.lnav .logo .marque{height:26px;width:auto;flex:none;display:block}
.lnav .retour{font-size:14.5px;font-weight:600;color:var(--green);text-decoration:none;white-space:nowrap}
.lnav .retour:hover{color:var(--green-d);text-decoration:underline}

/* ── Corps ─────────────────────────────────────────────────────────── */
.lwrap{max-width:760px;margin:0 auto;padding:clamp(28px,6vw,56px) clamp(18px,5vw,32px) 80px}
.lwrap h1{font-family:var(--disp);font-size:clamp(28px,5.2vw,38px);font-weight:800;
  letter-spacing:-.025em;line-height:1.15;margin-bottom:8px}
.maj{font-size:14px;color:var(--muted);margin-bottom:34px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.lwrap h2{font-family:var(--disp);font-size:clamp(19px,3.4vw,23px);font-weight:700;
  letter-spacing:-.015em;margin:38px 0 12px;padding-top:6px}
.lwrap h3{font-size:17px;font-weight:700;margin:24px 0 8px;color:var(--ink-2)}
.lwrap p{margin-bottom:14px}
.lwrap ul{margin:0 0 16px 0;padding-left:0;list-style:none}
.lwrap li{position:relative;padding-left:20px;margin-bottom:9px}
.lwrap li::before{content:'';position:absolute;left:4px;top:.72em;width:5px;height:5px;
  border-radius:50%;background:var(--green-line)}
.lwrap b,.lwrap strong{font-weight:700}
.lwrap a{color:var(--green);font-weight:600}

/* Encadré : ce qui mérite d'être lu même en diagonale */
.enc{background:var(--green-soft);border:1px solid var(--green-line);border-radius:var(--r-md);
  padding:16px 18px;margin:20px 0;font-size:16px}
.enc p:last-child{margin-bottom:0}

/* Point non tranché — doit disparaître avant l'ouverture */
mark{background:var(--amber-soft);border-bottom:2px solid var(--amber-line);
  color:var(--amber-txt);padding:1px 3px;border-radius:3px;font-weight:600}

/* ── Tableaux : lisibles sur téléphone, jamais de scroll horizontal du body ── */
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:16px 0;
  border:1px solid var(--line);border-radius:var(--r-md);background:var(--paper)}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:15.5px}
th,td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--bg-2);font-weight:700;font-size:14.5px}
tr:last-child td{border-bottom:none}

/* ── Pied de page ──────────────────────────────────────────────────── */
.lfoot{border-top:1px solid var(--line);margin-top:56px;padding-top:24px;
  font-size:14.5px;color:var(--muted)}
.lfoot a{color:var(--muted);font-weight:600;text-decoration:none;margin-right:16px;
  display:inline-block;margin-bottom:6px}
.lfoot a:hover{color:var(--green-d);text-decoration:underline}

@media(max-width:620px){
  body{font-size:16.5px}
  .lwrap{padding-top:22px}
  .lwrap h2{margin-top:30px}
}

/* Vert du kit de marque : le « izz » du logo. Fixe, hors thème. */
.cz-z{color:#038D56}
.cz-i{position:relative}
.cz-i::after{content:"";position:absolute;left:50%;top:.265em;width:.19em;height:.19em;margin-left:-.095em;border-radius:50%;background:#038D56}

/* ══════════════════════════════════════════════════════════════════════
   MODE SOMBRE (08/09/2026)
   ──────────────────────────────────────────────────────────────────────
   Ces pages (mentions, CGV, confidentialité) et la page contact suivent le
   choix fait sur l'accueil : c'est la MÊME clé de localStorage
   (« cntfs_sombre »), lue par le petit script posé dans le <head> de chaque
   page. Il n'y a pas de lune ici — on ne change pas d'avis au milieu des
   CGV, on arrive avec le réglage qu'on avait.

   Comme sur l'accueil : rien n'est retouché plus haut dans le fichier, tout
   le sombre est ici et se supprime d'un bloc. Une seule ambiance — la teinte
   rouge du mode conseiller a été retirée le 09/09/2026, elle ne vit plus que
   sur la page /acces.
   ══════════════════════════════════════════════════════════════════════ */
html[data-sombre]{
  color-scheme:dark;
  --ink:#E9EDF4;--ink-2:#C2CBDA;
  --bg:#0E1420;--bg-2:#1F2A3C;--paper:#161F2E;
  --green:#8FABF8;--green-d:#B3C6FB;--green-soft:#1A2544;--green-line:rgba(143,171,248,.4);
  --amber-soft:#2D2415;--amber-line:#8A6B18;--amber-txt:#F0CE72;
  --muted:#96A2B6;
  --line:rgba(233,237,244,.12);
  --shadow:0 1px 2px rgba(0,0,0,.55),0 14px 34px -22px rgba(0,0,0,.9);
}
/* Le fond translucide de la barre du haut était un blanc écrit en dur. */
html[data-sombre] .lnav{background:rgba(14,20,32,.9)}

/* Teinte rouge : le sombre du conseiller (voir index.html). Elle s'allume
   toute seule quand le cookie d'accès est posé sur l'appareil. */
