:root {
  --night: #070b1f;
  --night-2: #0d1433;
  --ink: #0c1230;
  --muted: #5a6585;
  --muted-dark: #9aa6cf;
  --mist: #f3f6fd;
  --line: #dfe5f4;
  --line-dark: rgba(255, 255, 255, .12);
  --white: #fff;
  --violet: #6d5efc;
  --cyan: #22d3ee;
  --mint: #34f5c5;
  --grad: linear-gradient(120deg, #6d5efc 0%, #22d3ee 100%);
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(7, 11, 31, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.brand { display: inline-flex; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: #c9d3f5; text-decoration: none; font-weight: 500; font-size: 0.98rem; transition: color .15s; }
.menu a:hover { color: var(--white); }
.menu .menu-cta { background: var(--grad); color: var(--night); padding: 9px 20px; border-radius: 999px; font-weight: 600; }
.menu .menu-cta:hover { color: var(--night); filter: brightness(1.1); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); padding: 8px 14px; border-radius: 8px; font: inherit; }

/* Botões */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); font-size: 1rem; transition: transform .15s, filter .15s, border-color .15s, background .15s; }
.btn-primary { background: var(--grad); color: var(--night); box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .6); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }

/* Hero */
.hero { position: relative; color: var(--white); background:
  radial-gradient(60% 50% at 80% 10%, rgba(109, 94, 252, .55), transparent 70%),
  radial-gradient(50% 45% at 10% 90%, rgba(34, 211, 238, .28), transparent 70%),
  var(--night);
  padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 85%); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; background: linear-gradient(180deg, #fff 30%, #b9c6f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--muted-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-note { color: var(--muted-dark); font-size: 0.95rem; margin: 0; }

/* Demonstração: celular com ondas de Wi-Fi */
.hero-demo { position: relative; justify-self: center; text-align: center; padding: 20px 0; }
.waves { position: absolute; left: 50%; top: 46%; width: 0; height: 0; pointer-events: none; }
.waves span { position: absolute; left: 0; top: 0; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; border: 2px solid rgba(34, 211, 238, .45); opacity: 0; animation: onda 4.8s ease-out infinite; }
.waves span:nth-child(2) { animation-delay: 1.2s; }
.waves span:nth-child(3) { animation-delay: 2.4s; }
.waves span:nth-child(4) { animation-delay: 3.6s; }
@keyframes onda { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

.phone { position: relative; z-index: 1; width: 292px; margin-inline: auto; background: #04070f; border-radius: 42px; padding: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 80px -10px rgba(109, 94, 252, .55); }
.phone-notch { position: absolute; top: 19px; left: 50%; width: 84px; height: 20px; margin-left: -42px; background: #04070f; border-radius: 0 0 14px 14px; z-index: 2; }
.portal { background: var(--white); color: var(--ink); border-radius: 32px; overflow: hidden; text-align: left; min-height: 520px; display: flex; flex-direction: column; }
.portal-head { background: linear-gradient(135deg, #1a1f63, #0d1433); color: var(--white); padding: 44px 18px 16px; }
.portal-logo { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.portal-net { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: #b7c4f3; margin-top: 2px; }
.portal-net i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: inline-block; box-shadow: 0 0 0 0 rgba(52, 245, 197, .7); animation: pulso 2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 8px rgba(52, 245, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 245, 197, 0); } }
.portal-tabs { display: flex; border-bottom: 1px solid var(--line); }
.portal-tabs button { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 4px; font: 600 0.82rem var(--font-body); color: var(--muted); cursor: pointer; }
.portal-tabs button[aria-selected="true"] { color: var(--violet); border-bottom-color: var(--violet); }
.portal-body { padding: 18px; flex: 1; }
.portal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0 0 6px; }
.portal-text { font-size: 0.86rem; color: var(--muted); margin: 0 0 14px; line-height: 1.45; }
.portal-field { display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 0.86rem; color: var(--muted); margin-bottom: 8px; }
.portal-field b { color: var(--ink); font-weight: 600; }
.portal-speed { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.82rem; color: var(--muted); margin: 14px 0; }
.portal-speed strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.portal-btn { background: var(--grad); color: var(--night); text-align: center; font-weight: 700; padding: 12px; border-radius: 10px; }
.portal-banner { background: #fff4de; color: #6b4a08; font-size: 0.8rem; padding: 12px 18px; }
.demo-caption { position: relative; z-index: 1; font-size: 0.85rem; color: var(--muted-dark); margin: 22px auto 0; max-width: 34ch; }

.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--white); background: rgba(13, 20, 51, .75); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.chip-a { right: calc(50% + 160px); top: 26%; animation: flutua 6s ease-in-out infinite; }
.chip-b { right: calc(50% + 160px); bottom: 28%; animation: flutua 7s ease-in-out infinite reverse; }
@keyframes flutua { 50% { transform: translateY(-12px); } }

/* Seções */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.light { background: var(--white); }
.light:nth-of-type(even) { background: var(--mist); }
.dark { background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.dark p { color: var(--muted-dark); }
.dark.deep { background: radial-gradient(60% 80% at 100% 0%, rgba(109, 94, 252, .35), transparent 70%), var(--night-2); }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-head { position: sticky; top: 100px; }
.split-head h2 { margin-bottom: 20px; }
.light .split-head p { color: var(--muted); }
.narrow { max-width: 20ch; margin-bottom: 44px; }

.rows { margin: 0; }
.row { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; transition: padding-left .2s; }
.row:hover { padding-left: 10px; }
.row:last-child { border-bottom: 1px solid var(--line); }
.rows dt { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.rows dd { margin: 0; color: var(--muted); }

/* Qualidade: torre de hotel com quartos conectados */
.dark#qualidade::before { content: ""; position: absolute; width: 620px; height: 620px; left: -200px; top: 50%; margin-top: -310px; background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 65%); pointer-events: none; }
.quality { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quality h2 { margin-bottom: 20px; }
.tower-wrap { display: grid; place-items: center; }
.tower { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: min(320px, 100%); padding: 22px; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, #131b47, #0b1130); border: 1px solid var(--line-dark); box-shadow: 0 30px 70px -20px rgba(109, 94, 252, .5); position: relative; }
.tower::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 34px; background: var(--cyan); }
.tower::after { content: ""; position: absolute; left: 50%; top: -42px; width: 14px; height: 14px; margin-left: -6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); animation: pulso 2s infinite; }
.win { aspect-ratio: 3 / 4; border-radius: 4px; background: #1b2358; transition: background .6s, box-shadow .6s; }
.win.on { background: linear-gradient(180deg, #ffe9a8, #ffcf66); box-shadow: 0 0 14px rgba(255, 207, 102, .5); }
.win.wifi { background: linear-gradient(180deg, #8ff3ff, #22d3ee); box-shadow: 0 0 16px rgba(34, 211, 238, .75); }

.checks { list-style: none; margin: 28px 0 0; padding: 0; }
.checks li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line-dark); font-weight: 500; }
.checks li:last-child { border-bottom: 1px solid var(--line-dark); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 16px; height: 9px; border-left: 3px solid var(--mint); border-bottom: 3px solid var(--mint); transform: rotate(-45deg); }

/* Tarifação */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plans article { padding: 28px 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.plans article:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(109, 94, 252, .55); border-color: #c9c3ff; }
.plans svg, .prose svg { width: 40px; height: 40px; fill: none; stroke: var(--violet); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plans svg { margin-bottom: 18px; padding: 8px; width: 48px; height: 48px; border-radius: 14px; background: #efedff; }
.plans h3 { margin-bottom: 10px; }
.plans p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.steps li { counter-increment: passo; position: relative; padding: 0 0 34px 68px; }
.steps li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: var(--night); display: grid; place-items: center; font: 800 1.1rem var(--font-display); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 50px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), transparent); opacity: .5; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }
.dark .split-head p { color: var(--muted-dark); }

/* Segurança */
.prose-item { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.prose-item:last-child { border-bottom: 1px solid var(--line); }
.prose-item svg { flex: none; width: 52px; height: 52px; padding: 10px; border-radius: 16px; background: #efedff; }
.prose h3 { margin: 0 0 8px; }
.prose p { color: var(--muted); margin: 0; }

/* Contato */
.contact-band { background: radial-gradient(55% 70% at 100% 100%, rgba(34, 211, 238, .25), transparent 70%), radial-gradient(55% 70% at 0% 0%, rgba(109, 94, 252, .4), transparent 70%), var(--night); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { margin-bottom: 16px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.contact-list span { color: var(--muted-dark); }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(34, 211, 238, .6); }
.contact-list a:hover { color: var(--cyan); }

#contact-form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .7); }
#contact-form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 16px; }
#contact-form input, #contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: var(--mist); }
#contact-form input:focus, #contact-form textarea:focus { outline: 3px solid #cfcaff; border-color: var(--violet); background: var(--white); }
#contact-form .btn { width: 100%; }
#contact-form .invalid { border-color: #d6334a; }
.form-status { margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); min-height: 1.4em; }

.footer { background: #04061a; color: var(--muted-dark); padding: 32px 0; font-size: 0.92rem; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { margin: 0; }

/* Entrada ao rolar a página */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .quality, .contact { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .chip { display: none; }
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: rgba(7, 11, 31, .97); padding: 8px 16px 20px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; width: 100%; }
  .menu .menu-cta { width: auto; margin-top: 8px; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
  .waves span { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Botão flutuante de WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: #25d366; color: #06301a; font-weight: 700; text-decoration: none; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .8); transition: transform .15s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
