/* VigieFeux — site de présentation v2, aligné sur la charte graphique v1.0.
   Design : maquettes Jonathan (29/07/2026). Tokens normatifs — le CSS suit la charte.
   Polices auto-hébergées : aucun appel vers Google (promesse « sans tracking »). */

@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900;
  font-display: swap; src: url('/fonts/Archivo-normal-100-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: italic; font-weight: 100 900;
  font-display: swap; src: url('/fonts/Archivo-italic-100-900.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/fonts/IBMPlexMono-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('/fonts/IBMPlexMono-normal-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('/fonts/IBMPlexMono-normal-600.woff2') format('woff2');
}

:root {
  /* Fondations (charte §02) */
  --nuit: #10151C; --surface: #1A212B; --ligne: #2B3542;
  --texte: #EAEDF1; --secondaire: #98A3B0; --sourdine: #5C6673; --papier: #F7F5F1;
  /* Accent Braise */
  --braise: #FF5A2D; --braise-foncee: #D9431C; --braise-nuit: #3D1A10; --braise-claire: #FF8A66;
  /* Statuts — jamais détournés */
  --ambre: #F2A93B; --vert: #43A868; --bleu: #4A83F0;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--nuit); color: var(--texte);
  font-family: 'Archivo', system-ui, sans-serif; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--braise); text-decoration: none; }
