:root {
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Lora", Georgia, serif;
  --mono: "JetBrains Mono", monospace;

  /* Paleta DARK AMBER — escura, editorial, dourada */
  --bg: #0e0c09; /* preto quente */
  --surface: #171309;
  --surface2: #211a0e; /* hover, bordas internas */
  --border: rgba(200, 149, 80, 0.14);
  --text: #f0e8d8; /* creme quente */
  --text-muted: #a08860; /* âmbar médio */
  --text-faint: #5a4a30; /* âmbar escuro */

  /* Acento — dourado/âmbar */
  --accent: #c8955a;
  --accent2: #e8b87a; /* âmbar claro */

  --af1: #2d6a4f;
  --af2: #8a6b1a;
  --au1: #a03020;
  --au2: #c05040;
  --nz1: #1a4fa0;
  --nz3: #1a8a70;

  --radius: 14px;
  --radius-sm: 7px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.5;
}

/* ---- LOADER ---- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}
.loader-text {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  animation: pulse 1.4s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ---- NAV ---- */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 2rem;
  background: rgba(14, 12, 9, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
#navbar.scrolled { height: 60px; }

/* Nav links — desktop */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition), letter-spacing 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              left  0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.nav-links a:hover { color: var(--accent2); letter-spacing: 0.2em; }
.nav-links a:hover::after { width: 100%; left: 0; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; left: 0; opacity: 0.6; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 40px; height: 40px;
  padding: 11px 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  order: -1;
  transition: border-color var(--transition), background var(--transition);
}
.nav-toggle:hover { border-color: var(--accent); background: var(--surface2); }
.nav-toggle .bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.25s ease,
              background var(--transition);
  transform-origin: center;
}
.nav-toggle:hover .bar { background: var(--accent); }
.nav-toggle.open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu dropdown */
.mobile-menu {
  position: absolute;
  top: 100%; right: 0;
  width: 100%;
  background: rgba(14,12,9,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease,
              transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0; margin: 0;
}
.mobile-links li { border-bottom: 1px solid var(--border); }
.mobile-links li:first-child { border-top: 1px solid var(--border); }
.mobile-links a {
  display: block;
  padding: 1rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-links a:hover { color: var(--accent2); padding-left: 0.5rem; }
/* Responsive show/hide */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 769px) {
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a, .nav-links a::after,
  .nav-toggle .bar, .mobile-menu { transition: none; }
}
/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 5rem;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}
.orb1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -10%;
  left: -10%;
}
.orb2 {
  width: 400px;
  height: 400px;
  background: var(--accent2);
  bottom: 0;
  right: -5%;
}
.orb3 {
  width: 300px;
  height: 300px;
  background: #6c8ac8;
  top: 40%;
  left: 60%;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-title .line {
  display: block;
}
.hero-title .italic {
  font-style: italic;
  color: var(--accent);
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #0e0c09;
  font-weight: 600;
}
.btn-primary:hover {
  background: #245a72;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-flags {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.flag-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(60, 45, 30, 0.06);
}
.flag-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(160, 82, 45, 0.15);
}
.flag-emoji {
  font-size: 1.5rem;
}
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scrollArrow 1.8s ease infinite;
}
@keyframes scrollArrow {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1.5);
    opacity: 1;
  }
}

/* ---- SECTION ---- */
.country-section {
  padding: 7rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  padding: 4rem 2rem;
}
.section-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(60, 45, 30, 0.06);
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.section-header-inner {
  position: relative;
  z-index: 1;
}
.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.country-badge.au {
  border-color: rgba(160, 48, 32, 0.2);
  color: var(--au1);
}
.country-badge.nz {
  border-color: rgba(26, 79, 160, 0.2);
  color: var(--nz1);
}
.badge-flag {
  font-size: 1.2rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- INFO GRID ---- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(60, 45, 30, 0.05);
}
.info-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

