/* Polices auto-hébergées (26/09/2026) : plus aucun appel à Google Fonts. Fichiers woff2 issus de Fontsource (licence SIL OFL, voir fonts/OFL-*.txt). */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Affaires closes — feuille de style globale
   Palette : anthracite profond + accent bordeaux désaturé + ivoire pour le texte.
   Typo : Newsreader (titres, éditorial) / IBM Plex Sans (texte) / IBM Plex Mono (métadonnées : dates, libellés, statuts). */

:root {
  --bg: #121214;
  --bg-2: #1a1a1e;
  --bg-3: #232328;
  --line: #2f2f36;
  --text: #e8e4dc;
  --text-2: #a9a49a;
  --muted: #948f85; /* éclairci le 26/09/2026 (était #7c776e) : contraste AA */
  --accent: #8b2635;
  --accent-2: #a83a4a;
  --accent-text: #d4717f; /* bordeaux éclairci pour le texte : contraste ≥ 4,5:1 sur tous les fonds (WCAG AA, 26/09/2026) */
  --accent-soft: rgba(139, 38, 53, 0.18);
  --warn-bg: #2a1f16;
  --warn-line: #6b4a2b;
  --radius: 6px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; } /* scroll-padding : les ancres et scrollIntoView ne glissent plus sous l'en-tête collant */
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--text); text-decoration-color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: #fff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.2em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(18,18,20,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 28px; height: 28px; flex: none; color: var(--text); }
.brand__dot { color: var(--accent-text); } /* « point final » — retirer cette ligne et les <span class="brand__dot"> pour l'enlever */
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); font-size: 1.2rem; padding: 4px 10px; border-radius: var(--radius); }
/* burger jusqu'à 720 px (30/09/2026, §5 n° 18 : menu ramené à 4 liens, qui tiennent en ligne dès 721 px ;
   auparavant 960 px pour 7 liens) */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* ---- footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 40px 0 28px; background: var(--bg-2); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.footer-cols a { display: block; text-decoration: none; color: var(--text-2); padding: 3px 0; font-size: .95rem; }
