/* ==========================================================================
   components.css · Domiciliation Afrique · Direction artistique v1.1, révision v7 (29 nov. 2026)
   Dépend de tokens.css (à charger avant). Aucune dépendance externe, aucun JavaScript requis.
   v1.1 (ajouts seulement, rien de retiré) : sup, .show-wide/.show-narrow, .split, .page-head, .facts, .plan__mail,
   .plans__foot, .trust__lines/.trust__links, .checklist, .audience, .flag-strip, .brand__desc, .doc-figure/.doc__marker/.call,
   .verify__fieldset/__legend/__privacy ; .stage--tail (ruban en pied, téléphone) ; bascule en-tête/menu à 1180 px (960 px auparavant) ;
   .dialog = contact rapide uniquement (l'exemple d'attestation est une section #exemple, plus une fenêtre).
   v7 (C-01 seulement) : « Changer de ville » de l'en-tête (.brand__city) : lien de 24 px de haut (inline-flex) et ligne remontée de 2 px,
   pour la cible minimale de WCAG 2.2 (critère 2.5.8, règle target-size d'axe-core) ; correctifs-maquette.css passe lui aussi en v7.

   Conventions : classes courtes, modificateurs en « -- », éléments en « __ ».
   Les composants lisent des RÔLES (--bg, --ink, --action…) : sur fond foncé, ajouter .on-stage
   ou .on-deep à la section, rien d'autre à changer.
   Icônes : SVG en ligne, <svg class="icon" aria-hidden="true"><use href="#i-nom"/></svg>,
   avec le bloc assets/icons/icones-sprite.svg collé UNE FOIS en haut du <body> (une référence
   externe vers un fichier .svg ne fonctionne pas en ouverture directe par double-clic).
   ========================================================================== */

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--fw-regular) var(--fs-body)/var(--lh-body) var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: var(--fw-bold); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-heading); letter-spacing: var(--track-h2); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: var(--track-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: var(--track-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: -.01em; }
p { text-wrap: pretty; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--green-ink); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--amber-200); color: var(--ink-900); }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -4rem; z-index: 100; padding: .6rem 1rem;
  border-radius: var(--r-md); background: var(--ink-900); color: #fff; font-weight: var(--fw-semibold);
}
.skip-link:focus { top: var(--s-3); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
sup { font-size: .65em; line-height: 0; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
/* Deux mises en page d'un même contenu (ex. comparatif : tableau dès 900 px, accordéons en dessous) */
.show-wide { display: none; }
@media (min-width: 900px) { .show-wide { display: block; } .show-narrow { display: none; } }

/* ---------- 2. Typographie ---------- */
.h-hero { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--track-hero); font-weight: var(--fw-bold); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); }
.lead strong { color: var(--ink); font-weight: var(--fw-semibold); }
.eyebrow { font-size: var(--fs-label); font-weight: var(--fw-semibold); color: var(--green-ink); letter-spacing: .01em; }
.muted { color: var(--muted); }
.fine { font-size: var(--fs-label); line-height: 1.5; color: var(--subtle); }
.mono, .matricule { font-family: var(--font-mono); font-weight: 500; letter-spacing: var(--track-mono); }
.matricule { letter-spacing: .08em; text-transform: uppercase; }
.measure { max-width: 62ch; }

/* ---------- 3. Mise en page ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--alt { background: var(--surface-alt); }
.section-head { display: grid; gap: var(--s-3); max-width: 46rem; margin-bottom: var(--s-7); }
/* En-tête d'une page intérieure (Vérification) : titre h1, chapeau, une phrase */
.page-head { display: grid; gap: var(--s-3); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--s-6); }
.page-head > * { max-width: 46rem; }
.page-head h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--track-hero); }
.section--flush-top { padding-top: 0; }
/* Deux colonnes dès 960 px (texte + objet), une seule en dessous ; --split-cols pour changer les proportions */
.split { display: grid; gap: var(--s-7) var(--s-8); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: var(--split-cols, repeat(2, minmax(0, 1fr))); } }
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--s-3)); }
.flag-band { height: 5px; background: var(--flag); }
@media (max-width: 639px) { .flag-band { height: 4px; } }

