/* ============================================================
   CAMEROUN POCKET — PREMIUM CSS
   Design System: Vert #009E60 · Or #FFD700 · Rouge #E91E63
   ============================================================ */

/* --- CSS VARIABLES --- */
:root {
  --green:       #009E60;
  --green-dark:  #007A40;
  --green-light: #00C853;
  --gold:        #FFD700;
  --gold-dark:   #F9A825;
  --red:         #E91E63;
  --red-dark:    #C2185B;
  --bg:          #0A0F0D;
  --bg-card:     #111916;
  --bg-card2:    #161D1A;
  --surface:     #1C2620;
  --surface2:    #243028;
  --text:        #F0FFF4;
  --text-muted:  #8FA89C;
  --text-dim:    #4D6358;
  --border:      rgba(0,158,96,0.18);
  --border-gold: rgba(255,215,0,0.25);
  --shadow:      0 8px 40px rgba(0,0,0,0.6);
  --shadow-green:0 4px 24px rgba(0,158,96,0.25);
  --shadow-gold: 0 4px 24px rgba(255,215,0,0.15);
  --radius:      16px;
  --radius-sm:   8px;
  --radius-xl:   28px;
  --font-head:   'Playfair Display', 'Georgia', serif;
  --font-body:   'Inter', 'Helvetica Neue', sans-serif;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-family: var(--font-head);
  background: linear-gradient(135deg, var(--green-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(10,15,13,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo .flag {
  display: flex;
  gap: 3px;
}
.nav-logo .flag span {
  width: 8px; height: 28px;
  border-radius: 2px;
}
.nav-logo .flag .f-green { background: var(--green); }
.nav-logo .flag .f-red   { background: var(--red); }
.nav-logo .flag .f-gold  { background: var(--gold); }

.nav-logo .brand {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
}
.nav-logo .brand span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--surface);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav {
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  transition: var(--transition);
  box-shadow: var(--shadow-green);
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,158,96,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,15,13,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--text);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 60% 40%, rgba(0,158,96,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255,215,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(233,30,99,0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,158,96,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,158,96,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,158,96,0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  color: var(--green-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero-title .line1 { display: block; color: var(--text); }
.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--gold) 60%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,158,96,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0,158,96,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--green);
  color: var(--green-light);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}
.hero-scroll .arrow { font-size: 1.2rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTIONS GENERAL
   ============================================================ */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(0,158,96,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.card-gold {
  border-color: var(--border-gold);
}
.card-gold:hover {
  border-color: rgba(255,215,0,0.45);
  box-shadow: var(--shadow-gold);
}

/* Glass Card */
.glass-card {
  background: rgba(22,29,26,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  gap: 1rem;
}
.bento-2 { grid-template-columns: repeat(2, 1fr); }
.bento-3 { grid-template-columns: repeat(3, 1fr); }
.bento-4 { grid-template-columns: repeat(4, 1fr); }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

/* ============================================================
   NAV TABS (section tabs)
   ============================================================ */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0.4rem;
  background: var(--surface);
  border-radius: 100px;
  width: fit-content;
}
.tab-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green);
  color: white;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   SECTION: EXPLORE — DESTINATIONS
   ============================================================ */
#explorer { background: var(--bg); }

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.city-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-green);
  border-color: rgba(0,158,96,0.4);
}

.city-card-header {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.city-emoji-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  opacity: 0.12;
}
.city-card-header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-card));
}
.city-region-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.city-emoji-main {
  position: relative;
  font-size: 3.5rem;
  z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.city-card-body { padding: 1.5rem; }
.city-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.city-tagline {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.city-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.city-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.meta-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.meta-chip .icon { font-size: 0.85rem; }

.city-score-bar {
  display: flex;
  gap: 3px;
  margin-top: 1rem;
}
.score-dot {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--surface);
  transition: var(--transition);
}
.score-dot.s5 { background: var(--green-light); }
.score-dot.s4 { background: var(--green); }
.score-dot.s3 { background: var(--gold); }
.score-dot.s2 { background: var(--gold-dark); }
.score-dot.s1 { background: var(--red); }

/* City Detail Modal */
.city-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  padding: 2rem;
}
.city-modal.open { display: block; }
.city-modal-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.modal-header {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  overflow: hidden;
}
.modal-header-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12rem;
  opacity: 0.1;
}
.modal-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
}
.modal-header-content { position: relative; z-index: 2; }
.modal-city-name {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.modal-city-tagline { color: var(--gold); font-size: 0.9rem; font-weight: 600; }
.modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px; height: 40px;
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.modal-close:hover { background: var(--red); }
.modal-body { padding: 2rem; }
.modal-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.modal-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  transition: var(--transition);
}
.modal-tab-btn.active { background: var(--green); color: white; }
.modal-tab-content { display: none; }
.modal-tab-content.active { display: block; }

.poi-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.poi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}
.poi-name { font-weight: 600; font-size: 0.9rem; }
.poi-price { color: var(--green-light); font-weight: 700; font-size: 0.88rem; }

.monthly-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  align-items: flex-end;
  height: 100px;
  margin-top: 1rem;
}
.month-bar-wrap { text-align: center; }
.month-bar {
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
  margin-bottom: 4px;
}
.month-label { font-size: 0.6rem; color: var(--text-muted); }

/* ============================================================
   SECTION: CULTURE
   ============================================================ */
#culture { background: var(--bg); }

.history-timeline { position: relative; padding-left: 2rem; }
.history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--gold), var(--red));
  border-radius: 2px;
}
.history-item {
  position: relative;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}
