/* Après les soins : direction graphique "Le fil".
   Polices embarquées en local (licence SIL OFL), repli système si absentes. */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("fonts/atkinson-hyperlegible-next.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --fond: #FFFFFF;
  --surface: #FFFFFF;
  --bande: #EEF5F1;
  --texte: #1A2421;
  --texte-doux: #45514C;
  --trait: #DDE5E1;
  --chaud: #A8461F;
  --hero-fond: #1B5E48;
  --hero-texte: #FFFFFF;
  --hero-doux: #DCEBE4;
  --hero-fil: #F3B79A;
  --bord-champ: #6E7671;
  --accent: #1B5E48;
  --accent-survol: #134636;
  --sur-accent: #FFFFFF;
  --accent-fond: #E1EEE7;
  --ombre-bouton: #0E3326;
  --attention-fond: #FBEFD9;
  --attention-bord: #B07216;
  --attention-texte: #6B4106;
  --urgence-fond: #FBE9E4;
  --urgence-bord: #B3341A;
  --urgence-texte: #8E2410;
  --focus: #FFD23F;
  --focus-trait: #1A2421;
  --vide-fond: #FFF1A8;
  --vide-texte: #4D3D00;
  --bord-feuille: #C5CCC8;

  --e1: 4px; --e2: 8px; --e3: 12px; --e4: 16px; --e5: 24px; --e6: 32px; --e7: 48px; --e8: 64px; --e9: 96px;
  --titre: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #121816;
    --surface: #1B2320;
    --bande: #17201D;
    --chaud: #F0A07A;
    --hero-fond: #163F32;
    --hero-texte: #F4F1EA;
    --hero-doux: #C9DDD4;
    --hero-fil: #F3B79A;
    --texte: #ECE7DC;
    --texte-doux: #B3BDB8;
    --trait: #2F3A36;
    --bord-champ: #8C9792;
    --accent: #8DD0B3;
    --accent-survol: #A9DEC6;
    --sur-accent: #0D1A14;
    --accent-fond: #1C3A2F;
    --ombre-bouton: #4E8A70;
    --attention-fond: #352A15;
    --attention-bord: #D39A3E;
    --attention-texte: #F0C47A;
    --urgence-fond: #3A1D16;
    --urgence-bord: #E0735A;
    --urgence-texte: #F4A08C;
    --focus-trait: #121816;
    --bord-feuille: #8C9792;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 18px/1.6 var(--sans); }
@media (min-width: 640px) { body { font-size: 19px; } }
img, svg { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cadre { max-width: 680px; margin: 0 auto; padding: 0 var(--e4); }
@media (min-width: 640px) { .cadre { padding: 0 var(--e5); } }

/* Liens et focus (modèle GOV.UK : jaune + trait foncé) */
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: none; background: var(--focus); color: #1A2421; box-shadow: 0 -2px var(--focus), 0 4px #1A2421; text-decoration: none; }
button:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus-trait); outline-offset: 0; background: var(--focus); color: #1A2421; box-shadow: 0 4px 0 #1A2421; }
h1:focus, h2[tabindex]:focus, main:focus { outline: none; }

/* En-tête, pied */
.haut { background: var(--surface); border-bottom: 1px solid var(--trait); }
.haut-ligne { display: flex; justify-content: space-between; align-items: center; gap: var(--e4); min-height: 64px; flex-wrap: wrap; }
.marque { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 22px/1.2 var(--titre); color: var(--texte); text-decoration: none; }
.marque svg { color: var(--accent); flex: none; }
.signature { font-size: 16px; color: var(--texte-doux); }
@media (max-width: 639px) { .signature { display: none; } }

.bas { border-top: 4px solid var(--accent); padding: var(--e7) 0 var(--e8); font-size: 16px; line-height: 1.55; color: var(--texte-doux); }
.bas h2 { font: 700 16px/1.4 var(--sans); color: var(--texte); margin: var(--e5) 0 var(--e1); }
.bas h2:first-child { margin-top: 0; }
.bas p { margin: 0 0 var(--e2); }
.bas .asso { border-top: 1px solid var(--trait); margin-top: var(--e5); padding-top: var(--e4); }

main.cadre { padding-top: var(--e6); padding-bottom: var(--e9); min-height: 60vh; }
@media (min-width: 640px) { main.cadre { padding-top: 56px; } }

/* Typographie */
h1 { font: 600 30px/1.2 var(--titre); margin: 0 0 var(--e4); letter-spacing: -0.005em; }
h2 { font: 700 24px/1.25 var(--sans); margin: var(--e7) 0 var(--e3); }
h3 { font: 700 20px/1.3 var(--sans); margin: 28px 0 var(--e2); }
@media (min-width: 640px) {
  h1 { font-size: 40px; line-height: 1.15; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }
}
p { margin: 0 0 var(--e4); max-width: 34em; }
.chapo { font-size: 20px; line-height: 1.5; }
@media (min-width: 640px) { .chapo { font-size: 22px; } }
.petit, .source { font-size: 16px; line-height: 1.5; color: var(--texte-doux); }
.etiquette { display: block; font: 700 16px/1.4 var(--sans); color: var(--texte-doux); margin-bottom: var(--e1); }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 10px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border: 0; border-radius: 6px; cursor: pointer;
  font: 700 19px/1.2 var(--sans); text-decoration: none;
  background: var(--accent); color: var(--sur-accent); box-shadow: 0 3px 0 var(--ombre-bouton);
}
.btn:hover { background: var(--accent-survol); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ombre-bouton); }
.btn-second { background: var(--surface); color: var(--accent); border: 2px solid var(--accent); box-shadow: none; padding: 10px 20px; }
.btn-second:hover { background: var(--accent-fond); }
.btn-second:active { transform: none; box-shadow: none; }
.btn-lien {
  background: none; border: 0; padding: 8px 2px; min-height: 44px; cursor: pointer;
  font: 400 18px/1.4 var(--sans); color: var(--accent);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.btn-lien:hover { text-decoration-thickness: 3px; }
.actions { display: flex; gap: var(--e4); align-items: center; flex-wrap: wrap; margin-top: var(--e6); }
@media (max-width: 639px) {
  .actions .btn { width: 100%; }
}
.retour { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; margin: 0 0 var(--e4); }

/* Accueil */
.fil { display: block; width: 100%; max-width: 320px; height: auto; color: var(--accent); margin: 0 0 var(--e5); }
.points { list-style: none; padding: 0; margin: var(--e5) 0 var(--e6); }
.points li { position: relative; padding-left: 24px; margin-bottom: var(--e4); }
.points li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rassure { font-size: 16px; color: var(--texte-doux); margin-top: var(--e5); }

/* Encarts : info, attention, urgence */
.encart { padding: var(--e4) 20px; border-radius: 0 6px 6px 0; margin: var(--e5) 0; border-left: 6px solid; }
.encart p:last-child { margin-bottom: 0; }
.encart-titre { font-weight: 700; font-size: 18px; margin: 0 0 var(--e1); }
.encart.info { background: var(--accent-fond); border-color: var(--accent); }
.encart.attention { background: var(--attention-fond); border-color: var(--attention-bord); }
.encart.attention .encart-titre { color: var(--attention-texte); }
.encart.urgence { background: var(--urgence-fond); border-color: var(--urgence-bord); }
.encart.urgence .encart-titre { color: var(--urgence-texte); }
.numeros { display: flex; gap: var(--e5); flex-wrap: wrap; margin: var(--e2) 0 0; }
.numeros a { display: inline-flex; align-items: center; min-height: 44px; font-size: 24px; font-weight: 700; color: var(--texte); }

/* Progression des questions : le fil horizontal */
.progression { display: flex; align-items: center; gap: 0; height: 24px; margin: 0 0 var(--e2); max-width: 260px; }
.progression .pt { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--bord-champ); background: var(--surface); }
.progression .pt.fait { background: var(--accent); border-color: var(--accent); }
.progression .pt.courant { width: 16px; height: 16px; border: 3px solid var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-fond); }
.progression .lien { flex: 1; height: 0; border-top: 2px dotted var(--bord-champ); margin: 0 4px; }
.progression .lien.fait { border-top-color: var(--accent); }
.compteur { display: block; font-size: 16px; color: var(--texte-doux); margin-bottom: var(--e3); }

