/* ===== Reset/Normalize + Tokens ===== */
:root {
  /* Tipografia base */
  --font-base: 16px;
  --lh-base: 1.6;

  /* Escala tipográfica (desktop) */
  --fz-h1: 2.5rem; /* 40px */
  --fz-h2: 1.875rem; /* 30px */
  --fz-h3: 1.25rem; /* 20px */
  --fz-body: 1rem; /* 16px */
  --fz-small: 0.875rem; /* 14px */
  --fz-nav: 0.95rem; /* ~15px */
  --fz-cta: 1rem; /* 16px */
  --fz-cta-lg: 1.0625rem;

  /* Espaçamentos */
  --sp-section: 64px;
  --sp-section-sm: 48px;

  /* Paleta */
  --primaria: #c8102e; /* Recargas (secundária) */
  --branco: #fff;
  --unitv-g1: #7b2cff; /* UniTV roxo */
  --unitv-g2: #e32e6b; /* UniTV magenta */
  --unitv-g3: #ff3d2e; /* UniTV quente */
  --unitv-bg-1: #1a142b; /* fundo principal */
  --unitv-bg-2: #201736; /* hero */

  /* Layout */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.25);
  --maxw: 1140px;
}

html {
  box-sizing: border-box;
  font-size: var(--font-base);
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font: 400 var(--fz-body) / var(--lh-base) "Inter", system-ui, -apple-system,
    Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: var(--unitv-bg-1);
  color: var(--branco);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
li {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
  height: auto;
  height: 100%;
  width: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
button {
  cursor: pointer;
}

/* Escala títulos */
h1 {
  font-size: var(--fz-h1);
  font-weight: 800;
  line-height: 1.2;
}
h2 {
  font-size: var(--fz-h2);
  font-weight: 800;
  line-height: 1.25;
}
h3 {
  font-size: var(--fz-h3);
  font-weight: 700;
  line-height: 1.3;
  font-size: 20px;
}
.section-title {
  font-size: var(--fz-h2);
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

/* Texto geral */
p,
.muted {
  font-size: var(--fz-body);
}
small,
.small {
  font-size: var(--fz-small);
}

/* Container */
.container {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.split > * {
  flex: 1;
  padding: 10px;
}
.split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.split > img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

/* ===== Header / Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(32, 23, 54, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  flex-direction: row;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand .stack {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .divider {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, var(--unitv-g1), var(--unitv-g2));
  opacity: 0.7;
}
.brand img {
  height: 60px;
}
.endorsement {
  font-size: 0.78rem;
  color: #cfcfcf;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2px 8px;
  border-radius: 999px;
}

nav ul {
  display: flex;
  gap: 18px;
}
nav a {
  font-size: var(--fz-nav);
  font-weight: 600;
  opacity: 0.95;
}
nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px 12px;
}
.cta-hero{
        font-size: var(--fz-cta);
    line-height: 1;
    padding: 0.875rem 1.375rem;
    border-radius: 12px;
    font-weight: 800;
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    background: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2));
    color: #fff;
    margin-top: 35px;
}
.cta-nav {
  background: var(--primaria);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}
.cta-nav.unitv {
  background: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2));
}

/* ===== Hero ===== */
.hero {
  background: var(--unitv-bg-2), url(image/bannerecargas.webp);
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 70px 0;
}
.sub {
  color: #ddd;
  margin: 12px 0 22px;
}

.cta {
  font-size: var(--fz-cta);
  line-height: 1;
  padding: 0.875rem 1.375rem;
  border-radius: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
}
.cta:hover {
  transform: translateY(-2px);
}
.cta.unitv {
  background: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2));
  color: #fff;
  margin-top: 35px;
}

.bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 26px;
}
.bullets li {
  background: #211d30;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.2;
  flex-direction: column;
}
.check {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2));
}

/* ===== Benefícios ===== */
.beneficios {
  background: #211d30;
}
.beneficios-grid {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: -webkit-fill-available;
}
.beneficio {
  background: #1b1726;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  flex: 1;
}
.beneficio .icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  background: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2));
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Planos ===== */
.planos {
  background: #181321;
}
.planos .grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.card {
  background: #1b1726;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
  flex: 1 1 25%;
  text-align: center;
  padding-top: 80px;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}
.card.featured {
  border-image: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2)) 1;
}
.badge {
  position: absolute;
  top: 14px;
  right: 50%;
  background: #c8102e9e;
  color: #fff;
  font-size: var(--fz-badge);
  font-weight: 800;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  transform: translateX(50%);
  width: 90%;
}
.badge.alt {
  background: linear-gradient(45deg, #7b2cff7a, #e32e6b61);
}
.precos {
  margin: 0px 0 22px;
  display: grid;
  gap: 8px;
  font-size: 26px;
  font-weight: 600;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #211d30;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px;
  border-radius: 10px;
}
.price-row .value {
  font-weight: 700;
}
.selo-hint {
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 4px;
}
.card .cta {
  width: 100%;
  background: #c8102e;
}
.card .cta.unitv {
  background: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2));
  color: #fff;
  margin: 0;
}