.history-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.history-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.3rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--green);
}
.history-year {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.history-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-muted);
  margin: 0.25rem 0;
}
.history-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.history-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Dishes Grid */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.dish-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.dish-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,158,96,0.35);
}
.dish-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.dish-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.dish-region {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.dish-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.dish-ingredients {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.dish-info-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.dish-chip {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-muted);
}

/* Lexicon */
.lexicon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.lexicon-card {
  background: var(--bg-card2);
  border: 1px solid rgba(80,200,120,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.lexicon-word {
  font-size: 1.15rem;
  font-weight: 800;
  color: #50C878;
  margin-bottom: 0.5rem;
}
.lexicon-def {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.lexicon-example {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-left: 0.75rem;
  border-left: 2px solid #50C878;
}

/* Personalities */
.persons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}
.person-card:hover { transform: translateY(-4px); }
.person-card.sport { border-color: rgba(0,200,83,0.3); }
.person-card.music { border-color: rgba(155,89,182,0.3); }
.person-card.history { border-color: rgba(255,215,0,0.3); }
.person-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.person-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.person-domain {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.person-desc {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}
.legendary-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--gold), #FF8F00);
  color: black;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* ============================================================
   SECTION: FINANCE
   ============================================================ */
#finance { background: linear-gradient(180deg, var(--bg) 0%, rgba(16,22,18,1) 100%); }

.converter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  box-shadow: var(--shadow-gold);
}
.converter-title {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.converter-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.converter-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.input-group { position: relative; }
.input-currency {
  position: absolute;
  top: 50%; left: 1rem;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--gold);
  font-size: 0.9rem;
  pointer-events: none;
}
.input-currency.right { left: auto; right: 1rem; }
.currency-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3rem;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  transition: var(--transition);
  outline: none;
}
.currency-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}
.currency-input.result {
  padding-left: 1rem;
  padding-right: 3.5rem;
  text-align: right;
  color: var(--green-light);
  pointer-events: none;
  background: rgba(0,158,96,0.06);
  border-color: rgba(0,158,96,0.25);
}
.converter-equals {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}
.converter-rate {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.converter-rate strong { color: var(--gold); }
.quick-amounts {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.quick-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}
.quick-btn:hover {
  background: rgba(255,215,0,0.15);
  color: var(--gold);
}

/* Prices */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.price-category-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-category-header {
  padding: 1rem 1.5rem;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.price-item:last-child { border-bottom: none; }
.price-item-name { font-size: 0.88rem; color: var(--text-muted); }
.price-item-val { font-size: 0.88rem; font-weight: 700; color: var(--green-light); }

/* Budget Table */
.budget-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.budget-table {
  width: 100%;
  border-collapse: collapse;
}
.budget-table th {
  background: var(--surface);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  white-space: nowrap;
}
.budget-table td {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  white-space: nowrap;
}
.budget-table tr:last-child td { border-bottom: none; }
.budget-table .month-col { font-weight: 700; color: var(--text); }
.budget-table .price-col { color: var(--green-light); font-weight: 700; }
.budget-table .climate-col { color: var(--text-muted); }

/* ============================================================
   SECTION: LOGISTICS
   ============================================================ */
#logistique { background: var(--bg); }

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.emergency-card {
  background: rgba(233,30,99,0.05);
  border: 1px solid rgba(233,30,99,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.emergency-card:hover {
  background: rgba(233,30,99,0.1);
  transform: translateY(-2px);
}
.emergency-emoji { font-size: 2rem; margin-bottom: 0.75rem; }
.emergency-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.emergency-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  font-family: var(--font-head);
}
.emergency-type { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; margin-top: 0.25rem; }
.emergency-call {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  background: var(--red);
  color: white;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}
.emergency-call:hover { background: var(--red-dark); }

/* Checklist */
.checklist-section { max-width: 700px; }
.checklist-category { margin-bottom: 1.5rem; }
.checklist-category-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  cursor: pointer;
  transition: var(--transition);
}
.checklist-item:hover { padding-left: 0.5rem; }
.checklist-cb {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.checklist-cb.checked {
  background: var(--green);
  border-color: var(--green);
}
.checklist-cb .check-icon { color: white; font-size: 0.75rem; display: none; }
.checklist-cb.checked .check-icon { display: block; }
.checklist-item-text { font-size: 0.9rem; transition: var(--transition); }
.checklist-item.checked-item .checklist-item-text {
  color: var(--text-dim);
  text-decoration: line-through;
}
.mandatory-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(233,30,99,0.15);
  color: var(--red);
  border: 1px solid rgba(233,30,99,0.3);
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.checklist-progress {
  margin-bottom: 1.5rem;
}
.progress-bar-wrap {
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 3px;
  transition: width 0.5s ease;
}
.progress-text { font-size: 0.82rem; color: var(--text-muted); }

/* Transport Cards */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.transport-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.transport-card:hover { border-color: rgba(0,158,96,0.35); }
.transport-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-light);
  margin-bottom: 0.5rem;
}
.transport-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.transport-routes { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.5rem; }
.transport-info { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.transport-row { font-size: 0.85rem; color: var(--text-muted); }
.transport-row strong { color: var(--text); }
.transport-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Practical Tips */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.tip-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  transition: var(--transition);
}
.tip-card:hover { border-color: rgba(0,158,96,0.3); }
.tip-card.critical { border-left: 3px solid var(--red); }
.tip-card.high { border-left: 3px solid var(--gold); }
.tip-card.info { border-left: 3px solid var(--green); }
.tip-emoji { font-size: 1.5rem; flex-shrink: 0; }
.tip-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.tip-content { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.tip-priority {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.tip-priority.CRITIQUE { background: rgba(233,30,99,0.15); color: var(--red); }
.tip-priority.ÉLEVÉ { background: rgba(255,215,0,0.12); color: var(--gold); }
.tip-priority.MOYEN { background: rgba(0,158,96,0.12); color: var(--green-light); }
.tip-priority.INFO { background: var(--surface); color: var(--text-muted); }

/* ============================================================
   SECTION: SOCIALS / INFLUENCEURS
   ============================================================ */
#socials { background: var(--bg); }

.influencers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.influencer-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
}
.influencer-card:hover { transform: translateY(-4px); border-color: rgba(255,215,0,0.3); }
.influencer-rank {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--gold);
}
.influencer-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}
.influencer-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.2rem;
}
.influencer-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.influencer-desc { font-size: 0.85rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* ============================================================
   SECTION: STATS
   ============================================================ */
#stats { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,158,96,0.05) 50%, rgba(0,0,0,0) 100%); }

.stats-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat-icon { font-size: 1.75rem; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 1.1rem; font-weight: 700; }

.ethnic-bars { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ethnic-bar-item { }
.ethnic-bar-label { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.ethnic-bar-label strong { color: var(--text); }
.ethnic-bar-track { height: 8px; background: var(--surface); border-radius: 4px; overflow: hidden; }
.ethnic-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--gold)); transition: width 1.5s ease; }

/* ============================================================
   SECTION: ABOUT / PRESENTATION
   ============================================================ */
#about {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '🇨🇲';
  position: absolute;
  font-size: 30rem;
  opacity: 0.015;
  right: -5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(0,158,96,0.35); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,158,96,0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.feature-name { font-weight: 700; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.footer-brand .brand-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-brand .brand-name span { color: var(--gold); }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--text); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); padding-left: 4px; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer-flag {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}
