/* ==========================================================================
   MagalNet Telecom — Landing page
   Conceito: "A conexão viajando até você"
   ========================================================================== */

:root {
  /* Marca (extraídas do logotipo) */
  --blue: #004b85;
  --blue-700: #003a69;
  --coral: #ed174c;
  --coral-700: #cc103f;

  /* Neutros */
  --deep: #04182c;
  --ink: #0a1a2b;
  --muted: #5a6878;
  --line: #e4e9ee;
  --mist: #f4f7fa;
  --white: #ffffff;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --header-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 14px;
  transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(96px, 14vw, 200px); }

/* ---------- Tipografia base ---------- */

h1, h2 {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: .98;
  text-wrap: balance;
}
h2 { font-size: clamp(38px, 5.4vw, 84px); }
h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.eyebrow--light { color: rgba(255, 255, 255, .72); }

.note {
  font-size: 13px;
  color: var(--muted);
}

/* Split de títulos (palavras sobem por máscara) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Links e botões ---------- */

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }

.link svg,
.btn__arrow,
.plan__cta svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease-out);
}
.link:hover svg,
.btn:hover .btn__arrow,
.plan__cta:hover svg { transform: translateX(4px); }

.link--arrow { font-weight: 500; color: var(--blue); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-700); }

.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 62px; padding: 0 36px; font-size: 17px; }
.btn--block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .6s var(--ease-out), box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(10, 26, 43, .06);
}
.header__inner {
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}
.header__logo { position: relative; }
.header__logo img { width: auto; height: 30px; transition: opacity .5s var(--ease-out); }
.header__logo .logo-light { position: absolute; left: 0; top: 0; opacity: 0; }

/* Header sobre seções escuras */
.header.is-dark { color: var(--white); }
.header.is-dark.is-scrolled {
  background: rgba(4, 24, 44, .55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header.is-dark .logo-default { opacity: 0; }
.header.is-dark .logo-light { opacity: 1; }
.header.is-dark .header__client { color: var(--white); }
.header.is-dark .burger span { background: var(--white); }
.menu-open .header.is-dark { color: var(--ink); }
.menu-open .header.is-dark .logo-default { opacity: 1; }
.menu-open .header.is-dark .logo-light { opacity: 0; }
.menu-open .header.is-dark .burger span { background: var(--ink); }
.nav a, .header__client { transition: color .5s var(--ease-out); }

.nav {
  display: flex;
  gap: 32px;
  margin-inline: auto;
  font-size: 15px;
  font-weight: 450;
}

.header__actions { display: flex; align-items: center; gap: 28px; }
.header__client { font-size: 15px; }
.header__client svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.6px;
  background: var(--ink); border-radius: 2px;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 34px; font-weight: 600; letter-spacing: -0.035em;
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.menu__nav a span { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--coral); letter-spacing: .1em; }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .2s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .35s; }
.menu__foot { display: grid; gap: 18px; justify-items: center; }
.menu__client { font-size: 15px; color: var(--muted); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
}
.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  width: 100%;
  max-width: calc(var(--max) + (100vw - var(--max)) / 2);
  padding-left: var(--gutter);
  margin-left: max(0px, (100vw - var(--max)) / 2);
  transform-origin: 50% 0;
}

.hero__copy { padding-block: 32px; max-width: 620px; }
.hero__eyebrow { margin-bottom: 36px; }
.hero__eyebrow::before { display: none; }

