/* Bordure — site public. Aucune police ni ressource externe : rien ne quitte le navigateur. */
:root {
  --asphalte: #111827;
  --neige: #f4f5f1;
  --vert: #15803d;
  --vert-pale: #dcfce7;
  --ambre: #b45309;
  --ambre-pale: #fef3c7;
  --rouge: #b91c1c;
  --rouge-pale: #fee2e2;
  --ardoise: #4b5563;
  --gris: #e5e7eb;
  --fond: var(--neige);
  --carte: #ffffff;
  --texte: var(--asphalte);
  --secondaire: var(--ardoise);
  --bord: var(--gris);
  --titres: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --corps: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0b0f17;
    --carte: #111827;
    --texte: #f4f5f1;
    --secondaire: #9ca3af;
    --bord: #1f2937;
    --vert-pale: #14532d;
    --ambre-pale: #78350f;
    --rouge-pale: #7f1d1d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 17px/1.6 var(--corps);
}
a { color: var(--vert); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #4ade80; } }
.cadre { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 720px; }

/* En-tête */
header { padding: 20px 0; }
header .cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none;
  font: 700 22px/1 var(--titres); letter-spacing: -0.4px; }
.marque img { width: 36px; height: 36px; border-radius: 9px; }
nav a { color: var(--secondaire); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--texte); }

/* Accueil */
.heros { padding: 56px 0 40px; }
.heros h1 { font: 700 clamp(36px, 7vw, 60px)/1.05 var(--titres); letter-spacing: -1.5px; margin: 0 0 18px; }
.heros p.chapeau { font-size: clamp(18px, 2.4vw, 21px); color: var(--secondaire); max-width: 34em; margin: 0 0 28px; }
.pastille { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--vert-pale);
  color: var(--texte); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.bientot { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 14px;
  background: var(--asphalte); color: var(--neige); font-weight: 600; }
@media (prefers-color-scheme: dark) { .bientot { background: var(--neige); color: var(--asphalte); } }

/* Démonstration du verdict */
.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 8px 0 56px; }
.verdict { border-radius: 18px; padding: 18px 20px; background: var(--carte); border: 1px solid var(--bord); }
.verdict p.etat { font: 700 22px/1.2 var(--titres); margin: 0 0 4px; color: var(--texte); }
.verdict p { margin: 0; color: var(--secondaire); font-size: 15px; }
.verdict.oui { border-left: 6px solid var(--vert); }
.verdict.bientot-fin { border-left: 6px solid var(--ambre); }
.verdict.non { border-left: 6px solid var(--rouge); }

section { padding: 8px 0 40px; }
h2 { font: 700 28px/1.2 var(--titres); letter-spacing: -0.6px; margin: 0 0 18px; }
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
  list-style: none; padding: 0; margin: 0; counter-reset: etape; }
.etapes li { background: var(--carte); border: 1px solid var(--bord); border-radius: 18px; padding: 20px; counter-increment: etape; }
.etapes li::before { content: counter(etape); display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--vert-pale); font-weight: 700; margin-bottom: 10px; }
.etapes h3 { font: 700 19px/1.3 var(--titres); margin: 0 0 6px; }
.etapes p { margin: 0; color: var(--secondaire); font-size: 16px; }
.encadre { background: var(--carte); border: 1px solid var(--bord); border-radius: 18px; padding: 22px 24px; }
.encadre ul { margin: 8px 0 0; padding-left: 20px; }

/* Politique */
.document h1 { font: 700 clamp(30px, 5vw, 42px)/1.1 var(--titres); letter-spacing: -1px; margin: 24px 0 8px; }
.document h2 { font-size: 24px; margin-top: 40px; }
.document .date { color: var(--secondaire); margin: 0 0 24px; }
.document .resume { font-size: 19px; background: var(--vert-pale); border-radius: 14px; padding: 16px 20px; }
.tableau { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--carte); }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--bord); }
th { background: var(--fond); }

footer { border-top: 1px solid var(--bord); margin-top: 32px; padding: 28px 0 40px; color: var(--secondaire); font-size: 14px; }
footer p { margin: 4px 0; }