/* ---- BANDEIRAS ---- */
.flag-display {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}
.flag-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.8rem;
}
.africa-flag {
  background: #007a4d;
  position: relative;
}
.af-stripe {
  position: absolute;
  left: 0;
  right: 0;
}
.af-stripe.red {
  background: #de3831;
  height: 33.3%;
  top: 0;
}
.af-stripe.white {
  background: #fff;
  height: 2px;
  top: 33.3%;
}
.af-stripe.blue {
  background: #002395;
  height: 33.3%;
  top: 33.3%;
}
.af-stripe.white2 {
  background: #fff;
  height: 2px;
  top: 66.6%;
}
.af-stripe.green {
  background: #007a4d;
  height: 33.4%;
  top: 66.6%;
}
.af-y {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-style: solid;
  border-width: 70px 40px 70px 0;
  border-color: transparent #ffb81c transparent transparent;
}
.af-black {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-style: solid;
  border-width: 70px 30px 70px 0;
  border-color: transparent #000 transparent transparent;
}
.australia-flag {
  background: #00008b;
  position: relative;
}
.au-blue {
  position: absolute;
  inset: 0;
  background: #00008b;
}
.au-union-jack {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
}
.uj-hbar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 33%;
  transform: translateY(-50%);
  background: #fff;
}
.uj-vbar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 20%;
  transform: translateX(-50%);
  background: #fff;
}
.uj-diag1,
.uj-diag2 {
  position: absolute;
  inset: 0;
}
.uj-diag1 {
  background:
    linear-gradient(to bottom right, #c8102e 40%, transparent 40%),
    linear-gradient(to top right, #c8102e 40%, transparent 40%);
}
.uj-diag2 {
  background:
    linear-gradient(to bottom left, #c8102e 40%, transparent 40%),
    linear-gradient(to top left, #c8102e 40%, transparent 40%);
}
.nz-uj {
  background: #cf142b !important;
}
.au-commonwealth-star {
  position: absolute;
  left: 25%;
  top: 55%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.8rem;
}
.au-southern-cross {
  position: absolute;
  right: 15%;
  top: 15%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
}
.au-star,
.nz-star {
  color: #fff;
}
.s1 {
  font-size: 1.4rem;
  grid-column: 1;
  grid-row: 1;
}
.s2 {
  font-size: 0.8rem;
  grid-column: 2;
  grid-row: 1;
}
.s3 {
  font-size: 1.2rem;
  grid-column: 1;
  grid-row: 2;
}
.s4 {
  font-size: 1rem;
  grid-column: 2;
  grid-row: 2;
}
.s5 {
  font-size: 0.6rem;
  grid-column: 1;
  grid-row: 3;
}
.nz-flag {
  background: #00247d;
  position: relative;
}
.nz-blue {
  position: absolute;
  inset: 0;
  background: #00247d;
}
.nz-union-jack {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
}
.nz-stars {
  position: absolute;
  right: 10%;
  top: 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.nz-star {
  color: #cc142b;
}
.n1 {
  font-size: 1.4rem;
}
.n2 {
  font-size: 0.9rem;
}
.n3 {
  font-size: 1.1rem;
}
.n4 {
  font-size: 1rem;
}

/* ---- POPULAÇÃO ---- */
.pop-number {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.pop-big {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.pop-unit {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.pop-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.pop-bar {
  display: grid;
  grid-template-columns: 120px 1fr 45px;
  align-items: center;
  gap: 0.7rem;
}
.pop-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pop-bar-track {
  flex: 1;
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}
.pop-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pop-pct {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: right;
}
.pop-note {
  font-size: 0.88rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
}

/* ---- TIMELINE ---- */
.timeline-block {
  margin-bottom: 4rem;
}
.block-title {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.01em;
  color: var(--text);
}
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}
.t-dot {
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.au-dot {
  background: var(--au1);
}
.nz-dot {
  background: var(--nz1);
}
.t-year {
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.t-content h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0.2rem 0 0.4rem;
  color: var(--text);
}
.t-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CURIOSIDADES ---- */
.curiosities-block {
  margin-bottom: 4rem;
}
.curiosity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.curiosity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
  box-shadow: 0 1px 6px rgba(60, 45, 30, 0.05);
}
.curiosity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}
.curiosity-card:hover {
  border-color: rgba(160, 82, 45, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(160, 82, 45, 0.1);
}
.curiosity-card:hover::before {
  opacity: 1;
}
.au-card::before {
  background: linear-gradient(90deg, var(--au1), var(--au2));
}
.nz-card::before {
  background: linear-gradient(90deg, var(--nz1), var(--nz3));
}
.curiosity-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.8rem;
}
.curiosity-card h4 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.curiosity-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- ANIMAIS ---- */
.animals-block {
  margin-bottom: 4rem;
}
.animals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem;
}
.animal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 1px 6px rgba(60, 45, 30, 0.05);
  cursor: pointer;
  position: relative;
}
.animal-card:hover {
  border-color: rgba(160, 82, 45, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(160, 82, 45, 0.15);
}
.animal-card::after {
  content: "Ver";
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.animal-card:hover::after {
  opacity: 1;
}
.animal-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--surface2);
}
.animal-img-placeholder {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
}
.animal-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.animal-card:hover .animal-img {
  transform: scale(1.05);
}
.animal-info {
  padding: 1rem;
}
.animal-info h4 {
  font-family: var(--display);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.animal-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- COMIDAS ---- */
.food-block {
  margin-bottom: 4rem;
}
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.food-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 1px 6px rgba(60, 45, 30, 0.05);
}
.food-card:hover {
  border-color: rgba(160, 82, 45, 0.3);
  transform: translateY(-3px);
}
.food-img-wrap {
  height: 160px;
  overflow: hidden;
  position: relative;
  background: var(--surface2);
}
.food-img-placeholder {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.food-info {
  padding: 1rem;
}
.food-info h4 {
  font-family: var(--display);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.food-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- FAMOSOS ---- */
.famous-block {
  margin-bottom: 4rem;
}
.famous-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
}
.famous-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(60, 45, 30, 0.05);
}
.famous-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.famous-card:hover {
  border-color: rgba(160, 82, 45, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(160, 82, 45, 0.08);
}
.famous-card:hover::before {
  opacity: 1;
}
.au-famous::before {
  background: var(--au1);
}
.nz-famous::before {
  background: var(--nz1);
}
.famous-photo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}
.famous-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.famous-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.famous-rank-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--accent);
  color: #0e0c09;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}
.au-famous .famous-rank-badge {
  background: var(--au1);
}
.nz-famous .famous-rank-badge {
  background: var(--nz1);
}
.famous-info h4 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.famous-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.au-tag {
  color: var(--au1);
}
.nz-tag {
  color: var(--nz1);
}
.famous-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CULTURA ---- */
.culture-block {
  margin-bottom: 4rem;
}
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.culture-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all 0.3s;
  box-shadow: 0 1px 6px rgba(60, 45, 30, 0.05);
}
.culture-card.wide {
  grid-column: 1/-1;
}
.culture-card:hover {
  border-color: rgba(160, 82, 45, 0.3);
  box-shadow: 0 6px 20px rgba(160, 82, 45, 0.08);
}
.culture-card h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.culture-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- HISTÓRIA ---- */
.history-block {
  margin-bottom: 4rem;
}
.history-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.history-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
  box-shadow: 0 1px 6px rgba(60, 45, 30, 0.05);
}
.au-hist {
  border-left-color: var(--au1);
}
.nz-hist {
  border-left-color: var(--nz1);
}
.history-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(160, 82, 45, 0.08);
}
.history-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.history-card h4 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.history-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- BLACK COFFEE ---- */
.blackcoffee-block {
  margin: 4rem 0;
}
.blackcoffee-card {
  background: linear-gradient(135deg, #1a0e06 0%, #2a1a0a 50%, #0c0d18 100%);
  border: 1px solid #c8956c;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(200, 149, 108, 0.15),
    0 4px 30px rgba(0, 0, 0, 0.2);
  color: #f2ede6;
}
.bc-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  background: linear-gradient(
    90deg,
    rgba(200, 149, 108, 0.1) 0%,
    transparent 100%
  );
  border-bottom: 1px solid rgba(200, 149, 108, 0.2);
  align-items: center;
}
.bc-photo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #c8956c;
  box-shadow: 0 0 30px rgba(200, 149, 108, 0.3);
  flex-shrink: 0;
}
.bc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.bc-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: rgba(255, 255, 255, 0.05);
}
.bc-badge {
  display: inline-block;
  background: linear-gradient(90deg, #c8956c, #e8c99a);
  color: #0f0e0c;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.bc-name {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #c8956c;
  margin: 0.3rem 0 0.5rem;
  line-height: 1.1;
}
.bc-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  color: rgba(200, 149, 108, 0.7);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.bc-subtitle {
  color: rgba(242, 237, 230, 0.6);
  font-style: italic;
  font-size: 1rem;
  margin: 0;
}
.bc-body {
  padding: 2.5rem;
  display: grid;
  gap: 2.5rem;
}
.bc-doc h4,
.bc-music h4,
.bc-raves h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  color: #c8956c;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200, 149, 108, 0.2);
}
.bc-doc p {
  color: rgba(242, 237, 230, 0.75);
  line-height: 1.8;
}
.bc-doc strong {
  color: #c8956c;
}
.bc-player-wrap {
  margin: 1rem 0 0.7rem;
  border-radius: 12px;
  overflow: hidden;
}
.bc-music-note {
  font-size: 0.82rem;
  color: rgba(242, 237, 230, 0.5);
  margin: 0;
}
.bc-link {
  color: #c8956c;
  text-decoration: none;
}
.bc-link:hover {
  text-decoration: underline;
}
.bc-raves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.bc-rave-card {
  background: rgba(200, 149, 108, 0.05);
  border: 1px solid rgba(200, 149, 108, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  transition: all 0.3s;
}
.bc-rave-card:hover {
  background: rgba(200, 149, 108, 0.1);
  border-color: rgba(200, 149, 108, 0.5);
  transform: translateY(-3px);
}
.bc-rave-icon {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.bc-rave-card h5 {
  font-family: var(--display);
  font-size: 1.05rem;
  color: #c8956c;
  margin: 0 0 0.3rem;
}
.bc-rave-year {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(200, 149, 108, 0.6);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.bc-rave-card p {
  font-size: 0.88rem;
  color: rgba(242, 237, 230, 0.65);
  line-height: 1.7;
  margin: 0;
}

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 4rem 2.5rem;
  margin-top: 6rem;
  background: var(--surface);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.footer-wordmark {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.8rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .06em;
  color: var(--text-faint);
  line-height: 1.7;
  max-width: 600px;
}
.footer-credit-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  padding: .4rem .9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all .2s;
}
.footer-credit-link:hover {
  color: var(--text);
  border-color: rgba(200,149,80,.3);
  background: var(--surface2);
}
@media (max-width: 768px) {
  footer { padding: 2.5rem 1.5rem 2rem; }
  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-nav { gap: 1.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .8rem; }
}


/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .bc-raves-grid {
    grid-template-columns: 1fr;
  }
  .bc-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .bc-photo-wrap {
    width: 160px;
    height: 160px;
  }
  .country-section {
    padding: 5rem 1.5rem;
  }
}
@media (max-width: 768px) {
  #navbar {
    padding: 1rem 1.5rem;
  }
  #navbar.scrolled {
    padding: 0.7rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    z-index: 99;
  }
  .nav-toggle {
    display: block;
  }
  .hero-flags {
    flex-direction: column;
    gap: 1rem;
  }
  .info-grid,
  .culture-grid,
  .history-cards {
    grid-template-columns: 1fr;
  }
  .culture-card.wide {
    grid-column: auto;
  }
  .famous-grid {
    grid-template-columns: 1fr;
  }
  .country-section {
    padding: 4rem 1.2rem;
  }
  .pop-bar {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .pop-bar-track {
    width: 100%;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .animals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .famous-card {
    grid-template-columns: 65px 1fr;
  }
  .famous-photo,
  .famous-photo-placeholder {
    width: 60px;
    height: 60px;
  }
  .animals-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 3rem;
  }
}

