/* Présidentielle en clair — style éditorial, mobile d'abord.
   Palette volontairement neutre : encre, papier, ambre. Aucune couleur de parti. */
:root {
  --paper: #f7f5f0; --surface: #ffffff; --surface-2: #fbfaf7; --ink: #161a23; --ink-2: #3a4150;
  --muted: #6b7280; --line: #e6e2d9; --line-2: #efece5;
  --accent: #2c3e7a; --accent-ink: #ffffff; --accent-soft: #eceffa; --accent-line: #c9d0ee;
  --amber: #b26b00; --amber-soft: #fff3dc;
  --ok: #1b6b40; --ok-soft: #e3f3e9; --ko: #a8321f; --ko-soft: #fbe9e5;
  --warn: #8a5a00; --warn-soft: #fff4dc; --neutral: #4b5563; --neutral-soft: #f0eee9;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22,26,35,.04), 0 4px 14px rgba(22,26,35,.05);
  --shadow-hover: 0 2px 4px rgba(22,26,35,.06), 0 10px 26px rgba(22,26,35,.09);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101318; --surface: #171b22; --surface-2: #1b2029; --ink: #eceef2; --ink-2: #c7ccd6;
    --muted: #9aa3b2; --line: #2a303b; --line-2: #222833;
    --accent: #9fb2ff; --accent-ink: #0d1222; --accent-soft: #1c2440; --accent-line: #34406b;
    --amber: #f0b44c; --amber-soft: #2c2310;
    --ok: #67d39a; --ok-soft: #12291d; --ko: #ff917f; --ko-soft: #2e1713;
    --warn: #f3c466; --warn-soft: #2d2410; --neutral: #b6bdc9; --neutral-soft: #222731;
    --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-hover: 0 6px 20px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, .serif { font-family: var(--serif); letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); line-height: 1.15; margin: .1em 0 .35em; font-weight: 700; }
h2 { font-size: 1.35rem; line-height: 1.25; margin: 1.8em 0 .6em; font-weight: 700; }
h3 { font-size: 1.08rem; line-height: 1.35; margin: 1em 0 .35em; font-weight: 600; }
p { margin: .5em 0; }
small, .muted { color: var(--muted); }
code { font-size: .88em; background: var(--neutral-soft); padding: 1px 6px; border-radius: 6px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 22px; padding-bottom: 64px; min-height: 60vh; }
.lead { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 2em 0 .8em; }
.section-head h2 { margin: 0; }

/* ─── En-tête ─── */
.site-head { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--paper); display: grid; place-items: center;
  font: 700 .95rem/1 var(--serif); }
.brand-name { font: 700 1.08rem/1.1 var(--serif); }
.brand-name em { font-style: normal; color: var(--amber); }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--neutral-soft); }
.nav a.on { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) {
  .site-head .wrap { flex-wrap: wrap; gap: 6px; padding-top: 8px; }
  .nav { width: 100%; padding-bottom: 8px; margin: 0 -4px; }
}

