/* ============================================================
   JUSGENTIUM — Feuille de style commune
   ============================================================ */

:root {
  --bg: #0b1120;
  --bg-deep: #060912;
  --surface: #131c30;
  --surface-2: #1b2540;
  --line: #2a3553;
  --line-soft: rgba(212, 175, 110, 0.18);

  --ink: #f3eada;
  --ink-soft: #d9cfb8;
  --ink-muted: #8c9bb8;
  --ink-faint: #5a6786;

  --gold: #d4af6e;
  --gold-bright: #e8c989;
  --gold-deep: #a67f3e;
  --gold-glow: rgba(212, 175, 110, 0.35);

  --country-fill: #1c2740;
  --country-stroke: #3d4a6e;
  --graticule: rgba(212, 175, 110, 0.07);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-accent:  "Cinzel", serif;
  --font-body:    "Manrope", sans-serif;

  --header-height: 72px;
  --t: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body.map-page { overflow: hidden; height: 100%; }
body.standard-page { overflow-x: hidden; }

body {
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 110, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(60, 80, 130, 0.07) 0%, transparent 60%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.32;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
input { font: inherit; color: inherit; background: none; border: none; outline: none; }

/* ============================================================
   HEADER (commun)
   ============================================================ */

.site-header {
  position: relative;
  z-index: 10;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-deep) 0%, transparent 100%);
}

body.standard-page .site-header { background: var(--bg-deep); position: sticky; top: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }

.brand-name {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand-name .sep { color: var(--gold); margin: 0 5px; }

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.site-nav a {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--t);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t), left var(--t);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-bright);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
  left: 0;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Lien "Qui sommes-nous?" placé à droite, à gauche de la recherche */
.nav-right-link {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--t);
  white-space: nowrap;
}

.nav-right-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t), left var(--t);
}

.nav-right-link:hover,
.nav-right-link.active {
  color: var(--gold-bright);
}

.nav-right-link:hover::after,
.nav-right-link.active::after {
  width: 100%;
  left: 0;
}

/* Recherche */
.search-wrap {
  position: relative;
  width: 240px;
  max-width: 100%;
}

.search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: border-color var(--t), background var(--t);
}

.search-input::placeholder { color: var(--ink-faint); font-style: italic; }
.search-input:focus { border-color: var(--gold); background: var(--surface-2); }

.search-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--ink-faint); pointer-events: none;
}

.search-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  max-height: 300px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 2px;
  z-index: 50; display: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.search-results.open { display: block; }

.search-result {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; cursor: pointer; font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--t);
}

.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result.focused { background: var(--surface-2); color: var(--gold-bright); }

.search-result-flag {
  width: 20px; height: 14px; object-fit: cover;
  border-radius: 1px; border: 1px solid rgba(255, 255, 255, 0.1); flex-shrink: 0;
}

.back-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-accent); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-muted); transition: color var(--t);
}

.back-link:hover { color: var(--gold); }
.back-link svg { width: 13px; height: 13px; transition: transform var(--t); }
.back-link:hover svg { transform: translateX(-3px); }

/* ============================================================
   FOOTER (commun)
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(24px, 6vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  position: relative;
  z-index: 5;
}

.site-footer .dot { color: var(--gold); margin: 0 7px; }

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  color: var(--ink-muted);
  transition: color var(--t);
}

.footer-nav a:hover { color: var(--gold-bright); }

/* ============================================================
   CARTE (index.html)
   ============================================================ */

.hero {
  position: absolute;
  top: var(--header-height);
  left: 0; right: 0;
  z-index: 5;
  text-align: center;
  padding: clamp(28px, 4.5vh, 56px) 24px clamp(16px, 2vh, 28px);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-accent); font-size: 10px;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--gold); opacity: 0.5;
}

.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 5vw, 64px); line-height: 1.05;
  color: var(--ink); margin-bottom: 10px;
}

.hero-title em { font-style: italic; color: var(--gold-bright); font-weight: 400; }