/* pequena fibra que "corre" dentro do rótulo */
.eyebrow__fiber {
  position: relative;
  width: 40px; height: 2px;
  border-radius: 2px;
  background: rgba(237, 23, 76, .18);
  overflow: hidden;
}
.eyebrow__fiber i {
  position: absolute; inset: 0;
  width: 40%;
  background: var(--coral);
  border-radius: 2px;
  animation: fiberRun 2.4s var(--ease-in-out) infinite;
}
@keyframes fiberRun {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

.hero__title {
  font-size: clamp(46px, 6.6vw, 108px);
  letter-spacing: -0.05em;
  line-height: .94;
  color: var(--ink);
}
.hero__lead {
  margin-top: 32px;
  max-width: 440px;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__meta {
  display: flex; gap: 28px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta li::before { content: ""; width: 14px; height: 1px; background: var(--coral); }

.hero__media {
  position: relative;
  height: min(80vh, 820px);
  border-radius: 28px 0 0 28px;
  overflow: hidden;
  background: var(--mist);
}
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }

.hero__fiber { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__fiber path { fill: none; stroke-linecap: round; }
.hero__fiber-glow { stroke: var(--coral); stroke-width: 7; opacity: .16; }
.hero__fiber-line { stroke: var(--coral); stroke-width: 1.6; }
.hero__fiber-packet {
  stroke: #fff; stroke-width: 2.4;
  stroke-dasharray: 26 1400;
  animation: packet 4.2s linear infinite;
  opacity: .95;
}
@keyframes packet {
  from { stroke-dashoffset: 26; }
  to { stroke-dashoffset: -760; }
}
.hero__node circle { fill: var(--coral); }
.hero__node .hero__node-ring {
  fill: none; stroke: var(--coral); stroke-width: 1.4;
  transform-box: fill-box; transform-origin: center;
  animation: nodePulse 2.8s var(--ease-out) infinite;
  animation-delay: var(--d);
}
@keyframes nodePulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(3.2); opacity: 0; }
}

.hero__cue {
  position: absolute; left: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.hero__cue-line { position: relative; width: 1px; height: 36px; background: var(--line); overflow: hidden; }
.hero__cue-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--coral);
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(260%); }
}

