/* =========================================================
   RMNet — Provedor de Internet Fibra Óptica
   Direção visual: Grafite premium fibra (azul + laranja)
   Fonts: Sora (display) · Plus Jakarta Sans (texto) · JetBrains Mono (técnico)
   Desenvolvido por GLA Solutions
   ========================================================= */

:root {
  /* Base grafite */
  --bg:        #0b0d12;
  --bg-2:      #0f1219;
  --bg-3:      #141824;
  --surface:   #161b28;
  --surface-2: #1b2130;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);

  /* Marca */
  --blue:      #1e90ff;
  --blue-2:    #47a6ff;
  --blue-deep: #0f6fd6;
  --orange:    #ff5a1f;
  --orange-2:  #ff7a45;

  /* Texto */
  --text:      #eef2f8;
  --muted:     #a4adbe;
  --faint:     #6d768a;

  /* Efeitos */
  --grad-brand: linear-gradient(100deg, var(--blue) 0%, var(--blue-deep) 45%, var(--orange) 130%);
  --grad-cta:   linear-gradient(100deg, var(--blue) 0%, var(--orange) 100%);
  --glow-blue:  0 0 0 1px rgba(30,144,255,.35), 0 18px 50px -18px rgba(30,144,255,.55);
  --glow-orange:0 0 0 1px rgba(255,90,31,.35), 0 18px 50px -18px rgba(255,90,31,.5);
  --shadow:     0 24px 60px -28px rgba(0,0,0,.85);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1180px;

  /* Superfícies dependentes de tema */
  --nav-bg:       rgba(11,13,18,.78);
  --ghost-bg:     rgba(255,255,255,.04);
  --glass:        rgba(20,24,36,.9);
  --featured-bg:  #1d2333;
  --help-bg:      #14243a;
  --cta-grad:     linear-gradient(150deg, #14304d, #1a1d29 55%, #2a1712);
  --atmos:        radial-gradient(60% 50% at 12% 8%, rgba(30,144,255,.14), transparent 60%),
                  radial-gradient(55% 45% at 92% 12%, rgba(255,90,31,.10), transparent 60%),
                  radial-gradient(70% 60% at 50% 108%, rgba(30,144,255,.08), transparent 60%);
  --noise-op:     .35;

  --ff-display: 'Sora', system-ui, sans-serif;
  --ff-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* =========================================================
   TEMA CLARO
   ========================================================= */
:root[data-theme="light"] {
  --bg:        #f4f6fb;
  --bg-2:      #ffffff;
  --bg-3:      #e9edf5;
  --surface:   #ffffff;
  --surface-2: #f1f4fa;
  --line:      rgba(15,23,42,.10);
  --line-2:    rgba(15,23,42,.18);

  --blue-2:    #0f6fd6;   /* tom mais escuro para leitura em fundo claro */
  --orange-2:  #d9450f;

  --text:      #101828;
  --muted:     #55617a;
  --faint:     #7b869c;

  --glow-blue:   0 0 0 1px rgba(30,144,255,.35), 0 18px 44px -18px rgba(30,144,255,.42);
  --glow-orange: 0 0 0 1px rgba(255,90,31,.35), 0 18px 44px -18px rgba(255,90,31,.38);
  --shadow:      0 22px 50px -26px rgba(16,24,40,.28);

  --nav-bg:      rgba(255,255,255,.82);
  --ghost-bg:    rgba(15,23,42,.03);
  --glass:       rgba(255,255,255,.92);
  --featured-bg: #fff3ec;
  --help-bg:     #eaf2ff;
  --cta-grad:    linear-gradient(150deg, #e3f0ff, #f6f8fc 55%, #ffeee6);
  --atmos:       radial-gradient(60% 50% at 12% 8%, rgba(30,144,255,.10), transparent 60%),
                 radial-gradient(55% 45% at 92% 12%, rgba(255,90,31,.08), transparent 60%),
                 radial-gradient(70% 60% at 50% 108%, rgba(30,144,255,.06), transparent 60%);
  --noise-op:    .10;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  transition: background .35s ease, color .35s ease;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Atmosfera de fundo: brilhos suaves + grão */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--atmos), var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--noise-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.mono { font-family: var(--ff-mono); }

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

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 62px; height: 62px; position: relative;
}
.loader-ring span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
}
.loader-ring span:nth-child(1) { border-top-color: var(--blue);   animation: spin 1s linear infinite; }
.loader-ring span:nth-child(2) { inset: 10px; border-top-color: var(--orange); animation: spin 1.4s linear infinite reverse; }
.loader-ring span:nth-child(3) { inset: 20px; border-top-color: var(--blue-2); animation: spin .8s linear infinite; }
.loader-dot { position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 16px var(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--ff-display); font-weight: 700; letter-spacing: -.02em; }
.brand img { height: 40px; width: auto; }
.brand .wordmark { font-size: 1.28rem; }
.brand .wordmark b { color: var(--blue); }
.brand .wordmark i { color: var(--orange); font-style: normal; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: .94rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad-cta); transition: width .25s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Botão de tema (claro/escuro) */
.theme-toggle {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--ghost-bg); color: var(--text);
  display: grid; place-items: center; position: relative;
  transition: border-color .25s, background .25s, transform .25s;
}
.theme-toggle:hover { border-color: var(--blue); transform: rotate(-15deg); }
.theme-toggle svg { width: 19px; height: 19px; position: absolute; transition: opacity .3s ease, transform .4s ease; }
.theme-toggle .i-sun  { opacity: 0; transform: rotate(-90deg) scale(.5); color: var(--orange); }
.theme-toggle .i-moon { opacity: 1; transform: rotate(0) scale(1); color: var(--blue-2); }
:root[data-theme="light"] .theme-toggle .i-sun  { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="light"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }

.burger { display: none; background: none; border: 0; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: .95rem;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-cta {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 14px 40px -16px rgba(255,90,31,.7);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -14px rgba(255,90,31,.8); }
.btn-ghost { background: var(--ghost-bg); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1);
}
body.menu-open .mobile-menu { transform: translateY(0); }
.mobile-menu a { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 600; color: var(--text); padding: 12px; }
.mobile-menu a span { color: var(--orange); }
.mobile-menu .btn-cta { margin-top: 22px; font-size: 1.1rem; }

/* ---------- Section shells ---------- */
section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-cta); }
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(130px, 18vw, 180px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(30,144,255,.08); border: 1px solid rgba(30,144,255,.25);
  font-size: .82rem; color: var(--blue-2); margin-bottom: 26px; font-weight: 500;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 0 rgba(53,208,127,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(53,208,127,0); } 100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); } }

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.15rem); }
.hero h1 .g { background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 1.16rem; margin: 24px 0 34px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .m b { font-family: var(--ff-display); font-size: 1.5rem; display: block; }
.hero-meta .m span { color: var(--faint); font-size: .82rem; }

/* Hero visual: painel de velocidade */
.hero-visual { position: relative; }
.speed-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: 24px;
  padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.speed-card::before {
  content: ""; position: absolute; top: -40%; right: -30%; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(30,144,255,.28), transparent 62%); filter: blur(4px);
}
.speed-card .sc-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.speed-card .sc-top small { color: var(--faint); font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; }
.sc-live { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; color: #35d07f; font-family: var(--ff-mono); }
.sc-live i { width: 7px; height: 7px; border-radius: 50%; background: #35d07f; display: inline-block; animation: pulse 2s infinite; }
.speed-num { font-family: var(--ff-display); font-weight: 800; font-size: 4.6rem; line-height: 1; margin: 18px 0 2px; letter-spacing: -.04em; position: relative; }
.speed-num sub { font-size: 1.3rem; color: var(--orange); font-weight: 700; vertical-align: baseline; margin-left: 4px; }
.speed-card .sc-label { color: var(--muted); font-size: .95rem; position: relative; }
.sc-bars { display: flex; gap: 6px; margin-top: 24px; height: 46px; align-items: flex-end; position: relative; }
.sc-bars i { flex: 1; background: linear-gradient(180deg, var(--blue), rgba(30,144,255,.2)); border-radius: 4px 4px 2px 2px; animation: bar 3s ease-in-out infinite; }
.sc-bars i:nth-child(even) { background: linear-gradient(180deg, var(--orange), rgba(255,90,31,.2)); }
@keyframes bar { 0%,100% { height: 32%; } 50% { height: 100%; } }
.sc-bars i:nth-child(1){animation-delay:0s}.sc-bars i:nth-child(2){animation-delay:.28s}.sc-bars i:nth-child(3){animation-delay:.56s}.sc-bars i:nth-child(4){animation-delay:.84s}.sc-bars i:nth-child(5){animation-delay:1.12s}.sc-bars i:nth-child(6){animation-delay:1.4s}.sc-bars i:nth-child(7){animation-delay:1.68s}.sc-bars i:nth-child(8){animation-delay:1.96s}

.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: var(--glass); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 11px 14px; font-size: .84rem; font-weight: 500; box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.floating-chip svg { width: 18px; height: 18px; }
.chip-1 { top: -18px; left: -14px; animation: float 5s ease-in-out infinite; }
.chip-2 { bottom: -18px; right: -10px; animation: float 5s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* Linha de fibra decorativa */
.fiber-line { position: absolute; left: 0; right: 0; height: 1px; overflow: hidden; }
.fiber-line::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--blue), var(--orange), transparent); opacity: .5; }