/* ---------- 4. Boutons ---------- */
.btn {
  --_bg: var(--action); --_ink: var(--action-ink); --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--btn-h); padding: 0 var(--s-5);
  border: 1px solid var(--_bd); border-radius: var(--r-md);
  background: var(--_bg); color: var(--_ink);
  font: var(--fw-semibold) 1rem/1.2 var(--font); text-align: center; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:hover { --_bg: var(--action-hover); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { width: 1.2em; height: 1.2em; transition: transform var(--dur-2) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:hover .icon--go { transform: translateX(3px); }
}
.btn--secondary { --_bg: transparent; --_ink: var(--secondary-ink); --_bd: var(--action); }
.btn--secondary:hover { --_bg: var(--hover-tint); }
.btn--ghost { --_bg: transparent; --_ink: var(--secondary-ink); --_bd: transparent; padding-inline: var(--s-3); }
.btn--ghost:hover { --_bg: var(--hover-tint); }
.btn--sm { min-height: var(--btn-h-sm); padding: 0 var(--s-4); font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 var(--s-6); font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--icon { width: var(--tap); min-height: var(--tap); padding: 0; }
.btn--icon .icon { width: 1.5rem; height: 1.5rem; }
.btn:disabled, .btn[aria-disabled="true"] { --_bg: var(--stone-200); --_ink: var(--stone-600); --_bd: transparent; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"]::after {
  content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: da-spin .7s linear infinite;
}
@keyframes da-spin { to { transform: rotate(360deg); } }

/* ---------- 5. Liens ---------- */
.link { color: var(--green-ink); font-weight: var(--fw-semibold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.link:hover { text-decoration-thickness: 2px; }
.link--go { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); text-decoration: none; }
.link--go:hover { text-decoration: underline; }

/* ---------- 6. Champs de formulaire ---------- */
.field { display: grid; gap: var(--s-2); align-content: start; min-width: 0; }
.field__label { font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.field__hint { font-size: var(--fs-label); color: var(--subtle); }
.field__error { display: none; align-items: flex-start; gap: 6px; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--bad); }
.field__error .icon { width: 1.1em; height: 1.1em; margin-top: .15em; }
.field--error .field__error { display: flex; }
.input, .select, .textarea {
  width: 100%; min-height: var(--field-h); padding: 0 var(--s-4);
  border: 1px solid var(--control-line); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.3;
  -webkit-appearance: none; appearance: none;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--subtle); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--stone-700); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.on-stage .input:focus-visible, .on-stage .select:focus-visible { box-shadow: 0 0 0 3px rgb(242 169 0 / .45); border-color: var(--amber-500); }
.select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B524B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.textarea { min-height: 128px; padding: var(--s-3) var(--s-4); resize: vertical; }
.input--matricule { font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--bad); box-shadow: 0 0 0 1px var(--bad); }
.input-group { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: var(--s-2); align-items: end; }
.fields { display: grid; gap: var(--s-4); }
.fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 479px) { .fields--2 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: var(--s-3); min-height: var(--tap); padding-block: 10px; font-size: var(--fs-small); color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }

/* Résumé d'erreurs et messages d'état d'un formulaire */
.form-summary { display: none; gap: var(--s-2); padding: var(--s-4); border: 1px solid var(--bad-line); border-radius: var(--r-md); background: var(--bad-bg); color: #7A1A14; font-size: var(--fs-small); }
.form-summary:not([hidden]) { display: grid; }
.form-summary__title { font-weight: var(--fw-bold); }
.form-summary ul { margin: 0; padding-left: 1.1em; }
.form-summary a { color: inherit; font-weight: var(--fw-semibold); }
.form-state { display: grid; justify-items: start; gap: var(--s-3); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.form-state__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: -.01em; }
.form-state--ok { background: var(--ok-bg); border-color: var(--ok-line); }
.form-state--bad { background: var(--bad-bg); border-color: var(--bad-line); }
.form-note { padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--amber-100); color: var(--amber-800); font-size: var(--fs-label); font-weight: var(--fw-semibold); }