/* Estados iniciais das animações de entrada (somente com JS + movimento permitido) */
.js-motion .header { opacity: 0; }
.js-motion [data-hero] { opacity: 0; transform: translateY(24px); }
.js-motion [data-hero-media] { clip-path: inset(0 0 0 100% round 28px 0 0 28px); }
.js-motion .hero__title .w > span { transform: translateY(105%); }
.js-motion .hero__fiber-line,
.js-motion .hero__fiber-glow { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.js-motion .hero__fiber-packet,
.js-motion .hero__node { opacity: 0; }

/* ==========================================================================
   A FIBRA ATÉ VOCÊ (storytelling)
   ========================================================================== */

.journey {
  position: relative;
  z-index: 2;
  background: var(--deep);
  color: var(--white);
}
.journey__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* Cidade */
.journey__city { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey__city * { vector-effect: non-scaling-stroke; }
.city-blocks .block { fill: rgba(255, 255, 255, .018); stroke: none; }
.city-blocks .lot { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .06); }
.city-blocks .park { fill: rgba(92, 160, 220, .05); stroke: rgba(92, 160, 220, .12); }
.city-net path { fill: none; stroke: #2a6ca8; stroke-width: 1.2; opacity: .45; }
.city-nodes circle { fill: #2a6ca8; opacity: .8; }
.city-fiber,
.city-fiber-glow { fill: none; stroke: var(--coral); stroke-linecap: round; stroke-linejoin: round; }
.city-fiber { stroke-width: 2.4; }
.city-fiber-glow { stroke-width: 10; opacity: .18; }
.city-pop circle { fill: var(--coral); }
.city-pop .city-pop__ring {
  fill: none; stroke: var(--coral); stroke-width: 1.2;
  transform-box: fill-box; transform-origin: center;
  animation: nodePulse 2.8s var(--ease-out) infinite;
}
.city-pop text {
  font-family: var(--mono); font-size: 13px; letter-spacing: .16em;
  fill: rgba(255, 255, 255, .7);
}
.city-home__lot { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.city-home__roof { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-linejoin: round; }
.city-home__pulse { fill: none; stroke: var(--coral); stroke-width: 1.2; opacity: 0; }

/* Interior */
.journey__interior {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  will-change: transform, opacity;
}
.journey__interior svg { width: 100%; height: 100%; }
.journey__interior * { vector-effect: non-scaling-stroke; }

.room__line { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1.2; stroke-linecap: round; }
.room__line--faint { stroke: rgba(255, 255, 255, .1); }

.room-fiber,
.room-fiber-glow { fill: none; stroke: var(--coral); stroke-linecap: round; }
.room-fiber { stroke-width: 2.4; }
.room-fiber-glow { stroke-width: 10; opacity: .16; }

.router__body { fill: var(--deep); stroke: rgba(255, 255, 255, .85); stroke-width: 1.4; }
.router__ant { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.4; stroke-linecap: round; }
.router__led { fill: rgba(255, 255, 255, .2); }

.wifi circle {
  fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.2;
  transform-box: fill-box; transform-origin: center;
  opacity: 0;
}
.journey.is-live .wifi circle { animation: wave 3.6s var(--ease-out) infinite; }
.journey.is-live .wifi circle:nth-child(2) { animation-delay: 1.2s; }
.journey.is-live .wifi circle:nth-child(3) { animation-delay: 2.4s; }
@keyframes wave {
  0% { transform: scale(.5); opacity: 0; }
  12% { opacity: .7; }
  100% { transform: scale(9); opacity: 0; }
}

.pulses path {
  fill: none; stroke: rgba(237, 23, 76, .9); stroke-width: 1.2;
  stroke-dasharray: 2 7; stroke-linecap: round;
}
.journey.is-live .pulses path { animation: data 1.6s linear infinite; }
@keyframes data { to { stroke-dashoffset: -36; } }

.device { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.device text {
  stroke: none; fill: rgba(255, 255, 255, .6);
  font-family: var(--mono); font-size: 13px; letter-spacing: .16em;
}
.device__screen { fill: rgba(255, 255, 255, .04); stroke: none; }
.device__play { fill: rgba(255, 255, 255, .9); stroke: none; }
.device__bar { stroke: rgba(255, 255, 255, .2); }
.device__bar-fill { stroke: var(--coral); stroke-dasharray: 284; stroke-dashoffset: 180; }
.device__call { fill: rgba(92, 160, 220, .12); stroke: none; }
.device__msg { stroke: rgba(255, 255, 255, .5); }
.device [cx] { fill: rgba(255, 255, 255, .95); stroke: none; }

/* Textos da cena */
.journey__scrim {
  position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(4, 24, 44, .92), rgba(4, 24, 44, 0));
  pointer-events: none;
}
.journey__intro,
.journey__captions {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(56px, 12vh, 140px);
  max-width: var(--max);
}
.journey__intro h2 {
  margin-top: 20px;
  font-size: clamp(44px, 7vw, 120px);
  line-height: .94;
}
.journey__cap {
  position: absolute; left: 0; bottom: 0;
  max-width: 620px;
  opacity: 0;
}
.journey__cap p {
  margin-top: 16px;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.journey__cap--xl { max-width: 900px; }
.journey__cap--xl p { font-size: clamp(44px, 7vw, 120px); font-weight: 600; letter-spacing: -0.05em; line-height: .94; }

.journey__progress {
  position: absolute; right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  display: flex; gap: 16px; align-items: stretch;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
}
.journey__progress ol { display: grid; gap: 22px; color: rgba(255, 255, 255, .3); }
.journey__progress li { transition: color .4s; }
.journey__progress li.is-active { color: var(--white); }
.journey__progress-bar { position: relative; width: 1px; background: rgba(255, 255, 255, .14); }
.journey__progress-bar i {
  position: absolute; inset: 0;
  background: var(--coral);
  transform: scaleY(0); transform-origin: top;
}

/* Transição: onda wi-fi vira fundo branco */
.journey__reveal { position: absolute; inset: 0; pointer-events: none; }
.journey__ring {
  position: absolute; left: 50%; top: 66%;
  width: 120px; height: 120px; margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6);
  opacity: 0;
}
.journey__reveal-fill {
  position: absolute; inset: 0;
  background: var(--white);
  color: var(--ink);
  clip-path: circle(0% at 50% 66%);
  display: grid; place-items: center;
  text-align: center;
}
.journey__reveal-copy { padding-inline: var(--gutter); }
.journey__reveal-title {
  margin-top: 24px;
  font-size: clamp(40px, 6vw, 100px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: .96;
}

/* Sem JS ou com movimento reduzido: a cena vira uma composição estática */
html:not(.js-motion) .journey__city,
html:not(.js-motion) .journey__captions,
html:not(.js-motion) .journey__progress,
html:not(.js-motion) .journey__reveal { display: none; }
html:not(.js-motion) .journey__interior { opacity: 1; }
html:not(.js-motion) .journey__scrim { display: none; }
html:not(.js-motion) .journey__stage {
  height: auto;
  display: flex; flex-direction: column; gap: 40px;
  padding: calc(var(--header-h) + 64px) 0 clamp(64px, 8vw, 120px);
}
html:not(.js-motion) .journey__intro { position: static; margin-inline: var(--gutter); }
html:not(.js-motion) .journey__intro h2::after { content: "Uma conexão para tudo."; display: block; color: var(--coral); }
html:not(.js-motion) .journey__interior { position: relative; inset: auto; aspect-ratio: 16 / 9; }
html:not(.js-motion) .router__led { fill: var(--coral); }

/* ==========================================================================
   SEÇÃO — cabeçalhos
   ========================================================================== */

.section-head { max-width: 980px; margin-bottom: clamp(56px, 7vw, 104px); }
.section-head__lead { margin-top: 24px; max-width: 460px; font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 40px;
  align-items: end;
}
.section-head--split .section-head__lead { margin: 0; }

/* ==========================================================================
   PLANOS
   ========================================================================== */

.plans { position: relative; z-index: 1; background: var(--white); }

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 40px clamp(24px, 2.6vw, 44px) 44px;
  border: 1px solid transparent;
  border-radius: 28px;
  transition: transform .6s var(--ease-out), border-color .6s var(--ease-out), background-color .6s var(--ease-out);
}
.plan + .plan::before {
  content: ""; position: absolute; left: -1px; top: 40px; bottom: 40px; width: 1px;
  background: var(--line);
  transition: opacity .4s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(0, 75, 133, .22); }
.plan:hover::before,
.plan:hover + .plan::before,
.plan--featured::before,
.plan--featured + .plan::before { opacity: 0; }

.plan__label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.plan__badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 10.5px;
  letter-spacing: .1em;
}

.plan__speed { display: flex; align-items: flex-start; gap: 10px; margin: 28px 0 24px; }
.plan__num {
  font-size: clamp(96px, 10.5vw, 176px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: .8;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.plan__unit {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--coral);
  padding-top: 4px;
}

.plan__desc { color: var(--muted); min-height: 3.1em; }
.plan__list { display: grid; gap: 6px; }
.plan__list li { display: flex; gap: 10px; align-items: center; }
.plan__list li::before { content: ""; width: 12px; height: 1px; background: var(--coral); flex: none; }

.plan__price {
  display: flex; align-items: baseline;
  margin-top: auto; padding-top: 36px;
  color: var(--ink);
}
.plan__cur { font-size: 17px; font-weight: 500; margin-right: 6px; }
.plan__int { font-size: 52px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan__dec { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.plan__per { margin-left: 6px; font-size: 15px; color: var(--muted); }

.plan__cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
  height: 56px; padding: 0 24px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.plan:hover .plan__cta { box-shadow: inset 0 0 0 1px var(--ink); }
.plan__cta:hover { background: var(--ink); color: var(--white); }

.plan--featured { background: var(--mist); }
.plan--featured .plan__cta { background: var(--coral); color: var(--white); box-shadow: none; }
.plan--featured:hover .plan__cta { box-shadow: none; }
.plan--featured .plan__cta:hover { background: var(--coral-700); }

.plans__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.perks { display: flex; flex-wrap: wrap; gap: 12px 36px; font-weight: 500; }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks svg { width: 20px; height: 20px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   VELOCIDADE
   ========================================================================== */

.speed {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  padding-block: clamp(110px, 14vw, 200px);
}
.speed__lines { position: absolute; inset: 0; pointer-events: none; }
.speed__lines i {
  position: absolute; left: 0; top: var(--t);
  width: var(--w); height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .38));
  transform: translateX(-100%);
  animation: streak var(--s) linear infinite;
  animation-delay: var(--dl);
  animation-play-state: paused;
}
.speed__lines i.is-accent { background: linear-gradient(90deg, rgba(237, 23, 76, 0), var(--coral)); height: 1.5px; }
.speed.is-running .speed__lines i { animation-play-state: running; }
@keyframes streak {
  from { transform: translateX(-100%); }
  to { transform: translateX(calc(100vw + 100%)); }
}

.speed__inner { position: relative; }
.speed__title {
  display: flex; align-items: flex-start; gap: clamp(10px, 1.4vw, 24px);
  margin-top: 28px;
  line-height: .78;
}
.speed__num {
  font-size: clamp(150px, 27vw, 440px);
  font-weight: 600;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}
.speed__unit {
  margin-top: .6em;
  font-family: var(--mono); font-size: clamp(14px, 1.6vw, 24px); font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--coral);
  background: var(--white);
  padding: .5em .8em;
  border-radius: 999px;
  line-height: 1;
}
.speed__text {
  max-width: 440px;
  margin: clamp(40px, 5vw, 64px) 0 0 auto;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, .88);
}

/* ==========================================================================
   BENEFÍCIOS
   ========================================================================== */

.benefits__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}
.benefit {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.benefit::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--coral);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.benefit.is-in::before { transform: scaleX(.18); }
.benefit__icon {
  width: 56px; height: 56px;
  fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.benefit__icon .accent { stroke: var(--coral); }
.benefit__icon .accent-fill { fill: var(--coral); stroke: none; }
.benefit__n {
  display: block;
  margin-top: 56px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted);
}
.benefit h3 { margin-top: 12px; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; }
.benefit p { margin-top: 12px; color: var(--muted); max-width: 260px; }

/* ==========================================================================
   APLICATIVOS
   ========================================================================== */

.apps { background: var(--mist); overflow: hidden; }
.apps__rail { display: grid; gap: 16px; }
.apps__row {
  display: flex; gap: 16px;
  width: max-content;
  padding-left: var(--gutter);
  will-change: transform;
}
.apps__row--alt { margin-left: -180px; }
.app {
  display: flex; flex-direction: column; justify-content: space-between;
  width: clamp(220px, 22vw, 300px);
  height: clamp(132px, 12vw, 164px);
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.app__cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.app__name { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; color: var(--blue); }

.apps__note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px;
  border-top: 1px solid var(--line);
}
.apps__note p { max-width: 640px; color: var(--muted); }
.apps__note strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   EXPERIÊNCIA
   ========================================================================== */

.daily__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 128px);
  align-items: center;
}
.daily__media,
.support__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: var(--mist);
}
.daily__media img,
.support__media img {
  position: absolute; inset: -6% 0;
  width: 100%; height: 112%;
  object-fit: cover;
  transition: scale 1.2s var(--ease-out);
}
.daily__media img { object-position: 22% 50%; }
.daily__media:hover img,
.support__media:hover img { scale: 1.03; }

