:root {
  --background: #1a0f0a;
  --foreground: #f5ecdf;
  --card: #2a1a12;
  --muted-foreground: #b8a896;
  --primary: #d63831;
  --primary-foreground: #ffffff;
  --accent: #f2c14e;
  --border: #3a2418;
  --radius: 12px;
  --gradient-primary: linear-gradient(135deg, #b22a25, #e8543d);
  --gradient-hero: linear-gradient(180deg, rgba(20,10,6,0.55), rgba(15,8,4,0.95));
  --shadow-glow: 0 10px 40px -10px rgba(214,56,49,0.55);
  --shadow-card: 0 20px 50px -20px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-color: #4a2e22 #1a0f0a; scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #1a0f0a; }
::-webkit-scrollbar-thumb { background: #4a2e22; border-radius: 6px; border: 2px solid #1a0f0a; }
::-webkit-scrollbar-thumb:hover { background: #6a4232; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0; padding: 0; overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border: none; cursor: pointer; border-radius: 9999px;
  padding: 0.75rem 1.5rem; font-size: 0.875rem; text-align: center;
  transition: translate 0.15s ease, scale 0.15s ease, filter 0.2s ease, background-color 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover { translate: 0 -3px; scale: 1.02; filter: brightness(1.05); }
.btn:active { translate: 0 0; scale: 0.98; }
.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-light {
  background: var(--background);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
}
.btn-light:hover { background: #241510; }
.btn-xl { padding: 1rem 2rem; font-size: 1rem; }
.btn-2xl { padding: 1.15rem 2.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 99999;
  background: rgba(26,15,10,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58,36,24,0.6);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0.75rem 1.5rem; gap: 1rem;
}
.header-logo img { height: 80px; width: auto; }
.header-right { display: none; align-items: center; gap: 1.75rem; }
.header-nav { display: flex; align-items: center; gap: 1.75rem; }
.header-nav a {
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(245,236,223,0.85); transition: color 0.2s;
}
.header-nav a:hover { color: var(--primary); }
.header-cta { white-space: nowrap; }
.menu-toggle { background: none; border: none; color: var(--foreground); cursor: pointer; }
.menu-toggle svg { width: 29px; height: 28px; }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 105px); flex-direction: column; gap: 2rem; padding: 2rem 1.5rem; border-top: 1px solid var(--border); background: var(--background); z-index: 999999; overflow: hidden; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; }
body:has(.mobile-menu.open) { overflow: hidden; }

@media (min-width: 1024px) {
  .header-logo img { height: 112px; }
  .header-right { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 10rem 1.5rem 6rem; overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); }
.hero-content { position: relative; z-index: 10; max-width: 64rem; margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 3.75rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em;
}
.hero p { margin-top: 1.5rem; color: var(--muted-foreground); max-width: 36rem; margin-left: auto; margin-right: auto; font-size: 0.75rem; }
.hero-cta { margin-top: 2.5rem; display: flex; justify-content: center; padding: 0 1rem; }
.hero-cta .btn { width: 100%; max-width: 460px; }
@media (min-width: 768px) { .hero-cta .btn { min-width: 460px; } }
.scroll-down {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(245,236,223,0.7); animation: bounce 1.5s infinite;
}
.scroll-down svg { width: 28px; height: 28px; }
.scroll-down:hover { color: var(--primary); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(-8px);} }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.25s; }


/* Como Funciona */
.como {
  position: relative; display: flex; align-items: center; padding: 7rem 1.5rem 8rem; overflow: hidden; min-height: 620px; background: var(--background); isolation: isolate;
  box-shadow: inset 0 160px 140px -80px rgba(0, 0, 0, 0.979);
}
.como::before {
  content: ''; position: absolute; inset: 0;
  background: url('./assets/tv-app.jpg') center center / cover no-repeat;
  filter: blur(5.3px); opacity: 0.55; z-index: -2;
}
.como::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--background) 0%, rgba(26,15,10,0.85) 8%, rgba(26,15,10,0) 28%), linear-gradient(to right, rgba(26,15,10,0.72) 0%, rgba(26,15,10,0.55) 42%, rgba(26,15,10,0.9) 70%, var(--background) 100%);
  z-index: -1;
}
.como-bg { display: none; }
.como-content {
  position: relative; max-width: 36rem; width: 100%;
  margin-left: auto; margin-right: max(1.5rem, calc((100vw - 1280px) / 2));
  opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.como-content.in { opacity: 1; transform: translateX(0); }
.como h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.como > .como-content > p { margin-top: 1.5rem; color: var(--muted-foreground); line-height: 1.6; }
.como ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.como li { display: flex; gap: 0.75rem; }
.como li > span { color: var(--primary); margin-top: 0.25rem; }
.como li p { color: var(--muted-foreground); }
.como li p strong { color: var(--foreground); font-weight: 600; }
.como .btn { margin-top: 2.5rem; }
@media (min-width: 1800px) {
  .como { min-height: 760px; padding: 8rem 1.5rem 10rem; }
  .como::before { background-size: cover; background-position: center 42%; }
  .como-content { margin-right: max(4rem, calc((100vw - 1500px) / 2)); }
}
@media (min-width: 2300px) {
  .como { min-height: 850px; padding: 9rem 1.5rem 11rem; }
  .como::before { background-position: center 45%; }
}
@media (max-width: 1268px) {
  .como-content { margin-left: auto; margin-right: 1.5rem; max-width: 34rem; }
}
@media (max-width: 900px) {
  .como { padding: 4rem 1.5rem 6rem; min-height: auto; display: block; }
  .como::before { background-position: center; filter: blur(3px); opacity: 0.35; }
  .como::after { background: linear-gradient(to bottom, var(--background) 0%, rgba(26,15,10,0.85) 12%, rgba(26,15,10,0.85) 35%, var(--background) 100%); }
  .como-content { max-width: 100%; margin-left: 0; margin-right: 0; }
}
@media (min-width: 640px) { .como .btn { min-width: 360px; width: auto; } }
@media (max-width: 639px) { .como .btn { width: 100%; } }


/* Planos */
.planos { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .planos { padding: 7rem 1.5rem; } }
.planos-inner { max-width: 72rem; margin: 0 auto; }
.section-title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; text-align: center; }
.section-title .underline { color: var(--primary); border-bottom: 4px solid var(--primary); padding-bottom: 0.25rem; }
.section-subtitle { text-align: center; color: var(--muted-foreground); margin-top: 1rem; }
.plans-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3.5rem;
}
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card {
  position: relative; border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); padding: 2rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.featured { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.plan-badge {
  position: absolute; top: -0.75rem; right: 1.5rem; padding: 0.25rem 1rem;
  border-radius: 9999px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--gradient-primary); color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.plan-logo { display: flex; justify-content: center; }
.plan-logo img { height: 96px; width: auto; }
.plan-pricing { margin-top: 1.5rem; text-align: center; }
.plan-pricing .old { font-size: 0.875rem; color: var(--muted-foreground); text-decoration: line-through; }
.plan-pricing .price { font-size: 2.25rem; font-weight: 800; margin-top: 0.25rem; }
.plan-pricing .price .period { font-size: 0.875rem; font-weight: 400; color: var(--muted-foreground); }
.plan-pricing .name { margin-top: 0.5rem; font-weight: 500; }
.plan-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.plan-features svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.plan-card .btn { margin-top: 2rem; }

/* Teste Grátis CTA */
.teste {
  padding: 5rem 1.5rem; position: relative; overflow: hidden;
  background: var(--gradient-primary); text-align: center;
}
.teste-inner { max-width: 56rem; margin: 0 auto; color: var(--primary-foreground); }
.teste img { height: 96px; width: auto; margin: 0 auto; }
.teste h2 { margin-top: 1.5rem; font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 800; }
.teste p { margin-top: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.9); }
.teste .btn { margin-top: 2rem; }

/* FAQ */
.faq { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .faq { padding: 7rem 1.5rem; } }
.faq-inner { max-width: 48rem; margin: 0 auto; }
.faq-list { margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; background: none; border: none; color: var(--foreground);
  text-align: left; font-size: 1rem; font-weight: 500; cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q svg { width: 16px; height: 16px; transition: transform 0.2s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows 0.3s ease;
  color: var(--muted-foreground);
}
.faq-a > p { min-height: 0; overflow: hidden; padding-bottom: 0; transition: padding 0.3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 1rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: rgba(42,26,18,0.4); padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: 72rem; margin: 0 auto; }
.footer-logo { display: flex; justify-content: center; }
.footer-logo img { height: 96px; width: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3.5rem; font-size: 0.875rem; justify-items: center; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; font-weight: 600; }
@media (max-width: 799px) { .footer-grid { text-align: center; } }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer a { color: var(--muted-foreground); transition: color 0.2s; }
.footer a:hover { color: var(--primary); }
.footer-social { display: flex; justify-content: center; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-social svg { width: 20px; height: 20px; }
.footer-center { text-align: center; }
.footer-pay img { width: 112px; height: auto; margin: 0 auto; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}