/* ============================================
   CARTOGRAPHIE DES MONOPOLES — ANTILLES
   Modern, elegant design system
   ============================================ */

:root {
  --navy: #0a1628;
  --navy-light: #132240;
  --blue: #1e3a5f;
  --teal: #00b4d8;
  --coral: #e63946;
  --gold: #f4a261;
  --emerald: #2a9d8f;
  --purple: #9b5de5;
  --bg: #f5f6fa;
  --card: #ffffff;
  --text: #2d3436;
  --text-light: #636e72;
  --border: #e1e5ee;
  --sidebar-w: 240px;
  --shadow: 0 4px 24px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; }

/* ============ SIDEBAR ============ */
#sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--navy);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}
.nav-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.nav-logo .accent { color: var(--teal); }
#nav-toggle {
  display: none;
  background: none; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  cursor: pointer;
}
.nav-links {
  list-style: none;
  padding: 1rem 0;
  flex: 1;
  overflow-y: auto;
}
.nav-links li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(255,255,255,0.05);
  border-left-color: var(--teal);
}
.nav-links li a i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--navy);
  z-index: 999;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
}
#mobile-toggle {
  background: none; border: none;
  color: #fff; font-size: 1.3rem;
  cursor: pointer;
}

/* ============ MAIN ============ */
main {
  margin-left: var(--sidebar-w);
}

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

section {
  padding: 5rem 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.section-title i { margin-right: 0.5rem; color: var(--gold); }
.section-title.light { color: #fff; }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 800px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.section-intro.light { color: rgba(255,255,255,0.7); }
.section-intro strong { color: var(--text); }
.section-intro.light strong { color: #fff; }

/* ============ HERO ============ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0e2a4a 40%, #153658 100%);
  padding: 4rem 2rem;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-block;
  background: rgba(0,180,216,0.15);
  color: var(--teal);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}
#hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), background var(--transition);
}
.hero-stat:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}
.hero-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-number small { font-size: 1.5rem; }
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.hero-cta:hover {
  background: #00a0c0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.3);
}
.hero-cta i { animation: bounce 2s infinite; }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ============ STATS GRID ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,180,216,0.05));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 1.2rem;
}
.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.stat-detail {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============ MAP ============ */
#carte { background: #fff; }
#map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
#map { height: 550px; width: 100%; }
.map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.map-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--card);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.map-btn:hover, .map-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1rem;
  padding: 1rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-light);
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* ============ GROUPS ============ */
#groupes { background: var(--bg); }
.group-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition);
}
.group-card:hover {
  box-shadow: var(--shadow-lg);
}
.group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  border-left: 4px solid var(--accent, var(--teal));
  transition: background var(--transition);
}
.group-header:hover { background: rgba(0,0,0,0.01); }
.group-rank {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent, var(--teal));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.group-info { flex: 1; min-width: 0; }
.group-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.group-tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}
.group-metrics {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.metric {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}
.metric i { color: var(--teal); margin-right: 0.3rem; }
.group-toggle {
  background: none; border: none;
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition);
  padding: 0.5rem;
}
.group-card.expanded .group-toggle {
  transform: rotate(180deg);
}
.group-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.group-card.expanded .group-body {
  max-height: 2000px;
}
.group-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0 1.5rem 1.5rem;
}
.group-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.group-col h4 i { color: var(--teal); margin-right: 0.4rem; }
.leaders-list {
  list-style: none;
}
.leaders-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  line-height: 1.5;
}
.leaders-list li:last-child { border-bottom: none; }
.leaders-list strong { color: var(--navy); }
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(0,180,216,0.1);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
  margin-left: 0.3rem;
}
.badge-red { background: rgba(230,57,70,0.1); color: var(--coral); }
.badge-gold { background: rgba(244,162,97,0.1); color: var(--gold); }
.sector-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sector-tag {
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-light);
}
.tag-dist { background: rgba(230,57,70,0.08); color: var(--coral); }
.tag-auto { background: rgba(30,58,95,0.08); color: var(--blue); }
.tag-rhum { background: rgba(244,162,97,0.08); color: #c77d3e; }
.tag-btp { background: rgba(108,117,125,0.08); color: #6c757d; }
.tag-agro { background: rgba(42,157,143,0.08); color: var(--emerald); }
.tag-hotel { background: rgba(155,93,229,0.08); color: var(--purple); }
.group-col p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}
.group-alert {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin: 0 1.5rem 1.5rem;
  background: rgba(230,57,70,0.04);
  border: 1px solid rgba(230,57,70,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
}
.group-alert i {
  color: var(--coral);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.group-alert strong { color: var(--coral); }

/* ============ CHARTS ============ */
#marches { background: #fff; }
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.chart-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
}
.chart-card.visible { opacity: 1; transform: translateY(0); }
.chart-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}
.chart-wrap {
  position: relative;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-wrap canvas { max-height: 280px; }

/* ============ RHUM ============ */
#rhum { background: var(--bg); }
.rhum-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.rhum-tab {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}
.rhum-tab.active, .rhum-tab:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.rhum-content { display: none; }
.rhum-content.active { display: block; }
.rhum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.rhum-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--border-color, var(--teal));
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.rhum-card:hover { transform: translateY(-2px); }
.rhum-owner {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}
.rhum-brands {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.rhum-note {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============ ALLIANCES ============ */
#alliances { background: #fff; }
.poles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.pole-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
}
.pole-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pole-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.pole-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; }
#network-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--navy);
}
#network { height: 500px; width: 100%; }
.network-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}
.network-hint i { color: var(--teal); }