.footer-flag span {
  width: 10px; height: 20px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible,
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay utilities */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ============================================================
   UTILITIES
   ============================================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-green { color: var(--green-light); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pill-green { background: rgba(0,158,96,0.15); color: var(--green-light); border: 1px solid rgba(0,158,96,0.25); }
.pill-gold  { background: rgba(255,215,0,0.12); color: var(--gold); border: 1px solid rgba(255,215,0,0.2); }
.pill-red   { background: rgba(233,30,99,0.12); color: var(--red); border: 1px solid rgba(233,30,99,0.2); }

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bento .stat-card { grid-column: span 6; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  section { padding: 4rem 1.25rem; }
  .converter-inputs { grid-template-columns: 1fr; }
  .converter-equals { text-align: center; }
  .cities-grid { grid-template-columns: 1fr; }
  .bento-2, .bento-3, .bento-4 { grid-template-columns: 1fr; }
  .col-span-2, .col-span-3 { grid-column: span 1; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .city-modal { padding: 0; }
  .city-modal-inner { border-radius: 0; min-height: 100vh; }
  .modal-header { height: 200px; }
  .tabs { border-radius: var(--radius); }
  .stats-bento { grid-template-columns: 1fr; }
  .stats-bento .stat-card { grid-column: span 1; }
  .budget-table td, .budget-table th { padding: 0.65rem 0.75rem; }
}

/* ============================================================
   LOADING & TOASTS
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.5rem;
  font-size: 0.88rem;
  z-index: 9999;
  box-shadow: var(--shadow);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success { border-color: rgba(0,158,96,0.4); }
.toast.error   { border-color: rgba(233,30,99,0.4); }

/* Back to top */
#back-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  z-index: 500;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--green); color: white; border-color: var(--green); }

/* Search inputs in sections */
.search-wrap {
  position: relative;
  margin-bottom: 2rem;
  max-width: 480px;
}
.search-icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.search-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,158,96,0.1);
}
.search-input::placeholder { color: var(--text-dim); }

/* ============================================================
   NEWS / ACTUALITÉS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: default;
}
.news-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}
.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  width: fit-content;
}
.news-emoji { font-size: 2rem; }
.news-date { font-size: 0.75rem; color: var(--text-dim); }
.news-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.news-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   VENUES
   ============================================================ */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.venue-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.venue-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.venue-header {
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.venue-emoji { font-size: 2.5rem; }
.venue-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
}
.venue-body { padding: 1.25rem 1.5rem; }
.venue-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.5rem; }
.venue-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.venue-location { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 0.75rem; }
.venue-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   MBARGA AI CHATBOT
   ============================================================ */
.mbarga-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mbarga-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(0,158,96,0.15), transparent);
  border-bottom: 1px solid var(--border);
}
.mbarga-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,158,96,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 2px solid var(--green);
}
.mbarga-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--green-light); }
.mbarga-status { font-size: 0.78rem; color: var(--text-dim); }
.mbarga-messages {
  height: 340px;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}
.mbarga-messages::-webkit-scrollbar { width: 4px; }
.mbarga-messages::-webkit-scrollbar-track { background: transparent; }
.mbarga-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.mbarga-msg { display: flex; }
.mbarga-user { justify-content: flex-end; }
.mbarga-bot { justify-content: flex-start; }
.mbarga-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.mbarga-user .mbarga-bubble {
  background: var(--green);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}
.mbarga-bot .mbarga-bubble {
  background: var(--bg-card2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
}
/* Typing indicator */
.mbarga-typing { display: flex; gap: 4px; align-items: center; padding: 1rem 1.25rem; }
.mbarga-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim);
  animation: mbargaBounce 1.2s infinite ease-in-out;
}
.mbarga-typing span:nth-child(2) { animation-delay: 0.2s; }
.mbarga-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes mbargaBounce { 0%,80%,100%{transform:scale(0.7);opacity:0.5} 40%{transform:scale(1);opacity:1} }

.mbarga-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.1);
}
.mbarga-chip {
  font-size: 0.78rem;
  color: var(--green-light);
  background: rgba(0,158,96,0.08);
  border: 1px solid rgba(0,158,96,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.mbarga-chip:hover { background: rgba(0,158,96,0.18); border-color: var(--green); }
.mbarga-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.mbarga-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0.65rem 1.1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.mbarga-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,158,96,0.1); }
.mbarga-input::placeholder { color: var(--text-dim); }
.mbarga-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mbarga-send:hover { background: var(--green-dark); transform: scale(1.05); }

/* ============================================================
   SURFACE ALT (for FAQ section bg)
   ============================================================ */
:root { --surface-alt: #131a16; }

/* ============================================================
   LEXICON CATEGORIES
   ============================================================ */
.lexicon-category { animation: none; }

/* ============================================================
   CHECKLIST GROUPS
   ============================================================ */
.checklist-group { margin-bottom: 1.5rem; }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .venues-grid { grid-template-columns: 1fr; }
  .mbarga-messages { height: 260px; }
  .mbarga-bubble { max-width: 95%; }
}

