/* ==================== POLICES AUTO-HÉBERGÉES ====================
   Manrope et Bricolage Grotesque servies depuis assets/fonts/ : aucune
   requête vers Google, donc aucun transfert d'adresse IP du visiteur.
   Fichiers variables — une seule ressource couvre toutes les graisses. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/bricolage-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;
}

/* =========================================================
   RAPIDO — feuille de style unique
   ---------------------------------------------------------
   Tokens extraits de Figma : CONCEPTS / Rapido DEV (Test Claude)
   fileKey edFDekqyzeNVs5zA6lw5ME — node 2871:18781
   ========================================================= */

:root {
  /* ---- Couleurs (relevées dans les maquettes) ---- */
  --fond:        #081925;  /* fond principal de l'app */
  --fond-2:      #081a27;  /* variante, textes sur clair */
  --fond-3:      #050f18;  /* plus sombre, pied de page */
  --primaire:    #21a4e2;  /* bleu Rapido, CTA */
  --urgence:     #ba1a1a;  /* bouton secours */
  --urgence-bord:#a51515;
  --succes:      #22c55e;
  --envoi:       #10b981;  /* vert de l'icone file-text (onboarding 3) */
  --succes-halo: #4ade80;

  --texte:       #fafbff;
  --texte-doux:  #e8f4fd;
  --texte-muet:  #94a3b8;
  --ardoise:     #7d8fa3;  /* éclairci : 4,9:1 sur --fond (AA) */
  --encre:       #0f172a;
  --gris-clair:  #f1f5f9;

  --verre:       rgba(255, 255, 255, .2);   /* surfaces translucides */
  --verre-leger: rgba(255, 255, 255, .08);
  --verre-fort:  rgba(255, 255, 255, .7);
  --bord:        rgba(193, 193, 193, .3);   /* bordure des champs */

  /* ---- Rayons (relevés) ---- */
  --r-champ: 16px;
  --r-carte: 24px;
  --r-grand: 28px;
  --r-puce:  12px;
  --r-pilule: 9999px;

  /* ---- Ombres (relevées) ---- */
  --ombre-carte: 0 8px 24px rgba(26, 43, 95, .05);
  --ombre-btn:   0 4px 6px rgba(33, 164, 226, .15);
  --ombre-sombre:0 4px 6px rgba(26, 43, 95, .15);

  /* ---- Typographie ---- */
  --titre: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --texte-police: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --max: 1160px;
}

/* ========================= BASE ========================= */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--texte-police);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* halos lumineux discrets, repris de l'ambiance des maquettes */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(58rem 32rem at 78% -6%, rgba(33, 164, 226, .16), transparent 62%),
    radial-gradient(44rem 28rem at 4% 34%, rgba(33, 164, 226, .07), transparent 60%);
}
body > * { position: relative; z-index: 1; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--primaire); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--primaire); color: #fff;
  padding: 12px 18px; z-index: 100; border-radius: var(--r-champ);
}
.skip:focus { left: 12px; top: 12px; }

/* Texte réservé aux lecteurs d'écran */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ==================== TYPOGRAPHIE ==================== */

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.028em;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-variation-settings: "opsz" 96, "wdth" 100;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.32rem); letter-spacing: -.02em; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.plomb { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--texte-doux); max-width: 56ch; }
.muet  { color: var(--texte-muet); }

/* Étiquette, reprise du style « SUIVI DE LA POSITION » des maquettes */
.etiquette {
  font-family: var(--texte-police);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primaire);
  display: inline-block;
}
.etiquette--muette { color: rgba(255, 255, 255, .5); }

/* ==================== SURFACES ==================== */

.verre {
  background: var(--verre-leger);
  border: 1px solid var(--bord);
  border-radius: var(--r-carte);
  backdrop-filter: blur(10px);
  box-shadow: var(--ombre-carte);
}

/* ==================== EN-TÊTE ==================== */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 25, 37, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.entete__in { display: flex; align-items: center; gap: 26px; min-height: 70px; position: relative; }