a:hover { color: var(--braise-claire); }
@keyframes vfpulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pt-pouls {
  width: 8px; height: 8px; border-radius: 50%; background: var(--braise);
  animation: vfpulse 1.6s infinite; flex-shrink: 0;
}
.conteneur { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.kicker {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; color: var(--braise); text-transform: uppercase;
}
h1, h2, h3 { margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(25px, 3.4vw, 32px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
strong { color: var(--texte); }
.sourd { color: var(--secondaire); }
.mesure { max-width: 660px; }

/* Braises discrètes sur toute la page (canvas fixe, géré par site.js) */
#braises { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }
header, main, footer { position: relative; z-index: 1; }

/* ── En-tête ──────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 21, 28, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ligne);
}
.tete { display: flex; align-items: center; gap: 8px 28px; min-height: 64px; flex-wrap: wrap; }
.marque {
  font-size: 21px; font-weight: 700; color: var(--texte); letter-spacing: -.01em;
  display: flex; align-items: center; gap: 9px;
}
.marque em { font-style: italic; font-weight: 800; color: var(--braise); }
.nav-site { display: flex; gap: 22px; flex: 1; font-size: 14px; font-weight: 500; align-items: center; }
.nav-site a { color: var(--secondaire); padding: 20px 0; white-space: nowrap; }
.nav-site a:hover { color: var(--texte); }
.nav-site a.actif { color: var(--texte); border-bottom: 2px solid var(--braise); padding-bottom: 18px; }
.nav-site a.essentiel { font-family: var(--mono); font-size: 12px; }
.btn-carte {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border: 1px solid var(--ligne); border-radius: 8px; color: var(--texte);
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
.btn-carte:hover { background: var(--surface); border-color: #3A4656; color: var(--texte); }
@media (max-width: 900px) {
  .tete { padding-block: 10px; }
  .nav-site { order: 3; width: 100%; flex: none; overflow-x: auto; gap: 18px; }
  .nav-site a { padding: 6px 0 10px; }
  .nav-site a.actif { padding-bottom: 8px; }
  .btn-carte { margin-left: auto; }
}

/* ── Sections & héros ─────────────────────────────────── */
section.bloc { padding: 96px 0 0; }
.page-tete { padding: 72px 0 0; }
.page-tete .kicker { margin-bottom: 14px; display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.version-pastille {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--sourdine);
  border: 1px solid var(--ligne); border-radius: 999px; padding: 4px 12px; text-transform: none;
}
.entete-bloc { margin-bottom: 32px; }
.entete-bloc .kicker { display: block; margin-bottom: 12px; }
.entete-bloc h2 { margin-bottom: 12px; }
.entete-bloc p { font-size: 16px; color: var(--secondaire); max-width: 660px; }
.heros-grille {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .heros-grille { grid-template-columns: 1fr; gap: 36px; } }

.badge-direct {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 999px; background: var(--braise-nuit); border: 1px solid var(--braise-foncee);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--braise-claire);
  width: fit-content; text-transform: uppercase;
}
.badge-direct .pt-pouls { width: 7px; height: 7px; }

.cta-rang { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px; border-radius: 8px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
}
.btn.plein { background: var(--braise); color: var(--nuit); }
.btn.plein:hover { background: var(--braise-foncee); color: var(--nuit); }
.btn.contour { border: 1px solid var(--ligne); color: var(--texte); font-weight: 600; }
.btn.contour:hover { background: var(--surface); color: var(--texte); }
.btn.braise-contour { border: 1px solid var(--braise); color: var(--braise-claire); font-weight: 600; }
.btn.braise-contour:hover { background: rgba(255, 90, 45, .12); color: var(--braise-claire); }
.lien-fleche { font-weight: 600; font-size: 14px; color: var(--braise); }
.lien-fleche::after { content: " →"; }
.note-cta { font-size: 13.5px; color: var(--sourdine); }

/* ── Tuiles de données (stats) ────────────────────────── */
.tuiles-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
@media (max-width: 900px) { .tuiles-stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--ligne); border-radius: 10px; padding: 20px; }
.stat .valeur { font-family: var(--mono); font-size: 30px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .valeur small { font-size: 15px; color: var(--secondaire); font-weight: 500; }
.stat .libelle { font-size: 13px; color: var(--secondaire); margin-top: 8px; line-height: 1.5; }
.stat .maj { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--sourdine); margin-top: 8px; }

/* ── Aperçu carte (héros Découvrir) ───────────────────── */
.apercu-carte {
  position: relative; border: 1px solid var(--ligne); border-radius: 12px;
  overflow: hidden; background: var(--surface); min-height: 340px;
}
.apercu-carte .badge-apercu {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  background: rgba(16, 21, 28, .85); border: 1px solid var(--ligne);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--secondaire);
  pointer-events: none;
}
.apercu-carte .btn-ouvrir {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  height: 40px; padding: 0 18px; font-size: 13.5px;
}
.radar {
  position: absolute; inset: 0;
  background:
    linear-gradient(transparent 31px, rgba(152, 163, 176, .06) 32px) 0 0/100% 32px,
    linear-gradient(90deg, transparent 31px, rgba(152, 163, 176, .06) 32px) 0 0/32px 100%,
    radial-gradient(80% 120% at 50% 0%, #16202B, #0D1319);
}
.carte-fr { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
.carte-fr .terre {
  fill: rgba(255, 255, 255, .025); stroke: rgba(152, 163, 176, .4);
  stroke-width: .6; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.foyer-c { fill: var(--braise); filter: drop-shadow(0 0 3px rgba(255, 90, 45, .9)); }
.foyer-o {
  fill: none; stroke: rgba(255, 90, 45, .6); stroke-width: .7;
  transform-box: fill-box; transform-origin: center;
  animation: ondeSvg 2.4s ease-out infinite;
}
@keyframes ondeSvg { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.balayage {
  position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 102, .1), rgba(255, 138, 102, .26));
  border-right: 2px solid rgba(255, 138, 102, .5);
  animation: balaye 6s linear infinite;
}
@keyframes balaye { from { left: -14%; } to { left: 108%; } }
.radar-obs {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--braise-claire);
}

/* ── Grilles de cartes ────────────────────────────────── */
.grille { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .g2, .g3 { grid-template-columns: 1fr; } }
.carte {
  background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.carte.sobre { background: none; padding: 24px 26px; }
.carte p { font-size: 14px; line-height: 1.65; color: var(--secondaire); }
.carte .titre-ico { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; }
.pictobox {
  width: 40px; height: 40px; border-radius: 10px; background: var(--nuit);
  border: 1px solid var(--ligne); display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: var(--braise); flex-shrink: 0;
}
.pictobox.p36 { width: 36px; height: 36px; border-radius: 9px; font-size: 15px; }

/* Statuts (badges + cartes) */
.statut-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 600; width: fit-content;
}
.statut-badge.ambre { background: rgba(242, 169, 59, .14); color: var(--ambre); }
.statut-badge.vert { background: rgba(67, 168, 104, .14); color: var(--vert); }
.statut-badge.bleu { background: rgba(74, 131, 240, .14); color: var(--bleu); }
.carte.liseret-ambre { border-top: 3px solid var(--ambre); }
.carte.liseret-vert { border-top: 3px solid var(--vert); }
.carte.liseret-bleu { border-top: 3px solid var(--bleu); }

/* Rampe d'ancienneté */
.rampe {
  display: flex; border-radius: 6px; overflow: hidden;
  font-family: var(--mono); font-size: 10px; text-align: center;
}
.rampe > div { flex: 1; padding: 7px 4px; color: #fff; }

/* ── Piliers (tuiles-liens) ───────────────────────────── */
.pilier { color: inherit; }
.pilier:hover { border-color: var(--braise); color: inherit; }
.pilier .lien-fleche { margin-top: auto; }

/* ── Frise 4 temps (timeline / parcours) ──────────────── */
.frise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.frise::before {
  content: ""; position: absolute; top: 11px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--ligne);
}
.frise-etape { display: flex; flex-direction: column; gap: 13px; padding: 0 16px; position: relative; text-align: center; }
.frise-pt {
  width: 23px; height: 23px; border-radius: 50%; background: var(--nuit);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; margin: 0 auto; position: relative; z-index: 1;
}
.frise-pt.plein { background: var(--braise); color: var(--nuit); font-weight: 800; font-size: 12px; }
.frise-pt.c-ambre { border: 2px solid var(--ambre); color: var(--ambre); }
.frise-pt.c-braise { border: 2px solid var(--braise); }
.frise-pt.c-braise i { width: 7px; height: 7px; border-radius: 50%; background: var(--braise); }
.frise-pt.c-vert { border: 2px solid var(--vert); color: var(--vert); font-size: 12px; }
.frise-pt.c-bleu { border: 2px solid var(--bleu); color: var(--bleu); font-size: 9px; }
.frise-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--sourdine); text-transform: uppercase; }
.frise-kicker.c-ambre { color: var(--ambre); } .frise-kicker.c-braise { color: var(--braise); }
.frise-kicker.c-vert { color: var(--vert); } .frise-kicker.c-bleu { color: var(--bleu); }
.frise-etape .titre { font-size: 15.5px; font-weight: 700; }
.frise-etape .texte { font-size: 13.5px; line-height: 1.6; color: var(--secondaire); }
@media (max-width: 900px) {
  .frise { grid-template-columns: 1fr; gap: 28px; }
  .frise::before { top: 0; bottom: 0; left: 11px; right: auto; width: 1px; height: auto; }
  .frise-etape { text-align: left; padding: 0 0 0 44px; }
  .frise-pt { position: absolute; left: 0; margin: 0; }
}