/* ---------- Trust strip ---------- */
.trust { padding: 0; margin-top: -10px; }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.trust-item { background: var(--bg-2); padding: 26px 22px; text-align: center; position: relative; z-index: 0; transition: background .35s ease; }
.trust-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(130% 90% at 50% 0%, rgba(30,144,255,.20), transparent 70%);
  transition: opacity .4s ease;
}
.trust-item:hover { background: var(--surface); }
.trust-item:hover::before { opacity: 1; }
.trust-item svg { width: 26px; height: 26px; color: var(--blue-2); margin-bottom: 10px; transition: color .3s ease, transform .35s ease, filter .35s ease; }
.trust-item:hover svg { color: var(--blue); transform: translateY(-3px) scale(1.08); filter: drop-shadow(0 0 10px rgba(30,144,255,.65)); }
.trust-item b { font-family: var(--ff-display); display: block; font-size: 1.02rem; }
.trust-item span { color: var(--faint); font-size: .84rem; }

/* ---------- Planos ---------- */
.plans-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.plan {
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(30,144,255,.4); box-shadow: var(--glow-blue); }
.plan .speed { font-family: var(--ff-mono); font-size: .8rem; color: var(--faint); letter-spacing: .14em; text-transform: uppercase; }
.plan .mega { font-family: var(--ff-display); font-weight: 800; font-size: 2.9rem; line-height: 1; margin: 8px 0 2px; letter-spacing: -.03em; }
.plan .mega sub { font-size: 1rem; color: var(--blue-2); vertical-align: baseline; font-weight: 600; }
.plan .price { margin: 16px 0 4px; }
.plan .price .cur { font-size: .95rem; color: var(--muted); vertical-align: top; }
.plan .price .val { font-family: var(--ff-display); font-weight: 700; font-size: 2rem; }
.plan .price .per { color: var(--faint); font-size: .85rem; }
.plan .discount {
  font-size: .82rem; color: var(--orange-2); background: rgba(255,90,31,.09);
  border: 1px solid rgba(255,90,31,.22); border-radius: 8px; padding: 7px 10px; margin-top: 6px;
  display: flex; gap: 7px; align-items: flex-start; line-height: 1.35;
}
.plan .discount svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.plan .plan-cta { margin-top: 20px; }
.plan .btn-ghost { font-size: .9rem; padding: 12px; }