.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marque__img { height: 32px; width: auto; }
.pied .marque__img { height: 36px; }
.marque__mot {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.045em;
  color: var(--texte);
}
.marque__mot i { color: var(--primaire); font-style: normal; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a {
  font-size: .93rem; font-weight: 500; text-decoration: none;
  color: var(--texte-doux);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav a:hover { color: var(--texte); }
.nav a[aria-current="page"] { color: var(--primaire); border-bottom-color: var(--primaire); }
.nav .btn { color: #fff; }

/* --- Bouton du menu mobile --- */
.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: transparent;
  border: 1px solid var(--bord);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--texte);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fond);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav--ouvert { display: flex; }
  .nav a {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .07); }
  .nav .btn { margin-top: 16px; height: 50px; border-bottom: none; }
}
@media (max-width: 560px) { .entete__in { min-height: 60px; } }

/* ==================== BOUTONS ==================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--texte-police);
  font-size: 1rem; font-weight: 700;
  text-decoration: none;
  height: 56px; padding-inline: 24px;
  border: none; border-radius: var(--r-champ);
  background: var(--primaire); color: #fff;
  box-shadow: var(--ombre-btn);
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Store pas encore ouvert : le bouton garde sa forme mais annonce son état */
.btn--bientot {
  background: var(--verre-leger);
  border: 1.5px dashed var(--bord);
  color: var(--texte-doux);
  box-shadow: none;
  cursor: default;
}
.btn--bientot:hover { filter: none; transform: none; }
.btn--bientot .btn__sub { color: var(--texte-muet); }

.btn--ligne {
  background: rgba(0, 0, 0, .1);
  border: 1.5px solid var(--primaire);
  color: var(--texte);
  box-shadow: none;
}
.btn--ligne:hover { background: rgba(33, 164, 226, .12); }

.btn--petit { height: 42px; padding-inline: 18px; font-size: .9rem; border-radius: 12px; }

.btn__sub { display: block; font-size: .68rem; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.btn__lab { display: block; text-align: left; line-height: 1.2; }

/* Pilule d'urgence, reprise du bouton « appeler les secours » */
.pilule-urgence {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding-inline: 26px;
  background: var(--urgence);
  border: 1px solid var(--urgence-bord);
  border-radius: var(--r-pilule);
  color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none;
}

/* ==================== SECTIONS ==================== */

.section { padding-block: clamp(60px, 8vw, 108px); }
.section--filet { border-top: 1px solid rgba(255, 255, 255, .08); }
.section__tete { max-width: 60ch; margin-bottom: clamp(34px, 5vw, 56px); }
.section__tete .etiquette { margin-bottom: 12px; }

/* ==================== HÉRO ==================== */

.hero { padding-block: clamp(44px, 6vw, 84px) clamp(56px, 7vw, 96px); }
.hero__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 980px) { .hero__grille { grid-template-columns: 1fr; gap: 56px; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--bord);
  background: var(--verre-leger);
  border-radius: var(--r-pilule);
  padding: 7px 16px 7px 10px;
  margin-bottom: 24px;
}
.point {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--succes);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .22);
}
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--primaire); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 20px; font-size: .85rem; color: var(--texte-muet); }

/* ---- Élément signature : l'écran d'accueil de l'app, rebâti en CSS ---- */

.tel-scene { display: flex; justify-content: center; }