/* ===== Comparativo ===== */
.comparativo {
  background: #1b1726;
  text-align: center;
}
.compare-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  background: #211d30;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Suporte ===== */
.suporte {
  text-align: center;
}
.support-grid {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.support-item {
  background: #211d30;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
}
.support-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}
.dot {
  width: 12px;
  height: 12px;
  background: var(--primaria);
  border-radius: 50%;
}

/* ===== CTA Final / Footer ===== */
.cta-final {
  background: #1b1726;
  text-align: center;
}
.cta-panel {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid transparent;
  border-image: linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2)) 1;
  background: linear-gradient(
      180deg,
      rgba(123, 44, 255, 0.08),
      rgba(227, 46, 107, 0.06)
    ),
    #12161a;
}
footer {
  padding: 28px 0;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-content .logos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-content .logos img {
  height: 65px;
  opacity: 0.9;
}

/* ===== FAB WhatsApp ===== */
.whats-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: #111;
  padding: 14px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  max-width: 70px;
}
.whats-fab img{
    pointer-events: none;
}
/* ===================== RESPONSIVIDADE ===================== */

/* <= 1024px (tablets landscape / small laptops) */
@media (max-width: 1024px) {
  :root {
    --maxw: 960px;
  }
  .hero .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 56px 0;
  }
  .planos .grid {
    gap: 20px;
  }
  .beneficios-grid {
    gap: 16px;
  }
}

/* <= 920px (tablets / mobile grande) */
@media (max-width: 920px) {
  :root {
    --font-base: 15px;
    --fz-h1: 2rem; /* 32px -> 30px aprox */
    --fz-h2: 1.5rem; /* 24px */
    --fz-h3: 1.125rem;
    --sp-section: var(--sp-section-sm);
  }
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #201736a8;
    z-index: 0;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  nav ul {
    position: absolute;
    top: 60px;
    right: 20px;
    background: #201736;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 10px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 10px;
  }
  nav ul.open {
    display: flex;
  }
  .cta-nav {
    display: none;
  } /* CTA do menu some; use FAB + CTAs nas seções */

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 48px 25px;
    text-align: center;
    z-index: 1;
    position: relative;
  }
  .mock {
    justify-self: stretch;
  }

  .bullets {
    grid-template-columns: 1fr;
  }

  .beneficios-grid,
  .planos .grid,
  .support-grid {
    flex-direction: column;
  }

  .card {
    padding: 22px;
    padding-top: 60px;
  }
  .compare-card,
  .cta-panel {
    margin-inline: 0;
  }
}

/* <= 600px (mobiles médios) */
@media (max-width: 600px) {
  .bullets li {
    text-align: center;
    align-items: center;
  }

  :root {
    --font-base: 15px;
    --fz-h1: 1.75rem; /* ~28px */
    --fz-h2: 1.375rem; /* ~22px */
    --fz-h3: 1.0625rem; /* ~17px */
  }
  .grid-img {
    max-width: 75%;
    max-height: unset !important;
  }
  .topbar {
    padding: 10px 10px;
  }
  .brand img {
    height: 24px;
  }
  .endorsement {
    display: none;
  } /* reduz ruído */

  .cta {
    width: 100%;
  } /* botões full-width no mobile */
  .card .cta {
    width: 100%;
  }

  .price-row {
    padding: 10px 12px;
  }
  .badge {
    top: 10px;
    line-height: 1;
    font-size: 20px;
  }

  .whats-fab {
    right: 14px;
    bottom: 14px;
    width: fit-content;
  }
}

/* <= 420px (mobiles pequenos) */
@media (max-width: 420px) {
  :root {
    --font-base: 14.5px;
    --fz-h1: 1.6rem; /* ~23px */
    --fz-h2: 1.3rem; /* ~19-20px */
  }

  .container {
    padding-inline: 16px;
  }
  .hero .wrap {
    padding: 42px 25px;
  }
  .badge {
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
  }
  .cta {
    padding: 0.78rem 1.1rem;
    border-radius: 10px;
  }
  .footer-content {
    gap: 8px;
  }
}
/***** === OVERRIDE: reduzir roxo e reforçar preto/vermelho === *****/

/* Paleta de apoio p/ Recargas (sem mexer nas vars originais) */
:root {
  --rb-red: var(--primaria); /* #C8102E */
  --rb-red-2: #9a0d22;
  --black-1: #0f1012;
  --black-2: #141718;
  --ink-3: #1a1d21;
}

/* 1) Header: divisor passa a vermelho (em vez de roxo) */
.brand .divider {
  background: linear-gradient(
    180deg,
    var(--rb-red),
    var(--rb-red-2)
  ) !important;
}