.footer-cols a:hover { color: #fff; }
.footer-title { font-weight: 600; margin-bottom: 6px; }
@media (max-width: 720px) { .footer-cols { grid-template-columns: 1fr; gap: 20px; } }

/* ---- composants */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 11px 18px; border-radius: var(--radius); font-weight: 600; border: 1px solid transparent; cursor: pointer; font-size: 1rem; font-family: var(--sans); }
.btn:hover { background: var(--accent-2); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text-2); }
.btn--ghost:hover { background: var(--bg-3); }
.badge { display: inline-block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: #e2aab3; font-weight: 600; vertical-align: middle; }
.badge-alt { background: rgba(255,255,255,.08); color: var(--text-2); }
.kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--accent-text); font-weight: 600; margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 46em; }
.meta { color: var(--text-2); font-size: .92rem; }
.page-head { padding: 40px 0 8px; }
.page-head + * { margin-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 20px 0; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin-bottom: 4px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p:last-child { margin-bottom: 0; }
.card .more { color: var(--accent-text); text-decoration: none; font-weight: 600; }
/* Carte entièrement cliquable : le lien principal (titre, ou lien .stretch) s'étend sur toute la carte via ::after. */
.card, .profil-card { position: relative; transition: border-color .15s, background-color .15s; }
.card h3 a::after, .profil-card a.stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card .more { position: relative; z-index: 1; }
.card:has(h3 a):hover, .profil-card:has(a.stretch):hover { border-color: var(--accent-2); }
.card:has(h3 a:focus-visible), .profil-card:has(a.stretch:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.card h3 a:focus-visible, .profil-card a.stretch:focus-visible { outline: none; }
.pays-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.pays-nav a { font-size: .85rem; text-decoration: none; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--text-2); }
.pays-nav a:hover { border-color: var(--accent-2); color: #fff; }
.warning { background: var(--warn-bg); border: 1px solid var(--warn-line); border-left: 4px solid #b5722f; padding: 14px 18px; border-radius: var(--radius); margin: 8px 0 28px; font-size: .95rem; }
.cta { margin: 28px 0; }

/* ---- fil d'Ariane */
.breadcrumb { padding-top: 18px; font-size: .85rem; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---- accueil */
.hero { padding: 48px 0 32px; max-width: 900px; } /* resserré : les boutons et les chiffres clés tiennent au-dessus de la ligne de flottaison */
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 700; }
.hero .lead { font-size: 1.2rem; max-width: 760px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; margin: 28px 0 8px; }
.stats > * { border-left: 2px solid var(--accent); padding-left: 14px; }
.stats strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.stats span { color: var(--text-2); font-size: .9rem; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 32px 0; }
.pillars div { border-top: 1px solid var(--line); padding-top: 14px; }
.pillars h3 { font-size: 1.05rem; }
.globe-teaser { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 420px; background: var(--bg-2); margin: 12px 0 40px; }
.globe-teaser .map { position: absolute; inset: 0; }
/* crédits de la carte déplacés en haut à droite : ils recouvraient le bas du bouton « Plein écran » */
.globe-teaser .maplibregl-ctrl-bottom-right { top: 0; bottom: auto; }
.globe-teaser .overlay { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: linear-gradient(transparent, rgba(18,18,20,.92)); display: flex; justify-content: space-between; align-items: end; gap: 12px; pointer-events: none; }
.globe-teaser .overlay .btn { pointer-events: auto; white-space: nowrap; flex: 0 0 auto; } /* le bandeau ne bloque plus les points du globe situés derrière lui */
@media (max-width: 720px) {
  .globe-teaser { height: 320px; }
  .globe-teaser .overlay { padding: 14px 16px; }
  .globe-teaser .overlay p { display: none; } /* consigne masquée sur mobile : elle se chevauchait avec le bouton */
  .globe-teaser .overlay .btn { margin-left: auto; }
  .hero { padding: 22px 0 24px; }
  .hero .kicker { font-size: .72rem; margin-bottom: 10px; }
  .hero h1 { font-size: 2.05rem; margin-bottom: .4em; }
  .hero .lead { font-size: 1rem; line-height: 1.55; margin-bottom: 0; }
  .hero-actions { margin-top: 16px; }
  .stats { gap: 10px 22px; margin-top: 22px; }
  .stats > * { padding-left: 10px; }
  .stats strong { font-size: 1.6rem; }
  .stats span { font-size: .82rem; }
}

/* ---- carte plein écran */
body.page-carte main { max-width: none; padding: 0; }
body.page-carte .breadcrumb { display: none; }
body.page-carte .site-footer { display: none; }
.map-full { position: relative; height: calc(100vh - 64px); height: calc(100dvh - 64px); min-height: 480px; }
.map-full .map { position: absolute; inset: 0; }
.map-panel { position: absolute; top: 14px; left: 14px; z-index: 5; width: min(340px, calc(100% - 28px)); background: rgba(26,26,30,.94); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; backdrop-filter: blur(6px); max-height: calc(100% - 28px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.map-panel h1 { font-size: 1.35rem; margin-bottom: 4px; }
.map-panel p { font-size: .88rem; color: var(--text-2); margin-bottom: 8px; }
.map-panel .filters { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.map-panel label { display: flex; align-items: center; gap: 8px; }
.map-panel input[type=search] { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 7px 10px; border-radius: var(--radius); font: inherit; font-size: .9rem; }
/* liste déroulante des pays : même habillage que la recherche (le select natif restait blanc sur fond sombre) */
.map-panel select { width: 100%; background-color: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 7px 30px 7px 10px; border-radius: var(--radius); font: inherit; font-size: .9rem; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a9a59c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
/* focus clavier : contour clair (≥ 3:1 sur fond sombre ; le bordeaux --accent-2 restait sous le seuil) sur tous les contrôles du globe */
.map-panel select:focus-visible, .map-panel input:focus-visible, .map-panel button:focus-visible, .map-panel a:focus-visible, .map-panel summary:focus-visible,
.maplibregl-popup a:focus-visible, .maplibregl-popup button:focus-visible, .maplibregl-ctrl button:focus-visible { outline: 2px solid #e8e4dc; outline-offset: 2px; border-radius: 3px; }
.map-panel input[type=range], .map-panel input[type=checkbox] { accent-color: #c9414f; }
.map-panel summary { cursor: pointer; }
.map-panel select option { background: var(--bg-2); color: var(--text); }
.search-wrap { position: relative; }
.search-results { list-style: none; margin: 4px 0 0; padding: 4px 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); max-height: 220px; overflow-y: auto; }
.search-results li { padding: 0; }
.search-results .go { display: flex; align-items: baseline; gap: 8px; width: 100%; text-align: left; background: none; border: 0; padding: 6px 10px; color: var(--text); font: inherit; font-size: .86rem; cursor: pointer; }
.search-results .go:hover, .search-results .go:focus-visible, .search-results .go.is-active { background: rgba(255,255,255,.07); color: #c9414f; outline: none; }
.search-results .go > span:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-results .go .meta { flex: 0 0 auto; margin-left: auto; color: var(--text-2); font-size: .76rem; white-space: nowrap; }
.search-results .more-hint { padding: 4px 10px 2px; color: var(--text-2); font-size: .76rem; }
.map-panel .range-group { padding-top: 4px; }
.map-panel .range-label { display: block; font-size: .82rem; color: var(--text-2); margin-bottom: 2px; }
.map-panel .range-label output { color: var(--text); font-weight: 600; }
.map-panel input[type=range] { width: 100%; margin: 2px 0; accent-color: var(--accent-2); }
.range-bounds { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-2); margin-top: -2px; }
.dual-range { position: relative; height: 22px; cursor: pointer; }
.dual-track { position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); }
.dual-fill { position: absolute; top: 0; height: 100%; background: var(--accent-2); border-radius: 2px; }
.dual-range input[type=range] { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; margin: 0; height: 22px; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dual-range input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 4px; }
.dual-range input[type=range]::-moz-range-track { background: transparent; height: 4px; }
.dual-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--accent-2); border: 2px solid var(--bg); cursor: pointer; }
.dual-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-2); border: 2px solid var(--bg); cursor: pointer; }
.map-panel .legend { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--text-2); margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.legend-title { margin: 0 0 2px; font-weight: 600; color: var(--text); font-size: .8rem; }
.legend b { color: var(--text); font-weight: 600; }
.legend-light, .legend-dark { width: 10px; height: 10px; }
.legend-light { background: #c9414f !important; }
.legend-dark { background: #8b2635 !important; }
#f-count.is-empty { color: var(--accent-text); }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent-text); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; text-align: left; }
.popup-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.popup .copy-link { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--text-2); border-radius: 999px; padding: 2px 10px; font: inherit; font-size: .78rem; cursor: pointer; }
.popup .copy-link:hover { color: var(--text); }
.legend i { display: inline-block; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 2px rgba(168,58,74,.35); vertical-align: middle; margin-right: 4px; }
.map-panel details summary { cursor: pointer; color: var(--text-2); font-size: .85rem; }
.map-panel .panel-links { font-size: .82rem; margin: 6px 0 0; }
.map-list { padding: 40px 16px 56px; } /* garde les marges latérales de .wrap (le titre touchait le bord de l'écran sur mobile) */
.map-list h2 { margin-bottom: 6px; }
.map-list-items { list-style: none; margin-top: 18px; padding: 0; display: grid; gap: 8px; } /* padding: 0 → la liste n'est plus décalée de 40 px par rapport au titre */
.map-list-items li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.map-list-items li a { text-decoration: none; }
.map-list-items li a:hover { text-decoration: underline; }
.map-list-items .meta { color: var(--text-2); font-size: .84rem; }
.map-list-items .on-globe { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--accent-text); font: inherit; font-size: .8rem; padding: 3px 9px; border-radius: 999px; cursor: pointer; }
.map-list-items .on-globe:hover { border-color: var(--accent-2); }
.map-hint { position: absolute; right: 14px; bottom: 34px; z-index: 5; font-size: .78rem; color: var(--text-2); background: rgba(26,26,30,.85); padding: 6px 10px; border-radius: var(--radius); }
@media (max-width: 720px) {
  .map-full { height: calc(100dvh - 64px); min-height: 420px; }
  /* panneau = feuille compacte en bas : une ligne titre + bouton « Filtres », le reste se déplie au-dessus du globe */
  .map-panel { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; max-height: 62vh; max-height: 62dvh; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px 10px;
    display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
  .map-panel h1 { font-size: 1.05rem; margin: 0; }
  .map-panel > p:first-of-type { display: none; }
  .map-panel details { margin: 0; }
  .map-panel details summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text); background: var(--bg); }
  .map-panel details summary::-webkit-details-marker { display: none; }
  .map-panel details summary::before { content: '⚲'; transform: rotate(-45deg); color: var(--accent-text); }
  .map-panel details[open] summary::before { content: '✕'; transform: none; }
  .map-panel details summary::after { content: none; }
  .map-panel .filters, .map-panel .legend { grid-column: 1 / -1; }
  .map-panel .filters { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
  .map-panel details:not([open]) ~ .filters, .map-panel details:not([open]) ~ .legend { display: none; }
  .map-panel input[type=search], .map-panel select { font-size: 16px; } /* évite le zoom auto iOS au focus */
  .map-panel .search-results { max-height: 30vh; overflow-y: auto; }
  .map-hint { display: none; }
  .maplibregl-popup .maplibregl-popup-content { max-width: min(300px, calc(100vw - 40px)); }
}

/* Popups MapLibre — sélecteurs renforcés : la CSS de MapLibre est chargée après la nôtre */
.maplibregl-popup .maplibregl-popup-content { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-family: var(--sans); box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: 300px; }
.maplibregl-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.maplibregl-popup.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.maplibregl-popup.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: var(--bg-2); }
.maplibregl-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip,
.maplibregl-popup.maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
.maplibregl-popup.maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: var(--bg-2); }
.maplibregl-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--bg-2); }
.maplibregl-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--bg-2); }
/* la fiche défile à l'intérieur de la popup quand elle est plus haute que la place disponible (hauteur exacte posée par map.js) ; la croix reste fixe */
.maplibregl-popup .popup { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; padding-right: 4px; }
.maplibregl-popup .popup > :last-child { margin-bottom: 0; }
.maplibregl-popup .maplibregl-popup-close-button { color: var(--text-2); font-size: 20px; line-height: 1; padding: 6px 10px; background: none; border-radius: 0 var(--radius) 0 var(--radius); }
.maplibregl-popup .maplibregl-popup-close-button:hover { background: var(--bg-3); color: #fff; }
.popup h3 { font-size: 1.1rem; margin: 0 0 2px; padding-right: 16px; color: var(--text); }
.popup .alias { color: var(--text-2); font-style: italic; font-size: .85rem; margin-bottom: 6px; }
.popup p { margin: 0 0 6px; font-size: .88rem; color: var(--text); }
.popup .muted { color: var(--text-2); }
.popup .more { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.maplibregl-ctrl-group { background: var(--bg-2) !important; border: 1px solid var(--line); }
.maplibregl-ctrl-group button { filter: invert(.85); }
.maplibregl-ctrl-attrib { background: rgba(18,18,20,.7) !important; color: var(--muted) !important; font-size: 11px; }
.maplibregl-ctrl-attrib a { color: var(--text-2) !important; }

/* ---- fiche */
.fiche { max-width: 760px; }
.fiche .chapo { font-size: 1.22rem; line-height: 1.55; color: var(--text); font-family: var(--serif); border-left: 3px solid var(--accent); padding-left: 18px; margin: 6px 0 30px; }
.fiche h2 { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0 26px; }
.facts dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
.chrono-lieu { display: inline-block; margin-top: 6px; padding: 2px 10px; font: inherit; font-size: .78rem; color: var(--accent-text); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.chrono-lieu:hover, .chrono-lieu:focus-visible { border-color: var(--accent); color: var(--text); }
.timeline li.active::before { box-shadow: 0 0 0 4px rgba(168,58,74,.35); }
.lieux li[data-lieu] { cursor: pointer; }
.lieux li.active strong { color: var(--accent-text); }
.timeline time { display: block; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); font-weight: 600; }
.profil-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 16px; }
.profil-card h3 { margin-bottom: 6px; }
.minimap { height: 320px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); margin: 16px 0; overflow: hidden; }
.lieux, .ressources, .sources { padding-left: 1.2em; }
.lieux li, .ressources li { margin-bottom: 8px; }
.sources { font-size: .92rem; color: var(--text-2); }
.sources li { margin-bottom: 6px; }
.sources li strong { color: var(--text); font-weight: 600; } /* nom du média : une ligne par média (30/09/2026) */
.sources-sub { margin: 18px 0 6px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.related { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; background: var(--bg-2); }
.related h2 { margin-top: 0; border: none; font-size: 1.15rem; padding: 0; }
.related ul { margin: 0; padding-left: 1.2em; }
/* Sommaire à ancres des dossiers et articles (30/09/2026) */
.sommaire { margin: 0 0 30px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; background: var(--bg-2); }
.sommaire-titre { margin: 0 0 6px; font-family: var(--sans, inherit); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sommaire ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; font-size: .95rem; }
.sommaire li { margin-bottom: 4px; break-inside: avoid; }
.sommaire a { color: var(--text-2); text-decoration: none; }
.sommaire a:hover, .sommaire a:focus-visible { color: var(--text); text-decoration: underline; }
.sommaire .sommaire-chrono a { color: var(--accent-text); font-weight: 600; }
@media (max-width: 720px) { .sommaire ol { columns: 1; } }
blockquote { border-left: 3px solid var(--line); margin: 1em 0; padding: 4px 0 4px 16px; color: var(--text-2); font-style: italic; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.8em; }

/* ---- capture email */
.newsletter { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px; margin: 40px 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; } /* mobile : le champ e-mail ne déborde plus de l'écran (le bouton passe à la ligne si besoin) */
.newsletter input { flex: 1 1 160px; min-width: 0; background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 10px 12px; border-radius: var(--radius); font: inherit; }
@media (max-width: 720px) { .newsletter { grid-template-columns: 1fr; } }

/* ---- écran +18 */
.age-gate { position: fixed; inset: 0; z-index: 1000; background: rgba(8,8,10,.94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.age-gate[hidden] { display: none; }
.age-gate__box { max-width: 520px; background: var(--bg-2); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 32px 30px; }
.age-gate__brand { font-family: var(--serif); font-weight: 700; color: var(--accent-text); margin-bottom: 6px; }
.age-gate__brand .brand__cartouche { color: var(--text); } /* cartouche C2 dans l'écran +18 (01/10/2026, §5 n° 22) */
.age-gate__box h2 { margin-top: 0; }
.age-gate__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 12px; }

/* glossaire */
.glossaire-sommaire ul { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 0; margin: 0 0 2em; font-size: .9rem; }
.glossaire-sommaire a { color: var(--text-2); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.glossaire-sommaire a:hover { color: var(--text); border-color: var(--accent-2); }
.terme { padding-bottom: 1.2em; border-bottom: 1px solid var(--line); }
.terme h2 { margin-top: 1.4em; font-size: 1.3rem; }
.terme h2 .anchor { text-decoration: none; color: inherit; }
.terme h2 .anchor:hover::after { content: " #"; color: var(--accent-text); }
.terme:target { scroll-margin-top: 16px; }
.terme:target h2 { color: var(--accent-text); }

/* popup « plusieurs affaires à cet endroit » (points superposés) */
.popup-multi ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.popup-multi li { padding: .25rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.popup-multi .pick { background: none; border: 0; padding: 0; color: #e8e4dc; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.popup-multi .pick:hover, .popup-multi .pick:focus-visible { color: #c9414f; }

/* Hubs pays / régions */
.hub .minimap { margin: 24px 0; }
.hub .liste-dossiers { padding-left: 1.2em; }
.hub .liste-dossiers li { margin: .3em 0; }
.hub h2 { margin-top: 2em; }

/* ---- états du globe : chargement (squelette) et erreur */
.map.is-loading { background: radial-gradient(circle at 50% 55%, #1f1f25 0, #141417 42%, var(--bg) 70%); display: flex; align-items: center; justify-content: center; }
.map.is-loading::before { content: ""; position: absolute; width: min(60vmin, 420px); height: min(60vmin, 420px); border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 0 60px rgba(168,58,74,.12); animation: ac-pulse 1.6s ease-in-out infinite; }
@keyframes ac-pulse { 0%, 100% { opacity: .5; transform: scale(.98); } 50% { opacity: 1; transform: scale(1); } }
.map-loading { position: relative; z-index: 1; margin: 0; font-size: .9rem; color: var(--text-2); }
/* message d'erreur centré dans la zone libre du globe (il se glissait sous le panneau des filtres / le bandeau de l'accueil) */
.map-error { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-2); }
.map-error > * { max-width: 32em; }
.map-full .map-error { padding-left: 380px; }
.globe-teaser .map-error { padding-bottom: 84px; }
.map.has-error ~ .map-hint { display: none; }
@media (max-width: 720px) { .map-full .map-error { padding: 24px 24px 90px; } .globe-teaser .map-error { padding-bottom: 110px; } }
.map-error .btn { margin-top: 10px; }

/* ---- encart « Pourquoi cette affaire est ici » (notices, dossiers) */
.perimetre { border: 1px solid var(--line); border-left: 3px solid var(--accent-2); background: var(--bg-2); border-radius: var(--radius); padding: 12px 16px; margin: 18px 0 22px; font-size: .92rem; color: var(--text-2); }
.perimetre strong { color: var(--text); }
.perimetre a { white-space: nowrap; }

/* ---- journal des corrections */
.corrections { margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; }
.corrections h2 { border: none; font-size: 1.05rem; margin-top: 0; padding-bottom: 0; }
.corrections ul { padding-left: 1.2em; }
.corrections time { color: var(--accent-text); font-weight: 600; }

/* ---- articles */
.card-article .kicker { margin-bottom: .3em; font-size: .72rem; }
.article em { color: var(--text-2); }

/* ---- FAQ */
.faq .terme h2 { font-size: 1.25rem; }

/* ---- chronologie (/chronologie/) : pile verticale sans JS, piste horizontale scroll-snap avec JS */
.chrono-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chrono-nav a { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; min-width: 150px; color: var(--text-2); font-size: .88rem; }
.chrono-nav a:hover, .chrono-nav a.is-active { border-color: var(--accent-2); color: var(--text); }
.chrono-nav-years { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-text); font-weight: 600; }
.chrono-controls { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: .88rem; color: var(--text-2); }
.chrono-controls button { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }
.chrono-controls button:hover:not(:disabled) { border-color: var(--accent-2); }
.chrono-controls button:disabled { opacity: .35; cursor: default; }
.chrono-era { border-top: 1px solid var(--line); padding-bottom: 24px; }
.chrono-era .page-head { padding-top: 28px; }
.chrono-era h2 { margin-top: 0; }
.chrono-era:target { scroll-margin-top: 16px; }
.reperes { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 14px 18px; margin: 16px 0 8px; font-size: .92rem; }
.reperes h3 { font-family: var(--mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.reperes ul { margin: 0; padding-left: 1.1em; }
.reperes li { margin-bottom: 6px; }
.reperes time { color: var(--accent-text); font-weight: 600; margin-right: 4px; }
.chrono.is-slider .chrono-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-top: 1px solid var(--line); align-items: flex-start; overflow-y: hidden; transition: height .25s ease; }
.chrono.is-slider .chrono-track::-webkit-scrollbar { display: none; }
.chrono.is-slider .chrono-era { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; border-top: none; padding: 0 4px 24px; } /* plus de défilement interne : la piste prend la hauteur du chapitre affiché (site.js), sinon les cartes étaient coupées (desktop) ou suivies d'un grand vide (mobile) */
@media (max-width: 720px) { .chrono-nav a { min-width: 0; flex: 1 1 45%; } }
@media (prefers-reduced-motion: reduce) { .chrono.is-slider .chrono-track { transition: none; } }

/* popup : affaires voisines dans le temps */
.popup-temps { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(232,228,220,.15); font-size: .85em; }
.popup-temps .nav-lbl { grid-column: 1 / -1; font-size: .8em; letter-spacing: .06em; text-transform: uppercase; color: #9a948a; }
.popup-temps .pick { background: none; border: 0; padding: 0; color: #e8e4dc; font: inherit; cursor: pointer; text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popup-temps .pick:last-child { text-align: right; }
.popup-temps .pick .nav-nom { text-decoration: underline; text-underline-offset: 3px; }
.popup-temps .pick:hover, .popup-temps .pick:focus-visible { color: #c9414f; }

/* 30/09/2026 — ligne « En bref » des notices, questions fréquentes des dossiers/articles, tableaux Markdown */
.en-bref { margin: 4px 0 18px; padding: 12px 16px; border-left: 3px solid var(--accent-text); background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.02rem; line-height: 1.55; }
.en-bref strong { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 6px; }
.faq-page .terme h3 { margin: 1.2em 0 .3em; font-size: 1.08rem; }
.faq-page .terme p { margin: 0 0 .6em; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.table-wrap th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }

/* ---- Frise « Le globe dans le temps » (accueil, 30/09/2026) : collée sous l'aperçu du globe, mêmes bordeaux que ses points */
.frise { position: relative; margin: -24px 0 44px; --pas: 9px; --d: 7px; }
.frise-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 10px; min-height: 30px; }
.frise-head h2 { margin: 0; font-size: 1.25rem; }
.frise-head p { margin: 0; }
.frise-bands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.frise-band { display: flex; flex-direction: column; min-width: 0; }
.frise-dots { position: relative; height: calc(var(--pile) * var(--pas) + 8px); border-bottom: 1px solid var(--line); margin: 0 4px; }
.frise-dot { position: absolute; left: var(--x); bottom: calc(var(--k) * var(--pas) + 3px); width: var(--d); height: var(--d); margin-left: calc(var(--d) / -2); border-radius: 50%; background: #8b2635; box-shadow: 0 0 0 1px var(--bg); cursor: pointer; transition: transform .15s ease, opacity .2s ease, background-color .15s ease; }
.frise-dot.is-fiche { background: #c9414f; }
.frise-dot:hover, .frise-dot:focus-visible, .frise-dot.is-hi { transform: scale(1.7); background: #efe9df; z-index: 2; outline: none; }
.frise.has-sel .frise-band:not(.is-on) .frise-dot { opacity: .25; }
.frise-era { display: flex; flex-direction: column; gap: 2px; padding: 8px 8px 10px; text-decoration: none; color: var(--text-2); border-top: 2px solid transparent; border-radius: 0 0 var(--radius) var(--radius); transition: background-color .15s ease; }
.frise-era:hover { background: var(--bg-2); color: var(--text); }
.frise-band.is-on .frise-era { background: var(--accent-soft); border-top-color: var(--accent-2); color: var(--text); }
.frise-years { font-family: var(--mono); font-size: .72rem; color: var(--accent-text); letter-spacing: .02em; }
.frise-nom { font-size: .88rem; line-height: 1.3; }
.frise-n { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.frise-court { display: none; }
/* bouton « Toutes les époques » : petit, à droite du titre, visible seulement quand une époque est choisie */
.frise-reset { margin-left: auto; align-self: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: .8rem; line-height: 1.5; cursor: pointer; white-space: nowrap; }
.frise-reset:hover { background: var(--bg-3); color: var(--text); border-color: var(--accent-2); }
.frise-reset[hidden] { display: none; }
/* résumé de l'époque : déplacé en JS dans le bandeau bas du globe (reste visible sans défiler) */
.frise-panels { pointer-events: auto; min-width: 0; flex: 1 1 auto; }
.frise-panel p { margin: 2px 0; }
.frise-panel-titre { font-size: .95rem; }
.frise-panel-rep { color: var(--text-2); }
.frise-panel-rep time { font-family: var(--mono); color: var(--accent-text); margin-right: 4px; }
.globe-teaser .overlay .frise-panel p { display: block; } /* la règle mobile masque les <p> du bandeau */
.globe-tip { position: absolute; z-index: 4; pointer-events: none; transform: translate(-50%, -100%); background: var(--bg-3); border: 1px solid var(--line); color: var(--text); font-size: .8rem; padding: 4px 8px; border-radius: var(--radius); white-space: nowrap; }
/* globe + frise dans un seul écran : hauteur du globe = fenêtre − en-tête (64 px) − frise (~190 px) − marges */
.globe-teaser { height: clamp(300px, calc(100vh - 310px), 560px); height: clamp(300px, calc(100svh - 310px), 560px); scroll-margin-top: 72px; }
.frise-tip { position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, -100%); background: var(--bg-3); border: 1px solid var(--line); color: var(--text); font-size: .8rem; padding: 4px 8px; border-radius: var(--radius); white-space: nowrap; }
@media (max-width: 720px) {
  .frise { margin-top: -28px; --pas: 7px; --d: 6px; }
  .frise-head { flex-wrap: nowrap; gap: 8px; }
  .frise-head h2 { font-size: 1.1rem; white-space: nowrap; }
  .frise-reset { font-size: .75rem; padding: 2px 10px; }
  .frise-aide { display: none; } /* place comptée : globe + frise tiennent dans l'écran */
  .globe-teaser { height: clamp(240px, calc(100vh - 245px), 440px); height: clamp(240px, calc(100svh - 245px), 440px); }
  .frise-panels { flex: 1 1 0; }
  .frise-panel-titre { font-size: .85rem; line-height: 1.35; }
  .globe-teaser.has-era .overlay .btn { padding: 8px 12px; font-size: .9rem; }
  .frise-panel-rep { display: none !important; }
  .globe-tip { display: none; }
  .frise-bands { gap: 2px; }
  .frise-dots { margin: 0 2px; }
  .frise-era { padding: 6px 4px 8px; }
  .frise-nom { display: none; } /* 5 bandes d'environ 65 px : on garde les années et le nombre */
  /* bandes d'environ 65 px : fourchette et nombre d'affaires gardés, en police sans empattement plus étroite */
  .frise-years, .frise-n { font-family: var(--sans); font-size: .7rem; letter-spacing: -.01em; line-height: 1.3; }
  .frise-long { display: none; }
  .frise-court { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .frise-dot, .frise-era { transition: none; } }

/* aperçu du globe sur mobile : fiche courte (le résumé et la navigation « Dans le temps » restent sur la notice et /carte/) */
@media (max-width: 720px) {
  .globe-teaser .popup-resume, .globe-teaser .popup-temps { display: none; }
}
/* ---- Pastilles « Par pays » (accueil, 30/09/2026) */
.pays-accueil { margin: 8px 0 40px; }
.pays-nav--accueil { gap: 10px; margin: 14px 0 16px; }
.pays-nav--accueil a { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; padding: 7px 14px; color: var(--text); background: var(--bg-2); }
.pays-nav--accueil a:hover { background: var(--bg-3); }
.pays-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9414f; box-shadow: 0 0 0 3px var(--accent-soft); flex: 0 0 auto; }
.pays-n { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
@media (max-width: 380px) { .frise-years, .frise-n { font-size: .64rem; letter-spacing: -.02em; } } /* 360 px : la fourchette tient sur une ligne */

/* ---- page « Prochaines affaires » (30/09/2026) */
.prochaines { padding-left: 1.1em; }
.prochaines li { margin-bottom: 1em; }
.prochaines li p { margin: 0 0 .25em; }

/* =====================================================================================================
   Direction « dossier d'archives » (30/09/2026, guide §5 n° 19 — retours d'une lectrice experte)
   Aucune image de personne : textures, étiquettes, tampons, chemises cartonnées et cartes des lieux.
   Deux couleurs secondaires (kraft, encre) en plus du bordeaux ; police d'affiche Oswald (OFL, auto-hébergée).
   RÈGLE DES POLICES (30/09/2026, guide §8) : Oswald (var(--display)) seulement pour les titres de navigation
   (H2 de l'accueil, des hubs, de la chronologie ; titres des chemises), les boutons (.btn) et les étiquettes
   (.tampon-mini) — jamais dans un texte de lecture (dossier, notice, article, page institutionnelle), jamais pour un H1.
   H1 et titres de lecture : Newsreader (var(--serif)) ; corps : IBM Plex Sans ; dates, étiquettes pointillées : IBM Plex Mono.
   ===================================================================================================== */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --kraft: #c9a36a;        /* papier kraft : texte sur fond sombre ≥ 7:1 */
  --kraft-fonce: #8a6a3c;
  --kraft-soft: rgba(201, 163, 106, .12);
  --encre: #86a9c9;        /* bleu-gris encre : texte ≥ 7:1 */
  --encre-fonce: #2f4a63;
  --encre-soft: rgba(134, 169, 201, .12);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}
body { background-color: var(--bg); background-image: var(--grain), radial-gradient(1200px 600px at 85% -10%, rgba(139,38,53,.10), transparent 60%), radial-gradient(900px 500px at -10% 40%, rgba(201,163,106,.05), transparent 60%); background-attachment: scroll; }

/* logo en cartouche : filet fin façon étiquette de dossier, « closes » en réserve comme un tampon */
.brand__cartouche { display: inline-flex; align-items: stretch; border: 1.5px solid var(--kraft); border-radius: 2px; padding: 0; line-height: 1; font-size: 1.12rem; overflow: hidden; }
.brand__cartouche { padding-left: 9px; gap: 7px; align-items: center; }
.brand__closes { background: var(--accent); color: #f3ece0; padding: 6px 9px 7px; font-style: italic; font-weight: 600; letter-spacing: .01em; }
.site-footer .brand__cartouche { font-size: 1.05rem; margin-bottom: 12px; }

/* titres de section et étiquettes */
.etiquette { display: inline-block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--kraft); border: 1px dashed rgba(201,163,106,.55); padding: 3px 9px; border-radius: 2px; margin: 0 0 10px; }
main > section > h2, .bloc-une h2, .epoques h2, .bloc-recents h2, .pays-accueil h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: 0; }
main > section { margin-top: 56px; }
main > section.hero, main > section.globe-teaser, main > section.frise { margin-top: 0; }
.frise-head h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 500; }

/* boutons : plus présents, trois familles */
.btn { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; font-size: 1rem; border-radius: 3px; box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.btn--grand { padding: 13px 22px; font-size: 1.05rem; }
.btn--kraft { background: var(--kraft); color: #1b140b; }
.btn--kraft:hover { background: #dcb97f; color: #1b140b; }
.btn--encre { background: var(--encre-fonce); color: #eef4fa; border-color: rgba(134,169,201,.5); }
.btn--encre:hover { background: #3c5d7b; color: #fff; }
.btn--ghost { color: var(--text); border-color: #4a4a54; box-shadow: none; }
.btn--ghost:hover { border-color: var(--kraft); color: #fff; }
.more { color: var(--accent-text); }

/* hero : tampon et chiffres d'affiche */
.hero { position: relative; max-width: none; }
.hero > *:not(.hero-tampon) { max-width: 900px; position: relative; }
.hero-tampon { position: absolute; right: 0; top: 36px; width: 230px; color: var(--accent-2); opacity: .55; mix-blend-mode: screen; pointer-events: none; }
.hero h1 { text-wrap: balance; }
.stats { gap: 14px 34px; }
.stats > * { border-left: 3px solid var(--kraft); }
.stats > :first-child { border-left-color: var(--accent-2); }
.stats strong { font-family: var(--display); font-weight: 600; font-size: 2.3rem; letter-spacing: .01em; }
.stats span { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 1100px) { .hero-tampon { width: 170px; top: 8px; opacity: .35; } }
@media (max-width: 720px) {
  .hero-tampon { width: 120px; top: -2px; right: -8px; opacity: .28; }
  .hero-actions .btn--grand { padding: 11px 14px; font-size: .95rem; }
  /* 30/09/2026 : les trois boutons empilés pleine largeur, « au hasard » compris (il était masqué) */
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn--grand { display: block; width: 100%; text-align: center; }
  .stats strong { font-size: 1.8rem; }
  main > section { margin-top: 44px; }
}

/* globe : cadre façon planche d'atlas */
.globe-teaser { border: 1px solid #3a3a42; box-shadow: 0 0 0 6px rgba(201,163,106,.05), 0 20px 50px rgba(0,0,0,.35); }

/* frise et chronologie : une couleur par époque */
.frise-bands { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.frise-era { border-top: 3px solid var(--ere, transparent); }
.frise-years { color: var(--ere, var(--accent-text)); }
.frise-panel-accroche { color: var(--text); margin: 2px 0 4px; font-style: italic; }
.chrono-nav a { border-top: 3px solid var(--ere, var(--line)); }
.chrono-nav-years { color: var(--ere, var(--accent-text)); }
.chrono-era { border-top: 4px solid var(--ere, var(--line)); }
.chrono-era .page-head .kicker { color: var(--ere, var(--accent-text)); }
.chrono-era h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
.chrono-accroche { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--text); margin: -4px 0 8px; }
@media (max-width: 720px) {
  .frise-years, .frise-n { font-size: .6rem; letter-spacing: -.03em; }
  .frise-era { padding: 6px 2px 8px; }
}

/* chemises cartonnées (Par où commencer, dossiers récents) */
.chemises { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 20px; margin: 26px 0 22px; }
.chemise { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #221f1c, #1a1918); border: 1px solid #3b3630; border-top: 3px solid var(--ere, var(--kraft)); border-radius: 2px 6px 6px 6px; box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform .15s ease, border-color .15s ease; }
.chemise:hover { transform: translateY(-3px); border-color: var(--ere, var(--kraft)); }
.chemise:has(h3 a:focus-visible) { outline: 2px solid var(--kraft); outline-offset: 3px; }
.chemise-onglet { position: absolute; top: -24px; left: -1px; display: flex; gap: 6px; margin: 0; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.chemise-onglet span:first-child { background: var(--ere, var(--kraft)); color: #16120d; padding: 3px 10px 3px; border-radius: 4px 4px 0 0; font-weight: 600; }
.chemise-type { align-self: flex-end; color: var(--text-2); padding: 0 2px 2px; }
.chemise-carte { position: relative; aspect-ratio: 2 / 1; background: #15181c; border-bottom: 1px solid #3b3630; overflow: hidden; }
.vignette { display: block; width: 100%; height: 100%; }
.vignette-grille { fill: none; stroke: rgba(134,169,201,.18); stroke-width: .15; stroke-dasharray: .6 .6; }
.vignette-terre { fill: #2d2a26; stroke: rgba(201,163,106,.55); stroke-width: .18; }
.vignette-halo { fill: none; stroke: #e0707f; stroke-width: .35; opacity: .7; }
.vignette-point { fill: #c9414f; stroke: #fff3; stroke-width: .2; }
.chemise-coord { position: absolute; right: 8px; bottom: 6px; font-family: var(--mono); font-size: .66rem; color: var(--kraft); background: rgba(21,24,28,.8); padding: 1px 6px; border-radius: 2px; letter-spacing: .03em; }
.chemise-corps { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 14px; }
.chemise-meta { font-family: var(--mono); font-size: .72rem; color: var(--kraft); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.chemise h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; font-size: 1.3rem; margin: 0 0 8px; }
.chemise h3 a { text-decoration: none; }
.chemise h3 a::after { content: ''; position: absolute; inset: 0; }
.chemise-resume { font-size: .92rem; color: var(--text-2); line-height: 1.5; margin: 0 0 12px; }
.chemise-pied { margin: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chemise-pied .more { font-weight: 600; font-size: .9rem; }
.tampon-mini { font-family: var(--display); text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; color: var(--accent-text); border: 1.5px solid currentColor; padding: 1px 7px; border-radius: 3px; transform: rotate(-6deg); opacity: .85; }

/* encadrés : Zodiac et « Le saviez-vous ? » */
.encadres { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.encadre { position: relative; border-radius: 4px; padding: 22px 24px 18px; background-image: var(--grain); }
.encadre--encre { background-color: var(--encre-soft); border: 1px solid rgba(134,169,201,.35); border-left: 5px solid var(--encre); }
.encadre--kraft { background-color: var(--kraft-soft); border: 1px solid rgba(201,163,106,.35); border-left: 5px solid var(--kraft); }
.encadre--encre .etiquette { color: var(--encre); border-color: rgba(134,169,201,.55); }
.encadre-titre { font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; font-size: 1.45rem !important; margin: 0 0 10px !important; }
.encadre-annee { color: var(--kraft); margin-right: 6px; }
.encadre p { font-size: .98rem; }
.encadre-source { color: var(--text-2); }
.encadre-source a { color: var(--text-2); }

/* époques */
.epoques-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 22px; }
.epoque { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-top: 4px solid var(--ere); border-radius: 3px; padding: 14px 14px 12px; color: var(--text-2); transition: background-color .15s, transform .15s; }
.epoque:hover { background: var(--bg-3); color: var(--text); transform: translateY(-2px); }
.epoque-annees { font-family: var(--mono); font-size: .74rem; color: var(--ere); letter-spacing: .04em; }
.epoque-nom { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 1.12rem; line-height: 1.15; color: var(--text); }
.epoque-accroche { font-size: .86rem; line-height: 1.4; }
.epoque-n { margin-top: auto; font-family: var(--mono); font-size: .74rem; color: var(--text); }
@media (max-width: 720px) { .epoques-grille { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; } .epoque-accroche { display: none; } }

/* cartes génériques : léger grain et coin d'onglet */
.card { background-image: var(--grain); border-top: 2px solid #3b3630; }
.card-article { border-top-color: var(--encre); }

/* piliers en encadrés à pictogramme */
.pillars { gap: 18px; }
.pillars .pilier { border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px 6px; background: var(--bg-2) var(--grain); }
.pilier svg { width: 34px; height: 34px; color: var(--kraft); margin-bottom: 8px; }
.pillars h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; font-size: 1.1rem; }
.pays-nav--accueil .pays-dot { background: var(--kraft); box-shadow: 0 0 0 3px var(--kraft-soft); }
@media (prefers-reduced-motion: reduce) { .chemise, .epoque { transition: none; } .chemise:hover, .epoque:hover { transform: none; } }
.encadre .etiquette { font-size: .72rem; }
.epoques-grille { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1060px) { .epoques-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bloc-recents .chemises { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pays-accueil { margin-top: 56px; }
main > section > .grid:has(.card-article) { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 720px) {
  .hero-tampon { display: none; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  /* chemises en bande horizontale à faire défiler (8 cartes empilées = trop long sur téléphone) */
  .chemises, .bloc-recents .chemises { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 16px 12px; margin: 0 -16px 10px; scrollbar-width: thin; overscroll-behavior-x: contain; }
  .chemise { scroll-snap-align: center; }
  .chemise:hover { transform: none; }
  .pays-accueil { margin-top: 44px; }
}
@media (min-width: 961px) { .chrono-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); } .chrono-nav a { min-width: 0; } }

/* ---- Frise « Le globe dans le temps », version 2 (30/09/2026 soir, retour de Nathan : points cliquables, plus vivante)
   Chaque point est un lien (dossier ou notice), coloré selon son époque ; zone de clic élargie ; chaque époque a son
   « couloir » teinté ; bulle sur deux lignes ; sur mobile, la frise défile à l'horizontale (points assez espacés au doigt). */
.frise { --pas: 13px; --d: 10px; margin-top: -18px; }
.frise-head { align-items: center; }
.frise-legende { display: flex; align-items: center; gap: 6px; margin: 0 0 0 auto; color: var(--text-2); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.frise-leg { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--kraft); opacity: .75; margin-left: 8px; }
.frise-leg--fiche { opacity: 1; background: #f3ece0; box-shadow: 0 0 0 2px var(--kraft); }
.frise-reset:not([hidden]) + .frise-legende, .frise-legende:has(+ .frise-reset:not([hidden])) { display: none; }
.frise-bands { gap: 6px; }
.frise-dots { height: calc(var(--pile) * var(--pas) + 18px); margin: 0; border-bottom: 2px solid var(--ere, var(--line)); border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--ere, #8b2635) 16%, transparent), transparent 85%);
  background-image: linear-gradient(to top, color-mix(in srgb, var(--ere, #8b2635) 16%, transparent), transparent 85%), repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), rgba(255,255,255,.05) calc(25% - 1px) 25%); }
.frise-dot { background: var(--ere, #8b2635); opacity: .8; box-shadow: 0 0 0 1.5px var(--bg); bottom: calc(var(--k) * var(--pas) + 5px); }
.frise-dot.is-fiche { background: #f3ece0; opacity: 1; box-shadow: 0 0 0 2px var(--ere, #c9414f), 0 0 0 3.5px var(--bg); }
.frise-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; } /* zone de clic : 18 px */
.frise-dot:hover, .frise-dot:focus-visible, .frise-dot.is-hi { transform: scale(1.6); background: #fff; opacity: 1; box-shadow: 0 0 0 2px var(--ere, #c9414f), 0 0 12px var(--ere, #c9414f); }
.frise-band:hover .frise-dots { background-color: rgba(255,255,255,.02); }
.frise.has-sel .frise-band:not(.is-on) .frise-dot { opacity: .2; }
.frise-band.is-on .frise-era { background: color-mix(in srgb, var(--ere, #8b2635) 18%, transparent); border-top-color: var(--ere, var(--accent-2)); }
.frise-era { border-top: 0; padding-top: 9px; }
.frise-nom { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-size: .86rem; color: var(--text); font-weight: 500; }
.frise-tip { display: flex; flex-direction: column; gap: 1px; background: #201e1c; border: 1px solid var(--ere, var(--line)); border-left-width: 3px; padding: 6px 10px; box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.frise-tip strong { font-weight: 600; font-size: .82rem; }
.frise-tip[hidden] { display: none; } /* 30/09/2026 : la règle display:flex ci-dessus l'emportait sur [hidden] (pastille vide sous la frise) */
.frise-tip-go { font-family: var(--mono); font-size: .7rem; color: var(--kraft); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 720px) {
  .frise { --pas: 11px; --d: 9px; margin-top: -24px; }
  .frise-legende { display: none; }
  .frise-bands { display: grid; grid-template-columns: repeat(6, 150px); gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 12px 16px 4px; scrollbar-width: thin; overscroll-behavior-x: contain; }
  .frise-band { scroll-snap-align: start; }
  .frise-nom { display: block; font-size: .78rem; }
  .frise-years, .frise-n { font-family: var(--mono); font-size: .66rem; letter-spacing: 0; }
  .frise-long { display: inline; } .frise-court { display: none; }
  .frise-era { padding: 6px 6px 8px; }
}
@media (max-width: 720px) {
  .frise-bands { scroll-padding-inline: 16px; }
  /* globe + frise dans un écran : la frise v2 est plus haute (~230 px) */
  .globe-teaser { height: clamp(220px, calc(100vh - 330px), 420px); height: clamp(220px, calc(100svh - 330px), 420px); }
}

/* ---- Drapeaux à la place des couleurs d'époque dans les onglets (30/09/2026, retour de Nathan) */
.drapeau { display: inline-block; width: 20px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); vertical-align: -2px; flex: 0 0 auto; }
.chemise-onglet .chemise-pays { display: inline-flex; align-items: center; gap: 7px; background: #2e2a25; color: var(--text); border: 1px solid #4a433a; border-bottom: 0; padding: 3px 10px 3px 7px; font-weight: 600; }
.pays-nav--accueil a .drapeau { width: 18px; height: 13.5px; }
.chemise-onglet span.chemise-pays:first-child { background: #2e2a25; color: var(--text); }
.chemise, .chemise:hover { border-top-color: var(--kraft); }
.chemise:hover { border-color: var(--kraft); }

/* bouton « Au hasard » dans la barre compacte du globe, mobile uniquement (30/09/2026) */
.map-hasard-m { display: none; }
@media (max-width: 720px) {
  .map-panel { grid-template-columns: 1fr auto auto; column-gap: 8px; }
  .map-panel h1 { white-space: nowrap; }
  .map-hasard-m { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--kraft); border-radius: 999px; font: inherit; font-size: .85rem; font-weight: 600; color: var(--text); background: var(--bg); cursor: pointer; white-space: nowrap; }
  .map-hasard-m::before { content: '⚄'; color: var(--kraft); font-size: 1rem; line-height: 1; }
  .map-panel .filters, .map-panel .legend { grid-column: 1 / -1; }
}

/* ---- Cohérence visuelle accueil / autres pages (30/09/2026, §5 n° 20)
   /affaires/ et « Dossiers complets » des hubs : mêmes chemises que « Dossiers récents ».
   En-tête des dossiers et notices : étiquette d'archive discrète au-dessus du H1 (H1 Newsreader et corps inchangés). */
.chemises--index { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.chemise-statut { font-size: .82rem; color: var(--text-2); margin: 0 0 8px; }
.chemise-statut .badge { font-size: .64rem; padding: 1px 7px; }
.hub .chemises { margin-top: 30px; }
.card .meta .drapeau { width: 16px; height: 12px; vertical-align: -1px; }
.archive-etiquette { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px dashed rgba(201,163,106,.4); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--kraft); }
.archive-pays { display: inline-flex; align-items: center; gap: 7px; background: #2e2a25; color: var(--text); border: 1px solid #4a433a; padding: 3px 10px 3px 7px; border-radius: 4px 4px 0 0; font-weight: 600; text-decoration: none; }
.archive-pays:hover { border-color: var(--kraft); color: #fff; }
.archive-type { color: var(--text-2); }
.archive-annees { color: var(--kraft); }
.archive-lieu { color: var(--muted); }
.archive-lieu a { color: inherit; }
.archive-etiquette .tampon-mini { margin-left: auto; font-size: .66rem; }
@media (max-width: 720px) {
  /* /affaires/ reste une grille verticale (page d'arrivée, pas une bande à faire défiler) */
  .chemises.chemises--index { display: grid; grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; padding: 26px 0 0; margin: 0 0 10px; gap: 34px; }
  .archive-etiquette { font-size: .66rem; gap: 6px 10px; }
}

/* ---- Chiffres de l'accueil cliquables (30/09/2026, demande de Nathan) */
.stats a { color: inherit; text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
.stats a strong { color: var(--text); }
.stats a:hover, .stats a:focus-visible { border-left-color: var(--accent-2); transform: translateX(2px); }
.stats a:hover span, .stats a:focus-visible span { color: var(--kraft); }
.stats a span::after { content: " →"; opacity: .55; }
@media (prefers-reduced-motion: reduce) { .stats a { transition: none; } .stats a:hover { transform: none; } }
#pays { scroll-margin-top: 80px; }

/* ---- Frise mobile : flèches de défilement au milieu de la piste (30/09/2026, demande de Nathan :
   la flèche à côté du titre n'était pas intuitive). Boutons ajoutés par map.js, masqués au bout de la piste. */
.frise-piste { position: relative; }
.frise-fleche { display: none; }
@media (max-width: 720px) {
  .frise-fleche { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid var(--kraft); background: rgba(24,22,20,.9); color: var(--kraft); font-size: 1.3rem; line-height: 1; padding: 0; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.5); transition: opacity .2s; }
  .frise-fleche--d { right: 4px; }
  .frise-fleche--g { left: 4px; }
  .frise-fleche[hidden] { display: none; }
}

/* Profil psychologique au gabarit R2 (01/10/2026) : sources propres sous la section, conclusion judiciaire sur le hub /profils/. */
.profil-sources { margin: 18px 0 34px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.profil-sources-titre { margin: 0 0 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.profil-sources .sources { margin: 0 0 8px; }
.chemise-note { font-size: .88rem; color: var(--text-2); line-height: 1.5; margin: 0 0 12px; }
.chemise-note strong { color: var(--text); font-weight: 600; }

/* ---- recherche sur tout le site, dans l'en-tête (01/10/2026) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header .brand { order: 0; }
.site-header .nav { order: 1; margin-left: auto; }
.site-search { order: 2; position: relative; flex: 0 1 230px; min-width: 150px; }
.site-search input { width: 100%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5' fill='none' stroke='%23a9a49a' stroke-width='2'/%3E%3Cpath d='M12.6 12.6L17 17' stroke='%23a9a49a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 11px 50% / 15px; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 7px 14px 7px 33px; font: inherit; font-size: .88rem; line-height: 1.3; }
.site-search input::placeholder { color: var(--muted); }
.site-search input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.site-search input::-webkit-search-cancel-button { filter: invert(.7); }
.site-search__res { position: absolute; right: 0; top: calc(100% + 8px); width: min(440px, 92vw); max-height: min(70vh, 520px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.45); z-index: 60; }
.site-search__res[hidden] { display: none; }
.site-search__res [role="option"] a { display: grid; grid-template-columns: 78px 1fr; column-gap: 10px; align-items: baseline; padding: 7px 8px; border-radius: 4px; color: var(--text); text-decoration: none; }
.site-search__res [role="option"] a:hover, .site-search__res [role="option"].is-active a { background: var(--bg-3); }
.site-search__res [role="option"].is-active a .site-search__nom { color: #fff; }
.site-search__type { grid-row: span 2; align-self: start; margin-top: 2px; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); border: 1px dashed var(--line); border-radius: 3px; padding: 1px 4px; text-align: center; }
.site-search__nom { font-size: .92rem; line-height: 1.35; }
.site-search__meta { grid-column: 2; color: var(--text-2); font-size: .78rem; }
.site-search__pied, .site-search__vide { padding: 8px 8px 4px; font-size: .82rem; color: var(--text-2); }
.site-search__pied { border-top: 1px solid var(--line); margin-top: 4px; }
.site-search__pied a, .site-search__vide a { color: var(--accent-text); }
.search-toggle { display: none; order: 3; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); color: var(--text); padding: 6px 9px; border-radius: var(--radius); cursor: pointer; }
.site-header .nav-toggle { order: 4; }
@media (max-width: 900px) and (min-width: 721px) { .site-header .nav { gap: 14px; } .nav a { font-size: .9rem; } .site-search { flex-basis: 170px; } }
@media (max-width: 720px) {
  .search-toggle { display: inline-flex; margin-left: auto; }
  .site-header .wrap { gap: 10px; }
  .site-search { display: none; position: absolute; left: 0; right: 0; top: 64px; padding: 10px 16px 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); min-width: 0; }
  .site-search.open { display: block; }
  .site-search input { font-size: 1rem; padding-top: 9px; padding-bottom: 9px; } /* 16 px : pas de zoom automatique sur iOS */
  .site-search__res { position: static; width: auto; max-height: 60vh; margin-top: 8px; box-shadow: none; }
}

/* ---- thèmes : boutons de la frise de l'accueil et notes (tueuses, 01/10/2026 ; généralisé le 05/10/2026, R14 :
   un bouton .frise-theme par thème, trois au plus, puis le lien .frise-themes-tous) */
.frise-theme { align-self: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: .8rem; line-height: 1.5; cursor: pointer; white-space: nowrap; }
.frise-reset[hidden] + .frise-theme, .frise-head > .frise-theme:first-of-type { margin-left: auto; }
.frise-theme:hover { background: var(--bg-3); color: var(--text); border-color: var(--accent-2); }
.frise-theme[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-2); color: var(--text); }
.frise-theme[hidden] { display: none; }
.frise.is-theme .frise-dot.is-hors-theme { opacity: .12; pointer-events: none; } /* même spécificité (0,4,0) que la règle d'origine */
.frise-themes-tous { align-self: center; white-space: nowrap; color: var(--accent-text); }
.frise-theme-note { margin: -4px 0 8px; color: var(--text-2); }
.frise-theme-note[hidden] { display: none; }
.frise-theme-note a { color: var(--accent-text); }
@media (max-width: 720px) { .frise-head { flex-wrap: wrap; } .frise-theme { font-size: .75rem; padding: 2px 10px; } }

/* ---- frise de l'accueil : points plus gros et plus faciles à cliquer (01/10/2026, retour de Nathan) — 12 colonnes par
   époque au lieu de 16 (frise() dans build.mjs) : les points ne se chevauchent plus, zone de clic de 20 px */
.frise { --pas: 15px; --d: 12px; }
.frise-dot::after { inset: -4px; }
.frise-dot:hover, .frise-dot:focus-visible, .frise-dot.is-hi { transform: scale(1.4); }
@media (max-width: 720px) { .frise { --pas: 14px; --d: 11px; } .frise-bands { grid-template-columns: repeat(6, 172px); } }

/* ---- Compteurs cliquables (R10, 04/10/2026) : chaque nombre d'un chapô mène à sa preuve dans la page (hubs, pages
   thème, /tueurs/, /profils/). Lien souligné comme tout lien du site ; ligne « Par pays » sous le chapô des pages thème. */
.compteur { white-space: nowrap; font-weight: 600; text-decoration-thickness: 2px; }
.hub h2[id], #par-pays { scroll-margin-top: 16px; }
.par-pays { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 20px; }
.par-pays .etiquette { margin: 0; }
.par-pays .pays-nav { margin: 0; }
.pays-nav .pays-item { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; padding: 7px 4px; color: var(--text-2); }

/* ---- Bouton « retour en haut » (R9, 04/10/2026). Sans JavaScript : simple lien du pied de page. Avec JavaScript
   (site.js) : pastille fixe de 44 px en bas à droite, affichée après ≈ 1,5 écran de défilement. Absent de /carte/
   (pied de page masqué) et sous l'écran +18. Si une annonce ancrée est activée un jour (Vague 5), relever
   --retour-haut-bas sur les pages concernées. */
#haut { position: absolute; top: 0; left: 0; width: 1px; height: 1px; outline: none; }
.retour-haut-ligne { margin: 14px 0 0; }
.retour-haut { display: inline-flex; align-items: center; gap: 8px; color: var(--kraft); font-size: .9rem; }
.retour-haut-ligne.is-flottant { margin: 0; }
.retour-haut--flottant { position: fixed; right: 16px; bottom: calc(var(--retour-haut-bas, 16px) + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: rgba(26,26,30,.94); border: 1px solid var(--kraft); color: var(--kraft); text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.retour-haut--flottant.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.retour-haut--flottant:hover { background: var(--accent); border-color: var(--accent-2); color: #fff; }
.retour-haut--flottant:focus-visible { outline: 2px solid #efe9df; outline-offset: 3px; }
.retour-haut--flottant .retour-haut__txt { display: none; }
.retour-haut--flottant svg { width: 20px; height: 20px; }
body.no-scroll .retour-haut--flottant { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .retour-haut--flottant, .retour-haut--flottant.is-visible { transition: none; transform: none; } }
@media print { .retour-haut-ligne { display: none; } }