.plan.featured {
  border-color: rgba(255,90,31,.5);
  background: linear-gradient(170deg, var(--featured-bg), var(--bg-2));
  box-shadow: var(--glow-orange);
  grid-row: span 1;
}
.plan.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: var(--grad-cta); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; pointer-events: none;
}
.plan.featured .tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad-cta); color: #fff; padding: 5px 10px; border-radius: 999px; font-weight: 600;
}
.plan.featured .mega sub { color: var(--orange); }
.plan.featured .plan-cta .btn { background: var(--grad-cta); color: #fff; border: 0; }

/* Card de ajuda dentro da grade de planos */
.plan-help {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: linear-gradient(160deg, var(--help-bg), var(--bg-2));
}
.plan-help .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(30,144,255,.14); border: 1px solid var(--line-2);
  margin-bottom: 14px; color: var(--blue-2);
}
.plan-help h3 { font-size: 1.15rem; margin-bottom: 8px; }
.plan-help p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }

.plans-note { text-align: center; margin-top: 30px; color: var(--faint); font-size: .9rem; }
.plans-note b { color: var(--muted); }

/* ---------- Benefícios ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; z-index: 0; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.benefit::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120% 85% at 50% 0%, rgba(255,90,31,.18), transparent 70%);
  transition: opacity .4s ease;
}
.benefit:hover { border-color: rgba(255,90,31,.4); transform: translateY(-6px); box-shadow: var(--glow-orange); }
.benefit:hover::before { opacity: 1; }
.benefit .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(30,144,255,.16), rgba(255,90,31,.12));
  border: 1px solid var(--line-2); margin-bottom: 20px;
  transition: background .35s ease, border-color .35s ease;
}
.benefit:hover .ico { background: linear-gradient(150deg, rgba(255,90,31,.22), rgba(255,90,31,.10)); border-color: rgba(255,90,31,.35); }
.benefit .ico svg { width: 26px; height: 26px; color: var(--blue-2); transition: color .3s ease, transform .35s ease, filter .35s ease; }
.benefit:hover .ico svg { color: var(--orange-2); transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(255,90,31,.6)); }
.benefit h3 { font-size: 1.22rem; margin-bottom: 10px; }
.benefit p { color: var(--muted); font-size: .96rem; }

/* ---------- Cobertura ---------- */
.coverage { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.coverage-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: linear-gradient(150deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 54px);
  position: relative; overflow: hidden;
}
.coverage-wrap::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,90,31,.16), transparent 62%);
}
.coverage h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.coverage .lead { color: var(--muted); margin: 16px 0 26px; font-size: 1.05rem; }
.cov-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.cov-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.cov-list li .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(30,144,255,.12); border: 1px solid rgba(30,144,255,.25); }
.cov-list li .dot svg { width: 18px; height: 18px; color: var(--blue-2); }
.cov-list li small { display: block; color: var(--faint); font-weight: 400; font-size: .82rem; }