/* ── LEXICON SUB-ELEMENTS ─────────────────────────────────────── */
.lexicon-expression {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.lexicon-definition {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

/* ── TIP SUB-ELEMENTS ─────────────────────────────────────────── */
.tip-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.tip-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── FAQ SUB-ELEMENTS ─────────────────────────────────────────── */
.faq-item {
  border-radius: 10px;
  overflow: hidden;
}
.faq-item[open] .faq-question {
  color: var(--green-light);
  border-bottom: 1px solid var(--border);
}
.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::before {
  content: '▶';
  font-size: 0.7rem;
  transition: transform 0.25s;
  color: var(--green);
  flex-shrink: 0;
}
.faq-item[open] .faq-question::before { transform: rotate(90deg); }

/* ============================================================
   LE KONTINENT v2 — MULTI-PAGE ADDITIONS
   ============================================================ */

/* NAV ACTIVE */
.nav-links a.active { color: var(--green-light) !important; font-weight: 700; }
.mobile-link.active { color: var(--green-light) !important; background: rgba(0,158,96,.15); }

/* PAGE HERO */
.page-hero { padding: 7rem 0 3.5rem; background: linear-gradient(135deg,var(--surface) 0%,#0d1f14 100%); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 80% 50%,rgba(0,158,96,.08) 0%,transparent 70%); pointer-events: none; }
.breadcrumb { font-size: .8rem; color: var(--text-dim); margin-bottom: 1rem; display: flex; align-items: center; gap: .4rem; }
.breadcrumb a { color: var(--green-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero-title { font-family: var(--font-head); font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; line-height: 1.15; background: linear-gradient(135deg,var(--text) 40%,var(--green-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: .75rem; }
.page-hero-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; line-height: 1.65; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.page-hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(0,158,96,.12); border: 1px solid rgba(0,158,96,.3); color: var(--green-light); border-radius: 20px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; }

/* FILTER BAR */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-pill { padding: .4rem 1rem; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-size: .83rem; font-weight: 500; cursor: pointer; transition: all .2s; white-space: nowrap; }
.filter-pill:hover { border-color: var(--green); color: var(--green-light); }
.filter-pill.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }

/* TABS */
.tabs-wrap { display: flex; flex-direction: column; gap: 0; }
.tabs-nav { display: flex; gap: .25rem; flex-wrap: wrap; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.tab-btn { padding: .7rem 1.3rem; border: none; background: none; color: var(--text-muted); font-size: .9rem; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s; border-radius: 6px 6px 0 0; }
.tab-btn:hover { color: var(--text); background: var(--surface); }
.tab-btn.active { color: var(--green-light); border-bottom-color: var(--green); background: var(--surface); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* HOME STATS STRIP */
.home-stats-strip { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 1rem; margin-bottom: 3rem; }
.home-stat { display: flex; flex-direction: column; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1rem; text-align: center; transition: border-color .2s; }
.home-stat:hover { border-color: var(--green); }
.home-stat-icon { font-size: 1.6rem; margin-bottom: .4rem; }
.home-stat-label { font-size: .75rem; color: var(--text-dim); margin-bottom: .2rem; }
.home-stat-val { font-size: .9rem; font-weight: 700; color: var(--green-light); }

/* HUB GRID */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); gap: 1rem; }
.hub-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem 1rem; text-decoration: none; color: var(--text); transition: all .25s; position: relative; overflow: hidden; }
.hub-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(0,158,96,.08),transparent); opacity: 0; transition: opacity .3s; }
.hub-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hub-card:hover::before { opacity: 1; }
.hub-card-icon { font-size: 2rem; position: relative; }
.hub-card-title { font-size: .9rem; font-weight: 700; position: relative; }
.hub-card-desc { font-size: .72rem; color: var(--text-dim); position: relative; }

/* HOME CARDS */
.home-city-card { display: flex; flex-direction: column; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; text-align: center; text-decoration: none; color: var(--text); transition: all .2s; }
.home-city-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.home-city-emoji { font-size: 2rem; margin-bottom: .35rem; }
.home-city-name { font-weight: 700; font-size: .95rem; }
.home-city-region { font-size: .72rem; color: var(--text-dim); margin-top: .2rem; }

.home-news-card { display: block; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 14px; padding: 1.25rem; text-decoration: none; color: var(--text); transition: all .2s; }
.home-news-card:hover { border-color: var(--gold); transform: translateX(4px); }
.home-news-title { font-size: .95rem; font-weight: 700; margin: .5rem 0 .3rem; }
.home-news-date { font-size: .72rem; color: var(--text-dim); }

.home-venue-card { display: flex; flex-direction: column; gap: .3rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; text-decoration: none; color: var(--text); transition: all .2s; }
.home-venue-card:hover { border-color: var(--gold); }
.home-venue-emoji { font-size: 1.8rem; }
.home-venue-name { font-weight: 700; font-size: .95rem; }
.home-venue-city { font-size: .8rem; color: var(--text-dim); }
.home-venue-type { font-size: .72rem; font-weight: 700; border-radius: 4px; padding: .15rem .5rem; background: rgba(0,158,96,.15); color: var(--green-light); width: fit-content; }

/* MUNA AI */
.muna-page-wrap { max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.muna-header { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: linear-gradient(135deg,#0a1a10,#0f2518); border-bottom: 1px solid var(--border); }
.muna-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,var(--green),var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; border: 2px solid rgba(255,215,0,.3); }
.muna-header-info h2 { font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 .2rem; }
#muna-status { font-size: .75rem; color: var(--green-light); }
.muna-messages { height: 420px; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; scroll-behavior: smooth; }
.muna-messages::-webkit-scrollbar { width: 4px; }
.muna-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.muna-msg { display: flex; }
.muna-user { justify-content: flex-end; }
.muna-bot { justify-content: flex-start; }
.muna-bubble { max-width: 80%; padding: .8rem 1.1rem; border-radius: 18px; font-size: .9rem; line-height: 1.6; }
.muna-user .muna-bubble { background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.muna-bot .muna-bubble { background: var(--surface-alt,#131a16); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.muna-typing { display: flex; gap: 5px; align-items: center; padding: .6rem .8rem !important; }
.muna-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); display: block; animation: munaBounce 1.2s infinite ease-in-out; }
.muna-typing span:nth-child(2) { animation-delay: .2s; }
.muna-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes munaBounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-8px)} }
.muna-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .75rem 1.5rem; border-top: 1px solid var(--border); background: rgba(0,0,0,.2); }
.muna-chip { padding: .3rem .75rem; font-size: .78rem; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); cursor: pointer; transition: all .2s; }
.muna-chip:hover { border-color: var(--green); color: var(--green-light); }
.muna-input-wrap { display: flex; align-items: flex-end; gap: .75rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg); }
#muna-input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--text); padding: .7rem 1rem; font-size: .9rem; resize: none; min-height: 44px; max-height: 120px; font-family: var(--font-body); transition: border-color .2s; }
#muna-input:focus { outline: none; border-color: var(--green); }
#muna-send { width: 44px; height: 44px; border-radius: 12px; background: var(--green); border: none; color: #fff; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; transition: background .2s; display: flex; align-items: center; justify-content: center; }
#muna-send:hover { background: var(--green-light); }
.muna-disclaimer { text-align: center; font-size: .72rem; color: var(--text-dim); padding: .5rem 1.5rem 1rem; }

