/* accueil.css — page d'accueil publique de Hubert Dash (v7 du 29/11/2026) et pages légales.
   CSP du site (deploy/caddy/conf.d/_accueil.caddy) : style-src 'self' — aucun <style>, aucun style=
   dans les pages ; ce qui était en attribut dans la maquette est ici, en classes ou par identifiant.
   Polices auto-hébergées (fontsource 5.3.0, OFL) : aucun appel à Google Fonts. */
@font-face{ font-family:"Big Shoulders Display"; font-style:normal; font-display:swap; font-weight:100 900;
  src:url("polices/fontsource-5.3.0/big-shoulders-display-latin-wght-normal.woff2") format("woff2"); }
@font-face{ font-family:Figtree; font-style:normal; font-display:swap; font-weight:300 900;
  src:url("polices/fontsource-5.3.0/figtree-latin-wght-normal.woff2") format("woff2"); }
:root{
  --nuit:#0D1A30; --nuit-2:#13243F; --plaque:#24477F; --email:#F3EEE2; --email-2:#C9C2B3;
  --lampe:#F3A93A; --brique:#D0543A; --trait:#2B3F63; --texte-doux:#A9B3C6;
  --display:"Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --corps:Figtree, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --nuit:#0D1A30; --email:#F3EEE2; } }
:root[data-theme="dark"]{ --nuit:#0D1A30; --email:#F3EEE2; }
:root[data-theme="light"]{ --nuit:#0D1A30; --email:#F3EEE2; }
:root{ box-sizing:border-box; padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px); }
html{ scroll-padding-top:env(safe-area-inset-top,0px); }
*,*::before,*::after{ box-sizing:border-box; }
body{ margin:0; background:var(--nuit); color:var(--email); font-family:var(--corps); font-size:18px; line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a{ color:var(--lampe); }
:focus-visible{ outline:3px solid var(--lampe); outline-offset:3px; border-radius:4px; }
img,svg{ max-width:100%; }

.barre{ position:fixed; top:0; left:0; right:0; z-index:50; padding:18px clamp(20px,5vw,72px); padding-top:calc(18px + env(safe-area-inset-top,0px)); display:flex; align-items:center; justify-content:space-between; transition:background .4s; }
.barre.pleine{ background:rgba(13,26,48,.92); backdrop-filter:blur(8px); }
.marque{ font-family:var(--display); font-weight:800; font-size:28px; letter-spacing:.5px; color:var(--email); text-decoration:none; display:flex; align-items:center; gap:10px; }
.plaque{ display:inline-block; background:var(--plaque); border:2px solid var(--email); border-radius:6px; padding:0 8px; line-height:1.3; }
.barre nav{ display:flex; gap:28px; align-items:center; }
.barre nav a{ color:var(--email-2); text-decoration:none; font-weight:500; font-size:16px; }
.barre nav a:hover{ color:var(--email); }
.btn{ display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 24px; border-radius:999px; background:var(--lampe); color:#1A1206; font-weight:700; text-decoration:none; font-size:16px; border:none; cursor:pointer; font-family:inherit; will-change:transform; }
.btn.fantome{ background:transparent; color:var(--email); border:1.5px solid var(--email-2); }

/* HERO */
.hero{ position:relative; min-height:100vh; min-height:100svh; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); align-items:center; gap:24px; padding:120px clamp(20px,5vw,72px) 64px; overflow:hidden; }
.hero-texte{ position:relative; z-index:2; display:flex; flex-direction:column; gap:28px; max-width:620px; }
.hero h1{ margin:0; font-family:var(--display); font-weight:900; font-size:clamp(56px,8.4vw,132px); line-height:.88; letter-spacing:-.5px; text-transform:none; }
.hero h1 .l{ display:block; overflow:hidden; }
.hero h1 .l span{ display:inline-block; will-change:transform; }
.hero h1 .ambre{ color:var(--lampe); }
.hero p{ margin:0; font-size:clamp(18px,1.5vw,21px); color:var(--email-2); max-width:520px; }
.hero .actions{ display:flex; gap:14px; flex-wrap:wrap; }
.legende{ display:flex; gap:22px; flex-wrap:wrap; font-size:14px; color:var(--texte-doux); }
.legende i{ display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:8px; vertical-align:middle; }
.carte{ position:relative; width:100%; aspect-ratio:10/7; }
.carte svg{ width:100%; height:100%; display:block; overflow:visible; }
.defile{ position:absolute; left:50%; bottom:28px; transform:translateX(-50%); font-size:14px; color:var(--texte-doux); display:flex; flex-direction:column; align-items:center; gap:8px; z-index:3; }
.defile span{ width:1.5px; height:40px; background:linear-gradient(var(--lampe),transparent); animation:goutte 1.8s ease-in-out infinite; }
@keyframes goutte{ 0%{ transform:scaleY(0); transform-origin:top; } 50%{ transform:scaleY(1); transform-origin:top; } 51%{ transform-origin:bottom; } 100%{ transform:scaleY(0); transform-origin:bottom; } }

/* STORY */
.histoire{ position:relative; height:100vh; height:100svh; display:grid; grid-template-columns:minmax(0,4fr) minmax(0,6fr); gap:48px; align-items:center; padding:90px clamp(20px,5vw,72px) 40px; background:var(--nuit-2); overflow:hidden; }
.recit{ position:relative; min-height:280px; }
.recit .etape{ position:absolute; inset:0; display:flex; flex-direction:column; gap:18px; opacity:0; }
.recit .etape:first-child{ opacity:1; }
.recit .num{ font-family:var(--display); font-weight:800; font-size:22px; color:var(--lampe); }
.recit h2{ margin:0; font-family:var(--display); font-weight:800; font-size:clamp(40px,4.6vw,72px); line-height:.95; }
.recit p{ margin:0; color:var(--email-2); max-width:440px; }
.jalons{ position:absolute; left:clamp(20px,5vw,72px); bottom:40px; display:flex; gap:10px; }
.jalons button{ display:block; width:56px; height:24px; padding:10px 0; border:none; background:none; cursor:pointer; position:relative; }
.jalons button::before{ content:""; position:absolute; left:0; right:0; top:10px; height:4px; border-radius:2px; background:var(--trait); }
.jalons button i{ position:absolute; left:0; right:0; top:10px; height:4px; border-radius:2px; background:var(--lampe); transform:scaleX(0); transform-origin:left; }
.scene{ position:relative; height:min(560px,70vh); }
.calque{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.cahier{ width:min(520px,100%); background:var(--email); color:#1B2233; border-radius:14px; padding:32px; box-shadow:0 30px 80px rgba(0,0,0,.45); font-size:20px; line-height:1.6; }
.cahier small{ display:block; font-size:14px; color:#5B6272; margin-bottom:10px; font-weight:600; }
.cahier .m{ opacity:.12; }
.puces{ position:absolute; left:0; right:0; bottom:6%; display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.puce{ background:var(--plaque); border:1.5px solid var(--email); color:var(--email); border-radius:999px; padding:8px 18px; font-weight:600; font-size:16px; opacity:0; }
.mini{ width:100%; height:100%; position:relative; }
.mini svg{ width:100%; height:100%; }
.resultats{ position:absolute; right:0; top:8%; width:min(300px,48%); display:flex; flex-direction:column; gap:10px; }
.res{ background:rgba(243,238,226,.97); color:#1B2233; border-radius:12px; padding:14px 16px; display:grid; grid-template-columns:1fr auto; gap:2px 12px; opacity:0; box-shadow:0 16px 40px rgba(0,0,0,.35); }
.res strong{ font-size:16px; }
.res span{ font-size:14px; color:#5B6272; }
.res em{ grid-row:span 2; align-self:center; font-style:normal; font-weight:700; color:#0F7A4E; font-size:15px; }
.fiche{ width:min(400px,92%); aspect-ratio:1/1.3; background:#FFFFFF; color:#1B2233; border-radius:10px; box-shadow:0 40px 90px rgba(0,0,0,.5); padding:28px; display:flex; flex-direction:column; gap:16px; position:relative; }
.f-tete{ display:flex; align-items:center; gap:14px; }
.f-logo{ width:96px; height:34px; border-radius:6px; background:var(--plaque); color:#fff; font-family:var(--display); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:16px; }
.f-portrait{ width:52px; height:52px; border-radius:50%; background:radial-gradient(circle at 50% 38%, #C9A27E 0 30%, #7B5B45 31% 100%); border:3px solid var(--lampe); margin-left:auto; }
.f-ref{ font-size:13px; color:#5B6272; font-weight:600; }
.f-photo{ flex:1; border-radius:8px; background:linear-gradient(160deg,#2F4A78,#152542); position:relative; overflow:hidden; }
.f-photo::after{ content:""; position:absolute; left:10%; right:10%; bottom:0; height:55%; background:repeating-linear-gradient(90deg,#F3A93A22 0 18px,transparent 18px 30px); border-top:3px solid #F3A93A88; }
.f-ligne{ height:10px; border-radius:5px; background:#E4E7EE; }
.f-pied{ font-size:11px; color:#5B6272; border-top:1px solid #E4E7EE; padding-top:8px; }
.tampon{ position:absolute; right:-18px; top:44%; transform:rotate(-8deg); background:var(--lampe); color:#1A1206; font-family:var(--display); font-weight:900; font-size:26px; padding:6px 16px; border-radius:8px; opacity:0; }

/* PUBLICS */
.publics{ padding:96px clamp(20px,5vw,72px); display:flex; flex-direction:column; gap:56px; }
.publics h2, .acces h2, .marche h2{ margin:0; font-family:var(--display); font-weight:800; font-size:clamp(44px,5vw,80px); line-height:.95; max-width:900px; }
.trio{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; border-top:1.5px solid var(--trait); }
.trio article{ padding:36px 32px 12px 0; display:flex; flex-direction:column; gap:14px; }
.trio article + article{ padding-left:32px; border-left:1.5px solid var(--trait); }
.trio h3{ margin:0; font-family:var(--display); font-weight:800; font-size:34px; line-height:1; color:var(--lampe); }
.trio p{ margin:0; color:var(--email-2); }
.trio ul{ margin:0; padding-left:18px; color:var(--email); }
.trio li{ margin-bottom:6px; }

/* MARCHE + RADAR */
.marche{ padding:24px clamp(20px,5vw,72px) 96px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.panneau{ background:var(--nuit-2); border:1.5px solid var(--trait); border-radius:18px; padding:32px; display:flex; flex-direction:column; gap:18px; min-height:360px; }
.panneau h3{ margin:0; font-family:var(--display); font-weight:800; font-size:38px; line-height:1; }
.panneau p{ margin:0; color:var(--email-2); }
.jauge{ position:relative; height:120px; margin-top:auto; }
.jauge .rail{ position:absolute; left:0; right:0; top:52px; height:14px; border-radius:7px; background:var(--trait); overflow:hidden; }
.jauge .plein{ position:absolute; inset:0; background:var(--email-2); transform:scaleX(0); transform-origin:left; }
.jauge .repere{ position:absolute; top:26px; left:72%; width:2px; height:66px; background:var(--email); }
.jauge .repere b{ position:absolute; top:-26px; left:50%; transform:translateX(-50%); white-space:nowrap; font-size:14px; font-weight:600; }
.jauge .prix{ position:absolute; top:84px; left:0; font-size:14px; color:var(--texte-doux); }
.jauge .ecart{ position:absolute; right:0; top:84px; font-family:var(--display); font-weight:800; font-size:30px; color:var(--lampe); opacity:0; }
.radar{ position:relative; margin:auto auto 0; width:min(300px,80%); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle, transparent 0 32%, var(--trait) 32.3% 33%, transparent 33.3% 65%, var(--trait) 65.3% 66%, transparent 66.3%); border:1.5px solid var(--trait); overflow:hidden; }
.radar .balai{ position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 0deg, rgba(243,169,58,.45), transparent 70deg); animation:balai 4s linear infinite; }
@keyframes balai{ to{ transform:rotate(360deg); } }
.radar .centre{ position:absolute; left:50%; top:50%; width:12px; height:12px; margin:-6px; border-radius:50%; background:var(--email); }
.radar .cible{ position:absolute; width:12px; height:12px; margin:-6px; border-radius:50%; background:var(--brique); box-shadow:0 0 0 6px rgba(208,84,58,.25); }


/* TARIFS */
.tarifs{ padding:96px clamp(20px,5vw,72px); display:flex; flex-direction:column; gap:48px; }
.tarifs h2{ margin:0; font-family:var(--display); font-weight:800; font-size:clamp(44px,5vw,80px); line-height:.95; max-width:900px; }
.tarifs .chapo{ margin:0; color:var(--email-2); max-width:620px; }
.grille{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; border-top:1.5px solid var(--trait); border-bottom:1.5px solid var(--trait); }
.offre{ padding:36px 32px 36px 0; display:flex; flex-direction:column; gap:14px; }
.offre + .offre{ padding-left:32px; border-left:1.5px solid var(--trait); }
.offre h3{ margin:0; font-family:var(--display); font-weight:800; font-size:34px; line-height:1; }
.offre .pour{ margin:0; color:var(--email-2); min-height:52px; }
.offre .montant{ font-family:var(--display); font-weight:900; font-size:72px; line-height:.9; color:var(--lampe); }
.offre .montant small{ font-family:var(--corps); font-weight:500; font-size:16px; color:var(--email-2); margin-left:6px; }
.offre .montant{ display:flex; align-items:baseline; flex-wrap:wrap; }
.offre .montant small{ line-height:1.3; max-width:9em; }
.offre .detail{ margin:0; font-size:15px; color:var(--texte-doux); }
.offre ul{ margin:6px 0 0; padding-left:18px; }
.offre li{ margin-bottom:6px; }
.bonus{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.bonus div{ display:flex; flex-direction:column; gap:6px; }
.bonus b{ font-family:var(--display); font-weight:800; font-size:26px; }
.bonus span{ color:var(--email-2); }
/* bandeau « Vous êtes… » */
.profil{ display:flex; flex-direction:column; gap:14px; }
.profil-tete{ font-family:var(--display); font-weight:800; font-size:26px; }
.profil-choix{ display:flex; flex-wrap:wrap; gap:10px; }
.profil-choix button{ font:inherit; font-size:16px; font-weight:600; min-height:48px; padding:0 20px; border-radius:999px; border:1.5px solid var(--email-2); background:transparent; color:var(--email); cursor:pointer; text-align:left; }
.profil-choix button:hover{ border-color:var(--lampe); }
.profil-choix button[aria-pressed="true"]{ background:var(--lampe); border-color:var(--lampe); color:#1A1206; }
.profil-aide{ margin:0; color:var(--email-2); font-size:16px; min-height:1.55em; max-width:760px; }
.offre{ transition:opacity .3s; position:relative; scroll-margin-top:90px; }
.offre .etiquette{ display:none; align-self:flex-start; background:var(--lampe); color:#1A1206; font-weight:700; font-size:13px; border-radius:999px; padding:3px 12px; }
.grille.filtre .offre{ opacity:.45; }
.grille.filtre .offre.choisie{ opacity:1; }
.grille.filtre .offre.choisie .etiquette{ display:inline-block; }
.offre .sans{ margin:0; font-size:15px; color:var(--texte-doux); border-left:3px solid var(--trait); padding-left:12px; }
/* tableau comparatif */
.comparer{ display:flex; flex-direction:column; gap:14px; }
.comparer h3{ margin:0; font-family:var(--display); font-weight:800; font-size:30px; }
.comparer table{ width:100%; border-collapse:collapse; font-size:16px; }
.comparer th, .comparer td{ padding:12px 10px; border-bottom:1px solid var(--trait); text-align:center; vertical-align:middle; }
.comparer thead th{ font-family:var(--display); font-weight:800; font-size:22px; color:var(--email); border-bottom:1.5px solid var(--trait); }
.comparer tbody th{ text-align:left; font-weight:500; color:var(--email); padding-left:0; }
.comparer td{ color:var(--texte-doux); width:16%; }
.comparer .oui{ color:var(--lampe); font-weight:800; font-size:20px; }
.comparer td small{ display:block; font-size:13px; color:var(--texte-doux); }
.comparer td.choisie, .comparer th.choisie{ background:rgba(243,169,58,.08); }
.vh{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
@media (max-width: 600px){
  .comparer table{ font-size:14px; }
  .comparer th, .comparer td{ padding:10px 4px; }
  .comparer thead th{ font-size:16px; }
  .comparer td{ width:19%; }
  .comparer td small{ font-size:11px; }
}
@media (max-width: 900px){
  .grille{ grid-template-columns:1fr; }
  .offre + .offre{ padding-left:0; border-left:none; border-top:1.5px solid var(--trait); }
  .bonus{ grid-template-columns:1fr; }
}

/* ACCES */
.acces{ padding:96px clamp(20px,5vw,72px); background:var(--email); color:#1B2233; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:72px; }
.acces h2{ color:#1B2233; }
.acces .intro{ display:flex; flex-direction:column; gap:22px; }
.acces .intro p{ margin:0; color:#3F4657; max-width:480px; }
.tarif{ border:1.5px solid #CBC4B4; border-radius:14px; padding:20px 22px; }
.tarif b{ display:block; margin-bottom:4px; }
form{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
form .large{ grid-column:1 / -1; }
label{ display:flex; flex-direction:column; gap:6px; font-weight:600; font-size:15px; }
input,select,textarea{ font:inherit; font-size:16px; min-height:50px; border:1.5px solid #B9B1A0; border-radius:10px; padding:10px 14px; background:#fff; color:#1B2233; }
textarea{ min-height:110px; resize:vertical; }
.consent{ flex-direction:row; align-items:flex-start; gap:10px; font-weight:400; font-size:14px; color:#3F4657; }
.consent input{ min-height:auto; width:20px; height:20px; margin-top:2px; }
.acces .btn{ background:var(--plaque); color:#fff; }
.note{ font-size:14px; color:#3F4657; min-height:20px; }
footer{ padding:40px clamp(20px,5vw,72px); display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; color:var(--texte-doux); font-size:15px; }
footer a{ color:var(--texte-doux); }

@media (max-width: 900px){
  .barre nav a:not(.btn){ display:none; }
  .hero{ grid-template-columns:1fr; padding-top:110px; }
  .carte{ order:-1; margin-top:8px; }
  .histoire{ height:auto; grid-template-columns:1fr; padding:80px 20px; gap:28px; }
  .recit{ min-height:0; }
  .recit .etape{ position:relative; opacity:1; margin-bottom:28px; }
  .jalons{ display:none; }
  .scene{ height:auto; display:flex; flex-direction:column; gap:28px; }
  .calque{ position:relative; inset:auto; }
  .puces{ position:relative; bottom:auto; }
  .puce,.res,.tampon{ opacity:1; }
  .cahier .m{ opacity:1; }
  .mini{ height:340px; }
  .trio{ grid-template-columns:1fr; }
  .trio article + article{ padding-left:0; border-left:none; border-top:1.5px solid var(--trait); }
  .marche,.acces{ grid-template-columns:1fr; }
  form{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce){
  .defile span,.radar .balai{ animation:none; }
  .recit .etape,.puce,.res,.tampon,.jauge .ecart{ opacity:1; }
  .cahier .m{ opacity:1; }
}
/* DÉMO VIDÉO */
.demo{ padding:110px clamp(20px,5vw,72px) 96px; background:linear-gradient(180deg,var(--nuit) 0%,#0A1426 100%); }
.demo-tete{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:36px; }
.demo h2{ margin:0; font-family:var(--display); font-weight:800; font-size:clamp(44px,5vw,80px); line-height:.95; max-width:820px; }
.demo-tete p{ margin:0; color:var(--email-2); max-width:420px; }
.ecran{ position:relative; max-width:1180px; margin:0 auto; border-radius:14px; background:#0B1322; border:1px solid var(--trait); box-shadow:0 50px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(243,169,58,.06); overflow:hidden; }
.chrome{ display:flex; align-items:center; gap:14px; padding:11px 16px; background:#101B30; border-bottom:1px solid var(--trait); }
.chrome .pts{ display:flex; gap:7px; } .chrome .pts i{ width:11px; height:11px; border-radius:50%; background:#2B3F63; display:block; }
.chrome .url{ flex:1; max-width:460px; margin:0 auto; background:#0B1322; border:1px solid var(--trait); border-radius:999px; padding:4px 14px; font-size:13px; color:var(--texte-doux); text-align:center; font-family:ui-monospace,Menlo,Consolas,monospace; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.plateau{ position:relative; aspect-ratio:16/9; overflow:hidden; background:#F4F4F2; }
.plan-d{ position:absolute; inset:0; opacity:0; }
.plan-d:first-child{ opacity:1; }
.plan-d:not(.fond){ display:flex; align-items:center; }
.plan-d .zoom{ position:relative; width:100%; aspect-ratio:16/9; transform-origin:50% 50%; will-change:transform; }
.plan-d img{ width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
.surligne{ position:absolute; border:2.5px solid var(--lampe); border-radius:8px; box-shadow:0 0 0 9999px rgba(8,14,26,.28), 0 0 24px rgba(243,169,58,.55); opacity:0; pointer-events:none; }
.onde{ position:absolute; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%; border:3px solid var(--lampe); opacity:0; pointer-events:none; }
.curseur{ position:absolute; left:50%; top:55%; width:26px; height:26px; z-index:20; pointer-events:none; filter:drop-shadow(0 3px 6px rgba(0,0,0,.35)); opacity:0; }
.clic{ position:absolute; width:34px; height:34px; margin:-17px 0 0 -17px; border-radius:50%; background:rgba(243,169,58,.45); z-index:19; opacity:0; pointer-events:none; }
/* plans construits en HTML (données fictives) */
.plan-d.fond{ background:radial-gradient(120% 90% at 50% 0%,#E9E6DE 0%,#D8D3C7 100%); display:flex; align-items:center; justify-content:center; }
.carte-dem{ width:min(78%,760px); background:#fff; color:#1B2233; border-radius:14px; box-shadow:0 30px 70px rgba(13,26,48,.25); padding:clamp(14px,2.2vw,28px); font-size:clamp(10px,1.25vw,15px); }
.carte-dem .k{ font-size:.8em; font-weight:700; letter-spacing:.08em; color:#8A6420; text-transform:uppercase; }
.carte-dem h3{ margin:.2em 0 .1em; font-family:var(--display); font-size:2.1em; line-height:1; }
.carte-dem .crit{ color:#5B6272; margin-bottom:.9em; }
.groupe{ margin-top:.7em; font-weight:700; font-size:.8em; letter-spacing:.06em; text-transform:uppercase; color:#24477F; }
.ann{ display:flex; flex-wrap:wrap; align-items:center; gap:.35em .6em; padding:.55em .7em; border:1px solid #E4E1D9; border-radius:9px; margin-top:.45em; }
.ann b{ margin-right:auto; }
.ok,.av{ font-size:.85em; padding:.1em .5em; border-radius:999px; white-space:nowrap; }
.ok{ background:#E3F4E8; color:#1D6B3A; } .av{ background:#FFF1D6; color:#8A5A00; }
.fiche-d{ position:relative; width:min(46%,420px); aspect-ratio:1/1.35; background:#fff; color:#1B2233; border-radius:6px; box-shadow:0 30px 70px rgba(13,26,48,.3); padding:clamp(10px,1.6vw,20px); font-size:clamp(7px,.9vw,11px); display:flex; flex-direction:column; gap:.8em; overflow:hidden; }
.fd-tete{ display:flex; align-items:center; gap:.8em; border-bottom:2px solid #3A86C8; padding-bottom:.7em; }
.fd-logo{ width:3.4em; height:3.4em; border-radius:6px; background:#24477F; color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; font-size:1.3em; }
.fd-portrait{ width:3.6em; height:3.6em; border-radius:50%; background:linear-gradient(135deg,#C9C2B3,#8E8A80); margin-left:auto; }
.fd-ref{ color:#3A86C8; font-weight:700; }
.fd-photo{ height:26%; border-radius:4px; background:linear-gradient(180deg,#2B3F63 0%,#2B3F63 38%,#F3A93A 38%,#F3A93A 44%,#3B4E70 44%); position:relative; }
.fd-photo::after{ content:""; position:absolute; left:12%; right:12%; bottom:0; height:46%; background:repeating-linear-gradient(90deg,#9FB7D6 0 22%,#1B2233 22% 24%); opacity:.85; }
.fd-cols{ display:grid; grid-template-columns:1fr 1fr; gap:.6em 1.2em; }
.fd-t{ font-weight:700; color:#3A86C8; border-bottom:1px solid #D6E4F2; padding-bottom:.2em; margin-bottom:.3em; }
.fd-l{ display:flex; justify-content:space-between; gap:.5em; background:#F5F5F3; padding:.25em .4em; margin-top:.25em; }
.fd-pied{ margin-top:auto; font-size:.8em; color:#7A7F8A; }
.tampon-d{ position:absolute; right:8%; top:30%; transform:rotate(-12deg); border:3px solid var(--brique); color:var(--brique); font-weight:800; padding:.3em .8em; border-radius:6px; font-size:1.6em; background:rgba(255,255,255,.85); opacity:0; }
.liste-d{ width:min(70%,680px); background:#fff; color:#1B2233; border-radius:12px; box-shadow:0 30px 70px rgba(13,26,48,.25); padding:clamp(12px,2vw,24px); font-size:clamp(10px,1.2vw,14px); }
.liste-d h3{ margin:0 0 .6em; font-size:1.3em; }
.ligne-f{ display:flex; align-items:center; gap:.8em; padding:.6em 0; border-top:1px solid #ECEAE4; }
.ligne-f code{ color:#24477F; font-weight:700; font-family:ui-monospace,Menlo,Consolas,monospace; }
.ligne-f span{ margin-right:auto; }
.ligne-f em{ font-style:normal; color:#8A8F99; font-size:.85em; }
.ligne-f .tel{ background:#1B2233; color:#fff; border-radius:999px; padding:.2em .8em; font-size:.85em; }
/* légende et commandes */
.sous{ display:flex; align-items:center; gap:18px; padding:16px 18px; border-top:1px solid var(--trait); background:#101B30; }
.lecture{ flex:none; width:44px; height:44px; border-radius:50%; border:1.5px solid var(--email-2); background:transparent; color:var(--email); cursor:pointer; font-size:15px; }
.legende-d{ flex:1; min-height:2.9em; font-size:clamp(15px,1.4vw,18px); color:var(--email); }
.chapitres{ display:flex; gap:6px; flex-wrap:wrap; justify-content:center; max-width:1180px; margin:18px auto 0; }
.chapitres button{ font:inherit; font-size:14px; background:transparent; color:var(--texte-doux); border:1px solid var(--trait); border-radius:999px; padding:6px 14px; cursor:pointer; position:relative; overflow:hidden; isolation:isolate; }
.chapitres button.actif{ color:#1A1206; border-color:var(--lampe); }
.chapitres button i{ position:absolute; inset:0; background:var(--lampe); transform:scaleX(0); transform-origin:left; z-index:-1; }
.chapitres button span{ position:relative; }
.chapitres button.actif i{ transform:scaleX(1); }
.mention-d{ text-align:center; margin-top:14px; font-size:13px; color:var(--texte-doux); }
@media (max-width:760px){ .demo-tete{ flex-direction:column; align-items:flex-start; } .plateau{ aspect-ratio:4/3; } .curseur, .clic{ display:none; } .fiche-d{ width:52%; font-size:6.5px; } .carte-dem{ width:94%; font-size:clamp(7.5px,2.4vw,10px); } .liste-d{ width:94%; font-size:clamp(8px,2.6vw,11px); } .ann span.ok, .ann span.av{ font-size:.8em; } .chrome .url{ font-size:11px; } }

/* SOUS LE CAPOT */
.capot{ padding:96px clamp(20px,5vw,72px); background:var(--nuit-2); display:flex; flex-direction:column; gap:48px; }
.capot h2{ margin:0; font-family:var(--display); font-weight:800; font-size:clamp(44px,5vw,80px); line-height:.95; max-width:900px; }
.capot .chapo{ margin:0; color:var(--email-2); max-width:640px; }
.capot h3{ margin:0 0 18px; font-family:var(--display); font-weight:800; font-size:30px; color:var(--lampe); }
.sources{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
.src{ border:1px solid var(--trait); border-radius:12px; padding:20px; background:rgba(13,26,48,.55); display:flex; flex-direction:column; gap:8px; }
.src b{ font-size:18px; }
.src span{ font-size:15px; color:var(--email-2); }
.src em{ font-style:normal; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--texte-doux); }
.ia{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px 48px; }
.ia ul{ margin:0; padding-left:20px; } .ia li{ margin-bottom:10px; }
.ia .garde{ border-left:3px solid var(--lampe); padding:4px 0 4px 20px; color:var(--email-2); font-size:16px; }
.fonctions{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:10px 40px; margin:0; padding:0; list-style:none; }
.fonctions li{ padding:10px 0 10px 30px; border-bottom:1px solid var(--trait); position:relative; font-size:16px; }
.fonctions li::before{ content:"✓"; position:absolute; left:0; color:var(--lampe); font-weight:800; }
@media (max-width:760px){ .ia{ grid-template-columns:1fr; } }

/* ── Ajouts pour la CSP stricte : anciens attributs style= de la maquette ── */
.legende i.pastille-annonce{ background:var(--email-2); }
.legende i.pastille-lampe{ background:var(--lampe); }
.calque.cache-depart{ opacity:0; }
.f-ligne.l90{ width:90%; } .f-ligne.l72{ width:72%; } .f-ligne.l80{ width:80%; }
#s-ligne{ left:.4%; top:19.8%; width:54%; height:3.9%; }
#o-paris{ left:86.5%; top:61%; }
#s-fonds{ left:78.6%; top:37.4%; width:6.2%; height:4.4%; }
#s-mois{ left:87.4%; top:44.6%; width:6.4%; height:4.4%; }
.fd-titre{ font-size:1.4em; }
.radar .cible.c1{ left:30%; top:28%; } .radar .cible.c2{ left:72%; top:40%; } .radar .cible.c3{ left:58%; top:78%; }
.garde p.sans-haut{ margin-top:0; } .garde p.sans-bas{ margin-bottom:0; } .garde b.clair{ color:var(--email); }

/* ── Formulaire de demande d'accès (champs du serveur, 07/11) ── */
.envoi{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.aide{ font-weight:400; font-size:13px; color:#5B6272; }
fieldset.zones{ border:1.5px solid #B9B1A0; border-radius:10px; padding:12px 14px 14px; margin:0; display:flex; flex-wrap:wrap; gap:8px 18px; }
fieldset.zones legend{ font-weight:600; font-size:15px; padding:0 6px; }
fieldset.zones label{ flex-direction:row; align-items:center; gap:8px; font-weight:400; }
fieldset.zones input{ min-height:auto; width:18px; height:18px; margin:0; }
.mention{ grid-column:1 / -1; margin:0; font-size:14px; color:#3F4657; }
.mention a{ color:var(--plaque); }
.acces a.contact{ color:var(--plaque); }
/* Champ piège : hors de l'écran, hors de la tabulation, ignoré des lecteurs d'écran.
   Un humain ne le voit pas ; un robot qui remplit tout le remplit (le serveur rend 204, porte 2). */
.piege{ position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }

/* ── Barre : « Se connecter » visible aussi sur téléphone (D10) ── */
.barre nav a.connexion{ color:var(--email); }
@media (max-width: 900px){
  .barre nav a.connexion{ display:inline; }
  .calque.cache-depart{ opacity:1; }
}

/* ── Pages légales (porte 4, 08/11/2026) : mentions-legales.html, confidentialite.html ──
   Sans accueil.js : la barre est pleine d'emblée (classe posée dans le HTML). */
body.legale .barre{ position:sticky; }
.texte-legal{ max-width:820px; margin:0 auto; padding:32px clamp(16px,5vw,40px) 48px; }
.texte-legal h1{ font-family:var(--display); font-size:clamp(36px,6vw,56px); line-height:1.05; margin:24px 0 16px; }
.texte-legal h2{ font-family:var(--display); font-size:28px; margin:36px 0 10px; color:var(--lampe); }
.texte-legal p, .texte-legal li{ color:var(--email); }
.texte-legal ul{ padding-left:22px; }
.texte-legal .version{ color:var(--texte-doux); }
.texte-legal code{ font-size:.9em; background:var(--nuit-2); padding:1px 5px; border-radius:4px; }
.texte-legal .tableau{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
@media (max-width: 700px){ .texte-legal table{ min-width:640px; } }
.texte-legal table{ border-collapse:collapse; width:100%; font-size:15px; }
.texte-legal th, .texte-legal td{ border:1px solid var(--trait); padding:8px 10px; text-align:left; vertical-align:top; }
.texte-legal th{ background:var(--nuit-2); }
/* Emplacement à remplir : VISIBLE, pour qu'aucun ne parte en ligne sans être vu. */
.a-remplir{ background:var(--lampe); color:#1A1206; outline:2px dashed var(--brique); padding:0 4px; border-radius:3px; font-weight:600; }
.texte-legal .liens-legaux{ display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:40px; padding-top:20px; border-top:1px solid var(--trait); font-size:15px; }
.texte-legal .liens-legaux a{ color:var(--texte-doux); }
@media (max-width: 900px){
  body.legale .barre nav a{ display:inline; font-size:15px; }
  body.legale .barre nav{ gap:16px; }
  body.legale .marque{ font-size:22px; }
}
