/**
 * MediaMania IPTV - Folha de Estilos de Alta Performance (Core Web Vitals 100/100)
 * Tema: Cinza Grafite Premium + Dourado Metálico Intenso
 * Desenvolvido para máxima conversão, velocidade e responsividade
 */

:root {
  /* Paleta Base: Cinza Grafite & Chumbo */
  --bg-main: #0c0d11;
  --bg-surface: #13151c;
  --bg-card: #181b24;
  --bg-card-hover: #222633;
  --bg-card-featured: #1b1f2b;
  --bg-glass: rgba(19, 21, 28, 0.88);
  
  /* Paleta de Destaque: Dourado Intenso & Ouro Metálico */
  --gold-primary: #FFD700;
  --gold-light: #FFF59D;
  --gold-dark: #C59B27;
  --gold-deep: #996515;
  --gold-gradient: linear-gradient(135deg, #FFF59D 0%, #FFD700 40%, #E6AC00 80%, #A67500 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFFFFF 0%, #FFE066 40%, #FFC107 80%, #C68A00 100%);
  --gold-glow: 0 0 25px rgba(255, 215, 0, 0.35);
  --gold-glow-intense: 0 0 35px rgba(255, 215, 0, 0.55);
  --gold-border: rgba(255, 215, 0, 0.28);
  --gold-border-active: #FFD700;

  /* Bordas & Divisores */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 215, 0, 0.5);

  /* Tipografia & Contrastes */
  --text-main: #FFFFFF;
  --text-muted: #A3A8B8;
  --text-dim: #717688;
  --text-dark: #0C0D11;

  /* Cores de Ação e Suporte */
  --wa-green: #25D366;
  --wa-green-hover: #1EBE5D;
  --wa-glow: 0 0 25px rgba(37, 211, 102, 0.4);
  --success: #10B981;
  --danger: #EF4444;

  /* Layout, Raios e Sombras */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.7);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Âncora com compensação de Header Sticky */
section[id],
div[id]:not(#topo):not(#nav-menu):not(#mobile-toggle) {
  scroll-margin-top: 80px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilitários Visuais */
.text-gold {
  color: var(--gold-primary);
}
.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-muted {
  color: var(--text-muted);
}
.text-center {
  text-align: center;
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO STICKY
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--gold-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-intense);
  background: var(--gold-gradient-hover);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 65%), var(--bg-main);
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.12);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(255, 215, 0, 0); }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--gold-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--gold-glow-intense);
  background: var(--gold-gradient-hover);
}

.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary-dark:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-border);
  color: var(--gold-primary);
}

.hero-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: rgba(24, 27, 36, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 820px;
  margin: 0 auto;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.proof-item strong {
  color: var(--text-main);
}

.proof-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   SEÇÕES & CABEÇALHOS DE SEÇÃO
   ========================================================================== */
.section {
  padding: 85px 0;
  position: relative;
}

.section-darker {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PASSO A PASSO (3 ETAPAS RÁPIDAS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  position: relative;
  transition: var(--transition);
  text-align: left;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255, 215, 0, 0.12);
  line-height: 1;
}

.step-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-primary);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO DIDÁTICA: TESTE 6H VS TESTE 12H
   ========================================================================== */
.compare-test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.test-choice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.test-choice-card.featured {
  background: var(--bg-card-featured);
  border-color: var(--gold-border-active);
  box-shadow: var(--gold-glow);
}

.test-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

.test-choice-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.test-choice-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.test-feature-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.test-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.test-feature-list li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   SEÇÃO XCIPTV ESPECIAL
   ========================================================================== */
.xciptv-box {
  background: linear-gradient(145deg, #181b24 0%, #12141a 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.xciptv-content h3 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.xciptv-content p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.xciptv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.xciptv-pill {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
}

.xciptv-mockup {
  background: #0f1015;
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--gold-glow);
}

.xciptv-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--wa-green);
  font-size: 0.8rem;
  font-weight: 700;
}

.mockup-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--wa-green);
  border-radius: 50%;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mockup-item {
  background: #181b24;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
}

.mockup-item.active {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.08);
}