/* PHARMACIES */
.pharma-city-group { margin-bottom: 2rem; }
.pharma-city-title { font-family: var(--font-head); font-size: 1.1rem; color: var(--green-light); margin-bottom: .75rem; }
.pharma-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: .75rem; }
.pharma-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; position: relative; transition: border-color .2s; }
.pharma-card.on-duty { border-color: var(--green); }
.pharma-card:hover { border-color: var(--green-light); }
.duty-badge { position: absolute; top: .6rem; right: .6rem; font-size: .7rem; font-weight: 700; color: var(--green-light); background: rgba(0,158,96,.15); border-radius: 10px; padding: .15rem .5rem; }
.pharma-name { font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.pharma-neighborhood { font-size: .8rem; color: var(--text-muted); margin-bottom: .4rem; }
.pharma-phone { font-size: .82rem; color: var(--green-light); text-decoration: none; }
.pharma-phone:hover { text-decoration: underline; }

/* EMERGENCY */
.emg-group { margin-bottom: 2rem; }
.emg-cat { font-family: var(--font-head); font-size: 1.1rem; color: var(--red); margin-bottom: .75rem; }
.emg-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: .75rem; }
.emg-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; transition: all .2s; }
.emg-card:hover { border-color: var(--red); transform: translateY(-2px); }
.emg-number { display: block; font-size: 1.3rem; font-weight: 900; color: var(--red); text-decoration: none; font-family: var(--font-head); margin-bottom: .3rem; letter-spacing: .5px; }
.emg-number:hover { color: #ff6b6b; }
.emg-name { font-size: .85rem; font-weight: 600; margin-bottom: .2rem; }
.emg-city { font-size: .75rem; color: var(--text-dim); }

/* SOCIALS */
.series-card,.music-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; text-align: center; transition: all .25s; }
.series-card:hover,.music-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.series-emoji,.music-emoji { font-size: 2.2rem; margin-bottom: .5rem; display: block; }
.series-rank,.music-rank { font-size: .75rem; color: var(--gold); font-weight: 700; margin-bottom: .4rem; }
.series-title,.music-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.series-genre,.music-genre { font-size: .78rem; color: var(--green-light); font-weight: 600; margin-bottom: .5rem; }
.series-desc,.music-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.music-hit { font-size: .82rem; color: var(--gold); margin-bottom: .5rem; }

/* FORMS */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.form-input,.form-textarea,.form-select { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: .7rem 1rem; font-size: .9rem; font-family: var(--font-body); transition: border-color .2s; width: 100%; }
.form-input:focus,.form-textarea:focus,.form-select:focus { outline: none; border-color: var(--green); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select option { background: var(--bg); }
.form-submit { padding: .85rem 2rem; background: var(--green); color: #fff; border: none; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all .2s; margin-top: .5rem; }
.form-submit:hover { background: var(--green-light); transform: translateY(-2px); }

/* FOOTER */
.footer { background: #050d08; border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 6rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); margin-bottom: 1rem; }
.footer-tagline { font-size: .85rem; color: var(--text-muted); margin-bottom: .5rem; line-height: 1.5; }
.footer-made { font-size: .8rem; color: var(--text-dim); }
.footer-made a { color: var(--green-light); text-decoration: none; }
.footer-col h4 { font-family: var(--font-head); font-size: .9rem; color: var(--text); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .83rem; color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--green-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--border); font-size: .78rem; color: var(--text-dim); }
.footer-legal { display: flex; gap: 1rem; align-items: center; }
.footer-legal a { color: var(--text-dim); text-decoration: none; }
.footer-legal a:hover { color: var(--green-light); }

/* STATS */
.eco-row { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.eco-icon { font-size: 1.2rem; min-width: 1.5rem; text-align: center; }
.eco-label { font-size: .75rem; color: var(--text-muted); }
.eco-val { font-size: .88rem; font-weight: 600; }
.metro-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; text-align: center; }
.metro-icon { font-size: 1.5rem; margin-bottom: .3rem; }
.metro-name { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.metro-pop { font-size: .85rem; color: var(--green-light); font-weight: 600; }
.metro-role { font-size: .72rem; color: var(--text-dim); margin-top: .2rem; }

/* EMPTY STATE */
.empty-msg { color: var(--text-muted); padding: 2rem; text-align: center; font-size: .9rem; }

/* RESPONSIVE v2 */
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .page-hero { padding: 5.5rem 0 2.5rem; }
  .hub-grid { grid-template-columns: repeat(3,1fr); gap: .6rem; }
  .hub-card { padding: 1rem .5rem; }
  .hub-card-icon { font-size: 1.5rem; }
  .hub-card-title { font-size: .75rem; }
  .hub-card-desc { display: none; }
  .muna-messages { height: 300px; }
  .muna-bubble { max-width: 92%; }
  .tab-btn { padding: .55rem .75rem; font-size: .78rem; }
  .filter-pill { padding: .3rem .7rem; font-size: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ── TIMELINE (Histoire) ──────────────────────────────────────── */
.tl-wrap { position: relative; padding: 1rem 0; }
.tl-wrap::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--green), var(--gold)); transform: translateX(-50%); }
.tl-item { display: flex; justify-content: flex-end; padding-right: calc(50% + 2rem); margin-bottom: 2.5rem; position: relative; }
.tl-item.tl-right { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 2rem); }
.tl-dot { position: absolute; left: 50%; top: 1.2rem; width: 14px; height: 14px; background: var(--green); border: 3px solid var(--bg); border-radius: 50%; transform: translateX(-50%); z-index: 1; }
.tl-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.5rem; max-width: 400px; transition: all .25s; }
.tl-card:hover { border-color: var(--green); transform: translateY(-2px); }
.tl-cat { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--green-light); background: rgba(0,158,96,.1); border: 1px solid rgba(0,158,96,.2); border-radius: 20px; padding: .15rem .6rem; margin-bottom: .5rem; letter-spacing: .02em; }
.tl-year { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--gold); margin-bottom: .3rem; }
.tl-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.tl-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 640px) {
  .tl-wrap::before { left: 1rem; }
  .tl-item, .tl-item.tl-right { justify-content: flex-start; padding-right: 0; padding-left: 3rem; }
  .tl-dot { left: 1rem; }
}

/* ── WEATHER BARS (modale ville) ─────────────────────────────── */
.wb-wrap { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1; height: 100%; gap: 2px; }
.wb-fill { width: 100%; border-radius: 3px 3px 0 0; min-height: 4px; transition: height .8s ease; }
.wb-lbl { font-size: .65rem; color: var(--text-dim); }

/* ── ANECDOTE (modale ville) ─────────────────────────────────── */
.anecdote { background: rgba(0,158,96,.06); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; padding: .75rem 1rem; margin-bottom: .75rem; }
.anecdote strong { display: block; font-size: .85rem; color: var(--green-light); margin-bottom: .25rem; }
.anecdote p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── PRATIQUE (modale ville) ─────────────────────────────────── */
.prat-block { margin-bottom: 1.25rem; }
.prat-block h4 { font-size: .9rem; color: var(--gold); margin-bottom: .6rem; }
.prat-block ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.prat-block li { font-size: .85rem; color: var(--text-muted); padding: .3rem .5rem; background: var(--surface); border-radius: 6px; }

/* ── EMG TYPE (urgences) ─────────────────────────────────────── */
.emg-type { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; color: var(--text-dim); background: rgba(255,255,255,.06); padding: .15rem .45rem; border-radius: 4px; }

