@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #0A0A0A;
  --gold:       #C9A96E;
  --gold-light: #E8C98A;
  --gold-glow:  rgba(201, 169, 110, 0.4);
  --white-soft: #F0EDE8;
  --white-dim:  rgba(240, 237, 232, 0.65);
}

html, body {
  height: 100%;
  background: var(--black);
  color: var(--white-soft);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* ── CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 85% at 50% 50%,
    transparent 30%,
    rgba(10,10,10,0.3) 70%,
    rgba(10,10,10,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── TOPO ── */
.hero-top {
  position: relative;
  z-index: 20;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px 0;
  gap: 20px;
  flex-shrink: 0;
}

/* ── LOGO ── */
.mc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-circles {
  position: relative;
  width: 44px;
  height: 28px;
  flex-shrink: 0;
}

.mc-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: absolute;
  top: 0;
}

.mc-circle.red    { background: #EB001B; left: 0; }
.mc-circle.orange { background: #F79E1B; right: 0; mix-blend-mode: screen; }

.mc-wordmark {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.5);
  font-weight: 400;
}

.mc-wordmark strong {
  color: var(--white-soft);
  font-weight: 600;
}

/* ── BADGE ── */
.hero-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 18px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 100px;
  background: rgba(201, 169, 110, 0.06);
  backdrop-filter: blur(12px);
}

.hero-badge span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ── TÍTULO ── */
.hero-title {
  font-family: 'FF Mark', 'FFMark', 'Mark Pro', sans-serif;
  font-size: clamp(14px, 1.5vw, 22px);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  color: var(--white-soft);
  max-width: 520px;
  letter-spacing: -0.01em;
  opacity: 0.82;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #A07840);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── STAGE: preenche o restante, posicionamento relativo para filhos absolutos ── */
.hero-stage {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

/* ── MAPA: preenche todo o stage, imagem larga com overflow cortado ── */
.map-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse 80% 65% at 50% 55%,
    rgba(255,255,255,0.10) 0%,
    transparent 65%);
  pointer-events: none;
  animation: glow-breathe 5s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.04); }
}

/* wrapper cresce além do container — overflow é cortado pelo stage */
.map-wrapper {
  position: relative;
  width: 110%;
  max-width: 1300px;;
  flex-shrink: 0;
  animation: map-float 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes map-float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-8px); }
}

.map-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  animation: img-glow-pulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.10));
}

@keyframes img-glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(255,255,255,0.08)); }
  50%       { filter: drop-shadow(0 0 38px rgba(255,255,255,0.25)); }
}

/* ── NAV COLUMNS: sobrepostas e centradas verticalmente no stage ── */
.nav-col {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 38px;
  width: 160px;
  z-index: 20;
}

.nav-col.left  { left: 28px; }
.nav-col.right { right: 28px; }

/* ── BOTÃO LIQUID METAL 3D ── */
.nav-btn {
  position: relative;
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 0;

  /* Corpo escuro metálico */
  background: linear-gradient(
    145deg,
    #2a2a2e 0%,
    #1a1a1e 40%,
    #111114 70%,
    #1e1e22 100%
  );

  /* Sombra 3D sem glow dourado */
  box-shadow:
    0 8px 24px rgba(0,0,0,0.6),
    0 2px 6px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.5);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Brilho branco girando ao redor da borda */
.nav-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    transparent 60deg,
    rgba(255,255,255,0.9) 90deg,
    rgba(255,255,255,0.4) 120deg,
    transparent 150deg,
    transparent 360deg
  );
  animation: spin-border 6s linear infinite;
  z-index: -1;
}

/* Máscara interna para mostrar só a borda */
.nav-btn::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    #2a2a2e 0%,
    #1a1a1e 40%,
    #111114 70%,
    #1e1e22 100%
  );
  z-index: -1;
}

@keyframes spin-border {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.nav-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.7),
    0 4px 10px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.5);
}

.nav-btn.active::before {
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    transparent 40deg,
    rgba(255,255,255,1) 80deg,
    rgba(255,255,255,0.5) 120deg,
    transparent 160deg,
    transparent 360deg
  );
}

/* Texto do botão */
.nav-label {
  position: relative;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white-dim);
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.nav-btn:hover .nav-label,
.nav-btn.active .nav-label {
  color: var(--white-soft);
}

/* ── FADE-IN ── */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.8s ease forwards;
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  html, body { overflow: auto; }
  .hero { height: auto; min-height: 100vh; }

  .hero-stage {
    position: static;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px 24px;
  }

  .map-container { position: static; }
  .map-wrapper { width: 100%; }

  .nav-col {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-btn { width: calc(50% - 6px); }
}

@media (max-width: 520px) {
  .nav-btn { width: 100%; }
}
