/* ============================================================
   VICE HUB — identité Vice City (néon Miami années 80)
   Front statique pur. Aucune dépendance de build.
   ============================================================ */

:root {
  --bg: #0d0221;
  --bg-2: #1a0838;
  --magenta: #ff2e97;
  --cyan: #05d9e8;
  --purple: #7b2ff7;
  --sun-top: #ffd319;
  --sun-mid: #ff5e6c;
  --sun-bot: #ff2e97;
  --text: #f4eafe;
  --text-dim: #b8a8d8;

  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(120% 90% at 50% 0%, var(--bg-2) 0%, var(--bg) 55%, #06010f 100%);
  overflow-x: hidden;
  position: relative;
}

/* --- Décor de fond : grille synthwave + soleil --- */
.bg-grid {
  position: fixed;
  inset: 50% 0 0 0;
  background-image:
    linear-gradient(transparent 0%, rgba(255, 46, 151, 0.18) 100%),
    repeating-linear-gradient(90deg, rgba(5, 217, 232, 0.25) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(5, 217, 232, 0.25) 0 1px, transparent 1px 64px);
  transform: perspective(340px) rotateX(62deg);
  transform-origin: top center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  mask-image: linear-gradient(transparent, #000 40%);
}

.bg-sun {
  position: fixed;
  top: 8%;
  left: 50%;
  width: min(440px, 70vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--sun-top), var(--sun-mid) 45%, var(--sun-bot));
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mask-image: repeating-linear-gradient(0deg, #000 0 12px, transparent 12px 20px);
  -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 12px, transparent 12px 20px);
}

/* --- Header --- */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(255, 46, 151, 0.6);
}
.logo span { color: var(--cyan); text-shadow: 0 0 14px rgba(5, 217, 232, 0.7); }

.nav { display: flex; gap: clamp(0.8rem, 2.5vw, 2rem); flex-wrap: wrap; }
.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s, text-shadow 0.2s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); text-shadow: 0 0 12px rgba(5, 217, 232, 0.6); }

/* --- Hero --- */
main { position: relative; z-index: 2; }

.hero {
  text-align: center;
  padding: clamp(2.5rem, 9vh, 6rem) clamp(1.2rem, 5vw, 4rem) 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff 0%, var(--cyan) 55%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 46, 151, 0.45));
}

.hero-sub {
  margin-top: 1rem;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  color: var(--text-dim);
}
.hero-sub strong { color: var(--text); }

/* --- Countdown --- */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.3rem, 2vw, 1rem);
  margin: clamp(2rem, 6vh, 3.5rem) auto 0;
  flex-wrap: wrap;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(70px, 18vw, 130px);
  padding: clamp(0.7rem, 2.5vw, 1.4rem) clamp(0.4rem, 2vw, 1rem);
  background: rgba(26, 8, 56, 0.55);
  border: 1px solid rgba(5, 217, 232, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(123, 47, 247, 0.25), inset 0 0 18px rgba(5, 217, 232, 0.08);
  backdrop-filter: blur(6px);
}

.num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(5, 217, 232, 0.8), 0 0 36px rgba(255, 46, 151, 0.4);
  font-variant-numeric: tabular-nums;
}

.label {
  margin-top: 0.5rem;
  font-size: clamp(0.65rem, 1.6vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

.sep {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2.6rem);
  color: var(--magenta);
  text-shadow: 0 0 14px rgba(255, 46, 151, 0.7);
  align-self: flex-start;
  margin-top: clamp(0.7rem, 2.5vw, 1.4rem);
}
@media (max-width: 520px) { .sep { display: none; } }

.countdown-note {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  min-height: 1.2em;
}

/* --- Boutons --- */
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 6vh, 3rem);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #11021f;
  background: linear-gradient(120deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 24px rgba(255, 46, 151, 0.5);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(5, 217, 232, 0.7); }

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(5, 217, 232, 0.5);
  background: rgba(5, 217, 232, 0.06);
}
.btn-ghost:hover { background: rgba(5, 217, 232, 0.14); }

