/* Site de planos de TV via internet
   Direção: "RGB da TV". A tela da TV é feita de vermelho, verde e azul; o site usa as três:
   - verde-limão (do logotipo): ação e preço (Assinar, WhatsApp, totais);
   - azul: estrutura e informação (fundo azul-noite, seletor de tabela, passos, faixa final, links);
   - vermelho: destaque e alerta (selo "Menor valor por mês", contador do carrinho, +18, LED do controle).
   Tipos: Unbounded (títulos e preços) + Figtree (texto).
   Ritmo: hero com a TV passando o vídeo -> planos em cartões -> seção clara com a conversa
   do WhatsApp -> dúvidas -> faixa azul de chamada. Visual escuro único, por escolha. */

@font-face {
  font-family: "Unbounded";
  src: url("../assets/fonts/unbounded-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #0a0f1f;
  --bg-2: #0d1326;
  --surface: #131a32;
  --surface-2: #1a2342;
  --line: rgba(196, 210, 255, 0.10);
  --line-2: rgba(196, 210, 255, 0.20);
  --text: #f2f5fc;
  --muted: #a7b1cb;
  --lime: #b8cc50;
  --lime-bright: #cde262;
  --lime-ink: #11140a;
  --blue: #4f8dff;
  --blue-strong: #2b63e6;
  --blue-soft: #9dbcff;
  --red: #ff5c66;
  --red-strong: #d6303f;
  --paper: #eef2fb;
  --paper-ink: #0e1530;
  --paper-muted: #4a5470;

  --font-display: "Unbounded", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); text-wrap: balance; }