/* ── Bandeaux Braise nuit (urgence, signaler, doctrine) ── */
.bandeau-braise {
  background: var(--braise-nuit); border: 1px solid var(--braise-foncee);
  border-radius: 10px; padding: 16px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.bandeau-braise .texte { font-size: 14px; line-height: 1.5; flex: 1; min-width: 280px; }
.bandeau-braise .texte span { color: #E8C4B5; }
.tel-groupe { display: flex; gap: 8px; }
.tel-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 40px; padding: 0 12px;
  background: var(--braise); color: var(--nuit); font-weight: 800; font-size: 17px; border-radius: 8px;
}
.tel-pill:hover { background: var(--braise-foncee); color: var(--nuit); }
.tel-pill.contour { background: none; border: 1px solid var(--braise); color: var(--braise-claire); font-weight: 700; font-size: 14px; }
.tel-pill.contour:hover { background: rgba(255, 90, 45, .12); }

.panneau-braise {
  background: var(--braise-nuit); border: 1px solid var(--braise-foncee);
  border-radius: 14px; padding: 44px 48px;
}
.panneau-braise p, .panneau-braise .texte-doux { color: #E8C4B5; }
.panneau-braise .kicker { color: var(--braise-claire); }
@media (max-width: 900px) { .panneau-braise { padding: 28px 24px; } }

.duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 28px; } }