/* ── CHECKLIST CAT + CB ──────────────────────────────────────── */
.checklist-cat { font-size: .95rem; font-weight: 700; color: var(--green-light); margin-bottom: .75rem; }
.cl-cb { width: 17px; height: 17px; accent-color: var(--green); cursor: pointer; flex-shrink: 0; }

/* ── DISHES TAGS + TIP ───────────────────────────────────────── */
.dish-tag { display: inline-block; background: rgba(0,158,96,.12); border: 1px solid rgba(0,158,96,.25); color: var(--green-light); border-radius: 20px; padding: .15rem .55rem; font-size: .72rem; margin: .15rem .1rem 0 0; }
.dish-tip { font-size: .82rem; color: var(--gold); margin-top: .6rem; font-style: italic; }

/* ── MUNA INPUT ──────────────────────────────────────────────── */
.muna-input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: .75rem 1.1rem; color: var(--text); font-family: var(--font-body); font-size: .9rem; resize: none; outline: none; max-height: 150px; overflow-y: auto; transition: border-color .2s; line-height: 1.5; }
.muna-input:focus { border-color: var(--green); }
.muna-input::placeholder { color: var(--text-dim); }
#muna-send { background: var(--green); color: #fff; border: none; border-radius: 50%; width: 42px; height: 42px; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s, transform .15s; }
#muna-send:hover { background: var(--green-light); transform: scale(1.05); }