a { color: var(--blue-soft); text-underline-offset: 3px; }
a:hover { color: var(--text); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -200px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1.15 var(--font-body);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 56px; padding-inline: 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: var(--lime-bright); color: var(--lime-ink); }
.btn-ghost, .btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--blue-soft); color: var(--blue-soft); }
.btn-dark { background: var(--paper-ink); color: var(--lime); }
.btn-dark:hover { background: #050816; color: var(--lime-bright); }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.topbar.is-scrolled { background: rgba(10, 15, 31, 0.94); border-bottom-color: var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: block; border-radius: 8px; }
.brand img { width: 84px; }
.nav { display: none; margin-left: auto; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.nav a:hover { color: var(--blue-soft); background: var(--surface); }
.topbar-inner > .btn { margin-left: auto; }
.topbar-inner > .cart-btn { flex: none; }
@media (min-width: 760px) {
  .nav { display: flex; }
  .topbar-inner > .btn { margin-left: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(20px, 4vw, 48px) clamp(40px, 6vw, 72px); }
/* Luz azul e vermelha no fundo, como a de uma TV ligada num quarto escuro. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 62% at 6% 0%, rgba(43, 99, 230, 0.30), transparent 72%),
    radial-gradient(38% 56% at 94% 46%, rgba(214, 48, 63, 0.20), transparent 72%);
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); }
}
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; }
.hero h1 .hl { color: var(--lime); }
.hero-lead { margin-top: 22px; max-width: 32em; color: var(--muted); font-size: 1.125rem; }
.hero-price { margin-top: 14px; }
.hero-price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--lime); white-space: nowrap; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-ctas .btn { flex: 1 1 210px; }
@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--lime); }
.hero-facts li:nth-child(1) svg { color: var(--red); }
.hero-facts li:nth-child(2) svg { color: var(--blue); }

/* TV ligada */
.hero-visual { position: relative; isolation: isolate; padding: 0 4% 6%; }
.tv { position: relative; max-width: 640px; margin-inline: auto; }
.tv-frame {
  padding: clamp(6px, 1.2vw, 11px);
  border-radius: clamp(10px, 1.6vw, 18px);
  background: linear-gradient(180deg, #252b3d, #06080f 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 50px 90px -40px rgba(0, 0, 0, 0.95);
}
.tv-screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: clamp(5px, 0.9vw, 9px);
  background: #03050b;
}
.tv-on {
  position: absolute; inset: 0;
  background: #05070f;
  animation: ligar 1.1s cubic-bezier(.2, .75, .25, 1) .3s both;
}
/* O vídeo do dono tem uma borda clara fina; a ampliação leve esconde a borda. */
.tv-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.04);
  background: #05070f;
}
.tv-glass {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.07) 0 24%, transparent 24% 100%);
}
.tv-play {
  position: absolute; left: 3%; bottom: 5%; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 50%;
  background: rgba(5, 8, 20, 0.66); color: #fff; cursor: pointer;
  transition: background-color .15s, border-color .15s;
  animation: surgir .4s ease-out 1.4s both;
}
.tv-play:hover { border-color: #fff; background: rgba(5, 8, 20, 0.88); }
.tv-play svg { width: 18px; height: 18px; }
.tv-play .i-tocar, .tv-play.is-paused .i-pausa { display: none; }
.tv-play.is-paused .i-tocar { display: block; }
.tv-stand { position: relative; width: 22%; height: clamp(10px, 2vw, 20px); margin: 0 auto; background: linear-gradient(180deg, #161a28, #05070d); }
.tv-stand::after {
  content: ""; position: absolute; left: -70%; right: -70%; bottom: -5px; height: 7px;
  border-radius: 6px; background: linear-gradient(180deg, #232839, #06080f);
}
/* A luz que a tela joga na parede: azul de um lado, vermelho do outro. */
.tv-spill {
  position: absolute; z-index: -1; left: 0; right: 0; top: 30%; bottom: -10%;
  background:
    radial-gradient(38% 50% at 32% 45%, rgba(79, 141, 255, 0.30), transparent 72%),
    radial-gradient(36% 48% at 70% 50%, rgba(255, 92, 102, 0.22), transparent 72%);
  filter: blur(10px);
}

/* Controle remoto, como o da peça de divulgação do TV box */
.remote {
  position: absolute; right: 1%; bottom: 0;
  width: clamp(42px, 8vw, 74px); aspect-ratio: 74 / 236;
  display: flex; flex-direction: column; align-items: center; gap: 8%; padding-top: 14%;
  border-radius: 40px 40px 32px 32px;
  background: linear-gradient(160deg, #2b3145 0%, #0b0d16 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), -16px 26px 34px -12px rgba(0, 0, 0, 0.85);
  transform: rotate(-15deg); transform-origin: 50% 100%;
}
/* LED de energia vermelho, como num controle de verdade. */
.remote-power { width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(255, 92, 102, 0.75); }
.remote-pad {
  display: grid; place-items: center; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: #262c40; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.remote-ok {
  display: grid; place-items: center; width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: #141826; color: #8c93a8;
  font: 700 clamp(.35rem, .9vw, .55rem)/1 var(--font-body);
}
.remote-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 14%; width: 54%; }
.remote-keys i { aspect-ratio: 1.5; border-radius: 5px; background: #22283a; }
/* As quatro teclas coloridas de um controle de TV: vermelha, verde, amarela e azul. */
.remote-keys i:nth-child(1) { background: #8e2a33; }
.remote-keys i:nth-child(2) { background: #5d6b25; }
.remote-keys i:nth-child(3) { background: #87742a; }
.remote-keys i:nth-child(4) { background: #23458f; }

@keyframes ligar {
  0% { transform: scale(1, .006); opacity: 0; filter: brightness(4); }
  35% { transform: scale(1, .006); opacity: 1; filter: brightness(4); }
  70% { transform: scale(1, 1.02); filter: brightness(1.5); }
  100% { transform: none; opacity: 1; filter: none; }
}
@keyframes surgir { from { opacity: 0; } }

/* ---------- Cabeçalho de seção ---------- */
.sec-head { max-width: 46rem; margin: 0 auto clamp(28px, 4vw, 40px); text-align: center; }
.sec-head h2, .como h2, .faq h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.sec-head p { margin-top: 14px; color: var(--muted); }

/* ---------- Planos ---------- */
.planos { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 104px); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }

.switch {
  display: flex; gap: 6px; width: fit-content; max-width: 100%;
  margin: 0 auto clamp(28px, 4vw, 36px); padding: 6px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.switch-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0;
  padding: 10px clamp(18px, 4vw, 34px);
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: inherit; font-size: .8125rem; line-height: 1.2; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.switch-name { font: 700 clamp(.95rem, 2.6vw, 1.05rem)/1.15 var(--font-display); color: var(--text); }
.switch-btn:hover .switch-name { color: var(--blue-soft); }
.switch-btn[aria-selected="true"] { background: var(--blue-strong); color: #fff; }
.switch-btn[aria-selected="true"] .switch-name { color: #fff; }
.switch-btn:focus-visible { outline-offset: 2px; }

.panel { outline-offset: 8px; border-radius: 12px; }
.panel + .panel { margin-top: 56px; }
.js .panel + .panel { margin-top: 0; }
.panel-title {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 10px;
  margin-bottom: 26px; text-align: center;
  font: 700 1.125rem/1.3 var(--font-body);
}
.panel-title span { color: var(--muted); font-weight: 400; font-size: .9375rem; }

.adult {
  max-width: 50rem; margin: 0 auto 28px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.toggle { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; cursor: pointer; }
.toggle input {
  appearance: none; position: relative; flex: none;
  width: 48px; height: 28px; margin: 0; border-radius: 999px;
  background: #2a3350; cursor: pointer; transition: background-color .15s;
}
.toggle input::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: #e8ecf8;
  transition: transform .15s;
}
/* +18 ligado: vermelho, a cor usual da classificação adulta. */
.toggle input:checked { background: var(--red-strong); }
.toggle input:checked::after { transform: translateX(20px); background: #fff; }
.adult-note { color: var(--muted); font-size: .875rem; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 18px 16px 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  transition: border-color .15s;
}
.plan:hover { border-color: var(--line-2); }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.plan-name { font: 700 1.0625rem/1.2 var(--font-body); }
.plan-period {
  padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--muted); font-size: .75rem; white-space: nowrap;
}
.plan-price { margin-top: 8px; }
.price {
  display: inline-flex; align-items: flex-start;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.75rem, 4.4vw, 2.3rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.price-cur { margin: .32em .22em 0 0; font-size: .36em; font-weight: 600; letter-spacing: 0; }
.price-cents { margin-top: .16em; font-size: .42em; letter-spacing: 0; }
.plan-month { color: var(--muted); font-size: .8125rem; }
.plan-cta { width: 100%; margin-top: auto; }
.plan-month + .plan-cta { margin-top: 10px; }

.plan-featured {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-color: rgba(255, 92, 102, 0.7);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(214, 48, 63, 0.20), transparent 58%),
    var(--surface-2);
}
.plan-featured:hover { border-color: var(--red); }
.plan-badge {
  position: absolute; top: -12px; left: 16px;
  padding: 6px 11px; border-radius: 999px;
  background: var(--red-strong); color: #fff;
  font: 800 .6875rem/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase;
}
@media (min-width: 720px) {
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plan-featured {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(180px, 220px);
    align-items: center; column-gap: 28px; row-gap: 4px;
  }
  .plan-featured .plan-top { grid-column: 1; }
  .plan-featured .plan-price { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .plan-featured .plan-month { grid-column: 1; }
  .plan-featured .plan-cta { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}
@media (min-width: 1100px) {
  .plans { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .plan-featured { grid-column: auto; display: flex; }
  .plan-featured .plan-price { margin-top: 8px; }
  .plan-featured .plan-cta { margin-top: auto; }
  .plan-featured .plan-month + .plan-cta { margin-top: 10px; }
}

.plans-note { max-width: 46rem; margin: 28px auto 0; color: var(--muted); font-size: .875rem; text-align: center; }

/* ---------- Como funciona (seção clara) ---------- */
.como { padding-block: clamp(64px, 9vw, 112px); background: var(--paper); color: var(--paper-ink); }
.como :focus-visible { outline-color: var(--paper-ink); }
.como a { color: var(--paper-ink); }
.como-grid { display: grid; gap: clamp(44px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .como-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.steps { display: grid; margin: 34px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; }
.steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px;
  background: rgba(14, 21, 48, 0.16);
}
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-ink); color: var(--lime);
  font: 800 1rem/1 var(--font-display);
}
/* Os números seguem as cores da tela: vermelho, verde, azul. */
.steps li:nth-child(3n + 1) .step-n { color: var(--red); }
.steps li:nth-child(3n) .step-n { color: var(--blue-soft); }
.steps h3 { margin-top: 9px; font: 700 1.125rem/1.3 var(--font-body); }
.steps p { margin-top: 4px; color: var(--paper-muted); }
.como-note { max-width: 36em; color: var(--paper-muted); font-size: .9375rem; }

/* Celular com a conversa */
.phone {
  justify-self: center; width: min(340px, 100%);
  padding: 11px; border-radius: 44px;
  background: linear-gradient(160deg, #2a3045, #090b14 55%);
  box-shadow: 0 50px 80px -40px rgba(14, 21, 48, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.phone-screen { display: flex; flex-direction: column; overflow: hidden; border-radius: 34px; background: #0d1326; color: var(--text); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: #151c35; border-bottom: 1px solid var(--line); }
.chat-head img { width: 42px; height: auto; flex: none; }
.chat-head strong { display: block; font-size: .9375rem; line-height: 1.2; }
.chat-head span { color: var(--muted); font-size: .75rem; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 20px; font-size: .8125rem; line-height: 1.4; }
.msg { position: relative; max-width: 86%; padding: 8px 10px 18px; border-radius: 14px; overflow-wrap: anywhere; }
.msg time { position: absolute; right: 9px; bottom: 4px; font-size: .625rem; opacity: .65; }
.msg.out { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--lime); color: var(--lime-ink); }
.msg.in { align-self: flex-start; border-bottom-left-radius: 4px; background: #1e2745; color: #e8ecf8; }
.msg-key span {
  display: inline-block; padding: 2px 10px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, rgba(232, 236, 248, 0.55) 0 7px, transparent 7px 11px);
  color: transparent; user-select: none;
}
.msg-file { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.msg-file svg { width: 22px; height: 22px; }

/* ---------- Dúvidas ---------- */
.faq { padding-block: clamp(64px, 9vw, 112px); }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } }
.faq-intro p { margin: 14px 0 24px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq-list details[open] { border-color: var(--line-2); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 18px;
  font-weight: 700; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 10px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 10px no-repeat,
    var(--blue-strong);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--red-strong); }
.faq-list summary:hover { color: var(--blue-soft); }
.faq-list details p { padding: 0 18px 18px; color: var(--muted); max-width: 44em; }

/* ---------- Chamada final ---------- */
/* Faixa azul; o botão verde-limão continua sendo a ação. */
.cta-final { padding-block: clamp(48px, 7vw, 80px); background: var(--blue-strong); color: #fff; }
.cta-final :focus-visible { outline-color: #fff; }
.cta-final .btn-dark { background: var(--lime); color: var(--lime-ink); }
.cta-final .btn-dark:hover { background: var(--lime-bright); color: var(--lime-ink); }
.cta-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.cta-final h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; }
.cta-final p { margin-top: 10px; font-size: 1.0625rem; }

/* ---------- Rodapé ---------- */
.footer { padding-block: 40px calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer-inner { display: grid; gap: 20px; align-items: center; }
.footer-inner img { width: 80px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--blue-soft); }
@media (min-width: 860px) {
  .footer { padding-bottom: 40px; }
  .footer-inner { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 32px; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink);
  box-shadow: 0 12px 28px -10px rgba(184, 204, 80, 0.75), 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: background-color .15s;
}
.wa-float:hover { background: var(--lime-bright); color: var(--lime-ink); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Página 404 ---------- */
.error-page { padding-block: 40px 80px; }
.error-title { margin: 40px 0 16px; font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 800; line-height: 1.05; }

/* Link no meio do texto do cabeçalho de seção: área de toque maior sem mudar a linha. */
.sec-head p a { display: inline-block; padding-block: 12px; margin-block: -12px; font-weight: 700; }

/* ---------- Carrinho no topo ---------- */
.cart-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer;
  transition: border-color .15s, color .15s;
}
.cart-btn:hover { border-color: var(--blue-soft); color: var(--blue-soft); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--red-strong); color: #fff;
  font: 800 .6875rem/20px var(--font-body); text-align: center;
}
html.has-dialog { overflow: hidden; }

/* ---------- Loja ---------- */
.loja { padding-block: clamp(64px, 9vw, 104px); background: var(--bg-2); border-top: 1px solid var(--line); }
.store-actions { display: flex; justify-content: center; margin-top: 22px; }
.store-steps { display: grid; gap: 10px; max-width: 66rem; margin: 0 auto clamp(36px, 5vw, 52px); padding: 0; list-style: none; }
@media (min-width: 760px) { .store-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.store-steps li {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  color: var(--muted); font-size: .9375rem; line-height: 1.45;
}
.store-steps li > span {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-strong); color: #fff; font: 800 .875rem/1 var(--font-display);
}
.store-steps strong { color: var(--text); }
.store-noscript { margin-bottom: 24px; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; }
.store { display: grid; gap: clamp(36px, 5vw, 56px); }
.store-group-title { font: 700 clamp(1.2rem, 2.6vw, 1.55rem)/1.2 var(--font-display); }
.store-group-desc { margin-top: 6px; color: var(--muted); font-size: .9375rem; }

.products { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.product {
  display: flex; gap: 14px; min-width: 0; padding: 12px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  transition: border-color .15s;
}
.product:hover { border-color: var(--line-2); }
.product-img { flex: none; width: 96px; height: 96px; border-radius: 24%; object-fit: cover; background: #fff; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.product-name { font: 700 1rem/1.25 var(--font-body); }
.product-desc { color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.product-price { margin-top: 4px; }
.product-price strong { font: 700 1.15rem/1.2 var(--font-display); }
.product-price span { color: var(--muted); font-size: .8125rem; }
.product-note { color: var(--muted); font-size: .75rem; line-height: 1.4; }
.product-tiers { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; padding: 0; list-style: none; }
.product-tiers li { padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: .72rem; }
.btn-add { align-self: flex-start; max-width: 100%; min-height: 44px; margin-top: 8px; padding: 8px 16px; font-size: .9375rem; }
.btn-add svg { width: 18px; height: 18px; }
@media (min-width: 720px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .products--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Cartões horizontais precisam de largura: até 1099 px, a revenda fica em uma coluna. */
  .products--3 { grid-template-columns: minmax(0, 1fr); }
  .products:not(.products--2):not(.products--3) .product { flex-direction: column; }
  .products:not(.products--2):not(.products--3) .product-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; }
  .products:not(.products--2):not(.products--3) .btn-add { align-self: stretch; margin-top: auto; }
  .products:not(.products--2):not(.products--3) .product-price { margin-bottom: 8px; }
  .products--2 .product-img, .products--3 .product-img { width: 120px; height: 120px; }
}
@media (min-width: 1100px) {
  .products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .products--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Janela do carrinho ---------- */
.cart {
  width: min(480px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  margin: 0 0 0 auto; padding: 0; border: 0; overflow: hidden; /* quem rola é o painel */
  background: var(--bg-2); color: var(--text);
}
.cart::backdrop { background: rgba(0, 0, 0, 0.62); }
/* position: relative faz o painel conter os elementos absolutos (ex.: textos .visually-hidden),
   senão eles escapam da rolagem do painel e a janela inteira passa a rolar. */
.cart-panel {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow-y: auto;
  padding: 0 18px calc(28px + env(safe-area-inset-bottom));
}
.cart-head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 0 12px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.cart-head h2 { font: 700 1.25rem/1.2 var(--font-display); }
.cart-close {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer;
}
.cart-close:hover { border-color: var(--blue-soft); color: var(--blue-soft); }
.cart-close svg { width: 20px; height: 20px; }
.cart-empty { margin: 28px 0; color: var(--muted); }

.cart-items { display: grid; gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
.cart-item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.cart-item img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #fff; }
.cart-item-name { font-weight: 700; line-height: 1.3; }
.cart-item-unit { color: var(--muted); font-size: .8125rem; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer;
}
.qty-btn:hover { color: var(--blue-soft); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-btn svg { width: 18px; height: 18px; }
.qty-input {
  width: 3.4em; height: 44px; border: 0; background: transparent; color: var(--text);
  font: 700 1rem var(--font-body); text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item-total { font: 700 .95rem/1.3 var(--font-display); white-space: nowrap; }
.cart-remove {
  min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--muted);
  font: inherit; font-size: .8125rem; text-decoration: underline; cursor: pointer;
}
.cart-remove:hover { color: var(--text); }

.cart-summary { display: grid; gap: 10px; }
.cart-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 0 0; border-top: 1px solid var(--line); font-weight: 600;
}
.cart-total strong { color: var(--lime); font: 800 1.35rem/1.2 var(--font-display); white-space: nowrap; }
.cart-fine { color: var(--muted); font-size: .8125rem; }
.cart-choose { margin-top: 10px; font-weight: 700; }
.cart-option { width: 100%; }

.cart-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 10px 0 6px; padding: 0;
  border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
}
.cart-back:hover { color: var(--text); }
.cart-back svg { width: 18px; height: 18px; }
.cart-fields {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
  min-width: 0; margin: 0 0 16px; padding: 14px 16px 16px;
  border: 1px solid var(--line); border-radius: 16px;
}
.cart-fields legend { padding: 0 6px; font-weight: 700; }
.field { display: grid; grid-column: span 3; gap: 4px; min-width: 0; }
.field:only-of-type, .field-wide { grid-column: 1 / -1; }
.field-city { grid-column: span 4; }
.field-uf { grid-column: span 2; }
.field label { font-size: .875rem; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface); color: var(--text); font: inherit;
}
.field input::placeholder { color: #7f89a6; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--lime); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #ff8f80; }
.field-error { color: #ffa093; font-size: .8125rem; }
.field-hint { color: var(--muted); font-size: .8125rem; }
.field-error:empty, .field-hint:empty { display: none; }
.cart-pay { grid-template-columns: 1fr; }
.pay-option {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px;
  border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer;
}
.pay-option:has(input:checked) { border-color: var(--blue); background: rgba(79, 141, 255, 0.12); }
.pay-option input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.pay-option span { display: flex; flex-direction: column; color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.pay-option strong { color: var(--text); font-size: 1rem; }
.cart-review { margin-bottom: 16px; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.cart-review-items { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; font-size: .875rem; }
.cart-review-items li { display: flex; justify-content: space-between; gap: 12px; }
.cart-review-items strong { white-space: nowrap; }
.cart-review .cart-total { padding-top: 10px; }
.cart-review .cart-fine { margin-top: 6px; }
.cart-send { width: 100%; margin-bottom: 10px; }
.cart-done { display: grid; gap: 14px; padding-top: 24px; }
.cart-done h3 { font: 700 1.3rem/1.25 var(--font-display); }
.cart-done h3:focus { outline: none; }
.cart-done-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Aviso de item adicionado ---------- */
.toast {
  position: fixed; z-index: 45; left: 16px; right: 90px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 540px; padding: 8px 8px 8px 16px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface-2);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
}
.toast p { font-size: .9375rem; line-height: 1.35; }
.toast-btn {
  flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font: 700 .9375rem/1 var(--font-body); cursor: pointer;
}

/* ---------- Renovação: atalhos ---------- */
.renew-line { margin-top: 18px; color: var(--muted); font-size: .9375rem; }
.renew-link { display: inline-block; padding-block: 12px; margin-block: -12px; font-weight: 700; }
.renew-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px;
  margin: -12px auto 28px; color: var(--muted); font-size: .9375rem; text-align: center;
}

/* ---------- Janela de contratação ---------- */
.hire-summary { margin: 16px 0 18px; padding: 16px; border-radius: 16px; background: var(--surface); }
.hire-table { color: var(--blue-soft); font: 700 .8125rem/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.hire-plan { margin: 4px 0 10px; font: 700 1.2rem/1.25 var(--font-display); }
.order-lines { margin: 0; }
.order-lines > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-top: 1px solid var(--line);
}
.order-lines dt { color: var(--muted); font-size: .9375rem; }
.order-lines dd { margin: 0; font-weight: 700; text-align: right; }
.order-total dd { color: var(--lime); font: 800 1.35rem/1.2 var(--font-display); white-space: nowrap; }

.tv-guide { margin-bottom: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.tv-guide h3 { font: 700 1.0625rem/1.3 var(--font-body); }
.tv-guide-intro { margin-top: 4px; color: var(--muted); font-size: .875rem; }
.tv-guide-art { width: min(220px, 70%); margin: 14px auto 6px; color: var(--text); }
.tv-steps { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: passo; }
.tv-steps li {
  position: relative; padding-left: 40px; counter-increment: passo;
  color: var(--text); font-size: .9375rem; line-height: 1.45;
}
.tv-steps li::before {
  content: counter(passo);
  position: absolute; left: 0; top: -1px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-strong); color: #fff; font: 800 .8125rem/1 var(--font-display);
}
.tv-steps strong { color: var(--red); }
.hire-sent { margin-top: 8px; color: var(--lime); font-size: .875rem; }
.hire-sent:empty { display: none; }

/* ---------- Janela de renovação ---------- */
.renew-form { display: grid; gap: 0; padding-top: 14px; }
.renew-intro { margin-bottom: 16px; color: var(--muted); font-size: .9375rem; }
.renew-form .field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface); color: var(--text); font: inherit;
}
.adult-check {
  display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 10px 2px 0;
  color: var(--text); font-size: .9375rem; cursor: pointer;
}
.adult-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red-strong); }
