/* ==========================================================
   VIPENET Telecom — demo Kapila
   Cores tiradas do logo: azul, vermelho e grafite
   ========================================================== */

:root {
  --blue: #2B4DA0;
  --blue-2: #3D63D9;
  --blue-3: #7FA0FF;
  --navy: #0A1640;
  --navy-2: #101F57;
  --navy-3: #182A6E;
  --red: #E5282E;
  --red-2: #F03A40;
  --ink: #131A33;
  --gray: #5A6382;
  --line: #E1E6F2;
  --bg: #F5F7FC;
  --white: #fff;

  --f-head: "Archivo", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --r: 18px;
  --r-lg: 28px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 50px -20px rgba(16, 31, 87, .35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 em, h1 em { font-style: italic; font-weight: 900; color: var(--blue-2); }
h2 em.red, h1 em.red { color: var(--red-2); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.kicker--blue { color: var(--blue-2); }
.kicker--light { color: #FF7A7E; }

.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.sec-head p { color: var(--gray); font-size: 1.1rem; margin-top: 18px; }
.sec-head--light h2 { color: #fff; }
.sec-head--light h2 em { color: var(--blue-3); }
.sec-head--light p { color: rgba(255,255,255,.7); }
.sec-head--left { text-align: left; margin: 0; }

/* split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  background: var(--bg); color: var(--fg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--red { --bg: var(--red); box-shadow: 0 12px 30px -10px rgba(229,40,46,.7); }
.btn--red:hover { --bg: var(--red-2); box-shadow: 0 18px 40px -10px rgba(229,40,46,.85); }
.btn--ghost { --bg: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: rgba(255,255,255,.16); }
.btn--outline { --bg: transparent; --fg: var(--ink); border: 1.5px solid var(--line); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }
.btn--outline-dark { --bg: transparent; --fg: var(--ink); border: 1.5px solid var(--ink); margin-top: 28px; }
.btn--outline-dark:hover { --bg: var(--ink); --fg: #fff; }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--white .wa-ico { fill: #25D366; stroke: none; width: 22px; height: 22px; }
.btn--white:hover .wa-ico { transform: none; }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Progresso de leitura ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-2), var(--red)); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: .82rem; position: relative; z-index: 40; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar__in > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.topbar__right { display: flex; gap: 22px; }
.topbar__right a { transition: color .2s; }
.topbar__right a:hover { color: #fff; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #2EE07A; display: inline-block; position: relative; flex: none; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2EE07A; animation: ping 1.8s infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .4s var(--ease); }
.header__in {
  display: flex; align-items: center; gap: 28px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px; padding: 8px 10px 8px 26px;
  box-shadow: 0 10px 40px -15px rgba(10,22,64,.35);
  transition: box-shadow .4s, transform .4s var(--ease);
}
.header.is-scrolled { padding: 10px 0; }
.header.is-hidden .header__in { transform: translateY(-140%); }
.header__logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink);
  transition: background .25s, color .25s;
}
.nav a:hover, .nav a.is-active { background: var(--bg); color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin-top: -130px; padding: 175px 0 60px;
  background: radial-gradient(120% 90% at 80% 0%, var(--navy-3) 0%, var(--navy) 55%, #060C26 100%);
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__canvas, .final__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: .35;
  background-image: linear-gradient(rgba(127,160,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(127,160,255,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; }
.hero__glow--blue { width: 520px; height: 520px; background: rgba(61,99,217,.45); top: -120px; right: -80px; animation: drift 12s ease-in-out infinite alternate; }
.hero__glow--red { width: 380px; height: 380px; background: rgba(229,40,46,.28); bottom: 40px; left: -120px; animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px);
}
.hero__title { font-size: clamp(2.4rem, min(4.4vw, 7.6vh), 4.1rem); font-weight: 900; margin: 22px 0 20px; letter-spacing: -.035em; line-height: .98; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--blue-3); }
.hero__title em.red { color: var(--red-2); }
.hero__sub { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__price { display: flex; align-items: baseline; gap: 10px; margin-top: 34px; color: rgba(255,255,255,.65); font-size: .95rem; }
.hero__price strong { font-family: var(--f-head); font-weight: 900; font-size: 2.6rem; color: #fff; line-height: 1; font-style: italic; }
.hero__price small { font-size: 1rem; color: var(--red-2); margin-right: 3px; font-style: normal; }
.hero__price sup { font-size: 1.1rem; }

/* torre + ondas (eco do logo) */
.hero__visual { position: relative; height: 480px; margin-top: -30px; }
.tower { position: absolute; inset: 0; display: grid; place-items: center; }
.waves { position: absolute; inset: 0; display: grid; place-items: center; }
.waves span {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  border: 3px solid transparent; border-top-color: var(--blue-2); border-right-color: var(--red);
  animation: wave 4s linear infinite; opacity: 0;
}
.waves span:nth-child(2) { animation-delay: 1s; }
.waves span:nth-child(3) { animation-delay: 2s; }
.waves span:nth-child(4) { animation-delay: 3s; }
@keyframes wave { 0% { transform: scale(.6) rotate(-45deg); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(3.2) rotate(-45deg); opacity: 0; } }

.speed-card {
  position: relative; width: 320px; padding: 26px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.25);
  transform-style: preserve-3d;
}
.speed-card__head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.gauge { position: relative; margin: 18px 0 8px; }
.gauge svg { width: 100%; }
.gauge path { stroke-width: 14; fill: none; stroke-linecap: round; }
.gauge__bg { stroke: rgba(255,255,255,.1); }
.gauge__fg { stroke: url(#gGrad); stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset 1.2s var(--ease); filter: drop-shadow(0 0 8px rgba(127,160,255,.6)); }
.gauge__num { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--f-head); }
.gauge__num b { font-size: 3.6rem; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; }
.gauge__num span { font-weight: 800; color: var(--red-2); margin-left: 4px; }
.speed-card__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.speed-card__plans button {
  padding: 10px 0; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-family: var(--f-head); font-weight: 800; transition: all .25s;
}
.speed-card__plans button:hover { background: rgba(255,255,255,.14); }
.speed-card__plans button.on { background: var(--red); border-color: var(--red); box-shadow: 0 8px 20px -6px rgba(229,40,46,.8); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: .85rem; box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.float-chip svg { width: 18px; height: 18px; color: var(--red); }
.float-chip--a { top: 12%; left: 0; }
.float-chip--b { top: 4%; right: -10px; animation-delay: -1.6s; }
.float-chip--b svg { color: var(--blue-2); }
.float-chip--c { bottom: 12%; left: 8%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -.03em; }
.stat b i { color: var(--red-2); font-style: italic; }
.stat > span { display: block; margin-top: 8px; color: rgba(255,255,255,.6); font-size: .9rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 3; box-shadow: 0 10px 30px -10px rgba(229,40,46,.6); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marq 32s linear infinite; font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 1.4rem; text-transform: uppercase; letter-spacing: -.01em; align-items: center; }
.marquee__track i { font-style: normal; font-size: .7rem; opacity: .7; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Benefícios ---------- */
.benefits { padding: 110px 0 90px; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
  position: relative; padding: 32px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.benefit::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,99,217,.18), transparent 70%); transition: transform .6s var(--ease);
}
.benefit:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.benefit:hover::before { transform: scale(1.8); }
.benefit__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 10px 24px -8px rgba(43,77,160,.7); }
.benefit:nth-child(even) .benefit__icon { background: linear-gradient(135deg, var(--red-2), var(--red)); box-shadow: 0 10px 24px -8px rgba(229,40,46,.7); }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--gray); font-size: .95rem; }

/* ---------- Planos ---------- */
.plans { position: relative; padding: 130px 0; background: var(--navy); overflow: hidden; isolation: isolate; }
.plans__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 50% at 15% 10%, rgba(61,99,217,.35), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(229,40,46,.22), transparent 70%);
}
.plans__bg::after {
  content: "MEGA"; position: absolute; left: 50%; bottom: -6vw; transform: translateX(-50%);
  font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 26vw; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); white-space: nowrap;
}
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; perspective: 1200px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: #fff; color: var(--ink); overflow: hidden; transform-style: preserve-3d;
  transition: box-shadow .4s var(--ease);
}
.plan:hover { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.plan:hover .plan__shine { opacity: 1; }
.plan__shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(61,99,217,.12), transparent 40%); }
.plan header { display: flex; justify-content: space-between; align-items: flex-start; }
.plan__name { font-family: var(--f-head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gray); padding-top: 10px; }
.plan__speed { text-align: right; font-family: var(--f-head); line-height: .85; }
.plan__speed b { display: block; padding-right: .12em; margin-right: -.12em; font-size: 4.6rem; font-weight: 900; font-style: italic; letter-spacing: -.05em; background: linear-gradient(135deg, var(--blue), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__speed span { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .08em; }
.plan__price { display: flex; align-items: flex-start; gap: 4px; margin: 26px 0 14px; padding-top: 22px; border-top: 1px dashed var(--line); font-family: var(--f-head); }
.plan__price small { font-weight: 800; color: var(--red); margin-top: 8px; }
.plan__price b { font-size: 3.4rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.plan__price > span { display: flex; flex-direction: column; line-height: 1.1; margin-top: 6px; }
.plan__price sup { font-size: 1.3rem; font-weight: 800; }
.plan__price em { font-style: normal; color: var(--gray); font-size: .85rem; font-weight: 600; }
.plan__for { color: var(--gray); font-size: .95rem; margin-bottom: 20px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan__list li { display: flex; gap: 12px; font-size: .95rem; font-weight: 500; }
.plan__list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: rgba(61,99,217,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B4DA0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plans__grid .plan--hot { scale: 1.04; z-index: 1; }
.plan--hot { background: linear-gradient(165deg, #fff 0%, #fff 55%, #FFF1F1 100%); box-shadow: 0 0 0 2px var(--red), 0 30px 70px -30px rgba(229,40,46,.7); }
.plan--hot .plan__speed b { background: linear-gradient(135deg, var(--red), #FF6A4D); -webkit-background-clip: text; background-clip: text; }
.plan--hot .plan__list li::before { background-color: rgba(229,40,46,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5282E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.plan__badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 0 0 12px 12px; background: var(--red); color: #fff;
  font-family: var(--f-head); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.plan__math { margin-top: 14px; text-align: center; font-size: .82rem; color: var(--red); font-weight: 600; }
.plans__note { max-width: 760px; margin: 48px auto 0; text-align: center; color: rgba(255,255,255,.6); font-size: .92rem; }

/* ---------- Quiz ---------- */
.quiz { padding: 130px 0; }
.quiz__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.quiz__copy p { color: var(--gray); font-size: 1.1rem; margin-top: 20px; }
.quiz__note { display: flex; gap: 12px; margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--gray); }
.quiz__note svg { width: 20px; height: 20px; color: var(--blue-2); flex: none; margin-top: 2px; }
.quiz__box { background: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.quiz__row { margin-bottom: 28px; }
.quiz__row label, .quiz__label { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; margin-bottom: 12px; gap: 12px; }
.quiz__row label b { font-family: var(--f-head); font-size: 1.3rem; font-weight: 900; color: var(--blue); min-width: 2ch; text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none;
  background: linear-gradient(90deg, var(--blue-2) var(--p, 20%), var(--line) var(--p, 20%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--blue-2); box-shadow: 0 4px 12px rgba(43,77,160,.4); cursor: grab; transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:active { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--blue-2); cursor: grab; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .2s; user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--blue-2); }
.chip:has(input:checked) { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.03); }
.chip:has(input:focus-visible) { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.quiz__result { margin-top: 8px; padding: 22px; border-radius: 20px; background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.quiz__meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); margin-bottom: 18px; overflow: hidden; }
.quiz__meter span { display: block; height: 100%; width: 20%; border-radius: 6px; background: linear-gradient(90deg, var(--blue-2), var(--red)); transition: width .6s var(--ease); }
.quiz__res-in .btn { flex: none; }
.quiz__res-in { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.quiz__res-in small { color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.quiz__res-in strong { display: block; font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 2.2rem; line-height: 1.1; letter-spacing: -.03em; }
.quiz__res-in p { color: rgba(255,255,255,.7); font-size: .9rem; }
.quiz__res-in strong.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); color: var(--blue-3); } }

/* ---------- Fibra ---------- */
.fiber { padding: 130px 0; background: #fff; overflow: hidden; }
.fiber__cable { position: relative; margin: -10px 0 60px; }
.fiber__cable svg { width: 100%; height: 160px; overflow: visible; }
.cable { stroke: #DCE3F5; stroke-width: 14; }
.cable-light { stroke: url(#pulse); stroke-width: 6; stroke-dasharray: 220 1400; animation: light 2.6s linear infinite; filter: drop-shadow(0 0 10px rgba(127,160,255,.9)); }
@keyframes light { from { stroke-dashoffset: 1620; } to { stroke-dashoffset: 0; } }
.fiber__ends { display: flex; justify-content: space-between; margin-top: 6px; }
.fiber__ends span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg); font-weight: 700; font-size: .85rem; }
.fiber__ends svg { width: 18px; height: 18px; color: var(--blue-2); }
.fiber__compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.cmp { padding: 36px; border-radius: var(--r-lg); }
.cmp h3 { font-size: 1.4rem; margin-bottom: 20px; }
.cmp ul { display: grid; gap: 14px; }
.cmp li { display: flex; gap: 12px; }
.cmp--old { background: var(--bg); color: var(--gray); }
.cmp--old li::before { content: "✕"; color: #A0A7BF; font-weight: 800; }
.cmp--new { background: linear-gradient(150deg, var(--blue), var(--navy)); color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cmp--new::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(229,40,46,.5), transparent 70%); }
.cmp--new li::before { content: "✓"; color: #7DFFB0; font-weight: 800; }
.cmp__vs { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 1.3rem; box-shadow: 0 10px 30px -8px rgba(229,40,46,.7); }
.fiber__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.fact { padding: 26px; border-left: 3px solid var(--red); background: var(--bg); border-radius: 0 var(--r) var(--r) 0; }
.fact b { display: block; font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 1.8rem; color: var(--blue); letter-spacing: -.02em; }
.fact span { color: var(--gray); }

/* ---------- Passos ---------- */
.steps { padding: 130px 0; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps__list::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: var(--line); }
.steps__list::after { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--blue-2), var(--red)); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }
.step { position: relative; z-index: 1; }
.step__n {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); margin-bottom: 24px;
  font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 1.3rem; color: var(--blue);
  transition: all .5s var(--ease);
}
.step.is-on .step__n { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 8px rgba(61,99,217,.15); }
.step:last-child.is-on .step__n { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 8px rgba(229,40,46,.15); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray); font-size: .95rem; }
.steps__cta { text-align: center; margin-top: 64px; }

/* ---------- Sobre ---------- */
.about { position: relative; padding: 140px 0; background: linear-gradient(180deg, var(--navy) 0%, #060C26 100%); color: #fff; overflow: hidden; }
.about::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(61,99,217,.3), transparent 70%); }
.about__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about__copy { position: sticky; top: 140px; align-self: start; }
.about h2 em { color: var(--blue-3); }
.about__copy p { color: rgba(255,255,255,.72); font-size: 1.08rem; margin-top: 20px; }
.about blockquote {
  margin-top: 36px; padding: 26px 28px; border-radius: var(--r); position: relative;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; font-style: italic; line-height: 1.4;
}
.about blockquote::before { content: "“"; position: absolute; top: -30px; left: 20px; font-size: 5rem; color: var(--red); font-family: Georgia, serif; line-height: 1; }
.timeline { position: relative; padding-left: 48px; }
.timeline__line { position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.12); }
.timeline__line span { display: block; width: 100%; height: 100%; transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(var(--blue-2), var(--red)); }
.tl { position: relative; padding: 0 0 54px; }
.tl::before { content: ""; position: absolute; left: -45px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--blue-2); box-shadow: 0 0 0 6px rgba(61,99,217,.15); }
.tl b { display: block; font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; color: var(--blue-3); margin-bottom: 10px; }
.tl h3 { font-size: 1.3rem; margin-bottom: 6px; }
.tl p { color: rgba(255,255,255,.65); }
.tl--soon b { color: var(--red-2); }
.tl--soon::before { border-color: var(--red); animation: soon 1.6s infinite; }
@keyframes soon { 50% { box-shadow: 0 0 0 12px rgba(229,40,46,0); } 0% { box-shadow: 0 0 0 0 rgba(229,40,46,.6); } }

/* ---------- Cobertura ---------- */
.coverage { padding: 130px 0; background: #fff; }
.coverage__in { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.coverage__map { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin: 0 auto;
  border-radius: 50%; background: radial-gradient(circle, #EEF2FF, #fff 70%); }
.radar { width: 100%; height: 100%; }
.radar circle, .radar line { stroke: #CBD5F2; stroke-width: 1; stroke-dasharray: 4 6; }
.radar__sweep { transform-origin: 200px 200px; animation: sweep 5s linear infinite; }
.radar__sweep path { fill: rgba(61,99,217,.12); stroke: none; }
@keyframes sweep { to { transform: rotate(360deg); } }
.city { position: absolute; display: flex; align-items: center; gap: 10px; transform: translate(-11px, -11px); }
.city i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(43,77,160,.5); }
.city i::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--blue-2); animation: ping 2s infinite; }
.city span { padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; white-space: nowrap; box-shadow: var(--shadow); }
.city--jn { left: 42%; top: 40%; }
.city--ib { left: 58%; top: 58%; }
.city--bs { left: 22%; top: 76%; }
.city--bs i { background: var(--red); }
.city--bs i::after { border-color: var(--red); }
.city--bs span { background: var(--red); }
.coverage__copy p { color: var(--gray); font-size: 1.1rem; margin-top: 20px; }
.cep { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-top: 30px; padding: 8px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.cep input, .cep select { font: inherit; border: 0; background: #fff; border-radius: 14px; padding: 14px 16px; color: var(--ink); outline: none; min-width: 0; }
.cep input:focus, .cep select:focus { box-shadow: 0 0 0 2px var(--blue-2); }

/* ---------- Dicas ---------- */
.tips { padding: 130px 0; overflow: hidden; }
.tips__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px; scrollbar-width: none; }
.tips__track::-webkit-scrollbar { display: none; }
.tip { scroll-snap-align: start; position: relative; padding: 34px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); min-height: 250px; transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; }
.tip:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.tip__n { position: absolute; right: 18px; top: 6px; font-family: var(--f-head); font-weight: 900; font-style: italic; font-size: 6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--line); transition: -webkit-text-stroke-color .3s; }
.tip:hover .tip__n { -webkit-text-stroke-color: var(--red); }
.tip h3 { margin-top: 70px; margin-bottom: 10px; position: relative; }
.tip p { color: var(--gray); font-size: .95rem; position: relative; }
.tips__nav { display: flex; gap: 10px; justify-content: center; }
.tips__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: all .25s; }
.tips__nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tips__nav svg { width: 20px; height: 20px; }

/* ---------- Suporte ---------- */
.support { padding: 0 0 130px; }
.support__box { position: relative; padding: 70px 60px; border-radius: 36px; overflow: hidden; color: #fff;
  background: linear-gradient(130deg, var(--blue) 0%, var(--navy) 60%, #3A0E1E 130%); }
.support__box::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 100% 0, transparent 0 40px, rgba(255,255,255,.04) 40px 42px); }
.support__head { position: relative; margin-bottom: 44px; }
.support__head h2 em { color: #FF8A8E; }
.support__head p { color: rgba(255,255,255,.7); margin-top: 12px; }
.support__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sup { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); transition: all .35s var(--ease); }
.sup svg { width: 34px; height: 34px; margin-bottom: 16px; color: #FF8A8E; transition: transform .4s var(--ease); }
.sup b { font-family: var(--f-head); font-size: 1.15rem; }
.sup span { color: rgba(255,255,255,.65); font-size: .9rem; }
.sup:hover { background: #fff; color: var(--ink); transform: translateY(-6px); }
.sup:hover span { color: var(--gray); }
.sup:hover svg { color: var(--red); transform: scale(1.15) rotate(-8deg); }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 130px; }
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq .sec-head { position: sticky; top: 130px; }
.faq__list { display: grid; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s, border-color .3s; }
.qa[open] { box-shadow: var(--shadow); border-color: transparent; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--blue); font-size: 1.4rem; font-weight: 500; transition: transform .35s var(--ease), background .3s, color .3s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.qa > div { padding: 0 26px 24px; color: var(--gray); }

/* ---------- CTA final ---------- */
.final { position: relative; padding: 150px 0; text-align: center; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 50% 100%, var(--blue) 0%, var(--navy) 60%, #060C26 100%); }
.final h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; }
.final h2 em { color: var(--red-2); }
.final p { color: rgba(255,255,255,.75); font-size: 1.15rem; margin-top: 20px; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { background: #060C26; color: rgba(255,255,255,.65); padding: 80px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 18px; padding: 10px 16px; margin-bottom: 18px; }
.footer__logo img { height: 66px; width: auto; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; }
.footer__grid a { transition: color .2s; }
.footer__grid a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); transition: all .25s; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom a { color: #fff; font-weight: 700; }
.footer__bottom a:hover { color: var(--red-2); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: ping 2.2s infinite; z-index: -1; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; stroke: none; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: 74px; padding: 8px 14px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: all .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Reveal (fallback sem GSAP) ---------- */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.reveal.is-in { opacity: 1; translate: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(10,22,64,.97); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .35s; margin: 0; }
  .nav a { color: #fff; font-size: 1.6rem; font-family: var(--f-head); font-weight: 800; }
  .nav a:hover, .nav a.is-active { background: transparent; color: var(--red-2); }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; margin-top: 0; }
  .benefits__grid, .support__grid { grid-template-columns: repeat(2, 1fr); }
  .plans__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plans__grid .plan--hot { scale: none; }
  .quiz__in, .coverage__in, .about__in, .faq__in { grid-template-columns: 1fr; gap: 50px; }
  .about__copy, .faq .sec-head { position: static; }
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps__list::before, .steps__list::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .topbar__right a:not(:last-child) { display: none; }
  .header__in { padding-left: 16px; gap: 10px; }
  .header__logo img { height: 40px; }
  .header__cta { padding: 9px 16px; font-size: .85rem; }
  .hero { padding-top: 170px; }
  .float-chip--c { bottom: 0; left: 50%; transform: translateX(-50%); animation: none; }
  .float-chip--a { top: 6%; }
  .hero__visual { height: 380px; }
  .speed-card { width: 270px; padding: 20px; }
  .float-chip { font-size: .75rem; padding: 8px 12px; }
  .float-chip--b { right: 0; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 20px; }
  .benefits__grid, .support__grid, .fiber__facts, .steps__list { grid-template-columns: 1fr; }
  .fiber__compare { grid-template-columns: 1fr; }
  .cmp__vs { margin: -10px auto; }
  .quiz__box { padding: 24px; }
  .quiz__res-in { flex-direction: column; align-items: flex-start; }
  .cep { grid-template-columns: 1fr; }
  .support__box { padding: 44px 24px; border-radius: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 44px; }
  .benefits, .plans, .quiz, .fiber, .steps, .coverage, .tips { padding: 90px 0; }
  .about, .final { padding: 100px 0; }
  .city span { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; translate: none; }
}