.hero-sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--ink-muted); max-width: 480px; margin: 0 auto;
}

.map-wrap {
  position: relative; z-index: 2;
  width: 100%; height: calc(100vh - var(--header-height));
  overflow: hidden;
}

#world-map { display: block; width: 100%; height: 100%; cursor: grab; }
#world-map:active { cursor: grabbing; }

.graticule { fill: none; stroke: var(--graticule); stroke-width: 0.5; vector-effect: non-scaling-stroke; pointer-events: none; }
.sphere { fill: none; stroke: rgba(212, 175, 110, 0.14); stroke-width: 0.8; vector-effect: non-scaling-stroke; pointer-events: none; }

.country {
  fill: var(--country-fill); stroke: var(--country-stroke);
  stroke-width: 0.4; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; cursor: pointer;
  transition: fill 150ms ease, stroke 150ms ease, filter 150ms ease;
}

.country:hover {
  fill: var(--gold); stroke: var(--ink); stroke-width: 0.8;
  filter: drop-shadow(0 0 7px var(--gold-glow));
}

.country.search-hit {
  fill: var(--gold-bright); stroke: var(--ink); stroke-width: 1;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.borders {
  fill: none; stroke: var(--country-stroke); stroke-width: 0.3;
  vector-effect: non-scaling-stroke; pointer-events: none;
}

/* Tooltip */
.tooltip {
  position: fixed; z-index: 100;
  background: var(--surface-2); border: 1px solid var(--gold);
  border-radius: 2px; padding: 8px 14px;
  pointer-events: none; opacity: 0;
  transition: opacity 100ms;
  transform: translate(-50%, -130%);
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.tooltip.on { opacity: 1; }

.tt-name {
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: var(--gold-bright);
  display: block; margin-bottom: 2px;
}

.tt-hint {
  font-size: 10px; color: var(--ink-muted);
  letter-spacing: 0.2em; text-transform: uppercase;
}

/* Loading */
.loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  color: var(--ink-muted);
  font-family: var(--font-accent); font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase;
  pointer-events: none; z-index: 6;
}

.spinner {
  width: 30px; height: 30px;
  border: 1px solid var(--line); border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Compass */
.compass {
  position: absolute; bottom: 24px; right: 24px;
  width: 56px; height: 56px; opacity: 0.38;
  pointer-events: none; z-index: 4;
}

.map-footer {
  position: absolute; bottom: 18px; left: 24px;
  font-family: var(--font-accent); font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint); z-index: 4;
  display: flex; align-items: center; gap: 16px;
}

.map-footer .dot { color: var(--gold); }
.map-footer a { color: var(--ink-faint); transition: color var(--t); }
.map-footer a:hover { color: var(--gold-bright); }

/* ============================================================
   PAGE PAYS (pays.html)
   ============================================================ */

.country-hero {
  position: relative; z-index: 2;
  padding: clamp(50px, 9vh, 110px) clamp(24px, 6vw, 80px) clamp(36px, 5vh, 70px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.country-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}

.country-flag {
  width: 54px; height: 38px; object-fit: cover;
  border-radius: 2px; border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.country-iso {
  font-family: var(--font-accent); font-size: 11px;
  letter-spacing: 0.4em; color: var(--gold);
  padding: 4px 10px; border: 1px solid var(--gold-deep);
  border-radius: 2px;
}

.country-name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(44px, 6.5vw, 86px); line-height: 0.95;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 18px;
}

.country-sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink-muted); max-width: 520px; line-height: 1.5;
}

.mini-map-wrap {
  width: clamp(200px, 26vw, 320px);
  height: clamp(200px, 26vw, 320px);
  position: relative; flex-shrink: 0;
}

.mini-map-wrap svg { width: 100%; height: 100%; }

