/* ==========================================================================
   Style du site — esprit « suisse », version claire : gris sombres sur fond gris clair, accent LightSkyBlue.
   Pour changer la couleur d'accent, modifiez simplement --acc ci-dessous.
   ========================================================================== */

:root {
  --bg: #eeeff1;        /* fond : gris clair */
  --fg: #1f2023;        /* titres : gris très sombre */
  --text: #3d3f44;      /* texte courant : gris sombre */
  --lead: #2b2d31;      /* chapeaux */
  --mut: #6b6e74;       /* texte secondaire : gris moyen */
  --rule: #2b2d31;      /* filets */
  --field: #f8f8f9;     /* fond des champs de saisie */
  --acc: #87cefa;       /* couleur d'accent : LightSkyBlue */
  --on-acc: #1f2023;    /* texte posé sur l'accent */
  --focus: #1f2023;     /* contour de focus (bien visible sur fond clair) */
  --inv-bg: #2b2d31;    /* blocs sombres (urgence, reçu, pied de page) */
  --inv-fg: #ededed;    /* texte fort dans les blocs sombres */
  --inv-text: #b9bbbf;  /* texte courant dans les blocs sombres */
  --font: "Helvetica Neue", Helvetica, "Nimbus Sans", "Liberation Sans", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 72rem;        /* largeur maximale de la mise en page */
  --gut: clamp(1rem, 4vw, 3rem);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
a { color: inherit; }
strong { font-weight: 700; }
::selection { background: var(--acc); color: var(--on-acc); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- En-tête et menu ---------- */
.site-header { border-bottom: 2px solid var(--rule); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand {
  font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em;
  text-decoration: none; display: inline-flex; align-items: center; gap: .55rem;
}
.brand img { display: block; height: 1.75rem; width: auto; }   /* logotype : site/logo/logo-fond-clair.svg */
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.site-header nav a {
  text-decoration: none; text-transform: uppercase;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  padding: .3rem 0; border-bottom: 3px solid transparent;
}
.site-header nav a:hover { color: var(--acc); }
.site-header nav a[aria-current="page"] { color: var(--acc); border-bottom-color: var(--acc); }

/* ---------- Titres et textes ---------- */
h1, h2, h3, legend, strong { color: var(--fg); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(2.5rem, 7.5vw, 5.75rem); line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; }
p { margin: 0 0 1em; }

.kicker {                              /* petite étiquette au-dessus d'un titre */
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .75rem; font-weight: 700; color: var(--acc); margin-bottom: 1.25rem;
}

.lead { color: var(--lead); font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.4; max-width: 40rem; }
.lead em { font-style: normal; text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.small { font-size: .85rem; color: var(--mut); }

/* ---------- Boutons ---------- */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  background: var(--fg); color: var(--bg);
  font: 700 1rem/1 var(--font); letter-spacing: .01em;
  border: 2px solid var(--fg); border-radius: 0;
  padding: 1.05rem 1.6rem; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
button:hover:not(:disabled), .btn:hover { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
button:focus-visible, .btn:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
button:disabled { opacity: .35; cursor: not-allowed; }
.btn-lg { font-size: 1.15rem; padding: 1.3rem 2rem; }
.btn .arrow { font-size: 1.3em; line-height: 0; }
.btn-ghost { background: transparent; color: var(--fg); }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Accueil ---------- */
.hero { padding: clamp(3rem, 9vw, 7.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { max-width: 15ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero h1 span { color: var(--acc); }
.hero .lead { margin-bottom: 2.25rem; }

.section { border-top: 2px solid var(--rule); padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
.section-head {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem;
}
.section-head .num { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--acc); }

/* Garanties : trois colonnes numérotées */
.cols {
  list-style: none; margin: 0; padding: 0; counter-reset: c;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 1.5rem;
}
.cols li {
  counter-increment: c; padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--rule); font-size: 1.15rem; line-height: 1.35; font-weight: 500;
}
.cols li::before {
  content: counter(c, decimal-leading-zero); display: block;
  font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: .9rem;
}

/* Conseils : liste à filets */
.split { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 2fr; gap: 3rem; } }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li {
  padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--rule); position: relative; font-size: 1.1rem;
}
.rules li:first-child { border-top: 1px solid var(--rule); }
.rules li::before { content: "→"; position: absolute; left: 0; color: var(--acc); font-weight: 700; }

/* Bandeau d'urgence */
.alert { background: var(--inv-bg); color: var(--inv-text); }
.alert .wrap {
  display: grid; grid-template-columns: 1fr; gap: 1rem 3rem; align-items: center;
  padding-top: clamp(2rem, 5vw, 3.25rem); padding-bottom: clamp(2rem, 5vw, 3.25rem);
}
@media (min-width: 52rem) { .alert .wrap { grid-template-columns: auto 1fr; } }
.alert .nums { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; }
.alert .nums span { color: var(--acc); }
.alert .nums, .alert strong { color: var(--inv-fg); }
.alert p { margin: 0; max-width: 38rem; font-size: 1.05rem; }
.alert p strong { display: block; font-size: 1.3rem; margin-bottom: .35rem; }

.cta-end { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-end h2 { font-size: clamp(1.8rem, 4.5vw, 3.25rem); max-width: 18ch; }

/* ---------- Pages intérieures ---------- */
.page-head { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 2px solid var(--rule); margin-bottom: clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); max-width: 18ch; }
.page-head .lead { margin-top: 1.5rem; margin-bottom: 0; }
.narrow { max-width: 46rem; }

/* ---------- Formulaire de témoignage ---------- */
.field-label {
  display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; margin-bottom: .6rem;
}
textarea {
  display: block; width: 100%; min-height: 20rem; resize: vertical;
  padding: 1.1rem 1.2rem; margin-bottom: 2.5rem;
  font: 400 1.1rem/1.55 var(--font); color: var(--fg); background: var(--field);
  border: 2px solid var(--fg); border-radius: 0;
}
textarea:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 4px var(--acc); }
textarea::placeholder { color: var(--mut); }

fieldset { border: 0; padding: 0; margin: 0 0 2.5rem; min-width: 0; }
legend { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; padding: 0; margin-bottom: .5rem; }
fieldset > p { color: var(--mut); max-width: 40rem; }

.choices { display: flex; flex-wrap: wrap; gap: 0; margin-top: 1rem; }
.choices label {
  position: relative; cursor: pointer; user-select: none;
  border: 2px solid var(--fg); margin: 0 -2px -2px 0;
  padding: .75rem 1.15rem; font-weight: 700; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .55rem;
}
.choices input { accent-color: var(--acc); margin: 0; }
.choices label:has(input:checked) { background: var(--fg); color: var(--bg); z-index: 1; }
.choices label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; z-index: 2; }
@supports selector(:has(*)) {
  .choices input { position: absolute; opacity: 0; pointer-events: none; }
}

.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; border-top: 2px solid var(--rule); padding-top: 1.75rem; }
#st { margin: 0; font-weight: 700; color: var(--acc); }
#st:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Reçu après dépôt */
.receipt { background: var(--inv-bg); color: var(--inv-text); padding: clamp(1.75rem, 4vw, 3rem); margin-bottom: 2.5rem; }
.receipt h2 { margin-bottom: 1.5rem; }
.receipt .code {
  display: block; font: 700 clamp(1.3rem, 3.2vw, 2rem)/1.25 var(--mono); letter-spacing: -.01em;
  overflow-wrap: anywhere; padding: 1.25rem 0; margin: .5rem 0 1.25rem;
  border-top: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
}
.receipt button { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }
.receipt .warn { border-left: 4px solid var(--acc); padding-left: 1rem; margin: 1.75rem 0; }
.receipt p:last-child { margin-bottom: 0; }
.again { border-top: 1px solid #4a4c52; margin-top: 2rem; padding-top: 1.75rem; }
.again p { color: var(--inv-fg); font-weight: 700; margin-bottom: .9rem; }
.receipt .again button { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }

.fingerprint { margin-top: 3rem; font-size: .8rem; color: var(--mut); }
code { font-family: var(--mono); font-size: .9em; word-break: break-all; }

/* ---------- Mentions légales ---------- */
.legal { counter-reset: s; display: grid; grid-template-columns: 1fr; column-gap: 3rem; padding-bottom: 2rem; }
.legal h2 {
  counter-increment: s; font-size: 1.15rem; letter-spacing: -.01em;
  border-top: 2px solid var(--rule); padding-top: 1.1rem; margin-top: 1.5rem; margin-bottom: .75rem;
}
.legal h2::before { content: counter(s, decimal-leading-zero); display: block; color: var(--acc); font-size: .8rem; letter-spacing: .1em; margin-bottom: .35rem; }
.legal p { max-width: 42rem; }
@media (min-width: 56rem) {
  .legal { grid-template-columns: 17rem 1fr; }
  .legal h2 { grid-column: 1; margin-bottom: 0; }
  .legal p { grid-column: 2; }
  .legal h2 + p { border-top: 2px solid var(--rule); padding-top: 1.1rem; margin-top: 1.5rem; }
}

/* ---------- Accent bleu sur fond clair ----------
   Le LightSkyBlue est trop pâle pour du texte sur gris clair : on l'utilise
   en aplat (surlignage, étiquettes, carrés) avec du texte sombre par-dessus. */
.receipt h2, .receipt strong { color: var(--inv-fg); }
.site-header nav a:hover { color: var(--fg); border-bottom-color: var(--acc); }
.site-header nav a[aria-current="page"] { color: var(--fg); border-bottom: 4px solid var(--acc); }
.kicker { color: var(--on-acc); background: var(--acc); padding: .4rem .65rem; }
.hero h1 span {
  color: var(--fg);
  background: linear-gradient(transparent 58%, var(--acc) 58%, var(--acc) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section-head .num { color: var(--on-acc); background: var(--acc); padding: .2rem .5rem; align-self: flex-start; margin-top: .3em; }
.rules li::before { content: ""; width: .6rem; height: .6rem; background: var(--acc); top: 1.55rem; outline: 1px solid var(--fg); }
.legal h2::before { color: var(--on-acc); background: var(--acc); display: inline-block; padding: .1rem .4rem; margin-bottom: .5rem; }
.lead em { text-decoration-color: var(--fg); text-decoration-thickness: 1px; background: var(--acc); padding: 0 .15em; text-decoration: none; }
#st { color: var(--fg); border-left: 4px solid var(--acc); padding-left: .75rem; }
#rc { margin-top: 2.5rem; }

/* ---------- Formulaire en étapes ---------- */
.step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 3rem; border-top: 2px solid var(--rule); padding: 2rem 0 2.5rem; }
@media (min-width: 56rem) { .step { grid-template-columns: 15rem minmax(0, 1fr); } }
.step-head { display: flex; align-items: baseline; gap: .75rem; }
@media (min-width: 56rem) { .step-head { flex-direction: column; gap: .6rem; } }
.step-num { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--on-acc); background: var(--acc); padding: .2rem .5rem; }
.step-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.step-body { max-width: 46rem; min-width: 0; }
.step-body > :last-child { margin-bottom: 0; }
.step-submit { padding-bottom: 0; }
#f > .step:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 40rem) { .step .choices label { flex: 1 1 auto; justify-content: center; } }
.step-submit .submit-row { border-top: 0; padding-top: 0; }

.step fieldset { margin-bottom: 2rem; }
.step legend { font-size: 1.05rem; margin-bottom: .1rem; }
.step .choices { margin-top: .75rem; }
.step textarea { margin-bottom: 0; }
textarea.short { min-height: 6.5rem; }
.field { margin-bottom: 1.75rem; }
.row { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.row .field { flex: 1 1 10rem; }
.hint { font-size: .9rem; color: var(--mut); margin: .7rem 0 0; max-width: 40rem; }
.req { font-weight: 700; color: var(--on-acc); background: var(--acc); padding: .1rem .4rem; margin-left: .4rem; letter-spacing: .08em; }

select, input[type="text"] {
  display: block; width: 100%; max-width: 26rem;
  font: 400 1.05rem/1.3 var(--font); color: var(--fg); background-color: var(--field);
  border: 2px solid var(--fg); border-radius: 0; padding: .8rem 1rem;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 1.35rem) 55%, calc(100% - 1rem) 55%;
  background-size: .35rem .35rem; background-repeat: no-repeat;
}
.row select { max-width: none; }
select:focus, input[type="text"]:focus { outline: none; box-shadow: 0 0 0 4px var(--acc); }
input::placeholder { color: var(--mut); }

/* Encadré d'information (plainte) */
.note { background: var(--field); border-left: 6px solid var(--acc); padding: 1.25rem 1.5rem; margin: -.75rem 0 2rem; }
.note p { margin-bottom: .6rem; }
.note ul { margin: 0; padding-left: 1.1rem; }
.note li { margin-bottom: .45rem; }
.note li:last-child { margin-bottom: 0; }
.note a { color: var(--fg); text-decoration-color: var(--acc); text-decoration-thickness: 2px; }

/* Champs qui n'apparaissent que si la réponse le justifie */
@supports selector(:has(*)) {
  .if-verbal, .if-plainte { display: none; }
  #f:has(input[name="nature"][value="Verbale"]:checked) .if-verbal,
  #f:has(input[name="nature"][value="Physique et verbale"]:checked) .if-verbal { display: block; }
  #f:has(input[name="plainte"][value="Souhaite porter plainte"]:checked) .if-plainte,
  #f:has(input[name="plainte"][value="Ne sait pas encore"]:checked) .if-plainte { display: block; }
}

/* ---------- Page « Lire les témoignages » ---------- */
.disclaimer { margin: 1rem 0 0; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-bottom: 2rem; }
.filters .field-label { margin: 0; }
.filters .choices { margin: 0; }
@supports not selector(:has(*)) { .filters { display: none; } }
.lire:has(#f-physique:checked) .tcard:not([data-nature="physique"]),
.lire:has(#f-verbale:checked) .tcard:not([data-nature="verbale"]),
.lire:has(#f-physique-verbale:checked) .tcard:not([data-nature="physique-verbale"]),
.lire:has(#f-autre:checked) .tcard:not([data-nature="autre"]) { display: none; }

.tcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 3rem; border-top: 2px solid var(--rule); padding: 2rem 0 2.5rem; scroll-margin-top: 1rem; }
@media (min-width: 56rem) { .tcard { grid-template-columns: 15rem minmax(0, 1fr); } }
.tcard-num { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--on-acc); background: var(--acc); padding: .2rem .5rem; text-decoration: none; margin-bottom: .75rem; }
.tcard-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.tcard-alias { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mut); margin: .2rem 0 .9rem; }
.tcard-meta { font-size: .9rem; color: var(--text); margin-bottom: .9rem; }
.tcard-meta .sep { color: var(--mut); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .75rem; font-weight: 700; letter-spacing: .04em; border: 1.5px solid var(--fg); padding: .2rem .5rem; }
.tcard-body { max-width: 42rem; font-size: 1.1rem; line-height: 1.6; }
.tcard-body p:last-child { margin-bottom: 0; }
.propos { margin: 0 0 1.5rem; padding: .25rem 0 .25rem 1.25rem; border-left: 6px solid var(--acc); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--fg); }
.propos::before { content: "« "; } .propos::after { content: " »"; }
.suite > summary { cursor: pointer; font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .5rem; list-style: none; border-bottom: 3px solid var(--acc); padding-bottom: .1rem; margin-top: .25rem; }
.suite > summary::-webkit-details-marker { display: none; }
.suite > summary::after { content: "↓"; }
.suite[open] > summary { display: none; }
.empty { border-top: 2px solid var(--rule); padding: 2.5rem 0; max-width: 40rem; }
.cta-inline { border-top: 2px solid var(--rule); padding-left: 0; padding-right: 0; }

/* ---------- Rappel de la loi ---------- */
.law { background: var(--field); border: 2px solid var(--fg); margin-bottom: clamp(2rem, 4vw, 3rem); scroll-margin-top: 1rem; }
.law > summary {
  list-style: none; cursor: pointer; padding: 1.15rem 3.5rem 1.15rem 1.4rem; position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem;
}
.law > summary::-webkit-details-marker { display: none; }
.law > summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; display: grid; place-items: center;
  background: var(--acc); color: var(--on-acc); font-weight: 700; font-size: 1.2rem; line-height: 1;
}
.law[open] > summary::after { content: "−"; }
.law > summary:hover .law-title { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.law > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.law-title { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--fg); }
.law-sub { font-size: .9rem; color: var(--mut); }
.law-body { padding: .25rem 1.4rem 1.6rem; border-top: 1px solid var(--rule); }
.law-body > * { max-width: 46rem; }
.law-body .law-lead { font-size: 1.1rem; color: var(--fg); margin-top: 1.25rem; }
.law-body h3 { font-size: 1rem; letter-spacing: -.01em; margin: 1.5rem 0 .4rem; }
.law-body ul { margin: 0 0 1em; padding-left: 1.1rem; }
.law-body li { margin-bottom: .5rem; }
.law-note { font-size: .85rem; color: var(--mut); border-top: 1px solid var(--rule); padding-top: 1rem; margin: 1.5rem 0 0; }

.law-home { margin-top: clamp(2.25rem, 5vw, 3.5rem); max-width: 40rem; border-left: 6px solid var(--acc); padding: .1rem 0 .1rem 1.25rem; }
.law-home .field-label { margin-bottom: .5rem; }
.law-home p { margin-bottom: .75rem; }
.law-home a { font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--acc); }
.law-home a:hover { border-bottom-color: var(--fg); }

/* ---------- Bouton « Quitter le site » ---------- */
.exit {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--inv-bg); color: var(--inv-fg); text-decoration: none;
  font: 700 .85rem/1 var(--font); letter-spacing: .02em;
  padding: .85rem 1.1rem; border-left: 6px solid var(--acc);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.exit:hover { background: var(--acc); color: var(--on-acc); }
.exit:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-footer .wrap { padding-right: 11rem; }
@media (max-width: 40rem) { .site-footer .wrap { padding-right: var(--gut); padding-bottom: 4.5rem; } }

/* Compteur du récit */
.msg-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.msg-foot .hint { margin-top: .6rem; }
.count { flex: none; margin: .6rem 0 0; font-size: .85rem; font-weight: 700; color: var(--mut); font-variant-numeric: tabular-nums; }
.count.near { color: var(--fg); background: var(--acc); padding: 0 .35rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--inv-bg); color: var(--inv-text); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}
.site-footer .dot { color: var(--acc); }
.site-footer .foot-logo { display: block; height: 1.1rem; width: auto; align-self: center; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--acc); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