.tel {
  width: 330px; max-width: 100%;
  background: var(--fond);
  border: 9px solid #101f2c;
  border-radius: 46px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07);
  overflow: hidden;
  position: relative;
}
.tel::before {
  content: "";
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; border-radius: 999px; background: #101f2c; z-index: 3;
}
.tel__ecran {
  padding: 44px 17px 22px;
  background:
    radial-gradient(30rem 18rem at 90% -10%, rgba(33, 164, 226, .3), transparent 60%),
    var(--fond);
}
.tel__salut {
  font-family: var(--titre); font-weight: 800;
  font-size: 20px; letter-spacing: -.68px; color: var(--texte);
  margin: 6px 0 14px;
}
.tel__carte {
  background: var(--verre);
  border-radius: var(--r-carte);
  padding: 17px;
  box-shadow: var(--ombre-carte);
  margin-bottom: 14px;
}
.tel__carte-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tel__carte-tete strong { font-family: var(--titre); font-weight: 800; font-size: 18px; }
.tel__puce {
  width: 34px; height: 34px; flex: none;
  border-radius: var(--r-puce);
  background: rgba(255, 255, 255, .15);
  display: grid; place-items: center;
}
.tel__carte p { font-size: 12px; color: var(--texte-doux); margin: 0 0 14px; line-height: 1.5; }
.tel__cta {
  height: 46px; border-radius: var(--r-champ);
  background: var(--primaire); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 13px;
  box-shadow: var(--ombre-btn);
}
.tel__secours {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; margin: 0 auto 18px; width: fit-content; padding-inline: 22px;
  background: var(--urgence); border: 1px solid var(--urgence-bord);
  border-radius: var(--r-pilule);
  font-size: 11px; font-weight: 600;
}
.tel__soustitre {
  font-size: 12px; letter-spacing: .1em;
  color: rgba(255, 255, 255, .5); margin-bottom: 9px;
}
.tel__suivi {
  border: 1px solid var(--bord);
  border-radius: var(--r-grand);
  overflow: hidden;
  background: var(--verre-fort);
}
.tel__carte-map {
  height: 88px;
  position: relative;
  background:
    linear-gradient(to top, #fff 4%, rgba(255, 255, 255, 0) 72%),
    repeating-linear-gradient(58deg, #dbe4ec 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-32deg, #dbe4ec 0 2px, transparent 2px 34px),
    #eef3f8;
}
.tel__geo {
  position: absolute; left: 12px; bottom: 10px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--fond);
}
.tel__pastille {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--succes);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .35);
}
.tel__plaque {
  background: #fff; padding: 12px;
  display: flex; align-items: center; gap: 10px;
}
.tel__rond {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--gris-clair);
  display: grid; place-items: center;
}
.tel__plaque b { display: block; font-size: 13px; color: var(--fond-2); line-height: 1.3; }
.tel__plaque span { display: block; font-size: 10.5px; color: var(--ardoise); }

@media (max-width: 400px) { .tel { width: 100%; border-width: 7px; border-radius: 38px; } }

/* ==================== PROMESSES (cercles concentriques) ==================== */

.promesses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .promesses { grid-template-columns: 1fr; gap: 18px; } }

.promesse { padding: 32px 26px 30px; text-align: center; }
.cercle-ext {
  width: 132px; height: 132px; margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(33, 164, 226, .12);
  display: grid; place-items: center;
}
.cercle-int {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: rgba(33, 164, 226, .2);
  display: grid; place-items: center;
  color: var(--primaire);
}
.cercle-int svg { width: 46px; height: 46px; }
.cercle-ext--vert { background: rgba(16, 185, 129, .12); }
.cercle-int--vert { background: rgba(16, 185, 129, .2); color: var(--envoi); }
.promesse h3 { margin-bottom: .5em; }
.promesse p { font-size: .93rem; color: var(--texte-muet); margin: 0; }

/* ==================== LES 6 ÉTAPES ==================== */

.etapes { display: grid; gap: 14px; }

.etape {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--r-carte);
  border: 1px solid rgba(255, 255, 255, .09);
  background: var(--verre-leger);
  transition: border-color .18s, background .18s;
}
.etape:hover { border-color: rgba(33, 164, 226, .45); background: rgba(33, 164, 226, .07); }

.jauge { display: flex; align-items: center; gap: 5px; }
.jauge i {
  width: 8px; height: 8px; border-radius: 3px; flex: none;
  background: rgba(255, 255, 255, .2);
}
.jauge i.on { background: var(--primaire); }
.jauge b { font-size: .8rem; font-weight: 700; color: var(--texte-muet); margin-left: 6px; }

.etape h3 { margin: 0 0 .25em; }
.etape p { margin: 0; font-size: .93rem; color: var(--texte-muet); }

