/* =====================================================================
   TIM ULTRAFIBRA — v7 "dark neon" (v26)
   Porte fiel da referência do Filipe (Emergent), com as 3 trocas pedidas:
   símbolo TIM, posters reais dos streamings e paleta TIM (navy profundo
   + vermelho TIM). Fontes da referência self-hosted: Outfit (display) +
   Manrope (texto). Sem CDN. Dados corretos vêm do planos.js (a referência
   tinha preços/nomes corrompidos pelo gerador).
   ===================================================================== */

/* ---------- fontes ---------- */
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* ---------- tokens (paleta TIM em dark) ---------- */
:root {
  --fundo: #060D24;        /* navy quase preto — base da página          */
  --fundo-2: #0A1333;      /* faixa alternada                             */
  --carta: #0B1736;        /* superfície de card                          */
  --carta-2: #101E44;      /* superfície elevada (painéis internos)       */
  --linha: rgba(255, 255, 255, 0.09);
  --tinta: #F2F5FC;        /* texto principal                             */
  --texto2: #A7B4D3;       /* texto de apoio (clareado: legibilidade)     */
  --verm: #E30613;         /* vermelho TIM oficial                        */
  --verm-2: #FF1A27;       /* hover/neon (hover da referência)            */
  --azul: #002F87;         /* azul TIM principal                          */
  --azul-2: #0057B8;       /* azul TIM secundário                         */
  --wpp: #25D366;

  --disp: "Outfit", "Segoe UI", sans-serif;
  --corpo: "Manrope", "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  --raio: 18px;
  --wrap: 1180px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
/* hidden SEMPRE vence display do CSS (senão .cep-gate{display:flex} anula o
   atributo hidden e o portão fica invisível bloqueando cliques). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--corpo);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--tinta); text-decoration: none; }
ul, ol { list-style: none; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--verm-2); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-mini { max-width: 820px; }
section[id], div[id] { scroll-margin-top: 86px; }

/* kicker vermelho (gramática da referência: um por seção) */
.kicker {
  font-family: var(--disp); font-weight: 700;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--verm-2); margin-bottom: 14px;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--corpo); font-weight: 700; font-size: 15.5px;
  border: 0; border-radius: 999px; padding: 13px 26px; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease,
              border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-cta {
  background: var(--verm); color: #fff;
  /* glow-red da referência */
  box-shadow: 0 0 40px rgba(227, 6, 19, 0.35);
}
.btn-cta:hover { background: var(--verm-2); color: #fff; }
.btn-outline {
  background: transparent; color: var(--tinta);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--verm-2); color: var(--verm-2); }
.btn-dark { background: #1D2850; color: #fff; }
.btn-dark:hover { background: #27346B; color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- header (transparente no topo, mescla com o hero; ganha
   fundo ao rolar — classe .rolou via app.js) ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.topo.rolou {
  background: rgba(6, 13, 36, 0.55);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--linha);
}
.topo-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; }
.tim-logo { width: 38px; height: 23px; flex: 0 0 auto; }
.marca-txt { font-family: var(--disp); font-size: 18px; color: var(--tinta); }
.marca-txt b { font-weight: 800; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--texto2); font-weight: 600; font-size: 14.5px; transition: color 0.15s ease; }
.nav a:hover { color: var(--verm-2); }
.nav-ultra { color: var(--verm-2) !important; }
.selo-revenda {
  font-family: var(--disp); font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--texto2);
  border: 1px solid var(--linha); border-radius: 999px; padding: 7px 13px;
  white-space: nowrap;
}
.nav-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-btn span { display: block; width: 22px; height: 2px; background: var(--tinta); margin: 5px 0; border-radius: 2px; }
.nav-mobile { display: none; }
.nav-mobile.open {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 22px 18px; background: var(--fundo-2); border-bottom: 1px solid var(--linha);
}
.nav-mobile a { padding: 10px 0; font-weight: 600; color: var(--tinta); }
.nav-mobile .btn { margin-top: 8px; }

