/* ============================================================
   CBESP MISSÕES 2026 — É tempo para abençoar
   Solene · cinematográfico · verde profundo + dourado
   ============================================================ */

:root {
  --green-900: #061a10;
  --green-800: #0a2616;
  --green-700: #0d331e;
  --green-600: #0f3f24;
  --green-500: #134f2c;
  --green-400: #1c6d3f;
  --green-300: #2b8f55;

  --gold-100: #fdf3d6;
  --gold-200: #f5dfa6;
  --gold-300: #e9c576;
  --gold-400: #d4a85c;
  --gold-500: #b8893c;
  --gold-600: #8b6427;

  --cream:   #f4ecd8;
  --cream-soft: #efe6d0;
  --ink-soft: rgba(244,236,216,0.72);
  --ink-mute: rgba(244,236,216,0.50);
  --hairline: rgba(232,197,118,0.22);

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-script:  'Dancing Script', 'Fraunces', cursive;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;

  --shadow-elev: 0 30px 80px -30px rgba(0,0,0,.7), 0 8px 24px -12px rgba(0,0,0,.5);

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--green-900);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

a { color: inherit; text-decoration: none; }

/* ============ Section common ============ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 22px;
}
.section-eyebrow.on-dark { color: var(--gold-300); }
.eyebrow-mark {
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 0 0 26px;
  text-wrap: balance;
}
.section-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0;
  font-size: 1.15em;
  line-height: 0.9;
  padding: 0 .04em;
}

.section-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .35s ease, background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(6, 26, 16, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
}
.nav-brand-img { height: 52px; width: auto; transition: height .35s ease; }
.nav.scrolled .nav-brand-img { height: 42px; }
.nav-brand-divider {
  width: 1px; height: 24px; background: var(--hairline);
}
.nav-brand-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .01em;
  color: var(--gold-200);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--cream-soft);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--gold-200); }
.nav-link.is-active {
  color: var(--green-900);
  background: var(--gold-300);
}
.nav-link-external {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-300);
}
.nav-link-external:hover { color: var(--gold-100); }

.nav-burger {
  display: none;
  background: transparent; border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--cream);
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-brand-text { display: none; }
  .nav-brand-divider { display: none; }
  .nav-links {
    position: fixed; inset: 64px 16px auto 16px;
    flex-direction: column; align-items: stretch;
    background: rgba(6, 26, 16, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 16px;
    gap: 4px;
    opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-link { padding: 14px 18px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--pad) 80px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroPan 20s ease-in-out infinite alternate;
}
@keyframes heroPan {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}
.hero-bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(6,26,16,.55) 75%, rgba(6,26,16,.92) 100%),
    linear-gradient(180deg, rgba(6,26,16,.35) 0%, transparent 25%, transparent 70%, rgba(6,26,16,.9) 100%);
}
.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  max-width: 920px;
  width: 100%;
  animation: heroFade 1.4s ease-out both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
  color: var(--gold-200);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
}
.hero-eyebrow-line {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.hero-logo {
  width: min(960px, 92vw);
  height: auto;
  filter: drop-shadow(0 8px 50px rgba(212, 168, 92, .35));
}

.hero-verse {
  margin: 36px 0 44px;
  max-width: 640px;
}
.hero-verse blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.45;
  color: var(--cream);
  margin: 0 0 12px;
  text-wrap: balance;
}
.hero-verse figcaption {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.hero-stamps {
  display: flex; align-items: center; gap: clamp(28px, 5vw, 56px);
  opacity: .9;
  margin-top: 18px;
}
.hero-stamps img {
  height: clamp(40px, 5.5vw, 56px);
  width: auto;
  opacity: .92;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-200);
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll-dot {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--gold-300);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============ Sections base ============ */
section { position: relative; }
.video-section,
.gallery,
.mapa,
.downloads {
  background: var(--green-900);
  padding: clamp(80px, 9vw, 140px) 0;
}
.defesa { background: linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-900) 100%); padding: clamp(90px, 10vw, 160px) 0; }
.camiseta { background: var(--green-700); padding: clamp(80px, 9vw, 140px) 0; position: relative; overflow: hidden; }