a[data-soon] { cursor: not-allowed; position: relative; }

/* Aperçu image sur l'accueil */
.home-preview {
  max-width: 760px;
  margin: clamp(2.5rem, 7vh, 4rem) auto 0;
}
.home-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(5, 217, 232, 0.25);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 46, 151, 0.15);
}
.home-preview figcaption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 3rem clamp(1.2rem, 5vw, 4rem);
  text-align: center;
}
.disclaimer {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(184, 168, 216, 0.7);
}

/* ============================================================
   Pages de contenu (régions, etc.)
   ============================================================ */

.page-head {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 4rem) clamp(1.2rem, 5vw, 4rem) 1rem;
  text-align: center;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  background: linear-gradient(180deg, #fff, var(--cyan) 70%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 46, 151, 0.4));
}
.page-intro {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.6;
}
.page-intro strong { color: var(--text); }

/* --- Badges de fiabilité --- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border: 1px solid;
}
.badge-officiel { color: #05ffd1; border-color: rgba(5, 255, 209, 0.6); background: rgba(5, 255, 209, 0.1); }
.badge-observe  { color: #ffd319; border-color: rgba(255, 211, 25, 0.6); background: rgba(255, 211, 25, 0.1); }
.badge-rumeur   { color: #ff7a9c; border-color: rgba(255, 122, 156, 0.6); background: rgba(255, 122, 156, 0.12); }

/* --- Grille de régions --- */
.region-grid {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 clamp(1.2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.region-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20, 6, 42, 0.92);
  border: 1px solid rgba(5, 217, 232, 0.25);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.region-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 46, 151, 0.5);
  box-shadow: 0 8px 30px rgba(123, 47, 247, 0.3);
}
.card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #160730;
}
.card-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #2a0d52, #120426);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 0.5rem;
}
.region-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.region-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.region-card-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
.region-inspiration { margin-top: 0.5rem; font-size: 0.85rem; color: var(--cyan); }
.region-tagline { margin-top: 0.5rem; color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }

/* --- Panneau de lisibilité (contenu sur fond) --- */
.content-shell {
  max-width: 900px;
  margin: clamp(1.5rem, 5vh, 3rem) auto;
  background: rgba(12, 3, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(123, 47, 247, 0.3);
  border-radius: 22px;
  box-shadow: 0 14px 60px rgba(0, 0, 0, 0.5);
}

/* Atténuer le décor derrière les pages de contenu */
body.content-page .bg-sun { opacity: 0.1; }
body.content-page .bg-grid { opacity: 0.35; }

/* --- Fiche région --- */
.region-detail {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.6rem, 5vw, 2.8rem) clamp(1.2rem, 5vw, 3rem) 2.2rem;
}
.detail-hero {
  margin: 1.4rem 0 0;
}
.detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(5, 217, 232, 0.2);
}
.detail-hero figcaption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}
.back-link { color: var(--cyan); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.back-link:hover { text-shadow: 0 0 10px rgba(5, 217, 232, 0.6); }
.region-detail-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.region-detail-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem);
}
.region-detail .region-inspiration { font-size: 0.95rem; margin-top: 0.8rem; }
.status-note {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  border-left: 3px solid;
}
.badge-officiel-note { background: rgba(5, 255, 209, 0.06); border-color: #05ffd1; color: #cfeee7; }
.badge-observe-note  { background: rgba(255, 211, 25, 0.06); border-color: #ffd319; color: #efe6c6; }
.badge-rumeur-note   { background: rgba(255, 122, 156, 0.07); border-color: #ff7a9c; color: #f0d4dd; }
.region-summary { margin-top: 1.4rem; line-height: 1.7; font-size: 1.05rem; color: var(--text); }
.region-detail h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--cyan);
}
.highlights, .sources { margin-top: 0.8rem; padding-left: 1.2rem; line-height: 1.8; color: var(--text-dim); }
.sources a { color: var(--magenta); }
.poi-list {
  columns: 2; column-gap: 1.5rem;
  margin-top: 0.8rem; padding-left: 1.1rem; line-height: 1.7; color: var(--text-dim); font-size: 0.92rem;
}
.poi-list li { break-inside: avoid; }
.region-map-cta { margin-top: 1.6rem; }
@media (max-width: 520px) { .poi-list { columns: 1; } }

/* --- Timeline (Actu) --- */
.timeline {
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0 clamp(1.2rem, 5vw, 3rem) 2rem;
  max-width: 760px;
}
.tl-item {
  position: relative;
  padding-left: 1.8rem;
  padding-bottom: 1.6rem;
  border-left: 2px solid rgba(123, 47, 247, 0.4);
}
.tl-item:last-child { border-left-color: transparent; }
.tl-dot {
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px rgba(255, 46, 151, 0.8);
}
.tl-upcoming .tl-dot { background: var(--cyan); box-shadow: 0 0 14px rgba(5, 217, 232, 0.9); }
.tl-card {
  background: rgba(26, 8, 56, 0.5);
  border: 1px solid rgba(5, 217, 232, 0.18);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.tl-head { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.tl-date { font-family: var(--font-display); color: var(--cyan); font-size: 0.95rem; }
.tl-soon {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: #11021f; background: var(--cyan); padding: 0.15rem 0.55rem; border-radius: 999px;
}
.tl-card h2 { font-family: var(--font-display); font-size: 1.2rem; margin-top: 0.5rem; }
.tl-card p { margin-top: 0.4rem; color: var(--text-dim); line-height: 1.6; font-size: 0.96rem; }
.tl-source { display: inline-block; margin-top: 0.6rem; color: var(--magenta); text-decoration: none; font-size: 0.85rem; font-weight: 600; }
.tl-source:hover { text-shadow: 0 0 10px rgba(255, 46, 151, 0.6); }

/* --- Comparaison de carte --- */
.map-compare {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 3rem);
}
.map-row { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.map-label { width: 170px; font-weight: 600; color: var(--text); font-size: 0.95rem; }
.map-bar { flex: 1; min-width: 180px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; overflow: hidden; }
.map-fill {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0.6rem 0.9rem; border-radius: 10px; color: #11021f; font-weight: 800;
  font-family: var(--font-display); white-space: nowrap;
}
.map-fill-6 { background: linear-gradient(90deg, var(--cyan), var(--magenta)); }
.map-fill-5 { background: linear-gradient(90deg, #7b2ff7, #b06bff); color: #fff; }
.map-callout {
  text-align: center; margin-top: 1.4rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  background: linear-gradient(180deg, #fff, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.map-cta { margin-top: 2rem; text-align: center; }

/* --- Carte interactive plein écran (Leaflet) --- */
.page-head--tight { padding-top: clamp(1.4rem, 4vh, 2.4rem); padding-bottom: 0.8rem; }
.leo-map-full {
  width: 100%;
  height: clamp(540px, 82vh, 1000px);
  border-top: 1px solid rgba(5, 217, 232, 0.25);
  border-bottom: 1px solid rgba(5, 217, 232, 0.25);
  background: #0a0420;
}
/* Grille technique en fond de carte (autour de l'image).
   Le conteneur porte à la fois .leo-map-full ET .leaflet-container (même élément) :
   sélecteur composé (sans espace) pour battre le fond #ddd par défaut de Leaflet. */
.leo-map-full.leaflet-container {
  background-color: #0a0420;
  background-image:
    linear-gradient(rgba(5, 217, 232, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 217, 232, 0.10) 1px, transparent 1px),
    linear-gradient(rgba(255, 46, 151, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 46, 151, 0.06) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
}

/* Boutons-tags de couches (remplace les cases à cocher Leaflet) */
.leo-tags {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.7rem;
  background: rgba(13, 2, 33, 0.82);
  border: 1px solid rgba(5, 217, 232, 0.3);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.leo-tags-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}
.leo-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, opacity 0.15s;
  opacity: 0.55;
}
.leo-tag b { color: var(--c); font-weight: 800; }
.leo-tag .leo-tag-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 8px var(--c);
  flex: 0 0 auto;
}
.leo-tag:hover { opacity: 0.85; }
.leo-tag.is-on {
  opacity: 1;
  color: var(--text);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--c) 35%, transparent);
}
.leo-pop-credit { color: rgba(184, 168, 216, 0.7); font-size: 0.68rem; margin-top: 0.35rem; line-height: 1.4; }
.leo-pop-credit a { color: var(--cyan); }
.leo-pop-img {
  width: 100%; display: block; border-radius: 8px; margin-bottom: 0.5rem;
  border: 1px solid rgba(5, 217, 232, 0.25);
}

/* ===== Page carte plein écran (sans scroll) ===== */
body.map-fullscreen { overflow: hidden; height: 100dvh; }
body.map-fullscreen .bg-grid,
body.map-fullscreen .bg-sun { display: none; }
body.map-fullscreen .site-footer { display: none; }
body.map-fullscreen main { height: 100dvh; }
body.map-fullscreen .site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1200;
  background: linear-gradient(to bottom, rgba(10, 4, 32, 0.92), rgba(10, 4, 32, 0));
}
/* décale les contrôles Leaflet du haut (tags) sous le header */
body.map-fullscreen .leaflet-top { top: 78px; }

.map-stage { position: relative; width: 100%; height: 100dvh; }
body.map-fullscreen .leo-map-full {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; z-index: 1;
}

/* Panneau titre en overlay (HTML réel = indexé SEO) */
.map-panel {
  position: absolute; top: 84px; left: 18px; z-index: 600;
  width: min(340px, calc(100vw - 36px));
  background: rgba(13, 2, 33, 0.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(5, 217, 232, 0.3); border-radius: 18px;
  padding: 1.2rem 1.35rem; box-shadow: 0 14px 50px rgba(0, 0, 0, 0.55);
}
.map-panel h1 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  background: linear-gradient(180deg, #fff, var(--cyan) 70%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.map-panel-intro { margin-top: 0.6rem; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }
.map-panel-intro strong { color: var(--text); }
.map-panel-stat { margin-top: 0.9rem; color: var(--text-dim); font-size: 0.85rem; }
.map-panel-big {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  background: linear-gradient(180deg, #fff, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.map-panel-sub { color: var(--text-dim); font-size: 0.78rem; }
.map-panel-credit { margin-top: 0.9rem; font-size: 0.72rem; color: rgba(184, 168, 216, 0.75); line-height: 1.5; }
.map-panel-credit a { color: var(--cyan); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; margin-top: 0.95rem; }

@media (max-width: 600px) {
  .map-panel { top: 72px; width: calc(100vw - 24px); left: 12px; padding: 1rem 1.1rem; }
  .map-panel-intro { display: none; }
}

/* Page "à venir" (Astuces) */
.soon-shell { max-width: 700px; margin: clamp(2rem, 9vh, 5rem) auto; text-align: center; padding: clamp(2rem, 5vw, 3.5rem); }
.soon-badge {
  display: inline-block; padding: 0.35rem 0.95rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em;
  color: #11021f; background: linear-gradient(120deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 22px rgba(255, 46, 151, 0.45);
}
.soon-shell h1 {
  font-family: var(--font-display); font-weight: 800; margin-top: 1.1rem;
  font-size: clamp(2rem, 6vw, 3rem);
  background: linear-gradient(180deg, #fff, var(--cyan) 65%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.soon-shell .page-intro { margin-top: 1rem; }
.soon-note { margin-top: 1.6rem; color: var(--text-dim); line-height: 1.6; font-size: 0.95rem; }
.soon-note a { color: var(--cyan); }

/* ===== Journal / blog (Actu) ===== */
.article-grid {
  max-width: 1100px; margin: 1.5rem auto 2.5rem; padding: 0 clamp(1.2rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem;
}
.article-card {
  display: block; border-radius: 16px; overflow: hidden;
  background: rgba(20, 6, 42, 0.92); border: 1px solid rgba(5, 217, 232, 0.22);
  text-decoration: none; color: var(--text);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.article-card:hover { transform: translateY(-3px); border-color: rgba(255, 46, 151, 0.5); box-shadow: 0 8px 30px rgba(123, 47, 247, 0.3); }
.article-card-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #160730; }
.article-card-body { padding: 1.1rem 1.3rem 1.4rem; }
.article-card h2 { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; margin-top: 0.55rem; }
.article-card p { margin-top: 0.5rem; color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }
.article-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.article-date { color: var(--cyan); font-size: 0.8rem; font-weight: 600; }
.article-tag { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--magenta); border: 1px solid rgba(255, 46, 151, 0.4); border-radius: 999px; padding: 0.12rem 0.5rem; }

/* Page article */
.article { max-width: 860px; padding: clamp(1.6rem, 5vw, 2.8rem) clamp(1.2rem, 5vw, 3rem) 2.4rem; }
.article .article-meta { margin-top: 0.4rem; }
.article-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.1; margin-top: 0.6rem; }
.article-excerpt { margin-top: 0.8rem; color: var(--text-dim); font-size: 1.1rem; line-height: 1.5; }
.article-cover { margin: 1.5rem 0 0; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; border: 1px solid rgba(5, 217, 232, 0.2); }
.article-cover figcaption { margin-top: 0.5rem; font-size: 0.78rem; color: var(--text-dim); font-style: italic; }
.article-body { margin-top: 1.6rem; line-height: 1.75; color: var(--text); font-size: 1.02rem; }
.article-body h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--cyan); margin-top: 1.8rem; }
.article-body p { margin-top: 1rem; }
.article-body ul { margin-top: 1rem; padding-left: 1.3rem; }
.article-body li { margin-top: 0.4rem; }
.article-body a { color: var(--magenta); }
.article-body strong { color: #fff; }
.leo-map-hint {
  text-align: center; font-size: 0.8rem; color: var(--text-dim);
  max-width: 880px; margin: 0.8rem auto 0; padding: 0 1.2rem; line-height: 1.6;
}
.map-section-title {
  text-align: center; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.3rem, 3.5vw, 1.9rem); margin-bottom: 1.4rem; color: var(--text);
}
.leo-pop-cat { color: var(--text-dim); font-size: 0.78rem; font-style: italic; }
.leo-pin {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c); border: 2px solid #0d0221;
  box-shadow: 0 0 10px var(--c), 0 0 20px var(--c);
  transition: transform 0.15s;
}
.leo-pin--sm { width: 12px; height: 12px; border-width: 1px; }
.leo-pin-wrap:hover .leo-pin { transform: scale(1.3); }
.leo-pop-region { color: var(--cyan); font-size: 0.82rem; }
/* contrôle de couches Leaflet, thème sombre */
.leaflet-control-layers {
  background: #1a0838 !important;
  color: var(--text);
  border: 1px solid rgba(5, 217, 232, 0.4) !important;
  border-radius: 10px !important;
  padding: 0.3rem 0.2rem;
}
.leaflet-control-layers label { font-family: var(--font-body); font-size: 0.85rem; }
.leaflet-bar a { background: #1a0838; color: var(--text); border-color: rgba(5,217,232,.3); }
.leaflet-bar a:hover { background: #2a0d52; }
.leaflet-popup-content-wrapper, .leaflet-tooltip {
  background: #1a0838; color: var(--text); border: 1px solid rgba(5, 217, 232, 0.4);
}
.leaflet-popup-content { font-family: var(--font-body); }
.leaflet-popup-content strong { font-family: var(--font-display); }
.leaflet-popup-content a { color: var(--magenta); font-weight: 700; }
.leaflet-popup-tip { background: #1a0838; }
.leaflet-container a.leaflet-popup-close-button { color: var(--text-dim); }
.leaflet-tooltip-top::before { border-top-color: rgba(5, 217, 232, 0.4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
