/* ANR Internet — estilo do site
   Paleta da marca: ciano → roxo → magenta sobre azul-marinho quase preto. */

:root {
  --bg: #070b1a;
  --surface: #0f1630;
  --surface-2: #151d3d;
  --line: rgba(148, 163, 255, .14);
  --text: #e8ecf8;
  --muted: #9aa5c4;
  --cyan: #22d3ee;
  --purple: #8b5cf6;
  --magenta: #d946ef;
  --whats: #25d366;
  --grad: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
  --radius: 18px;
  --header-h: 68px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left));
}

.ico { width: 1.15em; height: 1.15em; flex: none; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .7em 1.4em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(139, 92, 246, .7);
}
.btn-grad:hover { box-shadow: 0 12px 34px -8px rgba(217, 70, 239, .8); }

.btn-whats {
  background: rgba(37, 211, 102, .12);
  border-color: rgba(37, 211, 102, .5);
  color: #d9ffe8;
}
.btn-whats:hover { background: rgba(37, 211, 102, .22); }

.btn-portal {
  min-height: 42px;
  padding: .5em 1.1em;
  font-size: .92rem;
  color: var(--text);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(7, 11, 26, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.marca { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.marca-simbolo { height: 36px; width: auto; }
.marca-nome { height: 30px; width: auto; }

@media (max-width: 420px) {
  .marca-nome { display: none; }
  .btn-portal span { font-size: .88rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 48px) 0 72px;
  text-align: center;
  isolation: isolate;
}
.hero-luz {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(40% 40% at 15% 70%, rgba(34, 211, 238, .18), transparent 70%),
    radial-gradient(40% 40% at 85% 70%, rgba(217, 70, 239, .18), transparent 70%);
}
/* "fibras": feixes finos de luz cruzando o fundo */
.hero-luz::before,
.hero-luz::after {
  content: "";
  position: absolute;
  inset: -50% -20%;
  background: repeating-linear-gradient(
    100deg,
    transparent 0 46px,
    rgba(34, 211, 238, .10) 46px 47px,
    transparent 47px 92px,
    rgba(217, 70, 239, .08) 92px 93px
  );
  transform: rotate(-8deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
  animation: fluxo 14s linear infinite;
}
.hero-luz::after {
  transform: rotate(8deg) scaleX(-1);
  animation-duration: 20s;
  opacity: .7;
}
@keyframes fluxo { to { background-position: 400px 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-luz::before, .hero-luz::after { animation: none; }
}

.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-logo {
  width: clamp(150px, 34vw, 230px);
  filter: drop-shadow(0 10px 40px rgba(139, 92, 246, .45));
}
.hero-local {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .35em .9em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 22, 48, .6);
  color: var(--muted);
  font-size: .9rem;
}
.hero-local .ico { color: var(--cyan); }
.hero h1 {
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 14ch;
}
.hero-sub { max-width: 38rem; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.15rem); }
.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

/* ---------- Seções ---------- */
.planos, .diferenciais { padding: 72px 0; }
.secao-titulo {
  text-align: center;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
}
.secao-sub { text-align: center; color: var(--muted); margin: 10px auto 0; max-width: 36rem; }

/* ---------- Planos ---------- */
.planos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (min-width: 640px) { .planos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .planos-grid { grid-template-columns: repeat(3, 1fr); } }

.plano {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.plano:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .4); }

.plano h3 { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.velocidade { color: var(--muted); font-size: .92rem; }
.preco {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.preco span { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 2px; }

.usos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.usos li {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .3em .75em;
  border-radius: 999px;
  background: rgba(34, 211, 238, .08);
  color: #bdf4fc;
  font-size: .82rem;
}

.btn-plano {
  margin-top: auto;
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border-color: rgba(34, 211, 238, .45);
  color: var(--text);
}
.btn-plano:hover { background: rgba(34, 211, 238, .12); }

/* Destaque: 800 Mega */
.plano--destaque {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #1a1846, var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 20px 60px -20px rgba(217, 70, 239, .55), 0 0 0 1px rgba(139, 92, 246, .2);
}
.plano--destaque:hover { border-color: transparent; }
.plano--destaque h3 { font-size: 2.3rem; }
.plano--destaque .btn-plano {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.selo {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: .3em .9em;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -6px rgba(217, 70, 239, .8);
}

/* ---------- TV ---------- */
.tv {
  padding: 40px 0;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, .12), rgba(139, 92, 246, .16), rgba(217, 70, 239, .12));
  border-block: 1px solid var(--line);
}
.tv-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  text-align: center;
}
.tv-ico { width: 56px; height: 56px; color: var(--magenta); flex: none; }
.tv-texto h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); font-weight: 800; }
.tv-texto p { color: var(--muted); }
.tv-texto strong { color: var(--text); }
@media (min-width: 760px) {
  .tv-inner { flex-wrap: nowrap; justify-content: space-between; text-align: left; }
  .tv-texto { flex: 1; }
}

/* ---------- Diferenciais ---------- */
.dif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 640px) { .dif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dif-grid { grid-template-columns: repeat(4, 1fr); } }
.dif {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.dif .ico {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  color: #fff;
  background: var(--grad);
  margin-bottom: 14px;
}
.dif h3 { font-size: 1.08rem; margin-bottom: 6px; }
.dif p { color: var(--muted); font-size: .94rem; }

/* ---------- Rodapé ---------- */
.site-footer {
  padding: 40px 0 calc(96px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #050815;
  color: var(--muted);
  font-size: .94rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo { height: 34px; width: auto; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  text-decoration: none;
  color: var(--text);
}
.footer-links a:hover { color: var(--cyan); }
.copy { margin-top: 28px; font-size: .82rem; opacity: .7; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .15s ease;
}
.whats-float svg { width: 32px; height: 32px; }
.whats-float:hover { transform: scale(1.07); }
.whats-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whats);
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .whats-float::after { animation: none; opacity: 0; } }
