/* =========================================================
      ESTILO GERAL (MANTÉM PADRÃO DA HOME)
========================================================= */

body {
  margin: 0;
  background: #0d0a22;
  font-family: "Inter", sans-serif;
  color: #fff;
}

.section {
  padding: 80px 0;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* =========================================================
      HEADER / NAV (REAPROVEITADO DO INDEX)
========================================================= */

.site-header {
  background: #111;
  padding: 16px 0;
  border-bottom: 2px solid #7cde21;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: #7cde21;
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  transition: 0.2s;
}

.main-nav a:hover {
  color: #7cde21;
}

.btn-primary {
  background: #7cde21;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 800;
  color: #000;
}

.btn-secondary {
  border: 2px solid #7cde21;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  color: #7cde21;
}

.menu-toggle {
  display: none;
}

/* =========================================================
      HERO — NOVO LAYOUT PARA A PÁGINA pack.html
========================================================= */

.hero {
  background: radial-gradient(circle at top, #4e1a78, #1b0d2e 70%);
  padding: 100px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  max-width: 550px;
}

.hero-label {
  color: #b684ff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-top: 12px;
  color: #fff;
  text-shadow: 0 0 16px rgba(255,255,255,0.2);
}

.hero-subtitle {
  margin-top: 18px;
  opacity: 0.8;
  font-size: 1.05rem;
  line-height: 1.5;
}

.hero-benefits {
  margin-top: 20px;
  list-style: none;
}

.hero-benefits li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.hero-ctas {
  margin-top: 28px;
  display: flex;
  text-decoration: none;
  align-items: center;
  gap: 16px;
}

.hero-note {
  margin-top: 18px;
  opacity: 0.7;
  font-size: 0.9rem;
}

.hero-visual img {
  width: 380px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

/* =========================================================
      GRID XBOX — MOSAICO PREMIUM (REAPROVEITADO)
========================================================= */

.xbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 90%;
  max-width: 1400px;
  margin: 80px auto;
}

.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
  height: 250px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  background-size: cover;
  background-position: center;
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 900;
}

.card p {
  margin-top: 6px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
  z-index: 1;
}

.card * {
  position: relative;
  z-index: 5;
}

/* TAMANHOS */
.card-1x1 { grid-column: span 1; }
.card-1x2 { grid-column: span 1; grid-row: span 2; }
.card-2x1 { grid-column: span 2; }
.card-2x2 { grid-column: span 2; grid-row: span 2; }

/* ESTILOS ESPECÍFICOS */
.green-card {
  background-color: #107c10;
  background-blend-mode: multiply;
}

.black-card {
  background-color: #000;
  background-blend-mode: soft-light;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,255,120,0.25);
}

/* RESPONSIVO GRID */
@media (max-width: 900px) {
  .xbox-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .card-1x1,
  .card-1x2,
  .card-2x1,
  .card-2x2 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 260px;
  }
}

/* =========================================================
      CARROSSEL — ESTILO XBOX
========================================================= */

.hq-scroll-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.hq-card-horiz {
  min-width: 180px;
  scroll-snap-align: start;
}

.hq-cover-frame img {
  width: 100%;
  border-radius: 12px;
  height: 240px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.scroll-tip {
  text-align: center;
  margin-top: 16px;
  opacity: 0.7;
  font-size: 0.85rem;
}
/* ANIMAÇÃO SUAVE (FADE + SLIDE) */
.card, 
.hq-card-horiz,
.hero-visual img {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.65s ease;
}

.card.visible,
.hq-card-horiz.visible,
.hero-visual img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMAÇÃO AO TOCAR NOS CARDS (MOBILE) */
@media (max-width: 800px) {
  .card:active,
  .hq-card-horiz:active,
  .hero-visual img:active {
    transform: scale(0.97);
    transition: 0.15s ease;
  }
}

/* ANIMAÇÃO DE HOVER DO HERO (DESKTOP) */
.hero-visual img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* AJUSTE PARA OS NOVOS GRIDS (margem maior) */
.extra-grid {
  margin-top: 60px;
}


/* =========================================================
      FOOTER
========================================================= */

.site-footer {
  background: #0a0a0f;
  padding: 40px 0;
  margin-top: 40px;
  border-top: 2px solid #7cde21;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 1.5rem;
  color: #7cde21;
  font-weight: 900;
}

.footer-links a {
  color: #fff;
  margin-left: 20px;
}

.footer-links a:hover {
  color: #7cde21;
}

/* ================================
      NAV RESPONSIVO
================================ */

@media (max-width: 900px) {

  /* Oculta o menu padrão */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    background: #111;
    height: 100vh;
    width: 260px;
    flex-direction: column;
    padding-top: 80px;
    gap: 28px;
    transition: 0.3s ease;
    border-left: 3px solid #7cde21;
    z-index: 9999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    text-align: center;
  }

  .main-nav a {
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
  }

  /* Botão hambúrguer 
  .menu-toggle {
    display: block;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10000;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    content: "";
    display: block;
    background: #fff;
    height: 3px;
    border-radius: 4px;
    width: 100%;
    transition: 0.3s;
    position: absolute;
  }

  .menu-icon {
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-icon::before {
    top: -10px;
  }

  .menu-icon::after {
    top: 10px;
  }

  /* Ícone animado 
  .menu-toggle.active .menu-icon {
    background: transparent;
  }

  .menu-toggle.active .menu-icon::before {
    transform: rotate(45deg) translateY(10px);
  }

  .menu-toggle.active .menu-icon::after {
    transform: rotate(-45deg) translateY(-10px);
  }

   CTA some no mobile (opcional) 
  .header-cta {
    display: none;
  }*/
}

/* ================================
      HERO RESPONSIVO
================================ */

@media (max-width: 1050px) {

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-top: 12px;
  }

  .hero-benefits {
    margin-top: 20px;
    text-align: left;
    display: inline-block;
  }

  .hero-ctas {
    justify-content: center;
    margin-top: 22px;
  }

  .hero-note {
    margin-top: 14px;
  }

  .hero-visual img {
    width: 70%;
    max-width: 350px;
  }
}

@media (max-width: 600px) {

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-visual img {
    width: 90%;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }
}