/* ==========================================================================
   TABELA COMPARATIVA (MEDIAMANIA VS CABO VS STREAMINGS)
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.96rem;
}

.compare-table th {
  background: #13151c;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.compare-table th.col-featured {
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold-primary);
  border-left: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
  position: relative;
}

.compare-table td.col-featured {
  background: rgba(255, 215, 0, 0.04);
  font-weight: 700;
  color: var(--text-main);
  border-left: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.badge-sim {
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.badge-nao {
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   GRADE DE PLANOS & PREÇOS (CONVERSÃO)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
}

.plan-card.featured {
  background: var(--bg-card-featured);
  border: 2px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
  transform: scale(1.04);
  z-index: 2;
}

.plan-card.featured:hover {
  transform: scale(1.04) translateY(-5px);
  box-shadow: var(--gold-glow-intense);
}

/* Caixa "Mais Planos" abaixo dos 3 cards */
.more-plans-wrapper {
  max-width: 1120px;
  margin: 36px auto 0;
}

.more-plans-box {
  background: linear-gradient(135deg, rgba(25, 28, 38, 0.85) 0%, rgba(17, 19, 26, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.more-plans-box:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.more-plans-tag {
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.more-plans-info h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.more-plans-info p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.btn-more-plans {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
  font-weight: 800;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-more-plans:hover {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .plan-card.featured {
    transform: none;
  }
  .plan-card.featured:hover {
    transform: translateY(-5px);
  }
  .more-plans-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .btn-more-plans {
    width: 100%;
    justify-content: center;
  }
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 6px;
  color: var(--text-main);
  text-align: center;
}

.plan-screens {
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.plan-price-wrap {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}

.plan-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  vertical-align: super;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -1px;
}

.plan-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.plan-features {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.45;
}

.plan-features li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.plan-card .plan-cta {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.plan-card .plan-cta:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.plan-card.featured .plan-cta {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border: none;
  box-shadow: var(--gold-glow);
}

.plan-card.featured .plan-cta:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--gold-glow-intense);
}

/* ==========================================================================
   SEÇÃO RENOVAÇÃO DE IPTV
   ========================================================================== */
.renovate-box {
  background: linear-gradient(135deg, #181b24 0%, #151821 100%);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.renovate-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.renovate-info p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
}

/* ==========================================================================
   DEPOIMENTOS / PROVAS SOCIAIS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  justify-content: center;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.reviewer-badge {
  font-size: 0.78rem;
  color: var(--wa-green);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars-row {
  display: flex;
  gap: 4px;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  font-style: italic;
}

/* ==========================================================================
   FAQ (ACORDEÃO INTERATIVO & SCHEMA FAQPAGE)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-main);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
  padding-bottom: 22px;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL & LINKS LEGAIS
   ========================================================================== */
.site-footer {
  background: #08090c;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.floating-wa-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--wa-glow);
  transition: var(--transition);
  position: relative;
}

.floating-wa-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  background: var(--wa-green-hover);
}

.floating-wa-tooltip {
  background: #181b24;
  color: #FFFFFF;
  border: 1px solid var(--gold-border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   PÁGINAS LEGAIS (ESTILO LM VIRTUA - POLÍTICA & TERMOS)
   ========================================================================== */
.legal-page {
  padding: 40px 0 80px;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.legal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.btn-return-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-return-home:hover {
  background: var(--gold-primary);
  color: var(--text-dark);
}

.legal-breadcrumb {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.legal-breadcrumb a {
  color: var(--gold-primary);
  text-decoration: none;
}

.legal-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-main);
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin: 34px 0 14px;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 20px 0 10px;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 24px;
  margin-bottom: 18px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Botão Flutuante de Voltar nas Páginas Legais */
.floating-back-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #181b24;
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  transition: var(--transition);
}

.floating-back-btn:hover {
  background: var(--gold-primary);
  color: var(--text-dark);
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE FIRST & MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-card.featured {
    transform: none;
  }
  .plan-card.featured:hover {
    transform: translateY(-5px);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: #0f1016;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    transition: left 0.3s ease;
    border-top: 1px solid var(--border-subtle);
  }
  
  .nav-menu.open {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .steps-grid,
  .compare-test-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .xciptv-box {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .renovate-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

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

  .legal-container {
    padding: 28px 18px;
  }
  
  .floating-wa-tooltip {
    display: none;
  }
}

@media (max-width: 580px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-gold,
  .btn-secondary-dark {
    width: 100%;
  }
}
