/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}

/* === VARIÁVEIS === */
:root {
  --bg: #0a1410;
  --surface: #11241c;
  --card: #173026;
  --texto: #e8f5ee;
  --texto-muted: rgba(232, 245, 238, 0.62);
  --texto-faint: rgba(232, 245, 238, 0.38);

  --verde: #22c55e;
  --verde-neon: #7dff9d;
  --verde-profundo: #0f5d3a;
  --amarelo: #facc15;
  --amarelo-bright: #fff05c;

  --gol: #ff5b3d;
  --vitoria: #7dff9d;
  --empate: #facc15;
  --derrota: #ff5b3d;

  --borda-sutil: rgba(255, 255, 255, 0.08);
  --borda-forte: rgba(255, 255, 255, 0.16);

  --font-titulo: "Anton", sans-serif;
  --font-texto: "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --max-width: 1440px;
  --padding-x: 24px;
}

/* === BASE === */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--texto);
  font-family: var(--font-texto);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titulo);
  text-transform: uppercase;
  color: var(--texto);
  line-height: 1.1;
}

a {
  color: var(--verde-neon);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--amarelo);
}

/* === HEADER === */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--borda-forte);
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  left: 0;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-name {
  font-family: var(--font-titulo);
  font-size: 24px;
  color: var(--verde-neon);
  letter-spacing: 0.02em;
}

/* NAV DESKTOP */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-menu li a {
  color: var(--texto);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: var(--verde-neon);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-loja {
  color: var(--texto-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 9px 14px;
  border-radius: 4px;
  border: 1px solid var(--borda-forte);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-loja:hover {
  color: var(--verde-neon);
  border-color: var(--verde-neon);
}

.btn-entrar {
  background: var(--verde);
  color: var(--bg);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 9px 18px;
  border-radius: 4px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-entrar:hover {
  background: var(--verde-neon);
  color: var(--bg);
}

/* === HAMBÚRGUER === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--borda-forte);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.nav-toggle:hover {
  border-color: var(--verde-neon);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

/* Animação X quando aberto */
.nav-toggle.aberto span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.aberto span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.aberto span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === DRAWER MOBILE === */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--borda-forte);
  z-index: 300;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px;
  overflow-y: auto;
}

.nav-drawer.aberto {
  transform: translateX(0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.nav-drawer-logo img {
  height: 44px;
  width: auto;
}

.nav-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--borda-forte);
  border-radius: 6px;
  color: var(--texto-muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s;
}

.nav-drawer-close:hover {
  color: var(--verde-neon);
  border-color: var(--verde-neon);
}

.nav-drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
}

.nav-drawer-menu li a {
  display: block;
  color: var(--texto-muted);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  border-bottom: 1px solid var(--borda-sutil);
}

.nav-drawer-menu li a:hover,
.nav-drawer-menu li.current-menu-item a {
  color: var(--verde-neon);
  background: rgba(125, 255, 157, 0.06);
}

.nav-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--borda-sutil);
}

.nav-drawer-actions .btn-loja {
  text-align: center;
  padding: 12px;
}

.nav-drawer-actions .btn-entrar {
  text-align: center;
  padding: 13px;
  font-size: 15px;
}

/* Overlay escurecido atrás do drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 250;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.aberto {
  opacity: 1;
}

/* === TICKER === */
.ticker-bar {
  background: var(--verde-profundo);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10px 0;
  border-bottom: 1px solid var(--borda-sutil);
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  flex-shrink: 0;
  border-right: 1px solid var(--borda-forte);
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gol);
  animation: pulse 1.2s ease-in-out infinite;
}

.ticker-label span:last-child {
  color: var(--texto);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
  padding-left: 20px;
}

.ticker-move {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  color: var(--texto);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* === FOOTER === */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--borda-forte);
  margin-top: 60px;
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-logo-wrap {
  margin-bottom: 20px;
}

.footer-logo-wrap img {
  height: 52px;
  width: auto;
}

.footer-logo-nome {
  font-family: var(--font-titulo);
  font-size: 28px;
  color: var(--verde-neon);
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 14px;
  color: var(--texto-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 28px;
}

.footer-contato-btn {
  display: inline-block;
  border: 1px solid var(--borda-forte);
  color: var(--texto);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.footer-contato-btn:hover {
  border-color: var(--verde-neon);
  color: var(--verde-neon);
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  padding-top: 8px;
}

.footer-nav-titulo {
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.footer-nav-lista {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-nav-lista a {
  font-size: 18px;
  font-weight: 600;
  color: var(--texto-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--borda-sutil);
  transition: color 0.2s ease;
  display: block;
  letter-spacing: 0.01em;
}

.footer-nav-lista a:first-child {
  border-top: 1px solid var(--borda-sutil);
}

.footer-nav-lista a:hover {
  color: var(--texto);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--borda-sutil);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--texto-faint);
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--texto-faint);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--texto-muted);
}

.footer-redes-lista {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 4px;
}

.footer-rede {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--borda-sutil);
  color: var(--texto-muted);
  border: 1px solid var(--borda-sutil);
  transition: all 0.2s ease;
}

.footer-rede:hover {
  color: var(--verde-neon);
  border-color: var(--verde-neon);
  background: rgba(125, 255, 157, 0.08);
}

.footer-rede svg {
  flex-shrink: 0;
}

.footer-rede-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  color: var(--texto);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  border: 1px solid var(--borda-forte);
}

.footer-rede-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--borda-forte);
}

.footer-rede:hover .footer-rede-tooltip {
  opacity: 1;
}

/* === RESPONSIVO === */
@media (max-width: 900px) {
  /* Esconde nav e ações desktop, mostra hambúrguer */
  .site-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Drawer e overlay visíveis via JS */
  .nav-drawer {
    display: flex;
  }

  .nav-overlay {
    display: block;
  }

  .header-inner {
    padding: 12px 16px;
    width: 100%;
  }

  .site-logo img {
    height: 44px;
  }
}

@media (max-width: 768px) {
  :root {
    --padding-x: 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-right {
    grid-template-columns: 1fr;
  }

  .footer-nav-lista a {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}