/* Section dividers — subtle gold hairline */
.video-section::before,
.gallery::before,
.camiseta::before,
.mapa::before,
.downloads::before,
.defesa::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(640px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

/* ============ Video section ============ */
.video-section .section-title { margin-bottom: 16px; }
.video-section .section-lede { margin-bottom: 56px; }
.video-frame {
  position: relative;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, rgba(212,168,92,.05), rgba(212,168,92,0) 50%),
    rgba(0,0,0,.35);
  border-radius: 6px;
  box-shadow: var(--shadow-elev);
}
.video-frame-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: #000;
}
.video-frame-inner iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.video-frame-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold-300);
}
.video-frame-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.video-frame-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.video-frame-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.video-frame-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ============ Defesa ============ */
.defesa-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.defesa-side {
  position: sticky; top: 100px;
  padding-top: 8px;
}
.defesa-side-mark {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  color: var(--gold-300);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.defesa-side-mark .line { width: 36px; height: 1px; background: var(--gold-400); }
.defesa-side-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.45;
  color: var(--cream);
  margin: 0 0 8px;
  text-wrap: pretty;
}
.defesa-side-ref {
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0;
}
.defesa-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--cream);
  margin: 0 0 36px;
  text-wrap: balance;
}
.defesa-title em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--gold-300);
  font-size: 1.1em;
  font-weight: 600;
}
.defesa-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 60ch;
  text-wrap: pretty;
}
.defesa-text .lead {
  font-size: 19px;
  color: var(--cream);
}
.defesa-text strong { color: var(--gold-200); font-weight: 500; }
.defesa-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
.pillar h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 12px 0 6px;
  color: var(--cream);
}
.pillar p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-300);
  letter-spacing: .15em;
}

@media (max-width: 860px) {
  .defesa-grid { grid-template-columns: 1fr; }
  .defesa-side { position: static; }
  .defesa-pillars { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ Gallery ============ */
.gallery-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.gallery-yt {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--cream);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gallery-yt:hover { background: var(--gold-300); color: var(--green-900); border-color: var(--gold-300); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  align-items: start;
}
.gallery-player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-elev);
  border: 1px solid var(--hairline);
}
.gallery-player-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.gallery-player-meta {
  padding: 20px 4px 0;
}
.gallery-player-meta h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--cream);
}
.gallery-player-meta p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.playlist {
  list-style: none;
  margin: 0;
  padding: 12px;
  background: linear-gradient(180deg, rgba(212,168,92,0.04), rgba(212,168,92,0));
  border: 1px solid var(--hairline);
  border-radius: 6px;
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
}
.playlist::-webkit-scrollbar { width: 6px; }
.playlist::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: 3px; }
.playlist-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  border: 1px solid transparent;
}
.playlist-item:hover { background: rgba(212,168,92,0.06); }
.playlist-item.active {
  background: rgba(212,168,92,0.10);
  border-color: var(--hairline);
}
.playlist-item.active .playlist-num { color: var(--gold-300); }
.playlist-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  background: #000;
}
.playlist-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.playlist-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 30%, rgba(0,0,0,.35));
}
.playlist-thumb .play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55);
  border: 1px solid var(--gold-300);
  border-radius: 999px;
  color: var(--gold-200);
  z-index: 1;
}
.playlist-meta {
  display: flex; flex-direction: column; justify-content: center;
}
.playlist-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--gold-400);
  margin-bottom: 4px;
}
.playlist-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.35;
  margin: 0 0 4px;
}
.playlist-dur {
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}

@media (max-width: 920px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .playlist { max-height: 420px; }
}

/* ============ Camiseta ============ */
.camiseta::after {
  content: "";
  position: absolute; right: -20%; top: 10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212,168,92,0.18), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.camiseta-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.section-title.on-dark { color: var(--cream); }
.section-lede.on-dark { color: var(--ink-soft); }

.camiseta-list {
  list-style: none;
  margin: 36px 0 36px;
  padding: 0;
  display: grid; gap: 14px;
}
.camiseta-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  color: var(--cream-soft);
}
.camiseta-list .check {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(212,168,92,0.18);
  color: var(--gold-200);
  font-size: 12px;
  font-weight: 600;
  flex: 0 0 auto;
}
.camiseta-cta {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
  color: var(--green-900);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  border-radius: 999px;
  box-shadow: 0 14px 32px -16px rgba(212,168,92,0.7), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(212,168,92,0.85), inset 0 1px 0 rgba(255,255,255,.35); }
.camiseta-note {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .05em;
}

.camiseta-display {
  position: relative;
}
.camiseta-stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px; margin: 0 auto;
  display: grid; place-items: center;
}
.camiseta-glow {
  position: absolute; inset: 8%;
  background: radial-gradient(circle, rgba(212,168,92,.35), transparent 65%);
  filter: blur(20px);
  border-radius: 50%;
  z-index: 0;
}
.shirt {
  position: absolute;
  width: 86%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
  opacity: 0;
  transform: scale(.94);
  transition: opacity .6s ease, transform .6s ease;
  z-index: 1;
}
.shirt.is-active {
  opacity: 1;
  transform: scale(1);
}
.camiseta-tabs {
  display: flex; gap: 8px;
  justify-content: center;
  margin-top: 28px;
  position: relative; z-index: 2;
}
.tab {
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--cream-soft);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--gold-200); border-color: var(--gold-400); }
.tab.active {
  background: var(--gold-300);
  color: var(--green-900);
  border-color: var(--gold-300);
}