@media (max-width: 720px) {
  .etape { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
}

/* ==================== FONCTIONS ==================== */

.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px) { .fonctions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .fonctions { grid-template-columns: 1fr; } }

.fonction { padding: 24px 22px; transition: transform .18s ease, border-color .18s ease; }
.fonction:hover { transform: translateY(-4px); border-color: rgba(33, 164, 226, .45); }
.fonction__ic {
  width: 44px; height: 44px; border-radius: var(--r-puce);
  background: rgba(33, 164, 226, .16); color: var(--primaire);
  display: grid; place-items: center; margin-bottom: 16px;
}
.fonction__ic svg { width: 22px; height: 22px; }
.fonction h3 { font-size: 1.05rem; margin-bottom: .35em; }
.fonction p { font-size: .9rem; color: var(--texte-muet); margin: 0; }

/* ==================== TERRAIN ==================== */

.terrain {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .terrain { grid-template-columns: 1fr; } }

.terrain__liste { list-style: none; margin: 0; padding: 0; }
.terrain__liste li {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.terrain__liste li:first-child { border-top: 1px solid rgba(255, 255, 255, .09); }
.terrain__liste b { display: block; font-family: var(--titre); font-weight: 800; font-size: 1rem; margin-bottom: 2px; }
.terrain__liste span { color: var(--texte-muet); font-size: .92rem; }
.terrain__coche { color: var(--primaire); font-weight: 700; }

/* ==================== FAQ ==================== */

.faq { max-width: 820px; }
.faq details {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-champ);
  background: var(--verre-leger);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq details[open] { border-color: rgba(33, 164, 226, .4); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 22px;
  font-family: var(--titre); font-weight: 800;
  font-size: 1.02rem; letter-spacing: -.02em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--primaire); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 52px 20px 22px; margin: 0; color: var(--texte-muet); font-size: .94rem; }

/* ==================== APPEL FINAL ==================== */

.final { text-align: center; }
.final .plomb { margin-inline: auto; }
.final .hero__actions { justify-content: center; }

/* ==================== PIED DE PAGE ==================== */

.pied {
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: var(--fond-3);
  padding-block: 54px 30px;
  font-size: .92rem;
  color: var(--texte-muet);
}
.pied__grille { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .pied__grille { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .pied__grille { grid-template-columns: 1fr; } }

.pied .marque { margin-bottom: 14px; }
.pied h4 {
  font-family: var(--texte-police);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
  margin: 0 0 14px;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 9px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--primaire); }
.pied__bas {
  margin-top: 42px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .8rem; color: rgba(255, 255, 255, .45);
}

/* ==================== PAGES DOCUMENT ==================== */

