/* Primo's Sports — layout e seções */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Luz ambiente sutil do fundo (estático, sem animação contínua) */
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.ambient-one { width: 420px; height: 420px; background: var(--neon); top: -160px; left: -140px; }
.ambient-two { width: 380px; height: 380px; background: #0d6b00; bottom: -180px; right: -120px; }

main { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}
.brand img { width: clamp(44px, 4vw, 56px); height: clamp(44px, 4vw, 56px); border-radius: 50%; object-fit: cover; }
.brand span { line-height: 1; color: var(--white); }
.brand b { color: var(--neon); font-weight: inherit; }

/* A navegação vive na gaveta do hambúrguer em todas as larguras: o cabeçalho
   fica só com a marca e os botões redondos de ação. */
.main-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--graphite);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem clamp(1.25rem, 5vw, 3rem) 1.25rem;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  transform: translateY(-120%);
  transition: transform var(--transition);
  z-index: var(--z-header);
  margin: 0;
}
.main-nav.open { transform: translateY(0); }
.main-nav a {
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--neon); background: var(--accent-soft); }
.main-nav a[aria-current='page'] { color: var(--neon); }

/* Dropdown "Categorias" no menu principal */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded='true'] { color: var(--neon); background: var(--accent-soft); }
.nav-dropdown-toggle::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition);
}
.nav-dropdown-toggle[aria-expanded='true']::after { transform: rotate(-135deg); margin-top: 3px; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  background: var(--graphite-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.4rem;
  box-shadow: var(--shadow);
  display: none;
  z-index: 5;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.nav-dropdown-menu a:hover { color: var(--neon); background: var(--accent-soft); }

@media (max-width: 860px) {
  .nav-dropdown-menu {
    position: static;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 1rem;
    display: none;
  }
  .nav-dropdown-menu.open { display: block; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }
}

.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; margin-left: auto; }

.icon-btn {
  position: relative;
  width: clamp(44px, 3.6vw, 52px);
  height: clamp(44px, 3.6vw, 52px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--white);
  transition: border-color var(--transition), color var(--transition);
}
.icon-btn:hover { border-color: var(--neon); color: var(--neon); }
.icon-btn svg { width: 21px; height: 21px; }

.count-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--neon);
  color: #05210a;
  font-size: 0.6875rem;
  font-weight: 800;
}

/* Presente em todas as larguras — é o único acesso ao menu. */
.menu-toggle { display: grid; }

/* ------------------------------------------------------------------ Hero */
/* Ambiente de "estádio" só com CSS: feixes de luz + vinheta, sem depender
   de foto de terceiros. */
/* ===================================================================== */
/* Hero — três camisas em composição (Flamengo em destaque, Real Madrid   */
/* e Barcelona de apoio), atmosfera de estádio ao fundo.                  */
/* ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* A fumaça fica ancorada na base e ACIMA da vinheta, senão o overlay escuro
   a apaga por completo. */
.hero-smoke {
  position: absolute;
  inset: auto 0 0 auto;
  width: 76%;
  height: 46%;
  object-fit: cover;
  object-position: right bottom;
  z-index: 2;
  opacity: 0.68;
  mix-blend-mode: screen;
  pointer-events: none;
}
/* Overlays por cima da foto de fundo: legibilidade do texto à esquerda,
   vinheta inferior e luz verde concentrada atrás dos produtos. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.75) 100%),
    radial-gradient(ellipse 55% 60% at 78% 55%, rgba(118,255,3,.20) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
  min-height: 540px;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8.4vw, 6.6rem);
  line-height: 0.84;
  letter-spacing: 0.005em;
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  transform: skewX(-4deg);        /* leve inclinação da referência */
  transform-origin: left bottom;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}
.hero h1 span {
  color: var(--neon);
  display: block;
  text-shadow: 0 0 34px rgba(118, 255, 3, 0.35), 0 6px 18px rgba(0, 0, 0, 0.7);
}
.hero p {
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 1.9rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.5;
}

.hero .eyebrow { letter-spacing: 0.26em; font-size: clamp(0.8rem, 1.1vw, 0.95rem); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }



/* As três camisas vêm em uma única imagem já composta (recorte de croma da
   foto de referência fornecida) — evita recriar a sobreposição via CSS. */
.hero-products {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}
.hero-product-composite {
  width: min(620px, 92%);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.6));
}