/* ---- SPOTIFY BUTTON ---- */
.bc-spotify-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #1db954;
  color: #000;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-family: var(--mono);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.bc-spotify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.4);
}
.bc-spotify-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.bc-spotify-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.bc-spotify-text strong {
  font-size: 1.1rem;
}
.bc-spotify-text small {
  font-size: 0.85rem;
  opacity: 0.8;
}
/* ---- CURIOSITY CARD COM IMAGEM ---- */

.curiosity-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.curiosity-img-placeholder {
  width: 100%;
  height: 120px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.curiosity-body {
  padding: 1.5rem;
}
.curiosity-body h4 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.curiosity-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- EXTRA SECTIONS (Mapa, Timeline, Fontes) ---- */
.extra-section {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.extra-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.extra-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}
.extra-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.1em;
}

/* ---- MAPA ---- */
.map-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
#world-map {
  width: 100%;
  display: block;
}
.map-country {
  cursor: pointer;
  transition: filter 0.3s;
}
.map-country:hover {
  filter: brightness(1.4);
}
.map-pulse {
  animation: mapPulse 2s ease infinite;
}
@keyframes mapPulse {
  0%,
  100% {
    opacity: 0;
    r: 18;
  }
  50% {
    opacity: 0.5;
    r: 28;
  }
}
.map-hint {
  text-align: center;
  padding: 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}

