/* =====================================================================
   UniTV — Tema claro compartilhado (navbar, footer, botões, cards)
   Usado por: planos.html, recarga-mensal.html, recarga-anual.html
   ===================================================================== */

/* ===== DESIGN TOKENS ===== */
:root {
  --bg:       #ffffff;
  --bg2:      #f6f7f9;
  --bg3:      #ffffff;
  --bg4:      #eef0f3;
  --red:      #ff0000;
  --red-dim:  #cc0000;
  --text:     #14161a;
  --text2:    #565b63;
  --text3:    #9097a0;
  --border:   rgba(0,0,0,0.09);
  --shadow:   0 4px 24px rgba(20,22,26,0.06);
  --shadow-lg:0 18px 48px rgba(20,22,26,0.10);
  --radius:   14px;
  --radius-lg:22px;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
  /* Rodapé (permanece escuro) */
  --footer-bg:    #0c0d10;
  --footer-text:  #e8eaed;
  --footer-text2: #9aa0a8;
  --footer-border:rgba(255,255,255,0.08);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.15; }

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

/* ===== UTILITY ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(255,0,0,0.3);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--text); }
.section-sub { font-size: 17px; color: var(--text2); margin-top: 12px; max-width: 560px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dim); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,0,0,0.4); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: rgba(0,0,0,0.18); background: rgba(0,0,0,0.04); transform: translateY(-2px); }
.btn-buy { background: #25d366; color: #fff; border: none; }
.btn-buy:hover { background: #1ebe5c; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,.35); }
.btn-buy svg { width: 1.1em; height: 1.1em; fill: currentColor; flex-shrink: 0; }

/* ===== TOP ALERT BAR ===== */
.alert-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.alert-bar i { margin-right: 6px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.navbar-logo img { height: 52px; width: auto; }
.navbar-links { display: flex; align-items: center; gap: 16px; list-style: none; }
.navbar-links a { font-size: 13px; font-weight: 500; color: var(--text2); transition: color var(--transition); }
.navbar-links a:hover { color: var(--text); }
.navbar-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-cta .btn-outline { display: none; }
}

/* ===== PAGE HEADER (hero das páginas internas) ===== */
.page-head { padding: 64px 0 16px; text-align: center; position: relative; }
.page-head::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(255,0,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-head h1 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 900; margin-bottom: 14px; position: relative; }
.page-head p { color: var(--text2); font-size: 17px; max-width: 560px; margin: 0 auto; position: relative; }
.breadcrumb { font-size: 13px; color: var(--text3); margin-bottom: 20px; position: relative; }
.breadcrumb a { color: var(--text3); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }

/* ===== PLAN CARDS (planos.html) ===== */
.plans-section { padding: 56px 0 100px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }
.plan-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(255,0,0,0.14); border-color: rgba(255,0,0,0.25); }
.plan-card.popular { border-color: rgba(255,0,0,0.35); background: linear-gradient(160deg, #fff4f4 0%, #ffffff 60%); }
.plan-card.popular::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.plan-popular-badge { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 14px; border-radius: 100px; margin-bottom: 20px; }
.plan-img { height: 260px; width: auto; object-fit: contain; margin-bottom: 20px; }
.plan-name { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text2); margin-bottom: 4px; }
.plan-desc { font-size: 14px; color: var(--text3); margin-bottom: 20px; }
.plan-price { font-family: 'Outfit', sans-serif; font-size: 52px; font-weight: 900; line-height: 1; color: var(--text); margin-bottom: 4px; }
.plan-price sup { font-size: 24px; vertical-align: top; margin-top: 10px; display: inline-block; color: var(--red); }
.plan-price sub { font-size: 18px; font-weight: 400; color: var(--text2); }
.plan-period { font-size: 13px; color: var(--text3); margin-bottom: 28px; }
.plan-features { list-style: none; width: 100%; margin-bottom: 28px; text-align: left; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text2); padding: 6px 0; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--red); font-size: 13px; flex-shrink: 0; }
.plan-card .btn { width: 100%; margin-top: auto; }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr 1fr; max-width: 800px; } }
@media (max-width: 640px) { .plans-grid { grid-template-columns: 1fr; } }

/* ===== PRODUCT PAGE (recarga-mensal / recarga-anual) ===== */
.product-section { padding: 40px 0 90px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.product-media { display: flex; justify-content: center; position: relative; }
.bestseller {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #ff2a2a 0%, #cc0000 100%);
  color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  padding: 9px 16px; border-radius: 100px;
  box-shadow: 0 8px 24px rgba(255,0,0,0.35);
}
.bestseller i { color: #ffd34d; }
.product-media img { max-height: 460px; width: auto; filter: drop-shadow(0 30px 60px rgba(20,22,26,0.16)); border-radius: 18px; }
.product-info .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); border: 1px solid rgba(255,0,0,0.3); border-radius: 100px; padding: 4px 14px; margin-bottom: 16px; }
.product-info h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; margin-bottom: 10px; }
.product-info .product-sub { color: var(--text2); font-size: 16px; margin-bottom: 24px; }
.product-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.product-price .price { font-family: 'Outfit', sans-serif; font-size: 56px; font-weight: 900; line-height: 1; color: var(--red); }
.product-price .price sup { font-size: 26px; vertical-align: top; }
.product-price .price sub { font-size: 22px; font-weight: 400; color: var(--text); vertical-align: baseline; }
.product-price .per { font-size: 14px; color: var(--text3); }
.product-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0 24px; }
.product-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text2); background: var(--bg2); border: 1px solid var(--border); border-radius: 100px; padding: 7px 14px; }
.product-meta span i { color: var(--red); }
.product-features { list-style: none; margin-bottom: 28px; }
.product-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text2); padding: 8px 0; border-bottom: 1px solid var(--border); }
.product-features li:last-child { border-bottom: none; }
.product-features li i { color: var(--red); flex-shrink: 0; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-actions .btn { font-size: 16px; padding: 16px 32px; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-media { order: -1; }
  .product-media img { max-height: 360px; }
}

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text2); font-size: 14px; font-weight: 600; }
.trust-item i { color: var(--red); font-size: 18px; }