/* Choix : radio et cases redessinés */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; display: block; width: 100%; }
.mode-reponse { font-weight: 700; font-size: 17px; color: var(--texte-doux); margin: 0 0 var(--e3); }
.choix { display: grid; gap: var(--e3); margin-top: var(--e3); }
.choix label {
  position: relative; display: block; cursor: pointer; min-height: 64px;
  padding: 16px 16px 16px 60px; background: var(--surface);
  border: 2px solid var(--bord-champ); border-radius: 8px;
  font-weight: 700; font-size: 19px; line-height: 1.35;
}
@media (min-width: 640px) { .choix label { font-size: 20px; } }
.choix label:hover { border-color: var(--accent); }
.choix .sous { display: block; font-weight: 400; font-size: 17px; line-height: 1.45; color: var(--texte-doux); margin-top: var(--e1); }
.choix input {
  appearance: none; -webkit-appearance: none; margin: 0;
  position: absolute; left: 16px; top: 16px; width: 28px; height: 28px;
  border: 2px solid var(--texte); background: var(--surface); cursor: pointer;
}
.choix input[type="radio"] { border-radius: 50%; }
.choix input[type="radio"]:checked { background: radial-gradient(circle, var(--accent) 0 6.5px, var(--surface) 7.5px); border-color: var(--accent); }
.choix input[type="checkbox"] { border-radius: 4px; }
.choix input[type="checkbox"]:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
  border-color: var(--accent);
}
.choix label:has(input:checked) { border: 3px solid var(--accent); padding: 15px 15px 15px 59px; background: var(--accent-fond); }
.choix label:has(input:checked) input { left: 15px; top: 15px; }
.choix label:has(input:focus-visible) { outline: 3px solid var(--focus-trait); box-shadow: 0 0 0 7px var(--focus); }
.choix input:focus-visible { outline: none; }
.erreur { border-left: 6px solid var(--urgence-bord); padding: var(--e1) 0 var(--e1) var(--e4); font-weight: 700; color: var(--urgence-texte); margin: 0 0 var(--e4); }

