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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 14px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Faixa da oferta (assinatura da campanha) ---------- */
.offer-band {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.015em;
  border-radius: var(--radius);
}
/* brilho que atravessa a faixa de tempos em tempos */
.offer-band::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg) translateX(0);
  animation: shine 5.5s var(--ease-out) 1.6s infinite;
  pointer-events: none;
}
@keyframes shine {
  0%   { transform: skewX(-18deg) translateX(0); }
  28%, 100% { transform: skewX(-18deg) translateX(520%); }
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(38, 172, 220, 0);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(38, 172, 220, .7);
}
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 12px; }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(1, 6, 12, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header__logo img { height: 26px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color .2s;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- Topo ---------- */
.hero {
  --mx: 0;
  --my: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  background:
    radial-gradient(ellipse 60% 50% at 68% 8%, rgba(12, 58, 122, .95) 0%, rgba(12, 58, 122, .35) 45%, rgba(12, 58, 122, 0) 75%),
    linear-gradient(180deg, #05121E 0%, var(--bg-navy) 50%, var(--bg-deep) 100%);
}

/* ruído/trama sutil (SVG inline, sem imagem pesada) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* grade de pontos bem leve, some nas bordas */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(152, 202, 215, .16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 70% 45%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 60% at 70% 45%, #000 0%, transparent 75%);
}

/* brilho que segue o cursor (desktop) */
.hero__spot {
  position: absolute;
  z-index: -1;
  width: 560px; height: 560px;
  left: calc(50% - 280px); top: calc(40% - 280px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 172, 220, .16), transparent 65%);
  transform: translate(calc(var(--mx) * 260px), calc(var(--my) * 180px));
  transition: transform .6s var(--ease-out);
  pointer-events: none;
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  padding-top: 32px;
  padding-bottom: 96px;
}

/* --- coluna de texto --- */
.hero__copy { max-width: 540px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  background: rgba(2, 14, 24, .55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow .dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow .dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(3.2); opacity: 0; }
}

.hero__title { margin: 0; }
.hero__question {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.15;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.hero__offer {
  padding: .26em .42em .22em;
  font-size: clamp(30px, 3.6vw, 50px);
}

.hero__support {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--text);
}
.hero__support strong { font-weight: 700; color: var(--accent); }

/* resposta direta (AEO): explica a oferta em uma frase */
.hero__answer {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(185, 215, 230, .78);
}

/* contagem regressiva */
.countdown {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.countdown__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.countdown__units { display: flex; gap: 6px; }
.countdown__unit {
  min-width: 52px;
  padding: 7px 6px 6px;
  border: 1px solid var(--line);
  background: rgba(2, 14, 24, .6);
  text-align: center;
}
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.countdown__num.tick { animation: tick .45s var(--ease-out); }
@keyframes tick {
  0% { transform: translateY(-35%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.countdown__unit small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.hero__proof img { height: 22px; width: auto; }

/* --- coluna do KV --- */
.hero__visual {
  position: relative;
  transform: translate(calc(var(--mx) * -14px), calc(var(--my) * -10px));
  transition: transform .8s var(--ease-out);
}
.hero__kv {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  margin-inline: auto;
}
.hero__float { animation: float 7s ease-in-out 1.4s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ondas de sinal saindo do ponto do Wi-Fi do KV */
.signal {
  position: absolute;
  z-index: 0;
  left: 31%;
  top: 72%;
  width: 0; height: 0;
  pointer-events: none;
}
.signal span {
  position: absolute;
  left: -380px; top: -380px;
  width: 760px; height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(38, 172, 220, .5);
  opacity: 0;
  transform: scale(.08);
  animation: wave 6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.signal span:nth-child(2) { animation-delay: 2s; }
.signal span:nth-child(3) { animation-delay: 4s; }
@keyframes wave {
  0% { transform: scale(.08); opacity: 0; }
  12% { opacity: .55; }
  100% { transform: scale(1); opacity: 0; }
}

/* glow pulsando atrás do lettering */
.hero__visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 15%; top: 10%;
  width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 172, 220, .28), transparent 70%);
  filter: blur(20px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .55; transform: scale(.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* rótulo de data, em diagonal como o lettering */
.hero__stamp {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 4%;
  padding: 8px 12px;
  border: 1px solid rgba(38, 172, 220, .45);
  background: rgba(1, 6, 12, .7);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  transform: rotate(-6deg);
}
.hero__stamp b { color: var(--text); font-weight: 700; }

/* ---------- Faixa corrida no pé do topo ---------- */
.ticker {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 22px;
  z-index: 3;
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 40px -10px rgba(38, 172, 220, .55);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 16px; height: 13px;
  background: currentColor;
  /* mini símbolo de Wi-Fi como separador */
  -webkit-mask: var(--wifi-icon) center / contain no-repeat;
          mask: var(--wifi-icon) center / contain no-repeat;
}
.ticker {
  --wifi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 19' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M2 7a14 14 0 0 1 20 0'/%3E%3Cpath d='M5.5 10.8a9 9 0 0 1 13 0'/%3E%3Cpath d='M9 14.5a4.2 4.2 0 0 1 6 0'/%3E%3Ccircle cx='12' cy='17.3' r='1.2' fill='%23000'/%3E%3C/svg%3E");
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- Entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .9s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 100ms);
}
.reveal--kv {
  transform: translateY(24px) scale(.96);
  filter: blur(6px);
  animation: riseKv 1.2s var(--ease-out) .15s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes riseKv { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Barra fixa do celular ---------- */
.sticky-offer {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(1, 6, 12, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .4s var(--ease-out);
}
.sticky-offer.is-visible { transform: none; }
.sticky-offer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  text-decoration: none;
}
.sticky-offer__title { font-size: 19px; }
.sticky-offer__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .hero { min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 92px;
    text-align: center;
  }
  .hero__visual { order: -1; max-width: 420px; width: 100%; margin-inline: auto; }
  .hero__copy { margin-inline: auto; }
  .hero__answer { margin-inline: auto; }
  .countdown, .hero__ctas, .hero__proof { justify-content: center; }
  .hero__spot { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 56px; }
  .site-header__logo img { height: 22px; }
  .eyebrow { margin-bottom: 16px; font-size: 11px; }
  .hero__visual { max-width: 300px; }
  .hero__stamp { font-size: 10px; padding: 6px 9px; right: -2%; bottom: 0; }
  .signal span { left: -240px; top: -240px; width: 480px; height: 480px; }
  .hero__question { margin-bottom: 10px; }
  .hero__offer { font-size: clamp(26px, 8.4vw, 34px); }
  .hero__answer { font-size: 14px; }
  .site-header .btn--sm { min-height: 36px; padding: 6px 12px; font-size: 11px; }
  .hero__support .until { display: none; }
  .countdown { gap: 12px; margin-top: 20px; text-align: left; }
  .countdown__label { font-size: 11px; }
  .countdown__unit { min-width: 48px; padding-inline: 4px; }
  .countdown__num { font-size: 18px; }
  .hero__ctas { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero__ctas .btn { width: 100%; }
  .hero__proof { margin-top: 24px; font-size: 12px; }
  .ticker__item { font-size: 13px; padding-block: 8px; }
}

@media (min-width: 1024px) {
  .sticky-offer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .signal, .offer-band::after { display: none; }
}
