/* ============================================
   GUERRA EUA-ISRAEL-IRA 2026 - STYLESHEET v2
   Com Leaflet Mapa Interativo + Geo-Tooltips
   ============================================ */

:root {
  --bg-primary:        #0a0a0a;
  --bg-secondary:      #111111;
  --bg-card:           #161616;
  --bg-card-hover:     #1e1e1e;
  --accent-red:        #c0392b;
  --accent-red-bright: #e74c3c;
  --accent-red-glow:   rgba(192, 57, 43, 0.25);
  --text-primary:      #f0f0f0;
  --text-secondary:    #a0a0a0;
  --text-muted:        #606060;
  --border-color:      #2a2a2a;
  --font-headline:     'Georgia', 'Times New Roman', serif;
  --font-body:         'Segoe UI', 'Arial', sans-serif;
  --font-mono:         'Courier New', monospace;
  --max-width:         1200px;
  --transition:        all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--accent-red-bright); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--text-primary); text-decoration: underline; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-red); border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  line-height: 1.25;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; }
.navbar-flags { display: flex; gap: 4px; align-items: center; }
.navbar-flags .flag {
  width: 22px; height: 15px; border-radius: 2px; display: block;
}
.flag-usa    { background: linear-gradient(180deg,#B22234 33%,#fff 33%,#fff 66%,#B22234 66%); }
.flag-israel { background: linear-gradient(180deg,#0038b8 20%,#fff 20%,#fff 80%,#0038b8 80%); }
.flag-iran   { background: linear-gradient(180deg,#239f40 33%,#fff 33%,#fff 66%,#da0000 66%); }
.navbar-title {
  font-family: var(--font-headline);
  font-size: 0.95rem; font-weight: bold;
  color: var(--text-primary);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.navbar-badge {
  background: var(--accent-red); color: #fff;
  font-size: 0.62rem; font-weight: bold;
  padding: 2px 8px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.1em;
  animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge { 0%,100%{opacity:1;} 50%{opacity:0.55;} }
.navbar-nav { display: flex; gap: 1.5rem; list-style: none; }
.navbar-nav a { color: var(--text-secondary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.navbar-nav a:hover { color: var(--accent-red-bright); text-decoration: none; }

/* ============ TICKER ============ */
.ticker { background: var(--accent-red); padding: 7px 0; overflow: hidden; white-space: nowrap; }
.ticker-label {
  display: inline-block;
  background: #fff; color: var(--accent-red);
  font-size: 0.63rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.15em;
  padding: 2px 10px; margin-right: 1.5rem; vertical-align: middle;
}
.ticker-track { display: inline-block; animation: tickerScroll 45s linear infinite; padding-left: 100%; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { from{transform:translateX(0);} to{transform:translateX(-100%);} }
.ticker-item {
  display: inline-block; margin-right: 3.5rem;
  font-size: 0.8rem; color: #fff; font-weight: 600; letter-spacing: 0.03em;
}
.ticker-item::before { content: '\25C6  '; opacity: 0.75; }

/* ============ READING PROGRESS ============ */
.reading-progress {
  position: fixed; top: 60px; left: 0;
  height: 3px; background: var(--accent-red);
  z-index: 999; width: 0; transition: width 0.12s linear;
  box-shadow: 0 0 8px var(--accent-red);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(192,57,43,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,57,43,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; top: 30%; left: 55%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,57,43,0.18) 0%, transparent 70%);
  transform: translate(-50%,-50%); pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0) 40%, rgba(10,10,10,0.95) 90%, var(--bg-primary) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero-eyebrow-bar { width: 36px; height: 2px; background: var(--accent-red); }
.hero-eyebrow-tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-red-bright); font-family: var(--font-mono); }
.hero-eyebrow-date { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-muted); font-family: var(--font-mono); }
.hero-title {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 900; color: var(--text-primary); margin-bottom: 0.4rem;
  text-shadow: 0 0 80px rgba(192,57,43,0.25); line-height: 1.1;
}
.hero-title-accent { color: var(--accent-red-bright); display: block; }
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary); max-width: 680px; margin-bottom: 2.5rem;
  font-style: italic; font-family: var(--font-headline); line-height: 1.5;
}
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 2.5rem; border: 1px solid var(--border-color); width: fit-content; }
.hero-stat { padding: 1.2rem 2rem; text-align: center; border-right: 1px solid var(--border-color); }
.hero-stat:last-child { border-right: none; }
.hero-stat-value { font-size: clamp(1.4rem,4vw,2.3rem); font-weight: 900; font-family: var(--font-headline); color: var(--accent-red-bright); line-height: 1; }
.hero-stat-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-top: 5px; }
.hero-intro {
  max-width: 760px; font-size: 1rem; color: var(--text-secondary); line-height: 1.85;
  border-left: 3px solid var(--accent-red); padding-left: 1.5rem;
}
.hero-scroll {
  position: absolute; bottom: 2rem; right: 2.5rem; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-scroll-chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounceDown 1.6s ease-in-out infinite;
}
@keyframes bounceDown { 0%,100%{transform:rotate(45deg) translateY(0);} 50%{transform:rotate(45deg) translateY(5px);} }

/* ============ CONTAINER ============ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ============ SECTION HEADERS ============ */
.section-hdr { margin-bottom: 3rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-color); }
.section-tag {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-red-bright); font-family: var(--font-mono); margin-bottom: 0.5rem;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--accent-red); display: inline-block; }
.section-hdr h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--text-primary); }
.mapa-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; font-style: italic; }