.daily__lead { margin-top: 24px; max-width: 420px; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }

.live { margin-top: 48px; }
.live__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.live__count { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.live__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--coral);
  animation: dot 2s var(--ease-out) infinite;
}
@keyframes dot { from { transform: scale(1); opacity: 1; } to { transform: scale(3); opacity: 0; } }

.live__list {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.live__list li {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.live__list li:nth-child(odd) { padding-right: 24px; }
.live__list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.live__list li::after {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line);
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.live__list li.is-on::after { background: var(--coral); box-shadow: 0 0 0 5px rgba(237, 23, 76, .12); }
html:not(.js-motion) .live__list li::after { background: var(--coral); }

/* ==========================================================================
   ATENDIMENTO
   ========================================================================== */

.support { background: var(--white); }
.support__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 128px);
  align-items: center;
}
.support__copy h2 { margin-top: 24px; }
.support__lead { margin-top: 24px; max-width: 460px; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.support__list { margin: 40px 0 44px; border-top: 1px solid var(--line); }
.support__list li {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 500; letter-spacing: -0.015em;
}
.support__list svg {
  width: 28px; height: 28px; flex: none;
  fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.support__list .accent { stroke: var(--coral); }
.support__media { aspect-ratio: 5 / 6; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.final {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  padding-block: clamp(120px, 16vw, 240px);
  text-align: center;
}
.final__waves { position: absolute; left: 50%; top: 62%; width: 0; height: 0; }
.final__waves span {
  position: absolute; left: -200px; top: -200px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  opacity: 0;
  animation: finalWave 8s var(--ease-out) infinite;
  animation-play-state: paused;
}
.final__waves span:nth-child(2) { animation-delay: 2s; }
.final__waves span:nth-child(3) { animation-delay: 4s; }
.final__waves span:nth-child(4) { animation-delay: 6s; }
.final.is-running .final__waves span { animation-play-state: running; }
@keyframes finalWave {
  0% { transform: scale(.3); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: scale(4.2); opacity: 0; }
}
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final h2 { max-width: 980px; font-size: clamp(42px, 6.4vw, 104px); }
.final__lead { margin-top: 28px; max-width: 480px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .8); }
.final .btn { margin-top: 44px; }
.final__meta {
  margin-top: 28px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.final__meta span { color: var(--coral); margin-inline: 8px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer { background: var(--white); padding-top: clamp(72px, 8vw, 112px); font-size: 15px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: 40px;
  padding-bottom: 64px;
}
.footer__brand img { width: auto; height: 34px; }
.footer__brand p { margin-top: 20px; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.6; }
.footer__col .link { color: var(--ink); }
.footer__title {
  margin-bottom: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* ==========================================================================
   WHATSAPP
   ========================================================================== */

.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  display: flex; align-items: center;
  height: 58px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(10, 26, 43, .45);
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out), background-color .4s;
}
.wa-float__icon { display: grid; place-items: center; width: 58px; height: 58px; flex: none; }
.wa-float__icon svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 15px; font-weight: 500;
  opacity: 0;
  transition: max-width .6s var(--ease-out), opacity .4s var(--ease-out), padding .6s var(--ease-out);
}
.wa-float:hover { background: var(--blue); }
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { max-width: 220px; opacity: 1; padding-left: 24px; }

.mbar { display: none; }

/* ==========================================================================
   ANIMAÇÃO — estados iniciais genéricos
   ========================================================================== */

.js-motion [data-reveal],
.js-motion [data-plan],
.js-motion [data-benefit] { opacity: 0; transform: translateY(32px); }
.js-motion [data-split] .w > span { transform: translateY(105%); }
.js-motion [data-mask] { clip-path: inset(14% 8% 14% 8% round 28px); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header__client { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: 8px; }

  .plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--featured { grid-column: 1 / -1; }
  .plan--featured::before { display: none; }

  .benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__logo img { height: 26px; }
  .header .btn--sm { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-right: var(--gutter);
    margin-left: 0;
  }
  .hero__copy { padding-block: 16px 0; }
  .hero__eyebrow { margin-bottom: 24px; }
  .hero__title { font-size: clamp(42px, 11.4vw, 60px); }
  .hero__lead { margin-top: 20px; }
  .hero__ctas { margin-top: 28px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__meta { margin-top: 32px; }
  .hero__media { height: 58vw; min-height: 260px; max-height: 460px; border-radius: 20px; }
  .js-motion [data-hero-media] { clip-path: inset(0 0 100% 0 round 20px); }
  .hero__cue { display: none; }
  .hero { padding-bottom: 48px; }

  .journey__progress { right: auto; left: var(--gutter); top: calc(var(--header-h) + 20px); transform: none; }
  .journey__progress ol { display: none; }
  .journey__progress-bar { width: calc(100vw - var(--gutter) * 2); height: 1px; }
  .journey__progress-bar i { transform: scaleX(0); transform-origin: left; }
  .journey__intro,
  .journey__captions { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .journey__interior svg { width: auto; height: 62%; max-width: none; aspect-ratio: 16 / 9; }

  .section-head--split { grid-template-columns: 1fr; gap: 0; }
  .section-head--split .section-head__lead { margin-top: 24px; }

  .daily__grid,
  .support__grid { grid-template-columns: 1fr; }
  .daily__media { aspect-ratio: 4 / 3.4; }
  .support__media { aspect-ratio: 4 / 3.4; order: -1; }

  .speed__text { margin-left: 0; }

  /* WhatsApp: barra inferior no mobile */
  .wa-float { display: none; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: block;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 rgba(10, 26, 43, .06);
    transform: translateY(110%);
    transition: transform .6s var(--ease-out);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn { height: 52px; }
  .footer { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .plans__grid { grid-template-columns: 1fr; border-top: 0; }
  .plan { padding: 32px 24px 36px; border-radius: 24px; }
  .plan + .plan::before { display: none; }
  .plan:not(.plan--featured) { border-color: var(--line); }
  .plan + .plan { margin-top: 16px; }
  .plan__desc { min-height: 0; }

  .benefits__list { grid-template-columns: 1fr; gap: 0; }
  .benefit {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 20px;
    padding-block: 28px;
  }
  .benefit__icon { grid-row: span 3; width: 40px; height: 40px; }
  .benefit__n { margin-top: 0; }
  .benefit h3 { margin-top: 6px; }
  .benefit p { margin-top: 6px; }

  .live__list { grid-template-columns: 1fr; }
  .live__list li:nth-child(n) { padding: 16px 0; border-left: 0; }

  .footer__grid { grid-template-columns: 1fr; }
  .speed__title { flex-direction: column; gap: 20px; }
  .speed__unit { margin-top: 0; }
}

/* ==========================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__fiber-packet,
  .wifi circle,
  .speed__lines,
  .final__waves { display: none; }
}