/* ---------- 7. Pastilles d'état ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: var(--fs-label); font-weight: var(--fw-semibold); line-height: 1; white-space: nowrap;
}
.pill .icon { width: 14px; height: 14px; }
.pill--open { background: var(--green); color: #fff; }
.pill--open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-500); }
.pill--soon { background: var(--green-50); border-color: var(--green-200); color: var(--green-700); }
.pill--amber { background: var(--amber-500); color: var(--ink-900); }
.pill--amber-soft { background: var(--amber-100); border-color: var(--amber-200); color: var(--amber-800); }
.pill--ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.pill--warn { background: var(--warn-bg); border-color: var(--amber-300); color: var(--warn); }
.pill--bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.pill--xs { min-height: 22px; padding: 0 8px; font-size: .75rem; }
.on-stage .pill--soon { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .28); color: #fff; }

/* ---------- 8. Cartes ---------- */
.card { padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.card--flat { box-shadow: none; }
.card--tint { background: var(--tint); border-color: var(--green-200); box-shadow: none; }
.tool-card { padding: clamp(20px, 3vw, 40px); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); }
@media (hover: hover) and (pointer: fine) {
  a.card { color: inherit; text-decoration: none; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
  a.card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
}

/* ---------- 9. Forfaits (cartes différenciées par le niveau de courrier : 1, 2, 3 feuilles ; prix mensuel) ---------- */
.plans { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1);
}
.plan__head { display: flex; align-items: center; gap: var(--s-4); }
.plan__glyph { width: 56px; height: 56px; flex: none; }
.plan__name { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: var(--track-h3); font-weight: var(--fw-bold); }
.plan__tagline { margin-top: 2px; color: var(--muted); font-size: var(--fs-small); }
.plan__who { color: var(--muted); font-size: var(--fs-small); }
.plan__price { display: grid; gap: 4px; padding-block: var(--s-2); }
.plan__amount { font-size: var(--fs-price); line-height: 1; letter-spacing: -.035em; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.plan__unit { color: var(--muted); font-size: var(--fs-small); }
.plan__includes { font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.plan__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan__list li {
  position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line);
  font-size: var(--fs-small); line-height: 1.45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7646' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") 0 11px / 20px no-repeat;
}
.plan__list li.is-off {
  color: var(--subtle);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666B64' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
}
.on-stage .plan__list li, .plan--featured .plan__list li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A900' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.plan__cta { margin-top: auto; }
/* Niveau de courrier : la ligne qui distingue les trois forfaits (avec le pictogramme à 1, 2 ou 3 feuilles) */
.plan__mail { display: grid; gap: 2px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-alt); }
.plan__mail-label { font-size: var(--fs-label); font-weight: var(--fw-semibold); color: var(--green-ink); }
.plan__mail strong { font-size: var(--fs-small); font-weight: var(--fw-bold); line-height: 1.35; }
.plan__mail--none { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.plan__mail--none .plan__mail-label, .plan__mail--none strong { color: var(--subtle); font-weight: var(--fw-semibold); }
/* Pied des cartes : lien « Comparer les forfaits en détail », puis offre et frais dits une fois */
.plans__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); }
.plan--featured { background: var(--stage); border-color: transparent; box-shadow: var(--sh-3); }
.plan__tab { position: absolute; top: 0; left: var(--s-5); transform: translateY(-50%); }
/* Offre dite une seule fois (pas de badge sur chaque carte) */
.offer { display: inline-block; padding: 9px var(--s-4) 9px var(--s-3); border: 1px solid var(--amber-300); border-radius: 22px; background: var(--amber-100); color: var(--amber-800); font-weight: var(--fw-bold); font-size: .9375rem; line-height: 1.3; }
.offer .icon { display: inline-block; width: 20px; height: 20px; margin-right: var(--s-2); vertical-align: -5px; }