/* ============ KEY FACTS ============ */
.keyfacts-section { background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 4rem 0; }
.keyfacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; }
.keyfact {
  padding: 1.5rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-top: 3px solid var(--accent-red);
  transition: var(--transition);
}
.keyfact:hover { background: var(--bg-card-hover); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.keyfact-val { font-size: 1.25rem; font-weight: 900; color: var(--accent-red-bright); font-family: var(--font-headline); margin-bottom: 0.5rem; line-height: 1.2; }
.keyfact-lbl { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ MAPA SECTION ============ */
.mapa-section {
  padding: 5rem 0 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}
.mapa-wrapper {
  position: relative;
  margin-top: 2rem;
  width: 100%;
}
#mapa-principal {
  width: 100%;
  height: 580px;
  background: #0d1117;
  display: block;
  border-top: 2px solid var(--accent-red);
  border-bottom: 2px solid var(--border-color);
}

/* Legenda do mapa */
.mapa-legenda {
  position: absolute;
  bottom: 30px;
  right: 12px;
  z-index: 800;
  background: rgba(10,10,10,0.93);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-red);
  padding: 0.9rem 1.1rem;
  min-width: 220px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.legenda-title {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent-red-bright); font-family: var(--font-mono);
  margin-bottom: 0.65rem;
}
.legenda-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--text-secondary);
  margin-bottom: 0.4rem; line-height: 1.3;
}
.legenda-item:last-child { margin-bottom: 0; }
.legenda-dot {
  width: 12px; height: 12px; border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.35);
  display: inline-block;
}

/* ---- Leaflet custom marker dots ---- */
.map-marker {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; line-height: 1;
  box-shadow: 0 0 10px rgba(0,0,0,0.7), 0 0 6px currentColor;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.map-marker:hover { transform: scale(1.35); }
.map-marker.pulse {
  animation: markerPulse 0.7s ease-in-out 3;
}
@keyframes markerPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 10px rgba(0,0,0,0.7); }
  50%      { transform: scale(1.6); box-shadow: 0 0 20px currentColor; }
}

/* Leaflet popup dark theme */
.leaflet-popup-content-wrapper {
  background: rgba(15,15,15,0.97) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8) !important;
  font-family: var(--font-body) !important;
  padding: 0 !important;
}
.leaflet-popup-content {
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  min-width: 200px;
}
.leaflet-popup-tip { background: rgba(15,15,15,0.97) !important; }
.leaflet-popup-close-button {
  color: var(--text-muted) !important;
  font-size: 1rem !important;
  top: 6px !important; right: 8px !important;
}
.leaflet-popup-close-button:hover { color: var(--accent-red-bright) !important; }

