/* ==========================================================
   Dinamit Play — Folha de estilos principal
   Paleta: Azul #0A84FF | Vermelho #E50914 | Preto #050505
   ========================================================== */

:root {
  --blue: #0a84ff;
  --red: #e50914;
  --bg: #050505;
  --surface: #111111;
  --white: #ffffff;
  --muted: #9aa3b2;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 18px;
  --font-head: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

.grad-text {
  background: linear-gradient(90deg, var(--blue), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.3rem; font-size: 1.08rem; }

.btn-primary { background: linear-gradient(135deg, #0a84ff, #0055d4); }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(10, 132, 255, 0.65), 0 0 60px rgba(10, 132, 255, 0.25);
}

.btn-red { background: linear-gradient(135deg, #e50914, #b00610); }
.btn-red:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.65), 0 0 60px rgba(229, 9, 20, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(10, 132, 255, 0.45);
  transform: translateY(-3px);
}

.pulse-glow { animation: pulseGlow 2.4s ease-in-out infinite; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(229, 9, 20, 0.45); }
  50% { box-shadow: 0 0 42px rgba(229, 9, 20, 0.85); }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.6rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}
.brand strong { color: var(--red); }
.brand img { filter: drop-shadow(0 0 8px rgba(10, 132, 255, 0.5)); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero.jpg") center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0.55) 45%, var(--bg) 100%),
    radial-gradient(ellipse at center, rgba(5, 5, 5, 0.15), rgba(5, 5, 5, 0.6));
}
.hero-content { position: relative; z-index: 2; padding: 8rem 0 4rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 132, 255, 0.14);
  border: 1px solid rgba(10, 132, 255, 0.4);
  color: #6db6ff;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  margin: 1.4rem 0 1.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero p {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 3.2rem;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(90deg, var(--blue), #6db6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

/* ===== Seções ===== */
.section { padding: 6rem 0; }
.section-dark {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(10, 132, 255, 0.06), transparent),
    var(--surface);
}

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }

/* ===== Grids ===== */
.grid { display: grid; gap: 1.4rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-plans { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.grid-devices { grid-template-columns: repeat(4, 1fr); }

/* ===== Glassmorphism ===== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(10, 132, 255, 0.12);
}
.glass-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.glass-card p { color: var(--muted); font-size: 0.93rem; }

.icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}
.icon-wrap.blue {
  background: rgba(10, 132, 255, 0.14);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(10, 132, 255, 0.35);
}
.icon-wrap.red {
  background: rgba(229, 9, 20, 0.14);
  color: #ff4d55;
  box-shadow: inset 0 0 0 1px rgba(229, 9, 20, 0.35);
}

/* ===== Planos ===== */
.plan-card { display: flex; flex-direction: column; text-align: center; position: relative; padding-top: 2.4rem; }
.plan-card h3 { font-size: 1.15rem; }
.price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  margin: 0.8rem 0 1.2rem;
}
.price span { font-size: 1.1rem; vertical-align: super; color: var(--muted); margin-right: 0.2rem; }

.plan-card ul { list-style: none; text-align: left; margin-bottom: 1.8rem; flex: 1; }
.plan-card li {
  padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.plan-card li i { color: var(--blue); font-size: 0.8rem; }
.plan-card .btn { justify-content: center; }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.red-badge { background: linear-gradient(135deg, #e50914, #ff4d55); box-shadow: 0 0 20px rgba(229, 9, 20, 0.5); }
.blue-badge { background: linear-gradient(135deg, #0a84ff, #4da3ff); box-shadow: 0 0 20px rgba(10, 132, 255, 0.5); }

.plan-card.featured { border-color: rgba(229, 9, 20, 0.5); box-shadow: 0 0 40px rgba(229, 9, 20, 0.12); }
.plan-card.featured .price { color: #ff4d55; }
.plan-card.featured li i { color: #ff4d55; }
.plan-card.featured-blue { border-color: rgba(10, 132, 255, 0.5); box-shadow: 0 0 40px rgba(10, 132, 255, 0.12); }
.plan-card.featured-blue .price { color: var(--blue); }

/* ===== Dispositivos ===== */
.device-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.device-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(10, 132, 255, 0.5);
  box-shadow: 0 0 30px rgba(10, 132, 255, 0.18);
}
.device-card i {
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--blue), #6db6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.8rem;
}
.device-card span { font-weight: 700; font-size: 0.95rem; }

/* ===== Avaliações ===== */
.review .stars { color: #ffb400; margin-bottom: 1rem; letter-spacing: 0.15em; }
.review > p { color: rgba(255, 255, 255, 0.88); font-style: italic; margin-bottom: 1.4rem; }
.review-author { display: flex; align-items: center; gap: 0.9rem; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--blue), var(--red));
}
.review-author strong { display: block; font-size: 0.95rem; }
.review-author span { color: var(--muted); font-size: 0.82rem; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(10, 132, 255, 0.45); }
.faq-item summary {
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform 0.3s ease; color: var(--blue); font-size: 0.85rem; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.95rem; }

/* ===== CTA Final ===== */
.cta-final {
  padding: 7rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(229, 9, 20, 0.14), transparent),
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(10, 132, 255, 0.1), transparent),
    var(--bg);
}
.cta-final h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.cta-final p { color: var(--muted); max-width: 560px; margin: 0 auto 2.2rem; font-size: 1.05rem; }

/* ===== Rodapé ===== */
.footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0 2rem;
  flex-wrap: wrap;
}
.footer-brand p { color: var(--muted); margin-top: 0.7rem; font-size: 0.93rem; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.2rem;
  background: var(--glass);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(10, 132, 255, 0.4);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  animation: floatPulse 2.6s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 45px rgba(37, 211, 102, 0.8); }
}

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-devices { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
  .device-card { padding: 1.3rem 0.6rem; }
  .device-card i { font-size: 1.7rem; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px;
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: rgba(10, 10, 10, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    gap: 1.1rem;
    backdrop-filter: blur(18px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links .btn { justify-content: center; }
}

@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-plans { grid-template-columns: 1fr; }
  .grid-devices { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Acessibilidade: reduz animações se o usuário preferir */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