.panneau {
  background: var(--surface); border: 1px solid var(--ligne);
  border-radius: 14px; padding: 44px 48px;
}
@media (max-width: 900px) { .panneau { padding: 28px 24px; } }
.coche-ligne {
  display: flex; gap: 10px; align-items: center; background: var(--nuit);
  border: 1px solid var(--ligne); border-radius: 10px; padding: 14px 18px;
  font-size: 14px; color: var(--secondaire);
}
.coche-ligne .c-vert { color: var(--vert); } .coche-ligne .c-bleu { color: var(--bleu); }
.coche-ligne .c-braise { color: var(--braise); }

/* Numéros d'urgence (grille braise) */
.urgences-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 900px) { .urgences-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .urgences-grille { grid-template-columns: 1fr; } }
.urgence-tuile {
  background: rgba(16, 21, 28, .5); border: 1px solid var(--braise-foncee);
  border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; color: inherit;
}
.urgence-tuile:hover { background: rgba(16, 21, 28, .8); color: inherit; }
.urgence-tuile .num { font-family: var(--mono); font-weight: 600; color: var(--braise); font-size: 24px; line-height: 1.15; }
.urgence-tuile .num.long { font-size: 17px; }
.urgence-tuile .quoi { font-size: 13px; color: #E8C4B5; line-height: 1.4; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--ligne); border-radius: 10px; padding: 0 22px; }
.faq details[open] { border-color: color-mix(in srgb, var(--braise) 45%, var(--ligne)); }
.faq summary {
  cursor: pointer; font-size: 15.5px; font-weight: 700; padding: 18px 0;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--braise); font-size: 20px; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 14.5px; line-height: 1.7; color: var(--secondaire); padding-bottom: 18px; }

/* Sommaire ancré (chips) */
.sommaire { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.sommaire a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  border: 1px solid var(--ligne); border-radius: 999px;
  color: var(--secondaire); font-size: 13.5px; font-weight: 600;
}
.sommaire a:hover { border-color: var(--braise); color: var(--texte); }