/* Comparatif des forfaits (option de mise en page, mêmes faits que les cartes) */
.compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); }
.compare caption { text-align: left; font-weight: var(--fw-bold); font-size: var(--fs-h4); padding: var(--s-4) var(--s-3) var(--s-3); }
.compare th, .compare td { padding: 12px var(--s-3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-size: 1rem; font-weight: var(--fw-bold); border-bottom: 2px solid var(--line-strong); }
.compare thead th:first-child, .compare tbody th { width: 38%; }
.compare tbody th { font-weight: var(--fw-regular); color: var(--ink); }
.compare td { color: var(--muted); }
.compare td .icon { width: 20px; height: 20px; color: var(--green-ink); }
.compare td .icon--off { color: var(--subtle); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare-wrap .compare { min-width: 640px; }

/* ---------- 10. Étapes « Comment ça marche » ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); align-items: start; }
.steps__item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s-4); row-gap: 4px; align-content: start; }
.steps__num {
  grid-row: span 2; position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1.5px solid var(--green); border-radius: 50%; background: var(--surface); color: var(--green-ink);
  font: 500 .9375rem/1 var(--font-mono);
}
.steps__item:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: calc(-1 * var(--s-6) + 4px); width: 2px; background: var(--green-200); }
.steps__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: -.01em; line-height: 1.3; padding-top: 10px; }
.steps__text { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.steps__item--final .steps__num { background: var(--green); border-color: var(--green); color: #fff; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
  .steps__item { grid-template-columns: 1fr; row-gap: var(--s-3); }
  .steps__num { grid-row: auto; }
  .steps__item:not(:last-child)::after { left: 60px; right: calc(-1 * var(--s-5) + 12px); top: 23px; bottom: auto; width: auto; height: 2px; }
  .steps__title { padding-top: 0; }
}

/* ---------- 11. Questions fréquentes (accordéon natif <details>) ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-4) 0; list-style: none; cursor: pointer;
  font-size: 1.125rem; font-weight: var(--fw-semibold); line-height: 1.35;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5E37' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color var(--dur-2) var(--ease), transform var(--dur-3) var(--ease);
}
.faq__item > summary:hover { color: var(--green-ink); }
.faq__item[open] > summary::after {
  background-color: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5E37' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}
.faq__a { max-width: 46rem; padding: 0 var(--s-8) var(--s-5) 0; color: var(--muted); }
.faq__a > * + * { margin-top: var(--s-3); }
@media (max-width: 639px) { .faq__a { padding-right: 0; } }
.faq-group + .faq-group { margin-top: var(--s-7); }
.faq-group__title { margin-bottom: var(--s-3); font-size: var(--fs-h4); }

/* Liste à coches (« Ce que vous envoyez », pièces du dossier) */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { position: relative; padding-left: 36px; min-height: 26px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5E37' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.on-stage .checklist li::before, .on-deep .checklist li::before {
  background-color: rgb(255 255 255 / .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BD4AF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- 12. Confiance et éditeur ---------- */
.trust { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust__item { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.trust__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--green-100); color: var(--green-700); }
.trust__icon .icon { width: 24px; height: 24px; }
.trust__title { font-size: 1.0625rem; font-weight: var(--fw-bold); line-height: 1.3; }
.trust__text { color: var(--muted); font-size: var(--fs-small); }
.trust__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.trust__links { display: grid; gap: var(--s-2); justify-items: start; font-size: var(--fs-small); }
.publisher { display: grid; gap: var(--s-4); padding: var(--s-5); background: var(--tint); border: 1px solid var(--green-200); border-radius: var(--r-lg); }
.publisher__title { display: flex; align-items: center; gap: var(--s-3); font-size: 1.0625rem; font-weight: var(--fw-bold); }
.publisher dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px var(--s-5); font-size: var(--fs-small); }
.publisher dt { color: var(--subtle); }
.publisher dd { font-weight: var(--fw-medium); }
.publisher .matricule { text-transform: none; }
@media (max-width: 519px) { .publisher dl { grid-template-columns: 1fr; gap: 0; } .publisher dd { margin-bottom: var(--s-3); } }

/* ---------- 13. Villes : drapeaux, feuille de route, lignes de ville ---------- */
.flag { display: block; flex: none; width: 30px; height: 20px; border-radius: 3px; outline: 1px solid rgb(20 33 27 / .16); outline-offset: -1px; }
.flag--lg { width: 45px; height: 30px; border-radius: 4px; }
.flags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.city {
  display: flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md); color: var(--ink); text-decoration: none;
}
.city__name { font-weight: var(--fw-semibold); line-height: 1.25; }
.city__meta { display: block; font-size: var(--fs-small); font-weight: var(--fw-regular); color: var(--muted); }
.city__go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-semibold); color: var(--green-ink); }
a.city { transition: background-color var(--dur-2) var(--ease); }
a.city:hover { background: var(--hover-tint); text-decoration: none; }
a.city:hover .icon--go { transform: translateX(3px); }
.city--open { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--s-3); row-gap: var(--s-2); min-height: 72px; padding: var(--s-3) var(--s-4); background: var(--green-50); border: 1px solid var(--green-200); }
.city--open .city__go { grid-column: 1 / -1; margin-left: 0; }
.city--open .city__name { font-size: 1.1875rem; }
.city--open .flag { width: 42px; height: 28px; border-radius: 4px; }
.city--soon { cursor: default; }