.mini-sphere { fill: rgba(15, 24, 44, 0.5); stroke: var(--gold-deep); stroke-width: 1; }
.mini-graticule { fill: none; stroke: rgba(212, 175, 110, 0.1); stroke-width: 0.5; }
.mini-country { fill: var(--country-fill); stroke: var(--country-stroke); stroke-width: 0.3; }
.mini-country.hi {
  fill: var(--gold-bright); stroke: var(--ink); stroke-width: 0.7;
  filter: drop-shadow(0 0 6px rgba(212, 175, 110, 0.4));
}

/* Divider */
.divider {
  max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}

.divider-line {
  display: flex; align-items: center; gap: 20px;
}

.divider-line::before, .divider-line::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}

.divider-ornament {
  font-family: var(--font-accent); font-size: 10px;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}

/* Sections grid */
.sources-section {
  padding: clamp(44px, 7vh, 80px) clamp(24px, 6vw, 80px) clamp(56px, 9vh, 110px);
  max-width: 1400px; margin: 0 auto;
}

.sources-intro {
  max-width: 600px; margin-bottom: 48px;
}

.sources-intro h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15; margin-bottom: 10px;
}

.sources-intro h2 em { font-style: italic; color: var(--gold-bright); }

.sources-intro p {
  font-family: var(--font-display); font-style: italic;
  color: var(--ink-muted); font-size: 16px; line-height: 1.5;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}

.source-card {
  background: var(--surface); padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 210px;
  position: relative;
  transition: background var(--t);
  color: inherit;
}

.source-card:hover { background: var(--surface-2); }

.source-card:hover .source-card-arrow {
  transform: translate(4px, -4px);
  opacity: 1;
}

.source-card-arrow {
  position: absolute; top: 28px; right: 28px;
  width: 18px; height: 18px;
  color: var(--gold);
  opacity: 0.45;
  transition: transform var(--t), opacity var(--t);
}

.source-card-number {
  font-family: var(--font-accent); font-size: 10px;
  letter-spacing: 0.42em; color: var(--gold);
  margin-bottom: 14px;
}

.source-card-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 24px; line-height: 1.15;
  color: var(--ink); margin-bottom: 7px;
}

.source-card-desc {
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--ink-muted);
  line-height: 1.5; margin-bottom: 22px; flex: 1;
}

.source-card-count {
  font-family: var(--font-accent); font-size: 9px;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.source-card-count strong {
  color: var(--gold-bright); font-weight: 500;
  margin-right: 6px;
}

/* ============================================================
   PAGE SOURCE (source.html)
   ============================================================ */

.source-hero {
  position: relative; z-index: 2;
  padding: clamp(50px, 8vh, 90px) clamp(24px, 6vw, 80px) clamp(28px, 4vh, 50px);
  max-width: 1100px;
  margin: 0 auto;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

.crumb a {
  color: var(--ink-muted);
  transition: color var(--t);
}

.crumb a:hover { color: var(--gold-bright); }

.crumb .sep { color: var(--gold); }

.section-roman {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 76px); line-height: 1;
  color: var(--ink); margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-title em { font-style: italic; color: var(--gold-bright); font-weight: 400; }

.section-sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink-muted); max-width: 520px;
}

.source-list-section {
  padding: clamp(28px, 4vh, 50px) clamp(24px, 6vw, 80px) clamp(60px, 10vh, 120px);
  max-width: 1100px; margin: 0 auto;
}

.source-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.source-item {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--t);
}

.source-item:hover { padding-left: 12px; }

.source-item-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.source-item-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
}

a.source-item-title { transition: color var(--t); }
a.source-item-title:hover { color: var(--gold-bright); }

.source-item-meta {
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid var(--gold-deep);
  border-radius: 2px;
}

.source-item-desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 780px;
}

.source-item-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color var(--t), gap var(--t);
}

.source-item-link:hover { color: var(--gold-bright); gap: 12px; }
.source-item-link svg { width: 12px; height: 12px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: clamp(50px, 10vh, 110px) 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.empty-state-ornament {
  font-family: var(--font-accent);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.4em;
  margin-bottom: 18px;
  opacity: 0.5;
}

.empty-state-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.empty-state-text {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 460px;
  margin: 0 auto;
}

/* ============================================================
   PAGES ARTICLE (qui-sommes-nous, mentions-legales)
   ============================================================ */

.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) clamp(24px, 6vw, 56px) clamp(60px, 10vh, 120px);
  position: relative;
  z-index: 2;
}