/* ===== FOOTER (escuro) ===== */
.footer { background: var(--footer-bg); color: var(--footer-text2); border-top: 1px solid var(--footer-border); padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--footer-border); margin-bottom: 32px; }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--footer-text2); line-height: 1.6; max-width: 300px; }
.footer-col-title { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--footer-text); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--footer-text2); transition: color var(--transition); }
.footer-links a:hover { color: var(--footer-text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: var(--footer-text2); }
.footer-copy a { color: inherit; transition: color var(--transition); }
.footer-copy a:hover { color: var(--footer-text); }
.footer-official { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--footer-text2); background: rgba(255,255,255,0.06); border: 1px solid var(--footer-border); border-radius: 100px; padding: 4px 12px; }
.footer-official i { color: var(--red); }
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; padding: 14px; border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.wa-float:hover { background: #1ebe5c; box-shadow: 0 6px 28px rgba(37,211,102,.6); transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* =====================================================================
   Seções de marketing (comparativo, recursos, FAQ, economia, números)
   ===================================================================== */
.lp-section { padding: 76px 0; }
.lp-section.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.lp-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--red);
  background: rgba(255,0,0,0.07); border: 1px solid rgba(255,0,0,0.2);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 18px;
}
.lp-head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.lp-head p { color: var(--text2); font-size: 16px; line-height: 1.7; }

/* ── Tabela comparativa ── */
.compare-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0; min-width: 580px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .c-feat { text-align: left; }
.compare-table thead .c-feat { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); font-weight: 600; }
.compare-table tbody .c-feat { color: var(--text); font-weight: 600; }
.compare-table thead th { vertical-align: bottom; }
.ph-name { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 800; color: var(--text); }
.ph-price { font-size: 12px; color: var(--text3); font-weight: 600; margin-top: 3px; }
.c-anual { background: rgba(255,0,0,0.05); }
.compare-table thead .c-anual { background: var(--red); }
.compare-table thead .c-anual .ph-name, .compare-table thead .c-anual .ph-price { color: #fff; }
.compare-table tbody .c-anual { font-weight: 700; color: var(--text); }
.cmp-old { color: var(--text3); text-decoration: line-through; font-weight: 400; }
.cmp-save { color: #16a34a; font-weight: 800; }
.cmp-check { color: var(--red); font-size: 15px; }
.cmp-dash { color: var(--text3); }
.compare-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ── Grade de recursos ── */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.feature-card {
  display: flex; gap: 16px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,0,0,0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.feature-body h3 { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-body p { font-size: 14px; color: var(--text2); line-height: 1.6; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── FAQ acordeão ── */
.qa-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: 1000px; margin: 0 auto 32px; flex-wrap: wrap; }
.qa-head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; }
.qa-head .qa-sub { color: var(--text2); font-size: 15px; text-align: right; max-width: 320px; }
.qa-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 12px; }
.qa-grid.two { grid-template-columns: 1fr 1fr; align-items: start; }
.qa-item { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.qa-item[open] { border-color: rgba(255,0,0,0.25); }
.qa-q { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; color: var(--text); }
.qa-q::-webkit-details-marker { display: none; }
.qa-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; color: var(--text2);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.qa-item[open] .qa-num { background: var(--red); color: #fff; border-color: var(--red); }
.qa-chev { margin-left: auto; color: var(--red); transition: transform var(--transition); flex-shrink: 0; }
.qa-item[open] .qa-chev { transform: rotate(180deg); }
.qa-a { padding: 0 20px 20px 64px; font-size: 14px; color: var(--text2); line-height: 1.7; }
.qa-foot {
  max-width: 1000px; margin: 16px auto 0; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 22px; flex-wrap: wrap;
}
.qa-foot span { color: var(--text2); font-size: 14px; }
.qa-foot a { color: var(--red); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .qa-grid.two { grid-template-columns: 1fr; } .qa-head .qa-sub { text-align: left; } .qa-a { padding-left: 20px; } }

/* ── Banda de economia (CTA) ── */
.cta-band { background: linear-gradient(135deg, #cc0000 0%, #ff2a2a 100%); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; margin-bottom: 16px; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 16px; line-height: 1.7; max-width: 660px; margin: 0 auto 28px; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #f1f1f1; color: var(--red-dim); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; transform: translateY(-2px); }

/* ── Números (estatísticas) ── */
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; }
.lp-stat { background: rgba(255,0,0,0.04); border: 1px solid rgba(255,0,0,0.12); border-radius: var(--radius-lg); padding: 36px 24px; text-align: center; }
.lp-stat .num { font-family: 'Outfit', sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 10px; }
.lp-stat .lbl { font-size: 14px; color: var(--text2); line-height: 1.5; }
@media (max-width: 700px) { .lp-stats { grid-template-columns: 1fr; } }

/* ── Selo de urgência PIX ── */
.pix-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,0.10);
  border: 1px solid rgba(22,163,74,0.30);
  color: #15803d;
  font-size: 13px; font-weight: 700; line-height: 1.3;
  border-radius: 100px; padding: 9px 16px;
}
.pix-tag i { color: #16a34a; }
.pix-tag.block { display: flex; width: 100%; justify-content: center; }