.popup-emoji { font-size: 1.3rem; display: block; margin-bottom: 0.35rem; }
.popup-name { font-family: var(--font-headline); font-size: 1rem; font-weight: bold; color: var(--text-primary); margin-bottom: 0.25rem; }
.popup-role { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.4rem; line-height: 1.5; }
.popup-date { font-size: 0.68rem; color: var(--accent-red-bright); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

/* Leaflet attribution minimal dark */
.leaflet-control-attribution {
  background: rgba(10,10,10,0.75) !important;
  color: var(--text-muted) !important;
  font-size: 0.6rem !important;
}
.leaflet-control-attribution a { color: var(--text-muted) !important; }

/* ============ GEO-TOOLTIP SPAN ============ */
.geo-tooltip {
  border-bottom: 1px dashed var(--accent-red-bright);
  cursor: help;
  color: inherit;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.geo-tooltip:hover {
  color: var(--accent-red-bright);
  border-bottom-color: var(--accent-red);
}

/* ============ MAP TOOLTIP WIDGET ============ */
#map-tooltip-widget {
  position: fixed;
  z-index: 9999;
  width: 260px;
  background: rgba(10,10,10,0.97);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--accent-red);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.85), 0 0 0 1px rgba(192,57,43,0.2);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
#map-tooltip-widget.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mtw-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0.75rem 0.45rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(192,57,43,0.06);
}
.mtw-name {
  font-family: var(--font-headline);
  font-size: 0.88rem; font-weight: bold;
  color: var(--text-primary);
}
.mtw-close {
  font-size: 1.1rem; color: var(--text-muted);
  cursor: pointer; line-height: 1;
  pointer-events: auto;
  padding: 0 2px;
  transition: color 0.15s;
}
.mtw-close:hover { color: var(--accent-red-bright); }
#mtw-map {
  width: 260px;
  height: 180px;
  display: block;
  background: #0d1117;
}
.mtw-desc {
  padding: 0.45rem 0.75rem 0.55rem;
  font-size: 0.75rem; color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--border-color);
}

/* ============ TIMELINE ============ */
.timeline-section { padding: 5rem 0; background: var(--bg-primary); }
.timeline-wrap { position: relative; max-width: 880px; margin: 0 auto; }
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 130px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-red) 0%, rgba(192,57,43,0.1) 100%);
}
.tl-item {
  display: flex; gap: 0; margin-bottom: 3rem;
  opacity: 0; transform: translateX(-18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.tl-item.vis { opacity: 1; transform: translateX(0); }
.tl-date-col {
  width: 130px; flex-shrink: 0;
  text-align: right; padding-right: 2rem;
  position: relative;
}
.tl-date { font-size: 0.68rem; color: var(--text-muted); font-family: var(--font-mono); text-transform: uppercase; line-height: 1.45; }
.tl-dot {
  position: absolute; right: -6px; top: 5px;
  width: 12px; height: 12px;
  background: var(--accent-red); border-radius: 50%;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(192,57,43,0.7);
}
.tl-content { flex: 1; padding-left: 2rem; padding-bottom: 0.5rem; }
.tl-title {
  font-size: 1.1rem; font-weight: bold; color: var(--text-primary);
  margin-bottom: 0.5rem; font-family: var(--font-headline);
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.tl-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; }

/* Timeline map button */
.tl-map-btn {
  background: none; border: none;
  font-size: 1rem; cursor: pointer;
  padding: 0 4px; line-height: 1;
  opacity: 0.65; transition: opacity 0.2s, transform 0.2s;
  vertical-align: middle;
  color: inherit;
}
.tl-map-btn:hover { opacity: 1; transform: scale(1.2); }

/* ============ ARTICLE CARDS ============ */
.articles-section { padding: 5rem 0; background: var(--bg-secondary); }
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border-color); }
.art-card {
  background: var(--bg-card);
  padding: 2.5rem; cursor: default;
  position: relative; overflow: hidden;
  transition: background 0.25s ease;
}
.art-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--accent-red); transition: height 0.35s ease; }
.art-card:hover::before { height: 100%; }
.art-card:hover { background: var(--bg-card-hover); }
.art-card.featured { grid-column: 1 / -1; background: var(--bg-primary); }
.art-card.featured .art-body { columns: 2; column-gap: 3rem; }
.art-card.featured .art-title { font-size: 1.75rem; }
.art-date {
  font-size: 0.68rem; font-family: var(--font-mono);
  color: var(--accent-red-bright); text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.5rem;
}
.art-date::before { content: ''; width: 10px; height: 1px; background: var(--accent-red); flex-shrink: 0; }
.art-title { font-size: 1.3rem; font-family: var(--font-headline); color: var(--text-primary); margin-bottom: 1rem; line-height: 1.3; }
.art-body { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.85; }
.art-body p { margin-bottom: 1rem; }
.art-body p:last-child { margin-bottom: 0; }
.art-body strong { color: var(--text-primary); }
.art-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-red-bright); cursor: pointer;
  background: none; border: none; padding: 0; font-family: var(--font-body);
  transition: gap 0.2s ease;
}
.art-toggle:hover { gap: 0.8rem; }
.art-extra {
  display: none; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.87rem; color: var(--text-secondary); line-height: 1.85;
  animation: fadeSlide 0.3s ease;
}
.art-extra p { margin-bottom: 1rem; }
.art-extra p:last-child { margin-bottom: 0; }
.art-extra.open { display: block; }
@keyframes fadeSlide { from{opacity:0;transform:translateY(-6px);} to{opacity:1;transform:translateY(0);} }