.roadmap { position: relative; display: grid; gap: var(--s-5); padding-left: 28px; }
.roadmap__stage { position: relative; display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.roadmap__stage--open { border-color: var(--green); box-shadow: var(--sh-2); }
.roadmap__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.roadmap__year { font-size: var(--fs-h3); line-height: 1; font-weight: var(--fw-bold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.roadmap__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.roadmap__note { font-size: var(--fs-label); color: var(--subtle); }
/* rail : nœud + trait vers l'étape suivante */
.roadmap__stage::before { content: ""; position: absolute; left: -28px; top: 26px; width: 14px; height: 14px; border: 2px solid var(--green); border-radius: 50%; background: var(--bg); z-index: 1; }
.roadmap__stage--open::before { background: var(--green); box-shadow: 0 0 0 4px var(--amber-200); }
.roadmap__stage:not(:last-child)::after { content: ""; position: absolute; left: -22px; top: 42px; bottom: calc(-1 * var(--s-5) - 12px); width: 2px; background: var(--green-300); }
@media (min-width: 900px) {
  .roadmap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.05fr); padding-left: 0; padding-top: 36px; gap: var(--s-5); }
  .roadmap__stage::before { left: var(--s-5); top: -36px; }
  .roadmap__stage:not(:last-child)::after { left: calc(var(--s-5) + 14px); right: calc(-1 * var(--s-5)); top: -30px; bottom: auto; width: auto; height: 2px; }
  .roadmap__stage:nth-child(2)::after { background: var(--green-200); }
}

/* ---------- 14. Vérification d'une attestation ---------- */
.verify { display: grid; gap: var(--s-5); }
.verify__head { display: flex; align-items: flex-start; gap: var(--s-4); }
.verify__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--green-100); color: var(--green-700); }
.verify__icon .icon { width: 26px; height: 26px; }
.verify__title { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: var(--track-h3); font-weight: var(--fw-bold); }
.verify__intro { margin-top: 4px; color: var(--muted); font-size: var(--fs-small); }
.verify__form { display: grid; gap: var(--s-4); }
.verify__fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--s-4); }
.verify__legend { padding: 0; margin-bottom: var(--s-4); font-size: var(--fs-h3); line-height: 1.2; letter-spacing: var(--track-h3); font-weight: var(--fw-bold); }
.verify__result { display: grid; gap: var(--s-4); padding: var(--s-5); border: 1px solid transparent; border-radius: var(--r-lg); }
.verify__result:empty { display: none; }
.verify__status { display: flex; align-items: center; gap: var(--s-3); font-size: 1.25rem; font-weight: var(--fw-bold); letter-spacing: -.01em; line-height: 1.25; }
.verify__badge { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.verify__badge .icon { width: 24px; height: 24px; }
.verify__rows { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px var(--s-5); font-size: var(--fs-small); }
.verify__rows dt { color: var(--muted); }
.verify__rows dd { font-weight: var(--fw-semibold); }
.verify__foot { font-size: var(--fs-label); color: var(--muted); }
.verify__result--valid { background: var(--ok-bg); border-color: var(--ok-line); }
.verify__result--valid .verify__badge { background: var(--green-600); animation: da-stamp var(--dur-4) var(--ease-out) both; }
.verify__result--valid .verify__status { color: var(--green-800); }
.verify__result--expired { background: var(--warn-bg); border-color: var(--amber-300); }
.verify__result--expired .verify__badge { background: var(--amber-500); color: var(--ink-900); }
.verify__result--expired .verify__status { color: var(--amber-900); }
.verify__result--missing { background: var(--bad-bg); border-color: var(--bad-line); }
.verify__result--missing .verify__badge { background: var(--red-600); }
.verify__result--missing .verify__status { color: #7A1A14; }
.verify__result--unavailable { background: var(--warn-bg); border-color: var(--amber-300); }
.verify__result--unavailable .verify__badge { background: var(--amber-500); color: var(--ink-900); }
.verify__result--unavailable .verify__status { color: var(--amber-900); }
.verify__result--pending { background: var(--surface-alt); border-color: var(--line); }
.verify__result--pending .verify__badge { background: transparent; color: var(--green-700); }
.verify__result--pending .verify__badge::before { content: ""; width: 26px; height: 26px; border: 3px solid var(--green-200); border-top-color: var(--green-600); border-radius: 50%; animation: da-spin .8s linear infinite; }
.verify__result--pending .verify__badge .icon { display: none; }
.verify__qrnote { display: flex; align-items: center; gap: var(--s-2); padding: 10px var(--s-3); border-radius: var(--r-md); background: var(--green-100); color: var(--green-800); font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.verify__qrnote .icon { width: 20px; height: 20px; flex: none; }
.verify__privacy { display: flex; align-items: flex-start; gap: var(--s-2); }
.verify__privacy .icon { width: 16px; height: 16px; margin-top: .12em; flex: none; }
.verify__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
@keyframes da-stamp {
  0% { opacity: 0; transform: scale(1.6) rotate(-18deg); }
  60% { opacity: 1; transform: scale(.92) rotate(-3deg); }
  100% { opacity: 1; transform: scale(1) rotate(-6deg); }
}

/* ---------- 15. Héros clair : texte à gauche, objet-héros (l'attestation) à droite ---------- */
.hero { display: grid; gap: var(--s-7) var(--s-8); align-items: center; padding-block: clamp(2.5rem, 2rem + 3vw, 5.5rem); }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero__copy { display: grid; gap: var(--s-4); align-content: start; }
.hero__price { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: var(--track-h3); line-height: 1.2; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-2); }
@media (max-width: 519px) { .hero__actions { align-items: stretch; } .hero__actions > .btn { flex: 1 1 100%; } }
.pillars { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.pillars li { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-small); color: var(--muted); }
.pillars .pill { min-width: 5.6rem; justify-content: center; }
/* Trois faits sous les boutons du héros (coche + phrase courte) */
.facts { list-style: none; margin: var(--s-1) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: var(--s-2); }
.facts .icon { width: 18px; height: 18px; flex: none; color: var(--green-ink); }
.publisher-line { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-label); letter-spacing: .02em; color: var(--muted); }
/* Plaque menthe + guilloché derrière l'objet-héros (héros clair) */
.plate { position: absolute; inset: 6% -6% 2% 6%; z-index: 0; border-radius: var(--r-xl); background: var(--green-100); overflow: hidden; }
.plate::before { content: ""; position: absolute; inset: 0; background: url("assets/motif/guilloche-ruban-vert.svg") 50% 60% / 180% auto no-repeat; opacity: .9; }

/* ---------- 15b. Objet-héros : l'attestation (SVG en ligne) ---------- */
.hero-object { position: relative; isolation: isolate; width: min(100%, 460px); margin-inline: auto; padding: var(--s-6) var(--s-4) calc(var(--s-6) + 56px); }
.hero-object > .doc, .hero-object > .verify-chip, .hero-object > .hero-object__tag { position: relative; z-index: 1; }
.doc {
  display: block; border-radius: 14px; box-shadow: var(--sh-doc);
  transform: rotate(-3deg); transform-origin: 50% 70%;
  transition: transform var(--dur-4) var(--ease-out);
}
.doc > svg, .doc > img { display: block; width: 100%; height: auto; border-radius: 14px; }
.doc.doc--flat { transform: none; box-shadow: var(--sh-2); }
@media (hover: hover) and (pointer: fine) { .hero-object:hover .doc { transform: rotate(-1.5deg) translateY(-4px); } }
.hero-object__tag { position: absolute !important; left: 6%; top: var(--s-3); z-index: 3 !important; }
.verify-chip {
  position: absolute !important; right: -2%; bottom: 8px; z-index: 3 !important; display: flex; align-items: center; gap: var(--s-3);
  padding: 12px 18px 12px 12px; border-radius: var(--r-lg); background: #fff; color: var(--ink-900); box-shadow: var(--sh-3);
}
.verify-chip__badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green-600); color: #fff; }
.verify-chip__badge .icon { width: 22px; height: 22px; }
.verify-chip__title { display: block; font-weight: var(--fw-bold); font-size: .9375rem; line-height: 1.25; }
.verify-chip__meta { display: block; font-size: var(--fs-label); color: var(--stone-700); line-height: 1.3; }
/* Variante page ville : photo de la ville + attestation en recouvrement */
.hero-object--city { width: min(100%, 520px); padding-bottom: var(--s-6); }
.hero-object--city .photo { width: 78%; margin-left: auto; box-shadow: var(--sh-3); }
.hero-object--city .hero-object__doc { position: absolute; left: -2%; bottom: 3%; z-index: 2; width: 60%; }
.hero-object--city .hero-object__doc .doc { transform: rotate(-3deg); box-shadow: var(--sh-doc); }
.hero-object--city .hero-object__doc .hero-object__tag { left: 8%; top: -14px; }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .doc { animation: da-rise var(--dur-4) var(--ease-out) both; }
  [data-enter] .verify-chip { animation: da-pop var(--dur-4) var(--ease-out) .35s both; }
}
@keyframes da-rise { from { opacity: 0; transform: translateY(24px) rotate(-6deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes da-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- 16. Scène (fond vert profond + motif guilloché) ---------- */
.stage { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--stage); color: var(--ink); }
/* Le ruban reste là où il n'y a pas de texte : en bas sur téléphone, à droite sur écran large (fondu par un masque dégradé) */
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("assets/motif/guilloche-ruban-clair.svg") 50% 100% / 170% auto no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 0, #000 18%, transparent 46%);
  mask-image: linear-gradient(to top, #000 0, #000 18%, transparent 46%);
}
@media (min-width: 960px) {
  .stage::before {
    background-position: 100% 50%; background-size: auto 150%;
    -webkit-mask-image: linear-gradient(to left, #000 0, #000 22%, transparent 55%);
    mask-image: linear-gradient(to left, #000 0, #000 22%, transparent 55%);
  }
}
/* Variante pleine : le ruban couvre toute la scène (échantillon, bandeau sans texte) */
.stage--full::before { background: url("assets/motif/guilloche-ruban-clair.svg") 50% 78% / cover no-repeat; -webkit-mask-image: none; mask-image: none; }
.stage--flush { border-radius: 0; }
/* Variante « ruban en pied » (téléphone) : le texte occupe le haut, le ruban reste dans la bande du bas et ne traverse jamais le dernier lien
   (même règle que .contact-stage dans site.css de Développement web) */
@media (max-width: 959px) {
  .stage--tail { padding-bottom: calc(var(--section-y) + 5rem); }
  .stage--tail::before {
    -webkit-mask-image: linear-gradient(to top, #000 0, #000 3.5rem, transparent 7.5rem);
    mask-image: linear-gradient(to top, #000 0, #000 3.5rem, transparent 7.5rem);
  }
}
.guilloche { background: url("assets/motif/guilloche-ruban-vert.svg") 50% 50% / cover no-repeat; }

/* ---------- 17. Photo de ville ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-alt); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .photo:hover img { transform: scale(1.03); } }
.photo__chip {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: var(--r-pill); background: #fff; color: var(--ink-900);
  font-size: var(--fs-small); font-weight: var(--fw-semibold); box-shadow: var(--sh-2);
}

/* ---------- 18. Avis et notes ---------- */
.notice { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-4); background: var(--tint); border: 1px solid var(--green-200); border-radius: var(--r-md); font-size: var(--fs-small); color: var(--ink); }
.notice .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--green-700); }
.notice--warn { background: var(--warn-bg); border-color: var(--amber-300); }
.notice--warn .icon { color: var(--amber-800); }

/* ---------- 19. En-tête, navigation, menu mobile ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--ink); }
.brand__mark { display: block; flex: none; width: 40px; height: 40px; }
.brand__mark img { display: block; width: 100%; height: 100%; }
.brand__text { display: grid; gap: 2px; line-height: 1.1; }
.brand__name { color: var(--ink); font-size: 1.125rem; font-weight: var(--fw-bold); letter-spacing: -.02em; text-decoration: none; }
.brand__name:hover { text-decoration: none; }
.brand__city { display: flex; align-items: center; gap: 6px; margin-top: -2px; font-size: var(--fs-label); font-weight: var(--fw-medium); color: var(--subtle); }
.brand__city a { display: inline-flex; align-items: center; min-height: 24px; font-weight: var(--fw-semibold); }
.brand__city .flag { width: 18px; height: 12px; border-radius: 2px; }
/* Descripteur sous le nom (pied de page, partage) et variante grande */
.brand__desc { font-size: var(--fs-label); font-weight: var(--fw-medium); color: var(--muted); }
.brand--lg { gap: 14px; }
.brand--lg .brand__mark { width: 56px; height: 56px; }
.brand--lg .brand__name { font-size: 1.5rem; }
.brand--lg .brand__desc { font-size: .875rem; }
.nav { display: none; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3);
  color: var(--muted); font-size: .96875rem; font-weight: var(--fw-medium); text-decoration: none; white-space: nowrap;
}
.nav__link::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 8px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease); }
.nav__link:hover { color: var(--ink); text-decoration: none; }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__link[aria-current] { color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
/* Bouton « Menu » (téléphone) : texte + icône, 44 px, libellé « Fermer » quand le panneau est ouvert */
.menu-btn { min-height: var(--tap); padding-inline: var(--s-4); }
.menu-btn .icon--close, .menu-btn .menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open, .menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline; }
/* Ligne « Cotonou, Bénin · Changer de ville » sous la barre (téléphone et tablette) ; sous le logo à partir de 1180 px */
.site-header__sub { display: flex; align-items: center; gap: var(--s-2); min-height: 40px; border-top: 1px solid var(--line); font-size: var(--fs-label); color: var(--subtle); }
.site-header__sub .flag { width: 18px; height: 12px; border-radius: 2px; }
.site-header__sub a { color: var(--green-ink); font-weight: var(--fw-semibold); }
/* Navigation complète dès 1180 px (le libellé unique « Être contacté sur WhatsApp » et cinq liens n'entrent pas avant) ;
   en dessous : bouton « Menu », icône « Vérifier » et panneau */