/* ─── Accueil ─── */
.hero { display: grid; gap: 22px; grid-template-columns: 1.25fr 1fr; align-items: end; padding: 18px 0 8px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.ask { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.ask label { margin-top: 0; }
.ask .row { flex-wrap: nowrap; }
@media (max-width: 520px) { .ask .row { flex-wrap: wrap; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin: 22px 0 6px; }
.stats div { background: var(--surface); padding: 14px 16px; }
.stats b { display: block; font: 700 1.6rem/1.1 var(--serif); }
.stats span { font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.actions { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
@media (max-width: 760px) { .actions { grid-template-columns: 1fr; } }
.action { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s; }
.action:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.action svg { flex: 0 0 auto; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.action strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.action span { font-size: .88rem; color: var(--muted); }

/* ─── Onglets segmentés ─── */
.tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--neutral-soft); border-radius: 999px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.tabs a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tabs .count { font-size: .78rem; color: var(--muted); margin-left: 4px; }

/* ─── Filtres ─── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 16px; }
.filters select { width: auto; flex: 1 1 170px; background-color: var(--surface); }

/* ─── Cartes / fil ─── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.entry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.entry.unreviewed { background: var(--surface-2); box-shadow: none; }
.entry .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .82rem; color: var(--muted); }
.entry h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry h3 a:hover { color: var(--accent); }
.entry .excerpt { color: var(--ink-2); font-size: .95rem; margin: 4px 0 8px; }
.entry .foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.publisher { font-weight: 600; color: var(--ink-2); }
.dot::before { content: "·"; margin-right: 6px; color: var(--line); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600;
  background: var(--neutral-soft); color: var(--neutral); white-space: nowrap; line-height: 1.4; }
.badge.annonce { background: var(--accent-soft); color: var(--accent); }
.badge.proposition { background: var(--ok-soft); color: var(--ok); }
.badge.declaration { background: var(--warn-soft); color: var(--warn); }
.badge.modification { background: var(--ko-soft); color: var(--ko); }
.badge.verification { background: var(--ink); color: var(--paper); }
.badge.unrev { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.badge.presse { background: var(--neutral-soft); }
.badge.campagne { background: var(--amber-soft); color: var(--amber); }
.verdict { display: inline-block; padding: 4px 11px; border-radius: 8px; font-weight: 700; font-size: .85rem; }
.verdict.confirme { background: var(--ok-soft); color: var(--ok); }
.verdict.contredit { background: var(--ko-soft); color: var(--ko); }
.verdict.a_nuancer { background: var(--warn-soft); color: var(--warn); }
.verdict.preuves_insuffisantes, .verdict.none { background: var(--neutral-soft); color: var(--neutral); }

/* Personne : avatar à initiales (teinte neutre dérivée du nom) */
.person { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .86rem; }
.person:hover { color: var(--accent); }
.avatar { --h: 220; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto;
  background: hsl(var(--h) 30% 90%); color: hsl(var(--h) 35% 28%); font: 700 .68rem/1 var(--sans); letter-spacing: .02em; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.15rem; }
.avatar.md { width: 42px; height: 42px; font-size: .9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .avatar { background: hsl(var(--h) 22% 24%); color: hsl(var(--h) 45% 85%); } }

/* Candidats */
.cand-card { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.cand-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.cand-card strong { font-family: var(--serif); font-size: 1.08rem; display: block; }
.cand-card .party { font-size: .86rem; color: var(--muted); }
.cand-card .counts { display: flex; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.cand-card .counts b { color: var(--ink); font-weight: 700; }
.profile { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Citations */
blockquote, .quote { margin: 10px 0; padding: 12px 16px; border-left: 3px solid var(--amber); background: var(--amber-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-family: var(--serif); font-size: 1.02rem; }
.quote cite, blockquote cite { display: block; font: normal .8rem/1.4 var(--sans); color: var(--muted); margin-top: 8px; }
.quote.raw { border-left-color: var(--line); background: var(--surface-2); font-size: .95rem; }

.empty { padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; background: var(--surface-2); }
.notfound { color: var(--muted); font-style: italic; }
.note { padding: 11px 15px; border-radius: var(--radius-sm); background: var(--neutral-soft); font-size: .92rem; }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.note.ok { background: var(--ok-soft); color: var(--ok); }
.note.ko { background: var(--ko-soft); color: var(--ko); }
.note.info { background: var(--accent-soft); color: var(--accent); }

/* ─── Formulaires ─── */
form.inline { display: inline; }
label { display: block; font-weight: 600; font-size: .86rem; margin: 12px 0 5px; color: var(--ink-2); }
input[type=text], input[type=url], input[type=search], input[type=password], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-weight: 600; font-size: .94rem;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer; text-decoration: none; min-height: 44px; transition: opacity .15s; white-space: nowrap; }
.btn:hover { opacity: .88; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--neutral-soft); opacity: 1; }
.btn.danger { background: var(--ko); border-color: var(--ko); color: #fff; }
.btn.sm { padding: 6px 12px; min-height: 34px; font-size: .84rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 180px; }
.row > .btn, .row > button { flex: 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: .87rem; cursor: pointer; font-weight: 500; margin: 0; color: var(--ink); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.plain { padding: 6px 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink);
  font-size: .9rem; font-weight: 500; }
.pill:hover { border-color: var(--ink-2); }
.pill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.suggestions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.suggestions button { font: inherit; font-size: .84rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.suggestions button:hover { border-color: var(--ink-2); }
.step { font: 700 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }

/* ─── Comparateur ─── */
.compare { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: start; }
.compare .col-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 12px; }
.compare .col-head a { font-family: var(--serif); font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.compare .col-head small { display: block; }
.measure + .measure { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 12px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; font-size: .86rem; margin: 8px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.unrev-block { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ─── Réponses ─── */
.answer .cand { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.answer .cand h3 { display: flex; align-items: center; gap: 8px; margin-top: 0; }
.answer ul { padding-left: 18px; margin: 6px 0; }
.cite { font: 700 .7rem/1 var(--sans); vertical-align: super; text-decoration: none; padding: 2px 5px; border-radius: 5px;
  background: var(--accent-soft); color: var(--accent); margin-left: 2px; }
.sources-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.sources-list li { font-size: .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; background: var(--surface-2); }
.sources-list .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft);
  color: var(--accent); font-weight: 700; font-size: .78rem; margin-right: 6px; }
.context-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); margin: 10px 0 0; }

/* ─── Vérification ─── */
.point { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); margin-top: 12px; box-shadow: var(--shadow); }
.point .head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.evidence { font-size: .9rem; margin: 8px 0 0; padding-left: 18px; }

/* ─── Tableaux / admin ─── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.diff { white-space: pre-wrap; font-size: .87rem; background: var(--surface-2); border: 1px solid var(--line); padding: 12px; border-radius: var(--radius-sm); max-height: 380px; overflow: auto; }
.diff-add { color: var(--ok); } .diff-del { color: var(--ko); }
.passage-pick { max-height: 380px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.passage-pick label { font-weight: 400; display: flex; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line-2); margin: 0; font-size: .87rem; color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); color: var(--ink-2); font-size: .88rem; }
.kpi b { display: block; font: 700 1.7rem/1.1 var(--serif); color: var(--ink); }
.admin-bar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 10px; margin-bottom: 18px; background: var(--ink); border-radius: var(--radius); }
.admin-bar a { padding: 7px 12px; border-radius: 999px; text-decoration: none; font-size: .87rem; color: color-mix(in srgb, var(--paper) 78%, transparent); font-weight: 500; }
.admin-bar a:hover { color: var(--paper); }
.admin-bar a.on { background: var(--paper); color: var(--ink); }
.admin-bar form { margin-left: auto; }
.admin-bar .btn { background: transparent; border-color: color-mix(in srgb, var(--paper) 30%, transparent); color: var(--paper); }
.bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; position: sticky; top: 70px; z-index: 5; }
.entry .pick { float: right; margin: 2px 0 0 10px; width: 20px; height: 20px; }
details summary { cursor: pointer; font-weight: 600; }
details.report { margin-top: 14px; }
details.report summary { font-weight: 500; }

/* ─── Pied de page ─── */
.site-foot { background: var(--ink); color: color-mix(in srgb, var(--paper) 70%, transparent); padding: 34px 0 40px; font-size: .88rem; margin-top: 40px; }
.site-foot a { color: var(--paper); }
.site-foot .cols { display: grid; gap: 18px; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 700px) { .site-foot .cols { grid-template-columns: 1fr; } }
.site-foot strong { display: block; color: var(--paper); font-family: var(--serif); font-size: 1.05rem; margin-bottom: 6px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pager { display: flex; justify-content: space-between; margin-top: 18px; }
img.avatar { object-fit: cover; object-position: 50% 20%; background: var(--neutral-soft); }
/* Correctifs de mise en page */
.grid > .card, .compare > .card, .actions > .action { margin-top: 0; }
.action strong { color: var(--ink); }
.action > span > span { display: block; color: var(--muted); }
.cand-card .counts { gap: 4px 12px; }
.cand-card .counts span { white-space: nowrap; }
.avatar.lg { width: 76px; height: 76px; font-size: 1.4rem; }

/* ═══ République : drapeau et devise ═══ */
.tricolore { height: 4px; background: linear-gradient(90deg, #000091 0 33.333%, #ffffff 33.333% 66.666%, #E1000F 66.666% 100%);
  box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 21; }
.site-head { top: 4px; }

.hero { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 28px; padding-top: 8px; }
.hero-text .ask { margin-top: 18px; }
.hero-flag { margin: 0; text-align: center; position: relative; }
.hero-flag::before { content: ""; position: absolute; inset: 8% 2% 14% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); z-index: 0; }
.flag-wave { position: relative; z-index: 1; width: 100%; max-width: 470px; height: auto; display: block; margin: 0 auto;
  animation: flag-float 7s ease-in-out infinite; transform-origin: 5% 50%; }
.flag-pole { fill: #8b8576; }
@keyframes flag-float { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-.8deg) translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .flag-wave { animation: none; } }

.devise { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0;
  font-family: var(--serif); font-variant: small-caps; letter-spacing: .06em; color: var(--ink-2); }
.devise span + span::before { content: "·"; margin-right: 10px; color: var(--amber); font-variant: normal; }
.devise.lg { font-size: 1.3rem; margin-top: 6px; position: relative; z-index: 1; }
.devise.sm { font-size: .95rem; justify-content: flex-start; color: var(--paper); gap: 8px; }
.devise.sm span + span::before { margin-right: 8px; }

.foot-republique { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.flag-small { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); flex: 0 0 auto; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 6px; }
  .hero-flag { order: -1; }
  .flag-wave { max-width: 280px; }
  .devise.lg { font-size: 1.08rem; }
}
@media (max-width: 860px) { .hero-flag { margin-bottom: 14px; } }
img.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: none; display: block; }
img.brand-mark { border-radius: 0; width: 38px; height: 38px; }