/* ── PRICES ──────────────────────────────────────────────────── */
.price-cat-title { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.price-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.price-item:last-child { border-bottom: none; }
.price-name { font-size: .9rem; color: var(--text); }
.price-vals { text-align: right; flex-shrink: 0; }
.price-vals strong { display: block; font-size: .9rem; color: var(--green-light); }
.price-eur { font-size: .78rem; color: var(--text-dim); }
.price-detail { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; grid-column: 1/-1; }

/* ── BUDGET TABLE ─────────────────────────────────────────────── */
.bgt-low, .bgt-mid, .bgt-high { text-align: right; font-weight: 600; padding: .6rem 1rem; }
.bgt-low { color: var(--green-light); }
.bgt-mid { color: var(--gold); }
.bgt-high { color: var(--red); }
.bgt-tip { padding: .6rem 1rem; color: var(--text-muted); font-size: .82rem; }
tbody tr:hover { background: rgba(255,255,255,.03); }

/* ══════════════════════════════════════════════════════════════
   AUTH MODAL
   ══════════════════════════════════════════════════════════════ */
.modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: all; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.modal-content { position: relative; z-index: 1; background: var(--surface-high); border: 1px solid var(--border); border-radius: var(--radius); width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,.6); animation: modalIn .25s ease; }
@keyframes modalIn { from { transform: translateY(12px) scale(.97); opacity:0; } to { transform: none; opacity:1; } }
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; line-height: 1; padding: .25rem; transition: color .2s; z-index: 2; }
.modal-close-btn:hover { color: var(--text); }
.auth-modal-content { padding: 2rem; }
.auth-modal-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.auth-modal-logo .flag { display: flex; width: 32px; height: 20px; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.auth-modal-logo .flag span { flex: 1; }
.auth-modal-logo .f-green { background: #009E60; }
.auth-modal-logo .f-red { background: #CE1126; }
.auth-modal-logo .f-gold { background: #FCD116; }
.auth-modal-logo .brand { font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; }
.auth-modal-logo .brand span { color: var(--gold); }
.auth-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
.auth-tab-btn { flex: 1; background: none; border: none; color: var(--text-muted); font-family: var(--font-body); font-size: .9rem; font-weight: 600; padding: .65rem 1rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; }
.auth-tab-btn.active, .auth-tab-btn:hover { color: var(--green-light); border-bottom-color: var(--green-light); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-intro { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.auth-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.auth-field label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.auth-field input { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .7rem 1rem; color: var(--text); font-family: var(--font-body); font-size: .9rem; outline: none; transition: border-color .2s; }
.auth-field input:focus { border-color: var(--green); }
.auth-error { background: rgba(206,17,38,.12); border: 1px solid rgba(206,17,38,.3); border-radius: var(--radius-sm); padding: .65rem 1rem; font-size: .85rem; color: #ff6b7a; }
.auth-submit-btn { width: 100%; background: var(--green); color: #fff; border: none; border-radius: var(--radius-sm); padding: .85rem 1.5rem; font-family: var(--font-body); font-size: .95rem; font-weight: 700; cursor: pointer; margin-top: .5rem; transition: background .2s, transform .15s; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.auth-submit-btn:hover { background: var(--green-light); transform: translateY(-1px); }
.auth-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.auth-switch { font-size: .82rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }
.auth-switch a { color: var(--green-light); text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-cgu-check { margin-bottom: .75rem; }
.auth-checkbox-label { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.auth-checkbox-label input[type=checkbox] { margin-top: .15rem; width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }
.auth-checkbox-label a { color: var(--green-light); }

/* ── Navbar Auth Zone ────────────────────────────────────────── */
.nav-auth-zone { display: flex; align-items: center; }
.btn-nav-auth { background: var(--green); color: #fff; border: none; border-radius: 20px; padding: .45rem 1.1rem; font-family: var(--font-body); font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s; white-space: nowrap; }
.btn-nav-auth:hover { background: var(--green-light); }
.nav-user-btn { display: flex; align-items: center; gap: .5rem; cursor: pointer; padding: .35rem .65rem; border-radius: 24px; transition: background .2s; position: relative; user-select: none; }
.nav-user-btn:hover { background: var(--surface); }
.nav-user-avatar { width: 30px; height: 30px; background: var(--green); color: #fff; border-radius: 50%; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-user-avatar.large { width: 44px; height: 44px; font-size: 1.1rem; }
.nav-user-name { font-size: .85rem; font-weight: 600; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-caret { font-size: .65rem; color: var(--text-dim); }
.nav-user-dropdown { position: absolute; top: calc(100% + .5rem); right: 0; background: var(--surface-high); border: 1px solid var(--border); border-radius: var(--radius-sm); min-width: 220px; box-shadow: 0 8px 32px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; z-index: 500; overflow: hidden; }
.nav-user-dropdown.open { opacity: 1; pointer-events: all; transform: none; }
.nav-dropdown-header { display: flex; align-items: center; gap: .75rem; padding: 1rem; border-bottom: 1px solid var(--border); }
.nav-dropdown-name { font-weight: 700; font-size: .9rem; }
.nav-dropdown-email { font-size: .78rem; color: var(--text-muted); }
.nav-dropdown-edits { font-size: .75rem; color: var(--text-dim); margin-top: .15rem; }
.nav-dropdown-item { display: block; padding: .65rem 1rem; font-size: .85rem; color: var(--text); text-decoration: none; transition: background .15s; width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--font-body); }
.nav-dropdown-item:hover { background: var(--surface); }
.nav-dropdown-admin { color: var(--gold) !important; }
.nav-dropdown-logout { color: var(--red) !important; }

/* ── Toast ────────────────────────────────────────────────────── */
.kk-toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(1rem); background: var(--surface-high); border: 1px solid var(--border); border-radius: 24px; padding: .7rem 1.4rem; font-size: .9rem; font-weight: 600; box-shadow: 0 4px 24px rgba(0,0,0,.4); opacity: 0; transition: opacity .3s, transform .3s; z-index: 99999; white-space: nowrap; }
.kk-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════════════════════════
   EDIT BUTTONS (Wikipedia-style contributions)
   ══════════════════════════════════════════════════════════════ */
.edit-btn { position: absolute; top: .6rem; right: .6rem; background: rgba(255,255,255,.08); border: 1px solid var(--border); border-radius: 6px; color: var(--text-dim); font-size: .75rem; padding: .25rem .5rem; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s, color .2s; z-index: 2; }
.card:hover .edit-btn, .edit-btn:focus { opacity: 1; }
.edit-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.add-btn-float { position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 900; background: var(--gold); color: #000; border: none; border-radius: 50px; padding: .65rem 1.1rem; font-weight: 700; font-size: .85rem; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.3); transition: transform .2s, box-shadow .2s; }
.add-btn-float:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.35); }

/* ── Edit Modal ───────────────────────────────────────────────── */
.edit-modal-content { padding: 1.5rem; max-height: 80vh; overflow-y: auto; }
.edit-modal-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--text); }
.edit-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.edit-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .85rem; }
.edit-field label { font-size: .78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.edit-field input, .edit-field textarea, .edit-field select { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: .6rem .85rem; color: var(--text); font-family: var(--font-body); font-size: .85rem; outline: none; transition: border-color .2s; }
.edit-field input:focus, .edit-field textarea:focus { border-color: var(--green); }
.edit-field textarea { resize: vertical; min-height: 80px; }
.edit-rationale { background: rgba(252,209,22,.06); border: 1px solid rgba(252,209,22,.2); border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: 1rem; }
.edit-rationale label { font-size: .82rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: .4rem; }
.edit-rationale textarea { width: 100%; background: transparent; border: none; color: var(--text); font-family: var(--font-body); font-size: .85rem; resize: none; outline: none; min-height: 60px; }
.edit-actions { display: flex; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.edit-submit-btn { flex: 1; background: var(--green); color: #fff; border: none; border-radius: var(--radius-sm); padding: .75rem; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s; }
.edit-submit-btn:hover { background: var(--green-light); }
.edit-submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.edit-cancel-btn { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .75rem 1.25rem; font-size: .9rem; cursor: pointer; transition: background .2s; }
.edit-cancel-btn:hover { background: rgba(255,255,255,.08); }
.contrib-badge { display: inline-flex; align-items: center; gap: .3rem; background: rgba(252,209,22,.12); border: 1px solid rgba(252,209,22,.25); border-radius: 20px; padding: .15rem .55rem; font-size: .72rem; font-weight: 600; color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   COOKIE BANNER RGPD
   ══════════════════════════════════════════════════════════════ */
#cookie-banner { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(1.5rem); z-index: 9000; max-width: 680px; width: calc(100vw - 2rem); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; }
#cookie-banner.visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all; }
.cookie-inner { background: var(--surface-high); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,.4); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cookie-icon { font-size: 1.4rem; flex-shrink: 0; }
.cookie-text { flex: 1; font-size: .82rem; color: var(--text-muted); line-height: 1.5; min-width: 200px; }
.cookie-text a { color: var(--green-light); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-btn { border-radius: 20px; padding: .5rem 1rem; font-size: .82rem; font-weight: 600; cursor: pointer; transition: opacity .2s; text-decoration: none; border: none; font-family: var(--font-body); display: inline-flex; align-items: center; white-space: nowrap; }
.cookie-btn-primary { background: var(--green); color: #fff; }
.cookie-btn-primary:hover { opacity: .85; }
.cookie-btn-link { background: transparent; color: var(--text-muted); border: 1px solid var(--border) !important; }
.cookie-btn-link:hover { color: var(--text); border-color: var(--green) !important; }

/* ══════════════════════════════════════════════════════════════
   MUNA FLOATING WIDGET
   ══════════════════════════════════════════════════════════════ */
#muna-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000; background: linear-gradient(135deg, var(--green) 0%, #006636 100%); color: #fff; border: none; border-radius: 50px; padding: .75rem 1.2rem; display: flex; align-items: center; gap: .5rem; cursor: pointer; box-shadow: 0 4px 20px rgba(0,158,96,.45), 0 2px 8px rgba(0,0,0,.35); transition: transform .2s, box-shadow .2s, background .2s; font-family: var(--font-body); font-weight: 700; font-size: .875rem; }
#muna-fab:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,158,96,.55), 0 4px 12px rgba(0,0,0,.35); }
#muna-fab.active { background: linear-gradient(135deg, #004422 0%, var(--green) 100%); }
.muna-fab-icon { font-size: 1.15rem; line-height: 1; }
.muna-fab-label { font-size: .82rem; }

#muna-panel { position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 999; width: 360px; max-width: calc(100vw - 2rem); max-height: 520px; background: var(--surface-high); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 12px 48px rgba(0,0,0,.55); display: flex; flex-direction: column; overflow: hidden; transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none; transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s; }
#muna-panel.open { transform: none; opacity: 1; pointer-events: all; }
.muna-panel-header { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: linear-gradient(135deg, var(--green) 0%, #006636 100%); color: #fff; flex-shrink: 0; }
.muna-panel-avatar { font-size: 1.4rem; line-height: 1; }
.muna-panel-info { flex: 1; line-height: 1.3; }
.muna-panel-info strong { display: block; font-size: .95rem; }
.muna-panel-status { font-size: .7rem; opacity: .9; }
.muna-panel-ctrls { display: flex; align-items: center; gap: .4rem; }
.muna-panel-expand { color: rgba(255,255,255,.8); text-decoration: none; font-size: 1rem; line-height: 1; padding: .3rem; transition: color .2s; }
.muna-panel-expand:hover { color: #fff; }
.muna-panel-close { background: rgba(255,255,255,.15); border: none; color: #fff; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; font-size: .78rem; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.muna-panel-close:hover { background: rgba(255,255,255,.3); }
.muna-panel-msgs { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .6rem; min-height: 260px; }
.muna-msg { max-width: 84%; padding: .6rem .85rem; border-radius: 14px; font-size: .84rem; line-height: 1.55; word-break: break-word; }
.muna-msg.bot { background: var(--surface); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.muna-msg.user { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.muna-typing { display: flex !important; align-items: center; gap: .3rem; padding: .75rem 1rem !important; }
.muna-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); animation: munaTyping .9s infinite; flex-shrink: 0; }
.muna-typing span:nth-child(2) { animation-delay: .15s; }
.muna-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes munaTyping { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.muna-panel-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--border); flex-shrink: 0; }
.muna-panel-form input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: .55rem .9rem; color: var(--text); font-family: var(--font-body); font-size: .84rem; outline: none; transition: border-color .2s; }
.muna-panel-form input:focus { border-color: var(--green); }
.muna-panel-form input::placeholder { color: var(--text-dim); }
.muna-panel-form button { background: var(--green); color: #fff; border: none; border-radius: 50%; width: 34px; height: 34px; font-size: .85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; flex-shrink: 0; }
.muna-panel-form button:hover { background: var(--green-light); }
@media (max-width: 480px) { #muna-panel { right: .75rem; bottom: 5rem; width: calc(100vw - 1.5rem); max-height: 70vh; } #muna-fab { right: .75rem; bottom: .75rem; } }

/* ══════════════════════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) { .contact-row { grid-template-columns: 1fr !important; } }

/* ══════════════════════════════════════════════════════════════
   NEWS EDITOR — Rédaction d'articles IA
   ══════════════════════════════════════════════════════════════ */

/* Bouton "Proposer un article" */
.news-propose-btn {
  margin-top: 1rem;
  font-size: .88rem;
  padding: .55rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* Modal news (plus large) */
.news-modal-content {
  max-width: 720px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
}
.news-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.news-modal-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
}
.modal-close {
  background: rgba(255,255,255,.07);
  border: none;
  color: var(--text);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.modal-close:hover { background: rgba(255,255,255,.14); }

/* Barre d'étapes */
.news-steps-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.75rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.news-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  color: var(--text-dim);
  flex: 1;
  transition: color .2s;
}
.news-step-item.active { color: var(--green-light); }
.news-step-item.done   { color: var(--text-muted); }
.news-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  transition: background .2s, border-color .2s, color .2s;
}
.news-step-item.active .news-step-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.news-step-item.done .news-step-dot {
  background: rgba(0,158,96,.2);
  border-color: var(--green);
  color: var(--green-light);
}
.news-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 .5rem;
  margin-bottom: 1.2rem;
}

/* Panneaux d'étape */
.news-step-panel { display: none; }
.news-step-panel.active { display: block; }
.news-step-desc {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Bloc info IA */
.news-ai-info {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(0,158,96,.06);
  border: 1px solid rgba(0,158,96,.2);
  border-radius: 10px;
  padding: .85rem 1rem;
  margin: 1rem 0 1.25rem;
  font-size: .88rem;
}
.news-ai-info-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

/* Spinner génération */
.news-ai-generating {
  text-align: center;
  padding: 2.5rem 1rem;
}
.news-ai-spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(0,158,96,.2);
  border-top-color: var(--green-light);
  border-radius: 50%;
  animation: neSpinnerAnim .8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes neSpinnerAnim { to { transform: rotate(360deg); } }

/* Toolbar éditeur HTML */
.ne-content-toolbar {
  display: flex;
  gap: .4rem;
  margin-bottom: .4rem;
  flex-wrap: wrap;
}
.ne-toolbar-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .25rem .6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .8rem;
  transition: background .15s;
}
.ne-toolbar-btn:hover { background: rgba(255,255,255,.12); }
.ne-content-area { font-family: 'Courier New', monospace; font-size: .82rem; line-height: 1.6; }

/* Aperçu article */
.ne-preview-box {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}
.ne-preview-header {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dim);
  margin-bottom: .6rem;
}
.ne-preview-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .4rem;
}
.ne-preview-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.ne-preview-excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Note CGU */
.ne-cgu-note {
  font-size: .78rem;
  color: var(--text-dim);
  line-height: 1.6;
  padding: .75rem;
  background: rgba(255,215,0,.05);
  border: 1px solid rgba(255,215,0,.15);
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.ne-cgu-note a { color: var(--gold); }

/* Pied du modal */
.news-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Succès */
.ne-success-panel {
  text-align: center;
  padding: 2rem 1rem;
}

/* Cartes articles dynamiques */
.news-card-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
}
.news-tag-pill {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.article-ai-badge {
  display: inline-block;
  background: rgba(165,94,234,.15);
  color: #c084fc;
  font-size: .68rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 20px;
  letter-spacing: .03em;
}
.news-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .5rem;
}
.news-card-excerpt {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .65rem;
}
.news-tag-mini {
  background: rgba(255,255,255,.06);
  color: var(--text-dim);
  font-size: .68rem;
  padding: .15rem .45rem;
  border-radius: 20px;
}
.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: .65rem;
  margin-top: auto;
}
.news-card-author, .news-card-date { white-space: nowrap; }

/* ── Admin — onglets Articles ────────────────────────────────── */
.admin-tabs-nav {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .75rem;
  flex-wrap: wrap;
}
.admin-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: .45rem .9rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.admin-tab-btn:hover { background: rgba(255,255,255,.05); color: var(--text); }
.admin-tab-btn.active { background: var(--green); color: #fff; }
.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }

/* Cartes articles dans l'admin */
.news-admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: .9rem;
}
.news-admin-card.pending  { border-left: 3px solid var(--gold); }
.news-admin-card.approved { border-left: 3px solid var(--green); }
.news-admin-card.rejected { border-left: 3px solid var(--red); }
.news-admin-title { font-weight: 700; margin-bottom: .35rem; font-size: .97rem; }
.news-admin-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .75rem;
  color: var(--text-dim);
  margin-bottom: .6rem;
  align-items: center;
}
.news-admin-excerpt {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: .75rem;
}
.news-admin-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}
.news-stat-num { font-size: 2rem; font-weight: 800; color: #c084fc; }

/* Hint champs */
.edit-field-hint {
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: .3rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .news-modal-content { padding: 1.25rem 1rem; }
  .news-steps-bar { padding: .5rem .6rem; }
  .news-step-item span { display: none; }
  .news-modal-footer { flex-direction: column-reverse; }
  .news-modal-footer button { width: 100%; }
}