@media (min-width: 1180px) {
  .nav { display: flex; }
  .site-header__actions { margin-left: var(--s-2); }
  .menu-btn, .site-header__verify { display: none; }
  .site-header__sub { display: none; }
}
@media (max-width: 1179px) { .site-header__actions .btn--wide { display: none; } .brand__city { display: none; } }
.menu { position: fixed; inset: var(--menu-top, var(--header-h)) 0 0 0; z-index: var(--z-menu); display: none; flex-direction: column; gap: var(--s-5); padding: var(--s-4) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom)); overflow-y: auto; background: var(--bg); }
.menu:not([hidden]) { display: flex; }
.menu__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu__link { display: flex; align-items: center; gap: var(--s-3); min-height: 60px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.1875rem; font-weight: var(--fw-semibold); text-decoration: none; }
.menu__link .icon { color: var(--green-ink); }
.menu__link .icon--lead { order: -1; }
.menu__link .icon--go { margin-left: auto; }
.menu__actions { display: grid; gap: var(--s-3); }
.menu__mail { display: flex; align-items: center; gap: var(--s-2); min-height: var(--tap); font-size: var(--fs-small); }
@media (min-width: 1180px) { .menu { display: none !important; } }

/* Barre d'action fixe (téléphone) : contact rapide à un geste. Masquée tant que le bouton du héros est visible. */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header); display: flex; gap: var(--s-2);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgb(6 32 22 / .08);
  transform: translateY(110%); visibility: hidden;
  transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
}
.actionbar[data-visible="true"] { transform: none; visibility: visible; transition-delay: 0s; }
.actionbar .btn { flex: 1; }
@media (min-width: 640px) { .actionbar { display: none; } }