/* ---- TIMELINE COMPARATIVA ---- */
.comp-legends {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.cl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.af-dot {
  background: #52b788;
}
.au-dot2 {
  background: #c05040;
}
.nz-dot2 {
  background: #3a86ff;
}
.cl-label {
  font-family: var(--mono);
  font-size: 0.71rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.comp-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comp-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.comp-row:last-child {
  border-bottom: none;
}
.comp-row:hover {
  background: var(--surface2);
}
.comp-year {
  padding: 1.2rem 1rem;
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: var(--surface);
}
.comp-events {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}
.comp-ev {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.af-ev {
  border-left-color: #2d6a4f;
}
.au-ev {
  border-left-color: #a03020;
}
.nz-ev {
  border-left-color: #1a4fa0;
}
.comp-ev:hover {
  color: var(--text);
  background: rgba(200, 149, 80, 0.04);
}

/* ---- FONTES ---- */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.source-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all 0.3s;
}
.source-card:hover {
  border-color: rgba(200, 149, 80, 0.3);
  transform: translateY(-2px);
}
.wide-source {
  grid-column: 1/-1;
}
.source-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.source-card h4 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.source-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sources-inline {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 0.8rem !important;
}
.source-card a {
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.source-card a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---- LIGHTBOX ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 4, 3, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.lb-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  animation: lbIn 0.35s ease;
}
@keyframes lbIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
#lb-img {
  max-width: 80vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}
#lb-caption {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.lb-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close:hover {
  background: var(--surface2);
  border-color: var(--accent);
  color: var(--accent);
}
.lb-prev,
.lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 12, 9, 0.8);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lb-prev {
  left: 1.5rem;
}
.lb-next {
  right: 1.5rem;
}
.lb-prev:hover,
.lb-next:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.curiosity-card {
  cursor: zoom-in;
}

/* ---- RESPONSIVE EXTRA ---- */
@media (max-width: 768px) {
  .extra-section {
    padding: 4rem 1.2rem;
  }
  .comp-row {
    grid-template-columns: 90px 1fr;
  }
  .comp-year {
    font-size: 0.65rem;
    padding: 0.8rem 0.6rem;
  }
  .comp-ev {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
  .sources-grid {
    grid-template-columns: 1fr;
  }
  .wide-source {
    grid-column: auto;
  }
  .sources-inline {
    flex-direction: column !important;
  }
  .lb-prev {
    left: 0.5rem;
  }
  .lb-next {
    right: 0.5rem;
  }
}
@media (max-width: 480px) {
  .comp-row {
    grid-template-columns: 1fr;
  }
  .comp-year {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