/* Plan */
.sommaire { background: var(--surface); border: 1px solid var(--bord-champ); border-radius: 8px; padding: 20px 20px 8px; margin: var(--e5) 0 var(--e6); }
.sommaire h2 { font-size: 20px; margin: 0 0 var(--e3); }
.sommaire ol { margin: 0; padding-left: 1.6em; }
.sommaire li { font-size: 18px; margin-bottom: var(--e3); padding-left: 4px; }
.sommaire li::marker { font-weight: 700; color: var(--accent); }
.outils-plan { display: flex; justify-content: flex-end; margin: 0 0 var(--e2); }

.plan { list-style: none; padding: 0; margin: 0; counter-reset: plan; }
.plan > li { counter-increment: plan; position: relative; padding: 0 0 var(--e6) 56px; margin: 0; }
.plan > li::before {
  content: counter(plan); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--accent); color: var(--accent);
  font: 700 20px/34px var(--sans); text-align: center;
}
.plan > li::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; border-left: 3px dotted var(--bord-champ); }
.plan > li:last-child::after { display: none; }
.plan h2 { margin: 4px 0 var(--e2); font-size: 22px; scroll-margin-top: 16px; }
@media (min-width: 640px) { .plan h2 { font-size: 24px; } }
.plan .faire { font-size: 19px; margin-bottom: var(--e3); }
.plan .boutons-lettre { display: flex; gap: var(--e3); flex-wrap: wrap; margin: 0 0 var(--e3); }
@media (max-width: 639px) {
  .plan > li { padding-left: 0; padding-top: 0; }
  .plan > li::before { position: static; float: left; width: 36px; height: 36px; font-size: 18px; line-height: 30px; margin: 0 var(--e3) var(--e1) 0; }
  .plan .faire { clear: left; }
  .plan h2 { padding-top: 2px; }
  .plan > li::after { display: none; }
  .plan > li > .etape-tete { display: flex; gap: var(--e3); align-items: flex-start; }
  .plan > li { border-bottom: 1px solid var(--trait); padding-bottom: var(--e5); margin-bottom: var(--e5); }
  .plan > li:last-child { border-bottom: 0; }
}
details.detail { margin-top: var(--e2); }
details.detail > summary {
  display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 18px; color: var(--accent);
}
details.detail > summary::-webkit-details-marker { display: none; }
details.detail > summary::before {
  content: ""; width: 10px; height: 10px; flex: none; margin-left: 2px;
  border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg);
  transition: transform .15s ease;
}
details.detail[open] > summary::before { transform: rotate(45deg); }
details.detail > summary:hover { text-decoration: underline; text-underline-offset: 4px; }
details.detail > summary:focus-visible { outline: 3px solid var(--focus-trait); background: var(--focus); color: #1A2421; }
.detail-corps { padding: var(--e2) 0 0 var(--e1); border-left: 3px solid var(--trait); padding-left: var(--e4); margin-left: 6px; }
@media (prefers-reduced-motion: reduce) { details.detail > summary::before { transition: none; } }

.contacts { background: var(--surface); border: 2px solid var(--accent); border-radius: 8px; padding: var(--e5); margin-top: var(--e6); }
.contacts h2 { margin-top: 0; }
.contacts dl { margin: 0; }
.contacts dt { font-weight: 700; margin-top: var(--e4); }
.contacts dt:first-child { margin-top: 0; }
.contacts dd { margin: var(--e1) 0 0; color: var(--texte-doux); font-size: 17px; }
.contacts .tel-fort { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 700; color: var(--texte); }

/* Lettres */
.lettre-grille { display: block; }
@media (min-width: 900px) {
  main.cadre.large { max-width: 1040px; }
  .lettre-grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--e6); align-items: start; }
  .lettre-grille .colonne-apercu { position: sticky; top: var(--e5); }
  .lettre-grille .colonne-apercu h2 { margin-top: 0; }
}
.lettre-form { display: grid; gap: var(--e5); margin: var(--e5) 0; }
.lettre-form label { font-weight: 700; font-size: 18px; display: grid; gap: var(--e2); }
.lettre-form input, .lettre-form textarea, .lettre-form select {
  font: 400 18px/1.4 var(--sans); padding: 12px 14px; min-height: 52px; width: 100%;
  border: 2px solid var(--bord-champ); border-radius: 6px; background: var(--surface); color: var(--texte);
}
.lettre-form textarea { min-height: 120px; resize: vertical; }
.lettre-form input:focus, .lettre-form textarea:focus, .lettre-form select:focus {
  outline: 3px solid var(--focus-trait); outline-offset: 0; border-color: var(--texte); box-shadow: 0 0 0 7px var(--focus);
}
.apercu {
  background: #FFFFFF; color: #1A1A1A; font: 400 17px/1.6 "Source Serif 4", Georgia, serif;
  white-space: pre-wrap; padding: 28px 20px; border: 1px solid var(--bord-feuille); border-top: 6px solid var(--accent);
  border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
}
@media (min-width: 640px) { .apercu { padding: 48px 56px; } }
.vide { background: var(--vide-fond); color: var(--vide-texte); padding: 1px 4px; border-radius: 3px; border-bottom: 1px dotted #4D3D00; }
.saut-lettre { display: none; }
@media (max-width: 899px) {
  .saut-lettre {
    display: flex; justify-content: space-between; gap: var(--e4); position: sticky; bottom: 0; z-index: 2;
    background: var(--surface); border-top: 1px solid var(--bord-champ); padding: 6px var(--e4); margin: var(--e5) calc(-1 * var(--e4)) 0;
  }
  .saut-lettre a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
}

/* Impression */
@media print {
  .demo, .haut, .bas, .actions, .pas-imprimer, .saut-lettre, .outils-plan, .retour, .sommaire { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  main.cadre { padding: 0; max-width: none; }
  .apercu { border: 0; box-shadow: none; padding: 0; font-size: 12pt; }
  .plan > li::before { border-color: #000; color: #000; }
  .plan > li::after { display: none; }
  details.detail > summary { display: none; }
  .detail-corps { border: 0; padding-left: 0; }
  a { color: #000; }
}

a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 639px) {
  .detail-corps { border-left: 0; padding-left: 0; margin-left: 0; }
}
.saut-lettre a { white-space: nowrap; }

/* Corrections de l'audit */
@media (prefers-color-scheme: dark) {
  .choix input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230D1A14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
.apercu { overflow-wrap: anywhere; }
.imprime-seul { display: none; }
@media print {
  .imprime-seul { display: block; }
  .boutons-lettre, .contacts .tel-fort + br { display: none !important; }
  .encart { border: 1px solid #000; border-left-width: 4px; background: #fff; }
}

.retour > span[aria-hidden="true"] { margin-right: 0.35em; }

/* Menu du site et pages fixes */
.nav-site { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav-site a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--texte); text-decoration: none; border-bottom: 3px solid transparent; }
.nav-site a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-site a[aria-current="page"] { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }
@media (max-width: 639px) {
  .haut-ligne { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 4px; }
  .nav-site { gap: 0 16px; }
  .nav-site a { font-size: 16px; }
}
main.page-fixe { padding-bottom: var(--e8); }
.guide-corps { margin-top: var(--e5); }
.guide-corps h3 { margin-top: var(--e6); }
.parcours-rappel { margin-top: var(--e6); }
.liste-demarches { list-style: none; padding: 0; margin: 0 0 var(--e5); border-top: 1px solid var(--trait); }
.liste-demarches li { border-bottom: 1px solid var(--trait); padding: var(--e4) 0; margin: 0; }
.liste-demarches a { display: inline-block; font-weight: 700; font-size: 20px; line-height: 1.3; margin-bottom: var(--e1); }
.liste-demarches span { display: block; color: var(--texte-doux); font-size: 17px; }
.lexique { margin: var(--e5) 0; }
.lexique .terme { border-bottom: 1px solid var(--trait); padding: var(--e4) 0; }
.lexique dt { font-weight: 700; font-size: 19px; scroll-margin-top: 16px; }
.lexique dd { margin: var(--e1) 0 0; }

/* Palette 2026 : fond blanc, bande sapin, touche chaude en décoration seulement */
.marque svg { color: var(--chaud); }
.hero {
  background: var(--hero-fond); color: var(--hero-texte);
  margin: calc(-1 * var(--e6)) calc(50% - 50vw) var(--e6);
  padding: var(--e7) calc(50vw - 50%) var(--e7);
}
@media (min-width: 640px) { .hero { margin-top: -56px; padding-top: 64px; padding-bottom: 64px; } }
.hero h1 { color: var(--hero-texte); }
.hero .chapo { color: var(--hero-doux); }
.hero .fil { color: var(--hero-fil); }
.hero .fil circle[fill="var(--surface)"] { fill: var(--hero-fond); }
.hero .points li { color: var(--hero-texte); }
.hero .points li::before { background: var(--hero-fil); }
.hero .actions { margin-top: var(--e5); }
.hero .btn { background: #FFFFFF; color: #12402F; box-shadow: 0 3px 0 #0B2A20; }
.hero .btn:hover { background: #EEF5F1; }
@media (prefers-color-scheme: dark) {
  .hero .btn { background: #F4F1EA; color: #0D1A14; box-shadow: 0 3px 0 #08130F; }
}
.etiquette, .compteur { color: var(--chaud); font-weight: 700; }
.sommaire { background: var(--bande); border-color: transparent; }
.bas { background: var(--bande); border-top-color: var(--accent); }
.parcours-rappel { background: var(--bande); }
.plan > li::after { border-left-color: var(--hero-fil); }

html, body { overflow-x: clip; }

/* ---- Corrections de l'audit complet (11 octobre 2026) ---- */
/* Lien d'évitement (RGAA 12.7) */
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 10; }
.evitement:focus { left: 16px; background: var(--focus); color: #1A2421; padding: 8px 12px; font-weight: 700; outline: 3px solid #1A2421; }
/* Focus visible sur le bouton blanc de la bande verte */
.hero .btn:focus-visible { background: var(--focus); color: #1A2421; outline: 3px solid #FFFFFF; outline-offset: 2px; box-shadow: 0 4px 0 #1A2421; }
.hero-lien { margin: var(--e5) 0 0; }
.hero-lien a { color: var(--hero-texte); font-weight: 700; }
.points-clairs li::before { background: var(--accent); }
/* Titres d'encart devenus de vrais titres */
.encart-titre { font: 700 18px/1.4 var(--sans); margin: 0 0 var(--e1); }
/* Récapitulatif des réponses */
.recap { border: 1px solid var(--bord-champ); border-radius: 8px; padding: var(--e4) 20px; margin: var(--e5) 0; }
.recap h2 { font-size: 20px; margin: 0 0 var(--e2); }
.recap dl { margin: 0; }
.recap-ligne { display: grid; grid-template-columns: 1fr auto; gap: 0 var(--e4); padding: var(--e3) 0; border-top: 1px solid var(--trait); }
.recap-ligne:first-child { border-top: 0; }
.recap dt { grid-column: 1; font-weight: 700; font-size: 16px; color: var(--texte-doux); }
.recap dd { grid-column: 1; margin: 0; }
.recap dd.recap-modif { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.recap-modif a { display: inline-flex; align-items: center; min-height: 44px; }
/* Démarches complémentaires, sans numéro */
.sommaire-autres { font-weight: 700; margin: var(--e3) 0 var(--e2); }
.sommaire ul { margin: 0 0 var(--e3); padding-left: 1.6em; }
.sommaire ul li { font-size: 18px; margin-bottom: var(--e3); }
.titre-autres { margin-top: var(--e6); }
.plan-autres > li::before { content: ""; width: 18px; height: 18px; top: 10px; left: 11px; background: var(--hero-fil); border: 0; }
.plan-autres > li::after { display: none; }
@media (max-width: 639px) { .plan-autres > li::before { margin: 8px var(--e3) 0 4px; } }
/* Liens qui ouvrent un nouvel onglet */
.ext { font-size: 0.85em; }
/* Menu sur une seule ligne sur petit téléphone */
@media (max-width: 639px) {
  .nav-site { width: 100%; justify-content: space-between; gap: 0 10px; }
  .nav-site a { font-size: 16px; }
}
/* Barre "Voir la lettre" : elle ne colle plus quand l'écran est très zoomé */
@media (max-height: 500px) { .saut-lettre { position: static; } }
/* Mode contraste élevé de Windows : on rend les vraies cases du système */
@media (forced-colors: active) {
  .choix input { appearance: auto; -webkit-appearance: auto; width: 24px; height: 24px; background: none; }
  .choix label:has(input:checked) { border-color: Highlight; }
  .encart, .recap, .sommaire, .apercu { border: 2px solid CanvasText; }
}
/* Impression */
@media print {
  .contacts .tel-fort { display: block; font-size: 14pt; }
  .guide-corps a[href^="http"]::after, .plan a[href^="http"]::after, .contacts a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  .ext, .recap-modif, .outils-plan, .evitement { display: none !important; }
  .vide { background: none !important; color: transparent !important; border-bottom: 1px dotted #000; display: inline-block; min-width: 12em; }
  .recap { border: 1px solid #000; }
}