/* ---------- 20. Pied de page ---------- */
.site-footer { padding: var(--s-8) 0 var(--s-6); background: var(--stage-deep); color: var(--ink); }
.site-footer__grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.35fr; gap: var(--s-7); } .site-footer__grid--3 { grid-template-columns: 1.7fr 1fr 1.3fr; } }
.site-footer__title { margin-bottom: var(--s-3); font-size: var(--fs-label); font-weight: var(--fw-semibold); color: var(--green-300); letter-spacing: .04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a.site-footer__mail { text-decoration: underline; text-underline-offset: .22em; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-label); color: var(--muted); }

/* ---------- 21. Fenêtre : contact rapide UNIQUEMENT ----------
   La fenêtre « Exemple d'attestation » n'existe plus (brief v2.5) : « Voir un exemple d'attestation » est un lien vers
   /verification/#exemple (section « Où trouver ces informations ? », spécimen annoté). Aucun style propre à cette fenêtre n'est conservé. */
.dialog { width: min(34rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); overflow: auto; }
.dialog::backdrop { background: rgb(5 33 18 / .62); }
.dialog__box { position: relative; display: grid; gap: var(--s-4); padding: var(--s-6); }
.dialog__close { position: absolute; top: var(--s-3); right: var(--s-3); }
.dialog__title { padding-right: var(--s-7); font-size: var(--fs-h3); line-height: 1.2; letter-spacing: var(--track-h3); font-weight: var(--fw-bold); }
.dialog__intro { color: var(--muted); font-size: var(--fs-small); }
.dialog__intro .fine { display: block; margin-top: var(--s-1); }
/* Téléphone : la fenêtre devient une feuille ancrée en bas de l'écran */
@media (max-width: 639px) {
  .dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .dialog__box { padding: var(--s-5) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom)); }
}
body:has(dialog[open]) { overflow: hidden; }