/* ---------- hero (FOTO real: trilhas de luz vermelha = a fibra) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 92px;
  background:
    linear-gradient(105deg, rgba(6, 13, 36, 0.84) 0%, rgba(6, 13, 36, 0.42) 46%, rgba(6, 13, 36, 0.10) 100%),
    linear-gradient(180deg, rgba(6, 13, 36, 0.22) 0%, rgba(6, 13, 36, 0.04) 55%, var(--fundo) 100%),
    url("/img/fibra-neon.jpg?v=3") center 42% / cover no-repeat var(--fundo);
}
.hero-in {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 54px; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--texto2);
  border: 1px solid var(--linha); border-radius: 999px; padding: 7px 16px;
  margin-bottom: 22px;
}
.hero-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verm-2); }
/* h1 da referência: text-8xl (96px) font-black tracking-tighter leading-0.95 */
.hero h1 {
  font-family: var(--disp); font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98; letter-spacing: -0.05em;
  margin-bottom: 24px; text-wrap: balance;
}
.h-num i { font-style: normal; font-size: 0.5em; letter-spacing: 0.04em; text-transform: uppercase; }
.h-verm { color: var(--verm-2); }
.hero-sub { font-size: 17.5px; color: var(--texto2); max-width: 30em; margin-bottom: 30px; text-wrap: pretty; }
.hero-acao { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-desde { font-size: 14px; color: var(--texto2); margin-bottom: 18px; }
.hero-desde b { color: var(--tinta); }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-chips li {
  font-size: 13px; font-weight: 600; color: var(--texto2);
  border: 1px solid var(--linha); border-radius: 999px; padding: 7px 14px;
}
.hero-chips li::before { content: "✓ "; color: var(--verm-2); font-weight: 800; }

/* card destaque do hero (dark, borda) */
.hero-card {
  background: linear-gradient(170deg, var(--carta-2) 0%, var(--carta) 100%);
  border: 1px solid var(--linha);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.hc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.hc-eyebrow { font-family: var(--disp); font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em; color: var(--texto2); }
.hc-badge {
  font-family: var(--disp); font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--verm); color: #fff; border-radius: 999px; padding: 5px 11px;
}
.hc-speed { font-family: var(--disp); font-weight: 800; font-size: 54px; line-height: 1; }
.hc-speed i { font-style: normal; font-size: 0.42em; font-weight: 700; letter-spacing: 0.02em; margin-left: 2px; }
.hc-updown { font-size: 14px; color: var(--texto2); margin: 8px 0 12px; }
.hc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.hc-de { font-size: 13px; color: var(--texto2); text-decoration: line-through; }
.hc-por { display: flex; align-items: baseline; gap: 5px; }
.hc-rs { font-size: 16px; font-weight: 700; color: var(--verm-2); }
.hc-val { font-family: var(--disp); font-weight: 800; font-size: 46px; line-height: 1; }
.hc-cent { font-family: var(--disp); font-weight: 800; font-size: 22px; }
.hc-mes { font-size: 14px; color: var(--texto2); }
.hc-dacc { font-size: 13.5px; color: var(--texto2); margin: 4px 0 16px; }
.hero-card .btn { width: 100%; }

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha);
  background: var(--fundo-2); padding: 16px 0;
}
.ticker-track {
  display: flex; gap: 34px; width: max-content;
  animation: ticker-roda 32s linear infinite;
}
.ticker span {
  font-family: var(--disp); font-weight: 700; font-size: 17px;
  color: var(--tinta); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 34px;
}
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verm); }
@keyframes ticker-roda { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
/* py-24 md:py-32 da referência */
.sec { padding: clamp(96px, 9vw, 128px) 0; position: relative; }
.sec-alt { background: var(--fundo-2); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
/* h2 da referência: text-5xl (48px) font-bold tracking-tight */
.sec-head h2 {
  font-family: var(--disp); font-weight: 700;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 14px; text-wrap: balance;
}
.sec-sub { color: var(--texto2); font-size: 16.5px; text-wrap: pretty; }
.nota { font-size: 13px; color: var(--texto2); margin-top: 24px; }

/* ---------- ULTRACOMBO ---------- */
.combos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ucombo {
  position: relative;
  background: var(--carta);
  border: 1px solid var(--linha);
  border-radius: 20px;
  padding: 26px 24px 24px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.ucombo.is-destaque {
  border-color: rgba(236, 28, 46, 0.65);
  box-shadow: 0 0 0 1px rgba(236, 28, 46, 0.35), 0 24px 60px rgba(236, 28, 46, 0.12);
}
/* tag colada no canto superior direito (BÁSICO / TOP), como a referência */
.uc-tag {
  position: absolute; top: 0; right: 0;
  font-family: var(--disp); font-weight: 700; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 16px 8px; border-radius: 0 19px 0 14px;
}
.uc-tag-top { background: var(--verm); color: #fff; }
.uc-tag-basico { background: #242F52; color: #B9C4E0; }
/* referência: text-xs bold tracking-.2em #A1A9C3 · título text-2xl bold */
.uc-label { font-family: var(--disp); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #A1A9C3; display: block; margin-bottom: 4px; }
.uc-titulo { font-family: var(--disp); font-weight: 700; font-size: 24px; margin-bottom: 16px; }
.uc-painel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.uc-lado { background: var(--carta-2); border: 1px solid var(--linha); border-radius: 14px; padding: 16px 14px; }
.uc-lado-ico { color: var(--verm-2); display: block; margin-bottom: 10px; }
.uc-lado-ico svg { width: 18px; height: 18px; }
.uc-lado-num { font-family: var(--disp); font-weight: 800; font-size: 21px; line-height: 1.1; display: block; }
.uc-lado-plano { font-size: 11.5px; font-weight: 600; color: var(--texto2); display: block; margin-top: 6px; line-height: 1.3; }
.uc-quem { font-size: 13.5px; font-weight: 600; color: var(--texto2); margin-bottom: 12px; }
.uc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
/* chips DARK dentro do Ultracombo (referência): pill escura, ✓ vermelho */
.ucombo .chip {
  background: var(--carta-2); border: 1px solid var(--linha); color: #fff;
}
.ucombo .chip:not(.chip-apps)::before { color: var(--verm-2); opacity: 1; }
.uc-extras { font-size: 12.5px; color: var(--texto2); margin-bottom: 14px; }
.uc-sep { border: 0; margin: auto 0 0; }
.uc-por { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; }
.uc-rs { font-size: 15px; font-weight: 700; color: var(--verm-2); }
.uc-val { font-family: var(--disp); font-weight: 800; font-size: 42px; line-height: 1.05; }
.uc-cent { font-family: var(--disp); font-weight: 800; font-size: 20px; }
.uc-mes { font-size: 13.5px; color: var(--texto2); }
.uc-fatura { font-size: 13px; color: var(--texto2); margin: 2px 0 16px; }
.ucombo .btn { margin-top: 0; width: 100%; }

/* ---------- chips de streaming (com ✓, como a referência) ---------- */
.chip {
  font-size: 12px; font-weight: 700; color: #fff;
  border-radius: 999px; padding: 5px 12px;
}
.chip:not(.chip-apps)::before { content: "✓ "; opacity: 0.85; }
.chip-max { background: #2E1B5B; }
.chip-paramount { background: #0553FA; }
.chip-globoplay { background: #F5222D; }
.chip-deezer { background: #7B2FF2; }
.chip-yt { background: #181818; }
.chip-apps {
  background: transparent; color: var(--texto2);
  border: 1px dashed rgba(255, 255, 255, 0.25); font-weight: 600; padding: 3px 10px;
}

/* ---------- cards de plano ---------- */
.planos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plano {
  position: relative;
  background: var(--carta);
  border: 1px solid var(--linha);
  border-radius: 20px;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
/* hover VERMELHO (referência): borda acende e o card levanta */
.plano:hover, .ucombo:hover {
  transform: translateY(-5px);
  border-color: rgba(236, 28, 46, 0.55);
  box-shadow: 0 20px 54px rgba(236, 28, 46, 0.16);
}
.plano.is-destaque {
  border-color: rgba(236, 28, 46, 0.65);
  box-shadow: 0 0 0 1px rgba(236, 28, 46, 0.35), 0 24px 60px rgba(236, 28, 46, 0.12);
}
.p-badge {
  position: absolute; top: -11px; left: 20px;
  font-family: var(--disp); font-weight: 700; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--verm); color: #fff; border-radius: 999px; padding: 4px 11px;
}
.p-speed { display: flex; align-items: baseline; gap: 5px; }
.p-num { font-family: var(--disp); font-weight: 800; font-size: 50px; line-height: 1; letter-spacing: -0.02em; }
.p-unit { font-family: var(--disp); font-weight: 700; font-size: 17px; color: var(--texto2); }
.p-updown { font-size: 13.5px; color: var(--texto2); margin: 8px 0 14px; }
.p-streams { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.p-por { display: flex; align-items: baseline; gap: 4px; margin: 2px 0; }
.p-rs { font-size: 14.5px; font-weight: 700; color: var(--verm-2); }
.p-val { font-family: var(--disp); font-weight: 800; font-size: 42px; line-height: 1.02; }
.p-cent { font-family: var(--disp); font-weight: 800; font-size: 19px; }
.p-mes { font-size: 13.5px; color: var(--texto2); }
.p-cond { font-size: 12.5px; color: var(--texto2); line-height: 1.5; margin: 2px 0 20px; display: block; }
.plano .btn { margin-top: auto; width: 100%; }
.btn .ico-wpp { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- passos ---------- */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 8px; }
/* números fantasma da referência: preenchimento sutil, SEM contorno */
.passo-n {
  font-family: var(--disp); font-weight: 800; font-size: 104px; line-height: 1;
  color: rgba(147, 161, 193, 0.13);
  display: block; margin-bottom: 2px;
  transition: color 0.25s ease;
}
/* hover: o fantasma acende em vermelho (pedido do Filipe) */
.passo:hover .passo-n { color: rgba(227, 6, 19, 0.55); }
.passo h3 { font-family: var(--disp); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.passo h3::before { content: "• "; color: var(--verm-2); }
.passo p { color: var(--texto2); font-size: 15px; }
.passos-cta { margin-top: 40px; }

/* ---------- streaming ---------- */
.stream-in { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: start; }
.stream-foto {
  border-radius: 20px; overflow: hidden; position: relative;
  border: 1px solid var(--linha); margin-top: 28px;
}
.stream-foto img { width: 100%; height: 320px; object-fit: cover; filter: saturate(0.9) brightness(0.75); }
.stream-foto figcaption {
  position: absolute; left: 18px; bottom: 14px;
  font-family: var(--disp); font-weight: 700; font-size: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.streams { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stream {
  background: var(--carta); border: 1px solid var(--linha); border-radius: 16px;
  padding: 16px; display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.stream:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); }
.stream-poster {
  height: 64px; border-radius: 10px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.stream-poster img { max-height: 26px; max-width: 55%; }
.po-yt { background: #181818; }
.yt-premium { font-weight: 800; color: #fff; font-size: 13px; }
.po-para { background: radial-gradient(120% 130% at 30% 20%, #0568FF 0%, #012A8F 100%); }
.po-globo { background: radial-gradient(120% 130% at 30% 20%, #FF5247 0%, #B90A18 100%); }
.po-max { background: radial-gradient(120% 130% at 30% 20%, #3D2A7D 0%, #120A2E 100%); }
.stream h3 { font-family: var(--disp); font-weight: 700; font-size: 16.5px; margin-bottom: 4px; }
.stream p { font-size: 13px; color: var(--texto2); flex: 1; margin-bottom: 10px; }
.stream-cta { font-weight: 700; font-size: 13.5px; color: var(--verm-2); }
.stream-cta:hover { color: #fff; }
.combo { margin-top: 36px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.combo-titulo { font-size: 14.5px; color: var(--texto2); }
.combo-list { display: flex; gap: 8px; flex-wrap: wrap; }
.combo-list li {
  font-size: 12.5px; font-weight: 600; color: var(--tinta);
  border: 1px solid var(--linha); border-radius: 999px; padding: 6px 13px;
}

/* ---------- fibra é luz (banner foto + benefícios) ---------- */
.luz-banner {
  border-radius: 22px; overflow: hidden; position: relative;
  border: 1px solid var(--linha);
  background:
    linear-gradient(100deg, rgba(4, 9, 28, 0.92) 0%, rgba(6, 13, 36, 0.55) 60%, rgba(6, 13, 36, 0.35) 100%),
    url("/img/casa-fibra.jpg?v=2") center 55% / cover no-repeat;
  padding: 74px 48px;
  margin-bottom: 20px;
}
.luz-banner h2 {
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.015em;
  max-width: 14em; text-wrap: balance;
}
.benef-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benef {
  background: var(--carta); border: 1px solid var(--linha); border-radius: 16px;
  padding: 20px;
}
.benef-ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(236, 28, 46, 0.14); color: var(--verm-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.benef-ico svg { width: 20px; height: 20px; }
.benef h3 { font-family: var(--disp); font-weight: 700; font-size: 16.5px; margin-bottom: 4px; }
.benef p { color: var(--texto2); font-size: 13.5px; }

/* ---------- perfis ---------- */
.perfis { border-top: 1px solid var(--linha); }
.perfil {
  display: grid; grid-template-columns: 200px 1fr 260px; gap: 28px;
  align-items: center; padding: 26px 4px;
  border-bottom: 1px solid var(--linha);
}
.perfil-speed { font-family: var(--disp); font-weight: 800; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -0.02em; transition: color 0.2s ease; }
.perfil-speed i { font-style: normal; font-size: 0.42em; font-weight: 700; color: var(--texto2); transition: color 0.2s ease; }
/* hover: o número acende em vermelho (pedido do Filipe) */
.perfil:hover .perfil-speed,
.perfil:hover .perfil-speed i { color: var(--verm-2); }
.perfil h3 { font-family: var(--disp); font-weight: 700; font-size: 18.5px; margin-bottom: 4px; }
.perfil-txt p { color: var(--texto2); font-size: 14.5px; text-wrap: pretty; }
.specs { justify-self: end; text-align: right; }
.specs li { font-size: 12.5px; color: var(--texto2); padding: 2px 0; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-i {
  background: var(--carta); border: 1px solid var(--linha); border-radius: 14px;
  margin-bottom: 12px;
}
.faq-i summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--disp); font-weight: 700; font-size: 16px;
  padding: 18px 52px 18px 20px;
}
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after {
  content: "▾"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--verm-2); font-size: 15px;
  transition: transform 0.2s ease;
}
.faq-i[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-i p { color: var(--texto2); padding: 0 20px 18px; font-size: 14.5px; max-width: 60em; }

/* ---------- CTA final ---------- */
.fim { position: relative; text-align: center; padding: 110px 0 120px; overflow: hidden; }
.fim::after {
  content: ""; position: absolute; left: 50%; bottom: -140px; transform: translateX(-50%);
  width: 720px; height: 260px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(236, 28, 46, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.fim h2 {
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.fim p { color: var(--texto2); margin-bottom: 30px; }

/* ---------- footer ---------- */
.rodape { border-top: 1px solid var(--linha); background: #050C21; padding-top: 52px; }
.rodape-grid { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr; gap: 30px; padding-bottom: 34px; }
.rp-brand p { color: var(--texto2); font-size: 14px; margin-top: 14px; max-width: 30em; }
.rp-col h4 {
  font-family: var(--disp); font-weight: 700; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--verm-2); margin-bottom: 14px;
}
.rp-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--texto2); padding: 4px 0; }
.rp-list b { color: var(--tinta); }
.fl-strong { color: var(--verm-2); font-weight: 800; }
.rp-legal { border-top: 1px solid var(--linha); padding: 18px 22px 28px; }
.rp-legal p { font-size: 12.5px; color: var(--texto2); }

/* ---------- portão de CEP ---------- */
.cep-gate {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(6, 13, 36, 0.90) 0%, rgba(6, 13, 36, 0.96) 100%),
    url("/img/fibra-neon.jpg?v=3") center / cover no-repeat var(--fundo);
  overflow-y: auto;
}
.cep-card {
  width: 100%; max-width: 480px;
  background: var(--carta);
  border: 1px solid var(--linha);
  border-radius: 22px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  animation: entra 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.cep-logo { width: 46px; height: 28px; margin: 0 auto 18px; }
.cep-card h2 {
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(24px, 5.6vw, 30px); line-height: 1.15;
  margin-bottom: 10px; text-wrap: balance;
}
.cep-sub { color: var(--texto2); font-size: 15px; margin-bottom: 22px; }
.cep-form { display: flex; gap: 10px; }
.cep-input {
  flex: 1; min-width: 0;
  background: var(--fundo); color: var(--tinta);
  border: 1.5px solid var(--linha); border-radius: 999px;
  padding: 14px 20px;
  font-family: var(--disp); font-weight: 700; font-size: 19px;
  letter-spacing: 0.06em; text-align: center;
}
.cep-input:focus { outline: none; border-color: var(--verm-2); }
.cep-input::placeholder { color: var(--texto2); opacity: 0.55; }
.cep-erro { color: var(--verm-2); font-size: 14px; font-weight: 600; margin-top: 12px; }
.cep-bloqueado { margin-top: 18px; }
.cep-bloqueado p { font-size: 15px; margin-bottom: 8px; }
.cep-bloqueado p + p { color: var(--texto2); }
.cep-bloq-acoes { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.cep-nota { color: var(--texto2); font-size: 12px; margin-top: 20px; opacity: 0.8; }

/* badge de UF no header (clique = trocar CEP) */
.uf-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; cursor: pointer;
  font-family: var(--corpo); font-weight: 700; font-size: 12.5px;
  color: var(--tinta);
  border: 1px solid var(--linha); border-radius: 999px; padding: 7px 13px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.uf-badge:hover { border-color: var(--verm-2); color: var(--verm-2); }
.rp-trocar-cep {
  display: block; margin-top: 12px;
  background: none; border: 0; cursor: pointer;
  color: var(--texto2); font-family: var(--corpo); font-size: 13.5px;
  text-decoration: underline; text-underline-offset: 3px;
}
.rp-trocar-cep:hover { color: var(--verm-2); }

/* ---------- WhatsApp flutuante ---------- */
.wpp {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wpp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s ease;
}
.wpp:hover { transform: scale(1.07); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .planos-grid { grid-template-columns: repeat(2, 1fr); }
  .benef-grid { grid-template-columns: repeat(2, 1fr); }
  .stream-in { grid-template-columns: 1fr; }
  .combos-grid {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: min(86%, 420px);
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 22px; padding: 14px 4px 18px;
    -webkit-overflow-scrolling: touch;
  }
  .ucombo { scroll-snap-align: center; }
  .combos-grid .is-destaque { order: -1; }
}
@media (max-width: 900px) {
  .nav, .selo-revenda, .uf-badge { display: none; }
  .topo-in .btn { margin-left: auto; }
  .nav-btn { display: block; margin-left: 8px; }
  .hero { padding-top: 118px; }
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 440px; }
  .casa-in { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .sec { padding: 60px 0; }
  .planos-grid {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 22px; padding: 14px 4px 18px;
    -webkit-overflow-scrolling: touch;
  }
  .plano { scroll-snap-align: center; }
  .streams { grid-template-columns: 1fr; }
  .benef-grid { grid-template-columns: 1fr; }
  .perfil { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .specs { justify-self: start; text-align: left; }
  .passos { grid-template-columns: 1fr; gap: 26px; }
  .passo-n { font-size: 64px; }
  .luz-banner { padding: 48px 24px; }
  .rodape-grid { grid-template-columns: 1fr; }
  .ticker { padding: 12px 0; }
  .ticker span { font-size: 15px; gap: 24px; }
  .ticker-track { gap: 24px; }
  .stream-foto { margin-top: 20px; }
  .stream-foto img { height: 220px; }
  .fim { padding: 72px 0 84px; }
  .sec-head { margin-bottom: 30px; }

  /* ESCALA MOBILE GRANDE (benchmark: site oficial da TIM no celular —
     número enorme, preço enorme, zero letrinha) */
  .p-num { font-size: 64px; }
  .p-unit { font-size: 19px; }
  .p-updown { font-size: 15px; }
  .p-streams .chip, .uc-chips .chip { font-size: 13px; padding: 6px 13px; }
  .p-rs { font-size: 17px; }
  .p-val { font-size: 50px; }
  .p-cent { font-size: 24px; }
  .p-mes { font-size: 15px; }
  .p-cond { font-size: 14px; }
  .plano .btn, .ucombo .btn { padding: 15px 20px; font-size: 16.5px; }
  .uc-lado-num { font-size: 27px; }
  .uc-lado-plano { font-size: 13px; }
  .uc-titulo { font-size: 24px; }
  .uc-label { font-size: 12.5px; }
  .uc-quem { font-size: 14.5px; }
  .uc-extras { font-size: 13.5px; }
  .uc-rs { font-size: 17px; }
  .uc-val { font-size: 48px; }
  .uc-cent { font-size: 23px; }
  .uc-mes { font-size: 15px; }
  .uc-fatura { font-size: 14px; }
  .hc-speed { font-size: 60px; }
  .hc-updown { font-size: 15px; }
  .hc-val { font-size: 50px; }
  .hc-cent { font-size: 24px; }
  .hc-dacc { font-size: 14px; }
  .hero-sub { font-size: 16.5px; }
  .hero-chips li { font-size: 13.5px; }
  .hero-desde { font-size: 14.5px; }
  .sec-sub { font-size: 16px; }
  .nota { font-size: 13.5px; }
  .passo p { font-size: 16px; }
  .passo h3 { font-size: 20px; }
  .stream p { font-size: 14.5px; }
  .stream h3 { font-size: 17.5px; }
  .benef p { font-size: 15px; }
  .benef h3 { font-size: 17.5px; }
  .perfil-txt p { font-size: 15.5px; }
  .perfil h3 { font-size: 20px; }
  .specs li { font-size: 14px; }
  .faq-i summary { font-size: 16.5px; }
  .faq-i p { font-size: 15px; }
  .combo-list li { font-size: 13.5px; }
  .rp-list li { font-size: 15px; }
}

/* celular estreito: tipografia e CTAs confortáveis */
@media (max-width: 480px) {
  .hero { padding-top: 112px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 48px); letter-spacing: -0.04em; }
  .hero-sub { font-size: 15.5px; }
  .hero-acao { gap: 10px; }
  .hero-acao .btn { width: 100%; }
  .hero-desde { font-size: 13px; }
  .hero-chips li { font-size: 12px; padding: 6px 12px; }
  .hero-pill { font-size: 12px; padding: 6px 13px; margin-bottom: 18px; }
  .marca-txt { font-size: 16px; }
  .sec-head h2 { font-size: clamp(28px, 8vw, 32px); }
  .sec-sub { font-size: 15px; }
  .kicker { font-size: 11px; letter-spacing: 0.18em; }
  .ucombo, .plano { padding: 24px 20px 22px; }
  .luz-banner h2 { font-size: clamp(26px, 7.6vw, 30px); }
  .fim h2 { font-size: clamp(28px, 8vw, 34px); }
  .fim .btn { width: 100%; }
  .faq-i summary { font-size: 15px; padding: 16px 46px 16px 16px; }
  .faq-i p { padding: 0 16px 16px; }
  .nota { font-size: 11.5px; }
}

/* ---------- reveal ao rolar (classe .rev via app.js; sem JS = visível) ---------- */
.rev {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--atraso, 0s);
}
.rev.visto { opacity: 1; transform: none; }

/* entrada do HERO no load (cascata estilo framer-motion) — animação CSS
   pura: termina SEMPRE visível, com ou sem JS */
@keyframes entra {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero-txt > * { animation: entra 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-txt > *:nth-child(1) { animation-delay: 0.05s; }
.hero-txt > *:nth-child(2) { animation-delay: 0.16s; }
.hero-txt > *:nth-child(3) { animation-delay: 0.27s; }
.hero-txt > *:nth-child(4) { animation-delay: 0.38s; }
.hero-txt > *:nth-child(5) { animation-delay: 0.47s; }
.hero-txt > *:nth-child(6) { animation-delay: 0.56s; }
.hero-card { animation: entra 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.45s both; }

/* seta dos CTAs primários (referência): desliza no hover */
.btn .seta { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .seta { transform: translateX(4px); }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .plano, .stream, .btn, .wpp, .ucombo { transition: none; }
  .rev { opacity: 1; transform: none; transition: none; }
  .hero-txt > *, .hero-card { animation: none; }
  .btn .seta { transition: none; }
}