/* --------------------------------------------------------- Benefícios */
/* Cartão arredondado sobreposto à capa, com divisórias entre os itens. */
.hero-benefits {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}
.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(0.85rem, 1.6vw, 1.25rem) clamp(0.5rem, 1.5vw, 1rem);
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.hero-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.35rem clamp(0.6rem, 1.4vw, 1.25rem);
  border-left: 1px solid var(--border);
  text-align: left;
}
.hero-benefit:first-child { border-left: 0; }
.hero-benefit > svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--neon);
}
.hero-benefit span { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.hero-benefit b {
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  text-transform: uppercase;
  letter-spacing: 0.045em;
  line-height: 1.15;
}
.hero-benefit small { color: var(--text-dim); font-size: var(--fs-xs); line-height: 1.25; }

/* ----------------------------------------------------------------- Seções */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.section-heading h2 span { color: var(--neon); }
.section-heading p { color: var(--text-muted); margin-top: 0.5rem; max-width: 62ch; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin-inline: auto; }
.section-heading.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------- Categorias */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}
.category-card {
  position: relative;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  padding: 0;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: block;
  width: 100%;
}
.category-card:hover,
.category-card:focus-visible { transform: translateY(-4px); border-color: var(--neon); box-shadow: var(--shadow-glow); }
.category-art {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
/* A arte já traz o nome da categoria gravado, então o rodapé do card não
   sobrepõe mais a imagem — fica como uma faixa logo abaixo dela. */
.category-card .category-body {
  padding: 0.85rem 1.1rem 1rem;
  position: relative;
  z-index: 1;
  background: var(--surface);
}
.category-card h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; }
.category-card span { color: var(--neon); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; }

/* ---------------------------------------------------------------- Preços */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-card.featured { border-color: var(--neon); box-shadow: var(--shadow-glow); }
.price-card.best-value { border-color: var(--gray-metal); }
.badge-alt { background: var(--gray-light); color: #1a1a1a; }
.price-card .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--neon);
  color: #05210a;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-icon { font-size: 1.6rem; letter-spacing: -0.15em; }
.price-card h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.06em; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1;
  color: var(--neon);
}
.price-card .price small { font-size: 1.1rem; margin-right: 0.15rem; }
.price-card p { color: var(--text-muted); font-size: var(--fs-sm); }
.price-card .btn { margin-top: auto; }

.price-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: var(--fs-sm);
}
.bulk-card {
  margin-top: var(--gap);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  background: var(--surface-2);
}
.bulk-card strong { color: var(--neon); display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; }
.bulk-card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0.35rem 0 1rem; }

/* --------------------------------------------------------------- História */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.story-grid h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.05; }
.story-grid h2 span { color: var(--neon); }
.story-grid p { color: var(--text-muted); margin: 1rem 0 1.75rem; }
.story-panel { display: grid; gap: 0.75rem; }
.story-panel div {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--neon);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.story-panel strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--neon); }
.story-panel span { font-size: var(--fs-sm); color: var(--text-muted); }

/* ----------------------------------------------------------------- Rodapé */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--graphite);
  padding-top: 3rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-grid h4 {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  color: var(--white);
}
.footer-grid a,
.footer-grid li {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  padding: 0.3rem 0;
}
.footer-grid a:hover { color: var(--neon); }
.footer-grid > div > p { color: var(--text-dim); font-size: var(--fs-sm); margin-top: 0.75rem; max-width: 40ch; }
.footer-payments { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.footer-payments span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.7rem 0.3rem 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-2);
}
.footer-payments svg { width: 15px; height: 15px; color: var(--neon); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
  color: var(--text-dim);
  font-size: var(--fs-xs);
}

/* ------------------------------------------------------- Páginas de texto */
.page-hero {
  padding: clamp(2rem, 5vw, 3.25rem) 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
}
.page-hero h1 span { color: var(--neon); }
.page-hero p { color: var(--text-muted); margin-top: 0.5rem; max-width: 68ch; }

.breadcrumb { display: flex; gap: 0.4rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-dim); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--neon); }

.prose { max-width: 78ch; padding-block: 2.5rem; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; color: var(--neon); }
.prose p, .prose li { color: var(--text-muted); }
.prose p { margin-bottom: 0.85rem; }
.prose ul { margin: 0 0 1rem 1.1rem; }
.prose li { list-style: disc; margin-bottom: 0.4rem; }
.prose a { color: var(--neon); text-decoration: underline; }

.notice {
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--warn);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.notice strong { color: var(--white); }

.updated-at {
  display: inline-block;
  font-size: var(--fs-xs);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------- Erro 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 11rem);
  line-height: 0.85;
  color: var(--neon);
}
.error-page h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2.25rem); margin: 0.5rem 0; }
.error-page p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 1.75rem; }
.error-page .hero-cta { justify-content: center; }