/* Champ en lecture seule en ligne (« Ville : Cotonou ») et groupe de champs (« Début du contrat ») */
.field-static { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-small); }
.field-static dt { color: var(--muted); }
.field-static dd { font-weight: var(--fw-semibold); }
.field-group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--s-2); }
.field-group > legend { padding: 0; margin-bottom: var(--s-2); font-size: var(--fs-small); font-weight: var(--fw-semibold); }

/* Repères sur l'attestation (« Où trouver ces informations ? ») */
/* Repères A et B sur l'attestation (section #exemple de la page Vérification) : la taille suit la largeur de la figure */
.doc-figure { position: relative; container-type: inline-size; }
.doc__marker {
  position: absolute; z-index: 2; display: grid; place-items: center; width: clamp(18px, 5.6cqw, 26px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--ink-900); color: #fff; font-size: clamp(.6875rem, 3.1cqw, .875rem); font-weight: var(--fw-bold); line-height: 1; box-shadow: 0 0 0 2px #fff;
}
/* Même repère, dans une phrase : « le matricule (A), puis le mois et l'année (B) » */
.call {
  display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; margin-inline: .1em; border-radius: 50%;
  background: var(--ink-900); color: #fff; font-size: .8em; font-weight: var(--fw-bold); line-height: 1; vertical-align: .08em;
}

/* Public visé : quatre cartes courtes (icône, titre, une phrase) */
.audience { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.audience__item { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.audience__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-2); border-radius: var(--r-md); background: var(--green-100); color: var(--green-700); }
.audience__icon .icon { width: 24px; height: 24px; }
.audience__title { font-size: 1.0625rem; font-weight: var(--fw-bold); line-height: 1.3; letter-spacing: -.01em; }
.audience__text { color: var(--muted); font-size: var(--fs-small); }

/* Bandeau de drapeaux : la ville ouverte d'abord, puis les villes à venir (drapeaux toujours en couleurs) */
.flag-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.flag-strip__lead { display: inline-flex; align-items: center; gap: var(--s-3); font-weight: var(--fw-bold); }
.flag-strip .flags { gap: var(--s-3); }
.flag-strip__note { margin-left: auto; color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 639px) { .flag-strip__note { margin-left: 0; } }

/* ---------- 22. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .doc { transform: rotate(-3deg); }
}