.doc-hero {
  padding-block: clamp(44px, 5vw, 72px) clamp(30px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.doc-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .3em; }
.doc-hero .etiquette { margin-bottom: 14px; }
.doc-hero__meta { font-size: .85rem; color: var(--texte-muet); }

.doc {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  padding-block: clamp(38px, 5vw, 62px) clamp(56px, 8vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } }

.sommaire { position: sticky; top: 94px; }
@media (max-width: 900px) { .sommaire { position: static; } }
.sommaire h2 {
  font-family: var(--texte-police);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .5);
  margin-bottom: 14px;
}
.sommaire ol { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.sommaire li { counter-increment: s; }
.sommaire a {
  display: grid; grid-template-columns: 26px 1fr; gap: 8px;
  padding: 8px 0; font-size: .87rem; line-height: 1.35;
  text-decoration: none; color: var(--texte-muet);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.sommaire a::before {
  content: counter(s, decimal-leading-zero);
  font-size: .72rem; font-weight: 700; color: var(--primaire); padding-top: .15em;
}
.sommaire a:hover { color: var(--texte); }

.corps { max-width: 74ch; }
.corps > section { scroll-margin-top: 94px; padding-bottom: 30px; }
.corps h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: .55em;
}
.corps h3 { font-size: 1.02rem; margin-top: 1.6em; margin-bottom: .4em; color: var(--texte-doux); }
.corps p, .corps li { font-size: .97rem; color: var(--texte-doux); }
.corps strong { color: var(--texte); }
.corps ul, .corps ol { padding-left: 1.15rem; margin: 0 0 1.05em; }
.corps li { margin-bottom: .5em; }
.corps li::marker { color: var(--primaire); }
.corps a { color: var(--primaire); text-underline-offset: 3px; }

.avis {
  border-left: 3px solid var(--primaire);
  background: var(--verre-leger);
  border-radius: var(--r-champ);
  padding: 16px 20px;
  margin: 0 0 1.4em;
  font-size: .93rem;
}
.avis .etiquette { display: block; margin-bottom: 6px; font-size: .7rem; }
.avis--rouge { border-left-color: var(--urgence); background: rgba(186, 26, 26, .1); }
.avis--rouge .etiquette { color: #ff8b83; }

/* La classe .remplir a été supprimée : plus aucun marqueur de brouillon
   ne doit pouvoir apparaître en production. */

.tableau { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; font-size: .89rem; }
.tableau th, .tableau td {
  text-align: left; padding: 11px 13px; vertical-align: top;
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--texte-doux);
}
.tableau th {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--verre-leger); font-weight: 700; color: var(--texte);
}
.tableau-scroll { overflow-x: auto; }

/* ==================== CONTACT ==================== */

.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(30px, 5vw, 56px);
  padding-block: clamp(40px, 6vw, 70px) clamp(56px, 8vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }

.formulaire { padding: 28px 26px 30px; }
.champ-saisie { margin-bottom: 18px; }
.champ-saisie label { display: block; margin-bottom: 8px; }
.champ-saisie input,
.champ-saisie select,
.champ-saisie textarea {
  width: 100%;
  font-family: var(--texte-police); font-size: .95rem;
  color: var(--texte);
  background: var(--verre);
  border: 1.5px solid var(--bord);
  border-radius: var(--r-champ);
  padding: 15px 16px;
  min-height: 56px;
}
.champ-saisie textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.champ-saisie input::placeholder,
.champ-saisie textarea::placeholder { color: rgba(255, 255, 255, .55); }
.champ-saisie select option { background: var(--fond); color: var(--texte); }
.champ-saisie input:focus,
.champ-saisie select:focus,
.champ-saisie textarea:focus { border-color: var(--primaire); }
.champ-saisie small { display: block; margin-top: 7px; font-size: .8rem; color: var(--texte-muet); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } }

.consentement {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  font-size: .88rem; color: var(--texte-muet); margin-bottom: 22px;
}
.consentement input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primaire); min-height: 0; }
.consentement a { color: var(--primaire); }

.carte-contact { padding: 22px; margin-bottom: 16px; }
.carte-contact .etiquette { display: block; margin-bottom: 10px; font-size: .7rem; }
.carte-contact h3 { font-size: 1.02rem; margin-bottom: .3em; }
.carte-contact p { font-size: .9rem; color: var(--texte-muet); margin-bottom: .5em; }
.carte-contact a { color: var(--primaire); text-decoration: none; font-size: .92rem; }
.carte-contact a:hover { text-decoration: underline; }