/* 2) HERO: remove glow roxo e usa fundo preto com leve halo vermelho */
.hero {
  background-image: url(image/bannerecargas.webp);
  background-position: center right;
  background-size: cover;
  min-height: 75vh;
}

/* 3) Ícones e bullets: sem gradiente roxo */
.beneficio .icon {
  background: var(--rb-red) !important;
}
.check {
  background: var(--rb-red) !important;
}

/* 4) Seções: trocar backgrounds “roxos” por neutros/pretos */
.beneficios {
  background: #16181b !important;
}
.planos {
  background: radial-gradient(
    circle at 20% 20%,
    rgba(123, 44, 255, 0.3),
    transparent 30%
  );
}
.comparativo {
  background: #131518 !important;
}
.cta-final {
  background: #131518 !important;
}

/* 5) Títulos: barra inferior só vermelha (tira gradiente roxo) */
.section-title {
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: var(--rb-red);
}

/* 6) Cards de Planos:
   - Destaque (1º card) com borda neutra (não roxa)
   - 2º card “Combo” com borda/sombra vermelha p/ equilibrar 50/50 */
.grid-img {
  max-height: 270px;
  margin: 0 auto 25px;
  width: auto;
  height: 100%;
  display: flex;
  justify-content: center;
}
.card h3 {
  font-size: 26px;
}

.card.featured {
  border: 2px solid #2a2e36 !important; /* neutro */
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45) !important;
}
.planos .grid .card:nth-child(4),
.planos .grid .card:nth-child(5) {
  border: 2px solid var(--rb-red) !important;
  box-shadow: 0 18px 46px rgba(200, 16, 46, 0.18) !important;
}

.planos .grid .card:nth-child(2) .badge {
}
.planos .grid .card:nth-child(2) .price-row {
  background: #191b1f !important;
  border-color: rgba(200, 16, 46, 0.25) !important;
}
.planos .grid .card:nth-child(6) {
  border: 0px solid transparent; /* precisa ser transparente */
  border-radius: 18px; /* ajuste conforme necessário */
  background: linear-gradient(#1d1227, #1b1726) padding-box,
    /* fundo interno */ linear-gradient(45deg, var(--unitv-g1), var(--unitv-g2))
      border-box; /* borda com gradiente */
  background-clip: padding-box, border-box;
  background: 0;
  box-shadow: none;
}
.planos .grid .card:nth-child(6) .cta {
  background: #25d366;
}
.planos .grid .card:nth-child(6) .badge {
  background: none;
  border: 1px solid #25d366;
}
.planos .grid .card:nth-child(6) .precos {
  font-size: 22px;
  margin-bottom: 40px;
}
/* 7) Compare card e CTA final: tirar borda gradiente roxa */
.compare-card {
  border: 1px solid rgba(200, 16, 46, 0.28) !important;
}
.cta-panel {
  border: 1px solid rgba(200, 16, 46, 0.35) !important;
  background: #0f1114 !important;
}

/* 8) Suporte: acento vermelho mais presente */
.support-item {
  border-color: rgba(200, 16, 46, 0.18) !important;
}
.support-item .dot {
  background: var(--rb-red) !important;
}

/* 9) Placeholders (skeletons): neutros, sem roxo visível */
.skeleton,
.sk-circle,
.sk-text {
  background-image: linear-gradient(
    90deg,
    #22252a 15%,
    #2b2f36 35%,
    #22252a 55%,
    #2b2f36 75%
  ) !important;
}

/* 10) Navegação mobile: menu com borda vermelha sutil */
@media (max-width: 920px) {
  nav ul {
    border: 1px solid rgba(200, 16, 46, 0.2) !important;
    background: #111316 !important;
  }
  .beneficio,
  .beneficios-grid {
    width: -webkit-fill-available;
    flex-direction: column;
  }
  .split {
    flex-direction: column;
  }
}

/* 11) Footer/Header: linhas leves em vermelho para amarrar a identidade */
header {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04),
    0 2px 0 0 rgba(200, 16, 46, 0.16) !important;
}
footer {
  box-shadow: inset 0 4px 0 0 rgba(200, 16, 46, 0.18) !important;
}
html {
  scroll-behavior: smooth;
}
.modal { position: fixed; inset: 0; z-index: 999; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.modal__dialog {position: relative;width: min(94vw, 520px);margin: 8vh auto 0;background: #211d30;border: 1px solid rgba(255,255,255,.1);border-radius: 16px;box-shadow: 0 10px 30px rgba(0,0,0,.4);padding: 20px;}
.modal__close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border-radius: 10px; background: #1b1726; color: #fff; font-weight: 800; border: 1px solid rgba(255,255,255,.12); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__field { display: grid; gap: 6px; }
.form__field input { background: #1b1726; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px 12px; color: #fff; }
.form__field input:focus { border-color: rgba(200, 16, 46, .55); outline: none; }
@media (max-width: 600px){ .form__grid { grid-template-columns: 1fr; } }