.article-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-accent); font-size: 10px;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}

.article-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold); opacity: 0.5;
}

.article-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(42px, 5.5vw, 76px); line-height: 1.02;
  color: var(--ink); margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.article-title em { font-style: italic; color: var(--gold-bright); font-weight: 400; }

.article-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}

.article-body h2 .num {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-right: 14px;
  vertical-align: middle;
}

.article-body h3 {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body p em { color: var(--gold-bright); font-style: italic; }

.article-body ul {
  list-style: none;
  margin: 16px 0 24px;
  padding-left: 0;
}

.article-body ul li {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}

.article-body ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 6px;
}

.article-body a {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold-deep);
  transition: color var(--t), border-color var(--t);
}

.article-body a:hover {
  color: var(--ink);
  border-color: var(--gold-bright);
}

.article-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
  color: var(--gold);
  opacity: 0.7;
}

.article-divider::before,
.article-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}

.article-divider-mark {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.3em;
}

/* ============================================================
   ANIMATIONS D'ENTRÉE
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-eyebrow { animation: fadeUp 700ms 80ms both; }
.hero-title   { animation: fadeUp 700ms 200ms both; }
.hero-sub     { animation: fadeUp 700ms 340ms both; }
#world-map    { animation: fadeIn 1s 300ms both; }
.compass, .map-footer { animation: fadeIn 1.4s 700ms both; }

.country-meta  { animation: fadeUp 600ms 80ms both; }
.country-name  { animation: fadeUp 600ms 180ms both; }
.country-sub   { animation: fadeUp 600ms 300ms both; }
.mini-map-wrap { animation: fadeIn 900ms 380ms both; }
.divider       { animation: fadeIn 800ms 460ms both; }
.sources-intro { animation: fadeUp 600ms 540ms both; }
.source-card:nth-child(1) { animation: fadeUp 500ms 620ms both; }
.source-card:nth-child(2) { animation: fadeUp 500ms 680ms both; }
.source-card:nth-child(3) { animation: fadeUp 500ms 740ms both; }
.source-card:nth-child(4) { animation: fadeUp 500ms 800ms both; }
.source-card:nth-child(5) { animation: fadeUp 500ms 860ms both; }
.source-card:nth-child(6) { animation: fadeUp 500ms 920ms both; }
.source-card:nth-child(7) { animation: fadeUp 500ms 980ms both; }
.source-card:nth-child(8) { animation: fadeUp 500ms 1040ms both; }

.crumb         { animation: fadeUp 600ms 60ms both; }
.section-roman { animation: fadeUp 600ms 140ms both; }
.section-title { animation: fadeUp 600ms 220ms both; }
.section-sub   { animation: fadeUp 600ms 320ms both; }
.source-list   { animation: fadeIn 800ms 400ms both; }

.article-eyebrow { animation: fadeUp 700ms 80ms both; }
.article-title   { animation: fadeUp 700ms 180ms both; }
.article-lead    { animation: fadeUp 700ms 300ms both; }
.article-body    { animation: fadeIn 1s 480ms both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 10px; letter-spacing: 0.22em; }
  .search-wrap { width: 180px; }

  .country-hero { grid-template-columns: 1fr; gap: 36px; }
  .mini-map-wrap { justify-self: start; }
}

@media (max-width: 700px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .site-nav { display: none; }
  .nav-right-link { display: none; }
  .header-right { justify-self: end; }
  .brand-name { font-size: 14px; letter-spacing: 0.2em; }
  .search-wrap { width: 140px; }
}

@media (max-width: 560px) {
  .source-item-head { gap: 10px; }
  .source-item-title { font-size: 22px; }
}