@media (max-width: 860px) {
  .camiseta-grid { grid-template-columns: 1fr; }
  .camiseta-stage { max-width: 380px; }
}

/* ============ Mapa ============ */
.mapa-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.mapa-head .section-title { margin: 0; }
.mapa-head .section-lede { margin: 0; }

.mapa-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 48px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.stat {
  background: var(--green-900);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -.02em;
}
.stat.highlight .stat-num { color: var(--gold-300); }
.stat-label {
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.mapa-frame {
  position: relative;
  padding: 14px;
  border: 1px solid var(--hairline);
  background: rgba(0,0,0,.3);
  border-radius: 6px;
  box-shadow: var(--shadow-elev);
}
.mapa-frame-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold-300);
}
.mapa-frame-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.mapa-frame-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.mapa-frame-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.mapa-frame-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.mapa-frame-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--green-800);
  border-radius: 3px;
  overflow: hidden;
}
.mapa-frame-inner iframe {
  width: 100%; height: 100%; border: 0;
}
.mapa-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background: linear-gradient(180deg, rgba(6,26,16,.92), rgba(6,26,16,.96)),
              repeating-linear-gradient(45deg, rgba(232,197,118,.04) 0 6px, transparent 6px 18px);
  color: var(--gold-300);
  pointer-events: none;
}
.mapa-placeholder p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--cream);
}
.mapa-placeholder small {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 800px) {
  .mapa-head { grid-template-columns: 1fr; gap: 18px; }
  .mapa-stats { grid-template-columns: 1fr; }
}

/* ============ Downloads ============ */
.downloads .section-title { margin-bottom: 14px; }
.downloads .section-lede { margin-bottom: 48px; }

.downloads-tabs {
  display: flex; gap: 4px;
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(0,0,0,0.3);
  width: max-content;
  max-width: 100%;
  margin-bottom: 36px;
}
.dl-tab {
  border: 0;
  background: transparent;
  color: var(--cream-soft);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .04em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.dl-tab:hover { color: var(--gold-200); }
.dl-tab.active {
  background: var(--gold-300);
  color: var(--green-900);
}
.dl-panel { display: none; }
.dl-panel.active { display: block; animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.dl-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px;
  background: rgba(212,168,92,0.04);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  min-height: 170px;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
  overflow: hidden;
}
.dl-card:hover {
  background: rgba(212,168,92,0.10);
  border-color: var(--gold-400);
  transform: translateY(-3px);
}
.dl-card-icon {
  color: var(--gold-300);
  margin-bottom: auto;
}
.dl-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.dl-card-meta-dot {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--gold-400);
}
.dl-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--cream);
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.dl-card-size {
  font-size: 12px;
  color: var(--ink-mute);
}
.dl-card-arrow {
  position: absolute;
  bottom: 22px; right: 22px;
  color: var(--gold-300);
  opacity: .65;
  transition: transform .25s ease, opacity .25s ease;
}
.dl-card:hover .dl-card-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  background: var(--green-900);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 0;
  overflow: hidden;
}
.footer-flair {
  position: absolute;
  left: -10%; bottom: -30%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212,168,92,.12), transparent 60%);
  pointer-events: none;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 36px;
  align-items: center;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex; flex-direction: column;
  gap: 22px;
}
.footer-stamps {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 40px);
  opacity: .95;
}
.footer-stamps img {
  height: 64px; width: auto;
  opacity: .92;
}
.footer-tag {
  margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
}
.footer-tag-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--gold-300);
  width: max-content;
  transition: color .2s ease;
}
.footer-tag-link:hover { color: var(--gold-100); }
.footer-tag span {
  font-size: 14px;
  color: var(--ink-mute);
}

.footer-social {
  display: flex; gap: 12px;
  justify-content: flex-end;
}
.footer-social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--cream-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  background: var(--gold-300);
  color: var(--green-900);
  border-color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.footer-bottom-inner p { margin: 0; }
.footer-verse {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-300);
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footer-brand { align-items: center; }
  .footer-stamps, .footer-social { justify-content: center; }
  .footer-tag { align-items: center; }
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Selection / Misc ============ */
::selection { background: var(--gold-300); color: var(--green-900); }