/* ==================== RÉVÉLATION ==================== */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.vu { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==================== IMPRESSION ==================== */

@media print {
  .entete, .pied, .sommaire, .btn, body::before { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .corps p, .corps li, .corps h2, .corps h3, .doc-hero h1 { color: #000; }
  .doc { grid-template-columns: 1fr; }
}

/* ==================== GALERIE D'ÉCRANS ==================== */

.galerie {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-block: 6px 26px;
  padding-inline: 2px;
}
.galerie figure { margin: 0; scroll-snap-align: center; }
.galerie figcaption {
  margin-top: 16px;
  font-size: .84rem;
  color: var(--texte-muet);
  text-align: center;
  line-height: 1.45;
}
.galerie figcaption b {
  display: block;
  font-family: var(--titre);
  font-weight: 800;
  font-size: .95rem;
  color: var(--texte);
  margin-bottom: 3px;
}
.galerie__note { font-size: .85rem; color: var(--texte-muet); margin-top: 4px; }

.tel--mini { width: 250px; border-width: 7px; border-radius: 36px; box-shadow: 0 22px 46px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.tel--mini::before { width: 74px; height: 18px; top: 8px; }
.tel--mini .tel__ecran { padding: 32px 13px 18px; }

/* --- briques d'écran --- */
.ec__jauge { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 15px; }
.ec__jauge i { width: 6px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.22); }
.ec__jauge i.on { background: var(--primaire); }
.ec__jauge b { font-size: 10px; font-weight: 700; color: var(--texte-muet); margin-left: 5px; }

.ec__titre { font-family: var(--titre); font-weight: 800; font-size: 17px; letter-spacing: -.025em; margin: 0 0 6px; line-height: 1.15; }
.ec__sub { font-size: 10.5px; color: var(--texte-muet); margin: 0 0 14px; line-height: 1.5; }

.ec__opt {
  display: flex; align-items: center; gap: 10px;
  background: var(--verre); border-radius: 14px;
  padding: 11px 12px; margin-bottom: 10px;
  font-size: 11.5px; font-weight: 600;
}
.ec__opt .ic {
  width: 26px; height: 26px; flex: none; border-radius: 9px;
  background: rgba(33,164,226,.22); color: var(--primaire);
  display: grid; place-items: center;
}
.ec__opt .ic--rouge { background: rgba(186,26,26,.28); color: #ff9a93; }
.ec__opt .fin { margin-left: auto; color: var(--texte-muet); }
.ec__aide { font-size: 10px; color: var(--texte-muet); text-align: center; margin: 16px 0 0; }

.ec__onglets { display: flex; background: var(--verre-leger); border: 1px solid var(--bord); border-radius: 13px; padding: 3px; margin-bottom: 12px; }
.ec__onglets span { flex: 1; text-align: center; font-size: 9.5px; font-weight: 700; padding: 8px 0; border-radius: 10px; color: var(--texte-muet); }
.ec__onglets span.on { background: var(--primaire); color: #fff; }

.ec__label { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-muet); margin: 0 0 4px 3px; }
.ec__champ {
  background: var(--verre); border: 1px solid var(--bord); border-radius: 12px;
  padding: 10px 11px; font-size: 11.5px; margin-bottom: 11px;
  display: flex; align-items: center; gap: 8px;
}
.ec__champ .fin { margin-left: auto; color: var(--texte-muet); font-size: 10px; }
.ec__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ec__couleurs { display: flex; gap: 9px; }
.ec__couleurs i { width: 28px; height: 28px; border-radius: 9px; display: block; }
.ec__couleurs i.on { box-shadow: 0 0 0 2px var(--fond), 0 0 0 4px var(--primaire); }

.ec__voiture { display: grid; place-items: center; padding: 4px 0 10px; }
.ec__pastilles { display: flex; gap: 7px; }
.ec__pastilles span { flex: 1; text-align: center; font-size: 10px; font-weight: 700; padding: 10px 0; border-radius: 13px; background: var(--verre); color: var(--texte-muet); }
.ec__pastilles span.on { background: var(--primaire); color: #fff; }

.ec__succes { text-align: center; padding-top: 14px; }
.ec__rond-succes {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 26px; background: var(--succes);
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(34,197,94,.32);
}
.ec__ref {
  display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .05em;
  background: var(--verre); border: 1px solid var(--bord);
  border-radius: 999px; padding: 6px 13px; margin-bottom: 16px;
}
.ec__liste { text-align: left; }
.ec__ligne { display: flex; align-items: center; gap: 9px; font-size: 10.5px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.ec__ligne:last-child { border-bottom: none; }
.ec__ligne .ic { width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(34,197,94,.2); color: var(--succes); display: grid; place-items: center; }
.ec__ligne em { margin-left: auto; font-style: normal; color: var(--texte-muet); font-size: 9.5px; }