/* O painel do mapa permanece escuro nos dois temas (efeito "tela de equipamento") */
.map-card {
  position: relative; aspect-ratio: 1/1; border-radius: 20px; overflow: hidden;
  background: #0f1219;
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.map-card .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 34px 34px; opacity: .5; -webkit-mask-image: radial-gradient(120% 120% at 50% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(120% 120% at 50% 40%, #000 55%, transparent 100%); }

/* Mapa SVG */
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-region { animation: regionFloat 9s ease-in-out infinite; transform-origin: center; }
@keyframes regionFloat { 0%,100% { opacity: .85; } 50% { opacity: 1; } }

.map-fiber { stroke-dasharray: 5 7; animation: fiberFlow 1.6s linear infinite; }
@keyframes fiberFlow { to { stroke-dashoffset: -24; } }

.map-packet { offset-path: path("M150 150 C 205 170, 235 205, 278 258"); offset-rotate: 0deg; animation: packetRun 2.2s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px #fff); }
@keyframes packetRun { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.map-ripple { transform-box: fill-box; transform-origin: center; animation: mapRipple 3.6s ease-out infinite; }
.map-ripple.b { animation-delay: 1.3s; }
@keyframes mapRipple { 0% { transform: scale(.28); opacity: .6; } 80% { opacity: 0; } 100% { transform: scale(1); opacity: 0; } }

.map-node-core { transform-box: fill-box; transform-origin: center; animation: nodePulse 3s ease-in-out infinite; }
@keyframes nodePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.22); } }

.map-legend {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(12,15,22,.8); border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: 7px 13px; font-size: .74rem; font-weight: 500; color: #a4adbe;
  backdrop-filter: blur(6px);
}
.map-legend .live { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 0 rgba(53,208,127,.7); animation: pulse 2s infinite; }
@media (max-width: 480px) { .map-legend .loc { display: none; } .map-legend { font-size: .7rem; padding: 6px 11px; } }

.map-compass {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14); background: rgba(12,15,22,.7);
  display: grid; place-items: center; backdrop-filter: blur(6px);
}
.map-compass b { font-family: var(--ff-mono); font-size: .72rem; color: #47a6ff; }
.map-compass i { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-bottom: 6px solid var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .map-region, .map-fiber, .map-packet, .map-ripple, .map-node-core, .map-legend .live { animation: none !important; }
  .map-packet { opacity: 1; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(30,144,255,.4); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 20px 22px; font-family: var(--ff-display); font-weight: 600; font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .ic { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--blue-2); border-radius: 2px; transition: transform .3s; }
.faq-q .ic::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq-q .ic::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .faq-q .ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 22px; color: var(--muted); margin: 0; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; }
.final-cta .box {
  background: var(--cta-grad);
  border: 1px solid var(--line-2); border-radius: 28px; padding: clamp(40px, 7vw, 72px) 28px;
  position: relative; overflow: hidden;
}
.final-cta .box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(30,144,255,.2), transparent 60%); }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.3rem); position: relative; }
.final-cta p { color: var(--muted); max-width: 520px; margin: 18px auto 32px; font-size: 1.1rem; position: relative; }
.final-cta .btn { position: relative; font-size: 1.05rem; padding: 17px 34px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: .95rem; max-width: 320px; }
.foot-col h4 { font-family: var(--ff-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-col a, .foot-col p { color: var(--muted); font-size: .95rem; display: block; margin-bottom: 12px; transition: color .2s; }
.foot-col a:hover { color: var(--blue-2); }
.foot-col .ln { display: flex; gap: 10px; align-items: flex-start; }
.foot-col .ln svg { width: 17px; height: 17px; color: var(--blue-2); flex-shrink: 0; margin-top: 3px; }
.foot-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-bottom small { color: var(--faint); font-size: .84rem; }
.foot-bottom .credit { color: var(--faint); font-size: .82rem; display: inline-flex; align-items: center; gap: 9px; }
.foot-bottom .credit a { color: var(--muted); }
.foot-bottom .credit a:hover { color: var(--blue-2); }
.credit__status { position: relative; display: inline-flex; width: 9px; height: 9px; flex-shrink: 0; }
.credit__dot {
  position: absolute; inset: 0; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: credit-pulse 1.8s ease infinite;
}
.credit__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: credit-blink 1.8s ease infinite; }
@keyframes credit-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.65); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes credit-blink { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .credit__dot, .credit__dot::after { animation: none; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad-cta); display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(255,90,31,.65), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .25s, box-shadow .3s;
  animation: waPop .5s ease .8s both;
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(30,144,255,.45);
  animation: waRing 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 18px 40px -8px rgba(255,90,31,.8); }
.wa-float svg { width: 30px; height: 30px; color: #fff; position: relative; z-index: 1; }
@keyframes waPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes waRing { 0% { box-shadow: 0 0 0 0 rgba(30,144,255,.45); } 70%,100% { box-shadow: 0 0 0 16px rgba(30,144,255,0); } }
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sc-bars i, .chip-1, .chip-2, .pulse, .sc-live i, .loader-ring span { animation: none !important; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1000px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-visual { max-width: 420px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .coverage-wrap { grid-template-columns: 1fr; }
  .map-card { max-width: 360px; margin-inline: auto; width: 100%; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .plans-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .speed-num { font-size: 3.8rem; }
}