/* Chaînage de fin de page */
.chaine {
  background: var(--surface); border: 1px solid var(--ligne); border-radius: 14px;
  padding: 40px 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.chaine .titre { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.chaine .sous { font-size: 15px; color: var(--secondaire); }
@media (max-width: 900px) { .chaine { padding: 26px 24px; } }

/* ── Spécimens (e-mail, fiche de foyer) ───────────────── */
.specimen-mail {
  border: 1px solid var(--ligne); border-radius: 12px; overflow: hidden;
  background: var(--papier); color: #20242B;
}
.specimen-mail .barre {
  background: var(--surface); padding: 10px 18px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--ligne);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--secondaire);
}
.specimen-mail .barre i { width: 8px; height: 8px; border-radius: 50%; background: var(--ligne); }
.specimen-mail .corps { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.specimen-mail .de { font-size: 12.5px; color: #8A93A0; }
.specimen-mail .de b { color: #20242B; }
.specimen-mail .objet { font-size: 15px; font-weight: 700; line-height: 1.4; color: #20242B; }
.specimen-mail .texte {
  border-top: 1px solid #E3DFD7; padding-top: 12px;
  font-size: 13.5px; line-height: 1.65; color: #4A5361;
}
.specimen-mail .texte b { color: #20242B; }
.specimen-mail .boutons { display: flex; gap: 8px; flex-wrap: wrap; }
.specimen-mail .faux-btn {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
  background: var(--braise-foncee); color: #fff; font-weight: 700; font-size: 12.5px; border-radius: 6px;
}
.specimen-mail .faux-btn.gris { background: none; border: 1px solid #E3DFD7; color: #4A5361; font-weight: 600; }
.specimen-mail .pied { font-size: 11.5px; color: #8A93A0; border-top: 1px solid #E3DFD7; padding-top: 10px; }

.specimen-fiche { background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px; overflow: hidden; }
.specimen-fiche .haut {
  padding: 18px 22px; border-bottom: 1px solid var(--ligne);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.specimen-fiche .nom { font-size: 16px; font-weight: 700; }
.specimen-fiche .depuis { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--sourdine); margin-top: 4px; }
.badge-encours {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  background: var(--braise-nuit); border: 1px solid var(--braise-foncee);
  font-size: 12px; font-weight: 700; color: var(--braise-claire);
}
.specimen-fiche .fil { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.fil-ligne { display: flex; gap: 12px; }
.fil-ligne .heure { font-family: var(--mono); font-size: 11px; color: var(--sourdine); min-width: 44px; padding-top: 2px; }
.fil-ligne .contenu { font-size: 13.5px; line-height: 1.6; color: var(--secondaire); }
.fil-ligne .c-bleu { color: var(--bleu); font-weight: 600; }
.fil-ligne .c-vert { color: var(--vert); font-weight: 600; }
.fil-ligne .c-ambre { color: var(--ambre); font-weight: 600; }

/* Pas-à-pas iPhone */
.pas-iphone {
  border: 1px solid var(--ligne); border-radius: 12px; padding: 24px 28px; margin-top: 14px;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.pas-iphone .intitule { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--secondaire); min-width: 150px; }
.pas-iphone .etapes { display: flex; gap: 14px; flex: 1; flex-wrap: wrap; }
.pas-iphone .pas { display: flex; gap: 10px; align-items: center; flex: 1; min-width: 180px; }
.pas-iphone .rond {
  width: 26px; height: 26px; border-radius: 50%; background: var(--braise); color: var(--nuit);
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pas-iphone .pas span:last-child { font-size: 13.5px; color: var(--secondaire); line-height: 1.5; }

/* ── Refus numérotés (charte) ─────────────────────────── */
.refus-liste { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.refus {
  background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px;
  padding: 24px 28px; display: flex; gap: 20px; scroll-margin-top: 90px;
}
.refus .numero { font-family: var(--mono); font-size: 13px; color: var(--braise); font-weight: 600; min-width: 76px; padding-top: 2px; }
.refus .titre { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.refus p { font-size: 14.5px; line-height: 1.7; color: var(--secondaire); }
@media (max-width: 640px) { .refus { flex-direction: column; gap: 8px; } }

/* Numéro de section (mentions légales) */
.num-sec { font-family: var(--mono); font-size: 13px; color: var(--braise); margin-right: 10px; font-weight: 500; }

/* Tableau de crédits */
.table-credits { border: 1px solid var(--ligne); border-radius: 12px; overflow: hidden; max-width: 860px; }
.table-credits.large .rang { grid-template-columns: 200px 1fr; }
.table-credits .rang {
  display: grid; grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--ligne); padding: 14px 22px; font-size: 13.5px; line-height: 1.6;
}
.table-credits .rang:last-child { border-bottom: none; }
.table-credits .rang.entete {
  background: var(--surface); padding: 12px 22px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--sourdine);
}
.table-credits .rang b { font-weight: 700; }
.table-credits .rang span:last-child { color: var(--secondaire); }
@media (max-width: 640px) { .table-credits .rang { grid-template-columns: 1fr; gap: 4px; } }

/* ── Pied de page ─────────────────────────────────────── */
footer.site { border-top: 1px solid var(--ligne); margin-top: 96px; }
.pied { padding: 48px 0; display: flex; flex-direction: column; gap: 24px; }
.pied-haut { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.pied-haut .marque { font-size: 19px; }
.pied-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.pied-nav a { color: var(--secondaire); }
.pied-nav a:hover { color: var(--texte); }
.pied-sources { font-size: 12.5px; line-height: 1.7; color: var(--sourdine); max-width: 860px; }
.pied-sources span { color: var(--secondaire); }
.pied-bas {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--ligne); padding-top: 20px;
}
.pied-bas .copyright { font-size: 12.5px; color: var(--sourdine); }
.pied-bas .urgence { font-family: var(--mono); font-size: 12px; color: var(--secondaire); }
.pied-bas .urgence a { color: var(--braise); font-weight: 600; }

/* ── Entraide en direct (site) ─────────────────────── */
.sommaire .chip-actif { border-color: var(--braise); color: var(--texte); background: rgba(255, 90, 45, .1); }
.commune-boite { position: relative; max-width: 420px; margin-bottom: 16px; }
.commune-boite input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px;
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--ligne);
  border-radius: 8px; color: var(--texte);
}
.commune-boite input:focus { outline: none; border-color: var(--braise); }
.commune-liste {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20;
  background: var(--surface); border: 1px solid var(--ligne); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
}
.commune-liste:empty { display: none; }
.commune-liste button {
  background: none; border: none; font: inherit; font-size: 14px; color: var(--texte);
  text-align: left; padding: 10px 14px; cursor: pointer;
}
.commune-liste button:hover { background: var(--nuit); }
.commune-liste button span { color: var(--sourdine); }
.avert-deplacement {
  background: var(--braise-nuit); border: 1px solid var(--braise-foncee);
  border-radius: 8px; padding: 10px 14px; font-size: 13.5px; color: #E8C4B5;
  margin-bottom: 12px;
}
.offre-site {
  background: var(--surface); border: 1px solid var(--ligne); border-radius: 12px;
  padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px;
}
.offre-site.complet { opacity: .55; }
.offre-tete { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.offre-dist { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--braise-claire); }
.offre-meta { font-size: 13.5px; color: var(--secondaire); }
.offre-desc { font-size: 13.5px; color: var(--secondaire); font-style: italic; }
.offre-pied { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.offre-tel {
  font-family: var(--mono); font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--ligne); border-radius: 8px; padding: 7px 14px;
}
.offre-tel:hover { border-color: var(--braise); }
.besoins-site { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.besoins-site li { margin: 3px 0; }
.besoins-site .prend { color: var(--texte); }
.besoins-site .refuse { color: var(--sourdine); }

/* Révélation au défilement */
.revele { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.revele.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .revele { opacity: 1; transform: none; transition: none; }
  .balayage, .foyer-o, .pt-pouls, .crise-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Volet latéral entraide + crise en cours ─────────────
   Mécanisme inspiré de PrévEntraide, dessiné par la maquette Découvrir v2 :
   boutons de flanc, bandeau sous l'en-tête, fenêtre quand des foyers sont
   réellement suivis (jamais quand tout est calme). */
.flanc-entraide {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column;
}
.flanc-entraide a {
  text-align: center; text-decoration: none;
  background: var(--surface); color: var(--texte);
  border: 1px solid var(--ligne); border-right: none;
  padding: 12px 14px; font-size: 13px; font-weight: 700;
}
.flanc-entraide a:first-child { border-radius: 10px 0 0 0; color: var(--braise); }
.flanc-entraide a:last-child { border-radius: 0 0 0 10px; border-top: none; color: var(--vert); }
.flanc-entraide a:hover { background: var(--nuit); color: var(--texte); }

.crise-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--braise-claire); white-space: nowrap;
}
.crise-pulse {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--braise); animation: vfpulse 1.6s infinite;
}

/* Bandeau réduit — sous l'en-tête, dans le flux */
.crise-bandeau { background: var(--braise-nuit); border-bottom: 1px solid var(--braise-foncee); }
.crise-bandeau-int {
  max-width: 1120px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.crise-bandeau-txt { font-size: 13.5px; color: #E8C4B5; flex: 1; min-width: 200px; }
.crise-verif { color: var(--vert); font-weight: 600; }
.crise-bandeau a { font-size: 13px; font-weight: 700; flex-shrink: 0; text-decoration: none; }

/* Fenêtre — carte Surface, en-tête braise-nuit (maquette) */
.crise-voile {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16, 21, 28, .7); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 100px 24px 24px;
}
.crise-fenetre {
  width: min(520px, 100%); max-height: 84vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--braise-foncee);
  border-radius: 14px; overflow-x: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
.crise-tete {
  background: var(--braise-nuit); border-bottom: 1px solid var(--braise-foncee);
  padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.crise-fermer {
  background: none; border: 1px solid var(--braise-foncee); border-radius: 7px;
  color: var(--braise-claire); width: 28px; height: 28px; cursor: pointer;
  font-size: 13px; flex-shrink: 0;
}
.crise-fermer:hover { background: rgba(255, 90, 45, .12); }
.crise-corps { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.crise-item {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.crise-item + .crise-item { border-top: 1px solid var(--ligne); padding-top: 14px; }
.crise-nom { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.crise-nom em { font-style: normal; font-weight: 400; color: var(--secondaire); }
.crise-badges { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.crise-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
  border-radius: 999px; font-size: 11.5px; font-weight: 600;
}
.crise-badge.vert { background: rgba(67, 168, 104, .14); color: var(--vert); }
.crise-badge.bleu { background: rgba(74, 131, 240, .14); color: var(--bleu); }
.crise-voir {
  display: inline-flex; align-items: center; height: 42px; padding: 0 20px;
  background: var(--braise); color: var(--nuit); font-weight: 700; font-size: 14px;
  border-radius: 8px; flex-shrink: 0; text-decoration: none;
}
.crise-voir:hover { background: var(--braise-foncee); color: var(--nuit); }
.crise-reduire {
  height: 42px; background: transparent; border: 1px solid var(--ligne); border-radius: 8px;
  color: var(--secondaire); font-family: 'Archivo', sans-serif; font-weight: 600;
  font-size: 13.5px; cursor: pointer;
}
.crise-reduire:hover { color: var(--texte); border-color: #3A4656; }
.crise-note {
  font-size: 12px; line-height: 1.6; color: var(--sourdine); margin: 0;
  border-top: 1px solid var(--ligne); padding-top: 12px;
}
.crise-note a { font-size: 12px; font-weight: 700; }

@media (max-width: 700px) {
  .flanc-entraide a { padding: 10px 10px; font-size: 12px; }
  .crise-voile { padding: 24px 12px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .crise-pulse { animation: none; } }

/* ── Blog : colonne de lecture ─────────────────────────── */
.prose { max-width: 680px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.01em; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.75; color: var(--secondaire); }
.prose p strong, .prose li strong { color: var(--texte); }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li { margin: 6px 0; }
.article-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  color: var(--sourd); margin: 10px 0 0;
}
.article-encart {
  background: var(--surface); border: 1px solid var(--ligne); border-left: 3px solid var(--braise);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 20px 0;
}
.article-encart p { margin: 0; font-size: 14px; }

/* ── Mobile site : hamburger, héros, flanc (un élément par bord) ── */
.burger { display: none; }
.menu-voile { display: none; }
@media (max-width: 760px) {
  .nav-site { display: none; }
  .flanc-entraide { display: none; }
  /* Héros : un chip par coin — l'observation vit déjà dans les stats dessous */
  .radar-obs { display: none; }
  .tete { flex-wrap: nowrap; gap: 10px; }
  .tete .btn-carte { height: 36px; padding: 0 12px; font-size: 13px; white-space: nowrap; margin-left: 0; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-left: auto;
    background: none; border: 1px solid var(--ligne); border-radius: 10px; cursor: pointer;
  }
  .burger span { display: block; height: 2px; border-radius: 2px; background: var(--texte); }

  .menu-voile {
    display: flex; position: fixed; inset: 0; z-index: 90;
    background: rgba(16, 21, 28, .55); justify-content: flex-end;
  }
  .menu-voile[hidden] { display: none; }
  .menu-panneau {
    width: min(320px, 88%); height: 100%; overflow-y: auto;
    background: var(--surface); border-left: 1px solid var(--ligne);
    display: flex; flex-direction: column; padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  }
  .menu-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .menu-fermer {
    width: 40px; height: 40px; background: none; border: 1px solid var(--ligne);
    border-radius: 10px; color: var(--secondaire); font-size: 15px; cursor: pointer;
  }
  .menu-panneau nav { display: flex; flex-direction: column; }
  .menu-panneau nav a {
    padding: 14px 4px; font-size: 16.5px; font-weight: 600; color: var(--texte);
    border-bottom: 1px solid rgba(152, 163, 176, .12); text-decoration: none;
  }
  .menu-panneau nav a.actif { color: var(--braise); }
  .menu-panneau nav a.essentiel { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
  .menu-carte { margin-top: 18px; text-align: center; }
  .menu-urgence {
    margin-top: auto; padding-top: 18px;
    font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--secondaire);
  }
  .menu-urgence a { font-size: 14px; font-weight: 700; }
}

/* Images d'article : sans height:auto, l'attribut HTML height="768" s'applique
   en pixels alors que le CSS impose width:100% — l'image est etiree en hauteur.
   Regle globale : vaut pour tous les articles, presents et futurs. */
.prose img, .conteneur img {
  max-width: 100%;
  height: auto;
}

/* Le bandeau comptait les fiches SUIVIES et se lisait comme un nombre de
   feux : il annoncait « 1 foyer en cours » quand la carte en montrait 182.
   Le chiffre satellite figure desormais a cote, dans un ton plus sourd —
   il informe sans concurrencer le foyer suivi, qui lui est verifie. */
.crise-satel { color: var(--sourd, #8b95a3); }
.crise-satel-note {
  margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--sourd, #8b95a3);
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px;
}
.crise-satel-note b { color: inherit; font-weight: 600; }

/* Activite satellite pres d'un foyer suivi : un fait mesure, pas un statut.
   « aucune detection 24 h » ne veut pas dire eteint — le dire en gris, et
   dire que le statut attend sa mise a jour officielle. */
.crise-actif { color: var(--braise, #FF5A2D); font-weight: 600; }
.crise-calme { color: var(--sourd, #8b95a3); }
.crise-badge.feu { background: rgba(255, 90, 45, .16); color: #FF5A2D; }
.crise-badge.calme { background: rgba(139, 149, 163, .16); color: #8b95a3; }


/* ── Blocs editoriaux du blog (charte de redaction, 25/08/2026) ────────── */
.fil-ariane { font: 500 11px "IBM Plex Mono", monospace; letter-spacing: .05em;
  color: var(--muet, #8A8FA3); margin: 0 0 10px; }
.fil-ariane a { color: inherit; text-decoration: none; }
.fil-ariane a:hover { color: var(--braise, #FF5A2D); }
.bloc-essentiel { background: var(--surface, #14181F); border: 1px solid var(--ligne, #262B36);
  border-left: 4px solid var(--braise, #FF5A2D); border-radius: 12px;
  padding: 16px 20px; margin: 0 0 22px; }
.bloc-essentiel .ess-titre { font: 700 11px "IBM Plex Mono", monospace; letter-spacing: .14em;
  color: var(--braise, #FF5A2D); display: block; margin-bottom: 8px; }
.bloc-essentiel ul { margin: 0; padding-left: 18px; }
.bloc-essentiel li { margin: 5px 0; line-height: 1.55; }
.figure-art { margin: 0 0 26px; }
.figure-art img { width: 100%; height: auto; border-radius: 12px; display: block; }
.figure-art figcaption { font-size: 12px; color: var(--muet, #8A8FA3); margin-top: 8px; line-height: 1.5; }
.schema-art { background: var(--surface, #14181F); border: 1px solid var(--ligne, #262B36);
  border-radius: 12px; padding: 18px; margin: 22px 0; overflow-x: auto; }
.schema-art svg { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.faq-art { margin: 30px 0 0; }
.faq-art details { border-bottom: 1px solid var(--ligne, #262B36); padding: 10px 0; }
.faq-art summary { cursor: pointer; font-weight: 700; }
.faq-art p { margin: 8px 0 2px; }
.sources-art { background: var(--surface, #14181F); border: 1px solid var(--ligne, #262B36);
  border-radius: 12px; padding: 14px 20px; margin: 26px 0 0; font-size: 13px; }
.sources-art .src-titre { font: 700 10.5px "IBM Plex Mono", monospace; letter-spacing: .14em;
  color: var(--muet, #8A8FA3); display: block; margin-bottom: 6px; }
.sources-art ul { margin: 0; padding-left: 18px; }
.sources-art li { margin: 3px 0; }