/* ============ QUOTE ============ */
.quote-section { padding: 5rem 0; background: var(--bg-primary); position: relative; overflow: hidden; }
.quote-section::before {
  content: '\201C';
  position: absolute; top: -3rem; left: 50%; transform: translateX(-50%);
  font-size: 18rem; color: rgba(192,57,43,0.05); font-family: var(--font-headline);
  line-height: 1; pointer-events: none;
}
.quote-wrap { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.quote-txt {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-family: var(--font-headline); font-style: italic;
  color: var(--text-primary); line-height: 1.55; margin-bottom: 1.75rem;
}
.quote-txt em { color: var(--accent-red-bright); font-style: normal; }
.quote-by { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); font-family: var(--font-mono); }
.quote-meta { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.4rem; }
.quote-line { width: 36px; height: 1px; background: var(--border-color); }

/* ============ SOURCES ============ */
.sources-section { padding: 5rem 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.sources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.src-item {
  padding: 1.2rem 1.4rem; background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition); display: flex; flex-direction: column; gap: 0.35rem;
}
.src-item:hover { border-color: var(--accent-red); background: var(--bg-card-hover); }
.src-outlet { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-red-bright); font-family: var(--font-mono); }
.src-title { font-size: 0.87rem; color: var(--text-primary); line-height: 1.4; }
.src-date { font-size: 0.7rem; color: var(--text-muted); }
.src-url { font-size: 0.7rem; color: var(--accent-red-bright); word-break: break-all; opacity: 0.65; }

/* ============ FOOTER ============ */
.footer { background: #050505; border-top: 1px solid var(--border-color); padding: 3rem 2rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer-brand { font-family: var(--font-headline); font-size: 1.35rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; max-width: 340px; }
.footer-disclaimer { font-size: 0.77rem; color: var(--text-muted); line-height: 1.75; border-left: 2px solid var(--border-color); padding-left: 1.25rem; }
.footer-bottom { max-width: var(--max-width); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: var(--text-muted); }

/* ============ BACK TO TOP ============ */
.btt {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 42px; height: 42px;
  background: var(--accent-red); border: none; border-radius: 50%;
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: var(--transition); z-index: 500;
  box-shadow: 0 4px 16px rgba(192,57,43,0.5);
}
.btt.show { opacity: 1; transform: translateY(0); }
.btt:hover { background: var(--accent-red-bright); transform: translateY(-2px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
  .art-card.featured .art-body { columns: 1; }
  .art-card.featured .art-title { font-size: 1.4rem; }
  .timeline-wrap::before { left: 80px; }
  .tl-date-col { width: 80px; }
  .footer-inner { grid-template-columns: 1fr; }
  #mapa-principal { height: 420px; }
  .mapa-legenda { position: static; margin: 0 1rem 1rem; min-width: unset; backdrop-filter: none; }
}
@media (max-width: 680px) {
  .navbar-nav { display: none; }
  .hero { padding: 6rem 1.25rem 3rem; }
  .hero-stats { flex-direction: column; width: 100%; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border-color); text-align: left; }
  .hero-stat:last-child { border-bottom: none; }
  .timeline-wrap::before { left: 0; }
  .tl-date-col { display: none; }
  .tl-content { padding-left: 1.25rem; border-left: 2px solid var(--accent-red); }
  .container { padding: 0 1.25rem; }
  .art-card { padding: 1.75rem; }
  .keyfacts-grid { grid-template-columns: repeat(2,1fr); }
  .sources-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  #map-tooltip-widget { display: none !important; }
  #mapa-principal { height: 320px; }
}
@media (max-width: 420px) {
  .keyfacts-grid { grid-template-columns: 1fr; }
}