/* ============ TIMELINE ============ */
#chronologie { background: var(--bg); }
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--coral));
}
.tl-item {
  position: relative;
  padding: 0 0 2rem 2rem;
  opacity: 0;
  transform: translateX(-20px);
}
.tl-item.visible {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.5s ease;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--teal);
  z-index: 1;
}
.tl-highlight::before {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.2);
}
.tl-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.tl-highlight .tl-date { color: var(--coral); }
.tl-content {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.tl-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.tl-content p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============ GUADELOUPE ============ */
#guadeloupe { background: #fff; }
.gp-highlight {
  display: flex;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(230,57,70,0.04), rgba(244,162,97,0.04));
  border: 1px solid rgba(230,57,70,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.gp-highlight-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--coral);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.gp-highlight h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 0.5rem;
}
.gp-highlight p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.gp-highlight strong { color: var(--text); }
.gp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gp-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.gp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gp-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.gp-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.gp-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  text-align: left;
}
.gp-card strong { color: var(--text); }

/* Loret Org */
.loret-org {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
}
.loret-node {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.5rem;
  text-align: center;
  min-width: 180px;
  box-shadow: var(--shadow);
}
.loret-node strong { display: block; font-size: 0.9rem; color: var(--navy); }
.loret-node span { font-size: 0.75rem; color: var(--text-light); }
.loret-top { border-color: var(--teal); background: linear-gradient(135deg, rgba(0,180,216,0.05), #fff); }
.loret-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.loret-small {
  padding: 0.6rem 1rem;
  min-width: 140px;
  font-size: 0.8rem;
}
.loret-small small { color: var(--text-light); }

/* ============ COMPARISON TABLE ============ */
#comparaison { background: var(--bg); }
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.88rem;
}
.comparison-table thead {
  background: var(--navy);
  color: #fff;
}
.comparison-table th {
  padding: 1rem 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.comparison-table th i { margin-right: 0.3rem; }
.comparison-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.comparison-table tr:hover td { background: rgba(0,180,216,0.03); }
.comparison-table strong { color: var(--coral); font-weight: 700; }

/* ============ INFRA (DARK SECTION) ============ */
.section-dark {
  background: var(--navy);
  color: #fff;
}
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.infra-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all var(--transition);
}
.infra-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.infra-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,180,216,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.infra-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.infra-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.infra-card strong { color: #fff; }

/* ============ SOURCES ============ */
#sources { background: #fff; }
.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.source-category {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}
.source-category h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.source-category h4 i { color: var(--teal); margin-right: 0.4rem; }
.source-category ul {
  list-style: none;
}
.source-category li {
  font-size: 0.83rem;
  color: var(--text-light);
  padding: 0.35rem 0;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border);
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.source-category em { color: var(--text); font-style: italic; }

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}
.footer-small { font-size: 0.75rem; margin-top: 0.3rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .group-cols { grid-template-columns: 1fr; }
  .group-metrics { display: none; }
}

@media (max-width: 768px) {
  #sidebar {
    transform: translateX(-100%);
    width: 260px;
  }
  #sidebar.open { transform: translateX(0); }
  #mobile-nav { display: flex; }
  main { margin-left: 0; padding-top: 56px; }
  .container { padding: 0 1rem; }
  section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  #hero { min-height: 90vh; padding: 2rem 1rem; }
  #hero h1 { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .hero-stat { padding: 1rem 0.75rem; }
  .hero-stat-number { font-size: 1.8rem; }
  .comparison-table td:first-child { white-space: normal; }
  #map { height: 350px; }
  #network { height: 350px; }
  .loret-branches { flex-direction: column; align-items: center; }
  .gp-highlight { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .rhum-grid { grid-template-columns: 1fr; }
  .poles-grid { grid-template-columns: 1fr; }
}

/* Utility */
[data-aos] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Leaflet popup custom */
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
}
.leaflet-popup-content {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.popup-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}
.popup-group {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 4px;
}
.popup-desc { color: #636e72; }
