@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ══════════════════════════════════════════════
   TOKENS
══════════════════════════════════════════════ */
:root {
    --purple:        #6d28d9;
    --purple-light:  #7c3aed;
    --purple-glow:   rgba(109,40,217,0.25);
    --blue:          #0072d2;
    --blue-light:    #2196f3;
    --bg:            #0a0b10;
    --bg-2:          #0e0f16;
    --surface:       rgba(255,255,255,0.04);
    --surface-hover: rgba(255,255,255,0.07);
    --border:        rgba(255,255,255,0.08);
    --border-purple: rgba(109,40,217,0.35);
    --text:          #f0f0f5;
    --muted:         #6b7280;
    --muted-light:   #9ca3af;
    --radius-card:   20px;
    --radius-pill:   99px;
}

/* ══════════════════════════════════════════════
   RESET / BASE
══════════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ══════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 99px; }

/* ══════════════════════════════════════════════
   NOISE / GRID OVERLAY
══════════════════════════════════════════════ */
.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 40%, transparent 100%);
}

/* ══════════════════════════════════════════════
   CONTAINER
══════════════════════════════════════════════ */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 9000;
    padding: 0;
    transition: background .3s, backdrop-filter .3s, border-color .3s, box-shadow .3s;
}
.navbar.scrolled {
    background: rgba(10,11,16,0.90);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    height: 72px;
}

/* Logo */
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
    height: 56px; width: auto;
    filter: drop-shadow(0 0 12px rgba(123,66,245,0.35));
    transition: filter .3s, transform .3s;
}
.nav-logo:hover img {
    filter: drop-shadow(0 0 20px rgba(123,66,245,0.6));
    transform: scale(1.04);
}
.nav-brand {
    font-size: 1.15rem; font-weight: 800;
    color: var(--text); letter-spacing: -.3px;
    line-height: 1;
}
.nav-brand-accent {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Links */
.nav-links {
    display: flex; align-items: center; gap: 6px;
    list-style: none;
}
.nav-links a {
    font-size: .875rem; font-weight: 500; color: var(--muted-light);
    padding: 7px 14px; border-radius: 8px;
    transition: color .2s, background .2s;
    text-decoration: none;
}
.nav-links a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

/* CTA */
.nav-cta {
    display: flex; align-items: center; gap: 10px;
}
.nav-wa span { font-size: .82rem; }

.btn {
    display: inline-flex; align-items: center; gap: 7px;
    border-radius: var(--radius-pill); padding: 10px 22px;
    font-size: .88rem; font-weight: 700; cursor: pointer;
    border: none; font-family: 'Outfit', sans-serif;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    white-space: nowrap; text-decoration: none;
}
.btn:hover  { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg    { width: 16px; height: 16px; flex-shrink: 0; }

.btn-ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--muted-light);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.18); color: var(--text); background: rgba(255,255,255,0.08); }

.btn-primary {
    background: linear-gradient(135deg, var(--purple-light), var(--blue));
    color: white;
    box-shadow: 0 4px 24px rgba(109,40,217,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 32px rgba(109,40,217,0.55); opacity: 1; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-purple);
    color: #c4b5fd;
}
.btn-outline:hover { background: rgba(109,40,217,0.1); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--muted-light); border-radius: 2px;
    transition: transform .3s, opacity .3s;
    margin: 5px 0;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px;
    position: relative; overflow: hidden;
}

.hero-glow {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-glow::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(109,40,217,0.18) 0%, transparent 65%);
    top: -200px; left: -200px;
    animation: glow-drift 16s ease-in-out infinite alternate;
}
.hero-glow::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,114,210,0.12) 0%, transparent 65%);
    bottom: -100px; right: -100px;
    animation: glow-drift2 20s ease-in-out infinite alternate;
}
@keyframes glow-drift  { from{transform:translate(0,0)} to{transform:translate(60px,40px)} }
@keyframes glow-drift2 { from{transform:translate(0,0)} to{transform:translate(-50px,-40px)} }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(109,40,217,0.12);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-pill);
    padding: 6px 14px; margin-bottom: 20px;
    font-size: .78rem; font-weight: 700; color: #c4b5fd;
    letter-spacing: .5px; text-transform: uppercase;
}
.hero-eyebrow svg { width: 12px; height: 12px; }

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900; line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.hero-title .gradient {
    background: linear-gradient(135deg, #fff 30%, #c4b5fd 70%, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.05rem; color: var(--muted-light);
    line-height: 1.7; margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
    display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap;
}
.hero-stat-num {
    font-size: 1.8rem; font-weight: 800;
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stat-label { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }

.hero-card-wrap {
    position: relative;
    width: 100%; max-width: 460px;
    overflow: visible;
}

/* ══════════════════════════════════════════════
   SPEEDTEST CARD
══════════════════════════════════════════════ */
.hero-main-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px 28px 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Header */
.spt-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 4px;
}
.spt-label {
    font-size: .65rem; font-weight: 700; letter-spacing: 1.2px;
    color: var(--muted); text-transform: uppercase;
}
.spt-status {
    display: flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 600; color: #34d399;
}
.spt-status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: spt-blink 2s ease-in-out infinite;
}
@keyframes spt-blink { 0%,100%{opacity:1} 50%{opacity:.4} }

/* Gauge */
.spt-gauge-wrap {
    position: relative;
    margin: 0 auto 4px;
    width: 220px; height: 138px;
}
.spt-gauge-svg { width: 100%; height: 100%; overflow: visible; }

/* Trilha animada via JS */
.spt-gauge-arc {
    will-change: stroke-dasharray;
}

/* Agulha — posição inicial, JS anima */
.spt-needle {
    transform: rotate(-90deg);
    transform-origin: 110px 118px;
}

/* Número central */
.spt-gauge-val {
    position: absolute;
    bottom: 2px; left: 50%; transform: translateX(-50%);
    text-align: center; line-height: 1;
}
.spt-val-num {
    display: block;
    font-size: 3rem; font-weight: 900; letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 30%, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.spt-val-unit {
    font-size: .72rem; font-weight: 600;
    color: var(--muted); letter-spacing: 1px; text-transform: uppercase;
}

/* Divisor */
.spt-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 16px 0;
}

/* Métricas */
.spt-metrics { display: flex; flex-direction: column; gap: 12px; }

.spt-metric {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    grid-template-rows: auto 6px;
    column-gap: 12px; row-gap: 6px;
    align-items: center;
}
.spt-metric-icon {
    grid-row: 1 / 3;
    width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.spt-metric-icon svg { width: 15px; height: 15px; }

.spt-down { background: rgba(99,102,241,0.15); color: #818cf8; }
.spt-up   { background: rgba(56,189,248,0.12); color: #38bdf8; }
.spt-ping { background: rgba(52,211,153,0.12); color: #34d399; }

.spt-metric-info {
    display: flex; align-items: baseline; justify-content: space-between;
}
.spt-metric-label {
    font-size: .72rem; font-weight: 500; color: var(--muted);
}
.spt-metric-val {
    font-size: .95rem; font-weight: 800; color: var(--text);
}
.spt-metric-val em { font-style: normal; font-size: .65rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.spt-green { color: #34d399 !important; }

/* Mini barras */
.spt-metric-bar {
    grid-column: 2 / 4;
    height: 4px; border-radius: 99px;
    background: rgba(255,255,255,0.06); overflow: hidden;
}
.spt-metric-bar-fill {
    height: 100%; border-radius: 99px;
    width: 0;
    animation: spt-bar .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes spt-bar { to { width: var(--w); } }
.spt-bar-down { background: linear-gradient(90deg,#7c3aed,#818cf8); animation-delay: .5s; }
.spt-bar-up   { background: linear-gradient(90deg,#2563eb,#38bdf8); animation-delay: .65s; }
.spt-bar-ping { background: linear-gradient(90deg,#059669,#34d399); animation-delay: .8s; }

.float-badge {
    position: absolute;
    background: rgba(10,11,20,0.88);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 11px 16px;
    display: flex; align-items: center; gap: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
    /* JS controla transform; sem animation CSS de float */
    will-change: transform;
}
.float-badge.badge-1 { border-color: rgba(52,211,153,0.25); }
.float-badge.badge-2 { border-color: rgba(251,191,36,0.25); }
.fbadge-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fbadge-icon svg { width: 16px; height: 16px; }
.fbadge-green {
    background: rgba(52,211,153,0.15);
    color: #34d399;
    box-shadow: 0 0 16px rgba(52,211,153,0.2);
}
.fbadge-amber {
    background: rgba(251,191,36,0.12);
    color: #fbbf24;
    box-shadow: 0 0 16px rgba(251,191,36,0.15);
}

/* Texto do badge */
.fbadge-body {
    display: flex; flex-direction: column; gap: 3px;
}
.fbadge-title {
    font-size: .8rem; font-weight: 700;
    color: var(--text); line-height: 1;
}
.fbadge-sub {
    font-size: .68rem; font-weight: 500;
    color: var(--muted); display: flex; align-items: center; gap: 5px;
}

/* Dot pulsante (só no badge-1) */
.fbadge-dot {
    width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: spt-blink 2s ease-in-out infinite;
}



/* ══════════════════════════════════════════════
   SECTION GENERIC
══════════════════════════════════════════════ */
section { padding: 96px 0; position: relative; }

.section-tag {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(109,40,217,0.1);
    border: 1px solid var(--border-purple);
    border-radius: var(--radius-pill);
    padding: 5px 14px; margin-bottom: 16px;
    font-size: .72rem; font-weight: 700; color: #c4b5fd;
    letter-spacing: .8px; text-transform: uppercase;
}
.section-tag svg { width: 11px; height: 11px; }

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800; letter-spacing: -.5px;
    line-height: 1.15; margin-bottom: 14px;
}
.section-title .g {
    background: linear-gradient(135deg, #fff 30%, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-sub {
    font-size: 1rem; color: var(--muted-light);
    max-width: 560px; line-height: 1.7;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-purple), transparent);
    margin: 0;
}

/* ══════════════════════════════════════════════
   FEATURE CARDS
══════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: background .25s, border-color .25s, transform .25s;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(109,40,217,0.6), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.feature-card:hover { background: var(--surface-hover); border-color: var(--border-purple); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.fi-purple { background: rgba(109,40,217,.15); color: #a78bfa; }
.fi-blue   { background: rgba(0,114,210,.15);  color: #60a5fa; }
.fi-green  { background: rgba(16,185,129,.15); color: #34d399; }
.fi-amber  { background: rgba(245,158,11,.15); color: #fbbf24; }
.fi-pink   { background: rgba(236,72,153,.15); color: #f472b6; }
.fi-cyan   { background: rgba(6,182,212,.15);  color: #22d3ee; }

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .85rem; color: var(--muted-light); line-height: 1.65; }

/* ══════════════════════════════════════════════
   FIBRA SECTION (split)
══════════════════════════════════════════════ */
.fibra-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}

.fibra-visual {
    position: relative;
    display: flex; justify-content: center;
}
.fibra-diagram {
    width: 100%; max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 28px;
    backdrop-filter: blur(12px);
}
.fibra-diagram-title {
    font-size: .78rem; font-weight: 700; color: var(--muted-light);
    text-transform: uppercase; letter-spacing: .8px;
    margin-bottom: 20px; text-align: center;
}
.fibra-node-row {
    display: flex; align-items: center; gap: 0;
    margin-bottom: 6px;
}
.fibra-node {
    flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: .68rem; font-weight: 700; text-align: center;
    line-height: 1.2;
}
.fn-purple { background: rgba(109,40,217,.2); border: 1px solid rgba(109,40,217,.4); color: #c4b5fd; }
.fn-blue   { background: rgba(0,114,210,.2);  border: 1px solid rgba(0,114,210,.4);  color: #93c5fd; }
.fn-green  { background: rgba(16,185,129,.2); border: 1px solid rgba(16,185,129,.4); color: #6ee7b7; }

.fibra-line {
    flex: 1; height: 2px;
    background: linear-gradient(90deg, rgba(109,40,217,.6), rgba(0,114,210,.6));
    position: relative;
}
.fibra-line::after {
    content: '';
    position: absolute; top: 50%; right: 0;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: var(--blue-light);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:translateY(-50%) scale(1)} 50%{opacity:.4;transform:translateY(-50%) scale(.5)} }

.fibra-label {
    font-size: .68rem; color: var(--muted); margin-top: 2px; text-align: center;
}

.fibra-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px;
}
.fibra-spec {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 10px 12px;
    font-size: .75rem;
}
.fibra-spec-val { font-weight: 700; color: #c4b5fd; font-size: .88rem; }
.fibra-spec-key { color: var(--muted); margin-top: 2px; }

/* check list */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .9rem; color: var(--muted-light); line-height: 1.5;
}
.check-list li .ci {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
    background: rgba(16,185,129,.15);
    display: flex; align-items: center; justify-content: center;
}
.check-list li .ci svg { width: 12px; height: 12px; color: #34d399; }

/* ══════════════════════════════════════════════
   COBERTURA (CIDADES)
══════════════════════════════════════════════ */
.coverage-section { background: var(--bg-2); }

.coverage-tabs {
    display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
}
.coverage-tab {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 9px 20px; font-size: .82rem; font-weight: 600;
    color: var(--muted-light); cursor: pointer;
    transition: all .2s; font-family: 'Outfit', sans-serif;
}
.coverage-tab:hover, .coverage-tab.active {
    background: rgba(109,40,217,.12);
    border-color: var(--border-purple);
    color: #c4b5fd;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.city-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 14px 16px;
    display: flex; align-items: center; gap: 10px;
    transition: all .2s;
}
.city-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-purple);
    transform: translateY(-2px);
}
.city-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    animation: pulse-city 2s ease-in-out infinite;
}
.city-dot.urban { background: #34d399; box-shadow: 0 0 8px #34d39980; }
.city-dot.rural { background: #fbbf24; box-shadow: 0 0 8px #fbbf2480; }
@keyframes pulse-city { 0%,100%{opacity:1} 50%{opacity:.5} }

.city-name { font-size: .82rem; font-weight: 600; }
.city-type { font-size: .68rem; color: var(--muted); margin-top: 1px; }

.coverage-legend {
    display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted-light); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ══════════════════════════════════════════════
   PLANS
══════════════════════════════════════════════ */

/* Plan category tabs */
.plans-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.plans-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--muted-light);
    font-family: 'Outfit', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.plans-tab svg { width: 15px; height: 15px; }
.plans-tab:hover {
    background: rgba(255,255,255,0.07);
    color: var(--text);
    transform: translateY(-1px);
}
.plans-tab.active {
    background: linear-gradient(135deg, rgba(109,40,217,.25), rgba(33,150,243,.2));
    border-color: rgba(109,40,217,.5);
    color: #c4b5fd;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px; padding: 32px 28px;
    position: relative; overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }

.plan-card.featured {
    background: linear-gradient(160deg, rgba(109,40,217,.15), rgba(0,114,210,.08));
    border-color: var(--border-purple);
    box-shadow: 0 0 0 1px rgba(109,40,217,.2), 0 24px 60px rgba(109,40,217,.15);
}
.plan-card.featured:hover { box-shadow: 0 0 0 1px rgba(109,40,217,.4), 0 32px 80px rgba(109,40,217,.25); }

.plan-popular {
    position: absolute; top: 0; right: 28px;
    background: linear-gradient(135deg, var(--purple-light), var(--blue));
    color: white; font-size: .68rem; font-weight: 700;
    letter-spacing: .5px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 0 0 10px 10px;
}

.plan-name  { font-size: .78rem; font-weight: 700; color: var(--muted-light); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.plan-speed {
    font-size: 3.2rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan-speed-unit { font-size: .85rem; font-weight: 600; color: var(--muted-light); margin-top: 2px; margin-bottom: 20px; }

.plan-price-wrap { margin-bottom: 24px; }
.plan-from { font-size: .75rem; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-currency { font-size: 1.1rem; font-weight: 700; color: var(--muted-light); }
.plan-amount { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.plan-period { font-size: .78rem; color: var(--muted); }

.plan-divider { height: 1px; background: var(--border); margin: 20px 0; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted-light); }
.plan-features li svg { width: 16px; height: 16px; color: #34d399; flex-shrink: 0; }
.plan-features li.unavail { opacity: .35; }
.plan-features li.unavail svg { color: var(--muted); }

.plan-btn {
    width: 100%; padding: 13px;
    border-radius: var(--radius-pill);
    font-size: .9rem; font-weight: 700;
    cursor: pointer; border: none;
    font-family: 'Outfit', sans-serif;
    transition: all .2s;
}
.plan-btn-outline {
    background: transparent;
    border: 1px solid var(--border-purple);
    color: #c4b5fd;
}
.plan-btn-outline:hover { background: rgba(109,40,217,.1); transform: translateY(-1px); }
.plan-btn-filled {
    background: linear-gradient(135deg, var(--purple-light), var(--blue));
    color: white;
    box-shadow: 0 4px 20px rgba(109,40,217,.4);
}
.plan-btn-filled:hover { box-shadow: 0 6px 28px rgba(109,40,217,.6); transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   STATS BANNER
══════════════════════════════════════════════ */
.stats-banner {
    background: linear-gradient(135deg, rgba(109,40,217,.1), rgba(0,114,210,.06));
    border-top: 1px solid var(--border-purple);
    border-bottom: 1px solid var(--border-purple);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center; padding: 0 20px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 2.8rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, #fff 30%, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.stat-label { font-size: .82rem; color: var(--muted-light); }

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: border-color .2s, transform .2s;
}
.testimonial-card:hover { border-color: var(--border-purple); transform: translateY(-3px); }

.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 14px; height: 14px; color: #fbbf24; fill: #fbbf24; }

.testimonial-text { font-size: .88rem; color: var(--muted-light); line-height: 1.65; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-light), var(--blue));
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; font-weight: 700; color: white; flex-shrink: 0;
}
.author-name  { font-size: .84rem; font-weight: 700; }
.author-city  { font-size: .72rem; color: var(--muted); }

/* ══════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    position: relative; overflow: hidden;
}
.cta-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(109,40,217,.15), transparent);
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.cta-text { text-align: left; }
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900; letter-spacing: -.5px;
    margin-bottom: 16px; line-height: 1.1;
}
.cta-section p { font-size: 1rem; color: var(--muted-light); max-width: 480px; margin: 0 0 36px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact card inside CTA */
.cta-contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 28px;
    min-width: 280px;
    flex-shrink: 0;
}
.cta-contact-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin-bottom: 20px;
}
.cta-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    text-decoration: none;
    color: var(--text);
    font-size: .85rem;
    line-height: 1.45;
    transition: color .2s;
}
.cta-contact-row:hover { color: #c4b5fd; }
.cta-contact-icon {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 9px;
    background: rgba(123,66,245,.12);
    color: #a78bfa;
    display: flex; align-items: center; justify-content: center;
}
.cta-contact-icon svg { width: 15px; height: 15px; }

.whatsapp-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: #25d366; color: white;
    border-radius: var(--radius-pill);
    padding: 13px 28px; font-size: .95rem; font-weight: 700;
    font-family: 'Outfit', sans-serif; border: none; cursor: pointer;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.whatsapp-btn:hover { opacity: .88; transform: translateY(-2px); }
.whatsapp-btn svg  { width: 20px; height: 20px; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 48px;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .82rem; color: var(--muted); line-height: 1.65; max-width: 260px; }
.footer-address {
    display: flex; align-items: flex-start; gap: 6px;
    font-size: .78rem; color: var(--muted); margin-top: 10px; line-height: 1.5;
    max-width: 260px;
}
.footer-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .82rem; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .75rem; color: var(--muted); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted-light); transition: all .2s; cursor: pointer;
}
.social-btn:hover { background: rgba(109,40,217,.12); border-color: var(--border-purple); color: #c4b5fd; }
.social-btn svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .features-grid   { grid-template-columns: repeat(2, 1fr); }
    .plans-grid      { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid     { grid-template-columns: 1fr 1fr; }
    .stats-grid      { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
    .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
    .stat-item       { padding: 20px; }
    .cta-inner       { grid-template-columns: 1fr; gap: 32px; }
    .cta-contact-card { min-width: unset; width: 100%; }
}

@media (max-width: 768px) {
    .hero-inner      { grid-template-columns: 1fr; }
    .hero-visual     { display: none; }
    .fibra-inner     { grid-template-columns: 1fr; }
    .features-grid   { grid-template-columns: 1fr; }
    .plans-grid      { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; }
    .nav-links       { display: none; }
    .nav-cta .btn-ghost { display: none; }
    .nav-toggle      { display: block; }
    .nav-brand       { display: none; }
    .cta-inner       { grid-template-columns: 1fr; gap: 28px; }
    .cta-text        { text-align: center; }
    .cta-section p   { margin-left: auto; margin-right: auto; }
    .cta-actions     { justify-content: center; }

    .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; inset: 0; top: 72px;
        background: rgba(10,11,16,0.97);
        backdrop-filter: blur(20px);
        align-items: center; justify-content: center;
        gap: 32px; z-index: 8999;
    }
    .nav-links.open a { font-size: 1.2rem; }

    section { padding: 64px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .plans-grid { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none !important; border-top: 1px solid var(--border); }
    .stat-item:first-child { border-top: none; }
}

/* ══════════════════════════════════════════════
   MODAL DE CONTRATAÇÃO / CADASTRO
══════════════════════════════════════════════ */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(4, 5, 8, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.modal-backdrop.active {
    opacity: 1; visibility: visible;
}

.modal-card {
    background: #0f1016;
    border: 1px solid rgba(123, 66, 245, 0.25);
    border-radius: 24px;
    width: 100%; max-width: 640px;
    max-height: 90vh;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(123, 66, 245, 0.15);
    transform: scale(0.95) translateY(10px);
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.modal-backdrop.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.modal-title-wrap h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 3px; }
.modal-title-wrap p { font-size: .8rem; color: var(--muted); }

.modal-plan-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(123, 66, 245, 0.15);
    border: 1px solid rgba(123, 66, 245, 0.35);
    color: #c4b5fd; font-size: .75rem; font-weight: 700;
    padding: 4px 12px; border-radius: 99px; margin-bottom: 8px;
}

.modal-close {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
    color: var(--muted); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s;
}
.modal-close:hover { background: rgba(239, 68, 68, 0.15); color: #ef4444; border-color: rgba(239, 68, 68, 0.3); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}
.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 5px; }

.modal-section-title {
    font-size: .7rem; font-weight: 800; letter-spacing: 1.4px;
    color: var(--muted-light); text-transform: uppercase;
    margin: 18px 0 12px; display: flex; align-items: center; gap: 8px;
}
.modal-section-title:first-child { margin-top: 0; }
.modal-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.m-form-group { margin-bottom: 14px; }
.m-form-group label {
    display: block; font-size: .75rem; font-weight: 700;
    color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px;
}
.m-form-group label span { font-weight: 400; text-transform: none; opacity: .6; }

.m-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.m-input, .m-select, .m-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 11px 14px;
    color: var(--text);
    font-size: .88rem;
    font-family: inherit;
    outline: none;
    transition: all .2s;
}
.m-input:focus, .m-select:focus, .m-textarea:focus {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.m-select option { background: #12131a; color: #fff; }
.m-textarea { min-height: 70px; resize: vertical; }

.cep-wrapper { position: relative; display: flex; gap: 8px; }
.cep-btn {
    padding: 0 14px; font-size: .78rem; font-weight: 700;
    background: rgba(123, 66, 245, 0.15); border: 1px solid rgba(123, 66, 245, 0.3);
    color: #c4b5fd; border-radius: 10px; cursor: pointer; transition: all .2s;
    white-space: nowrap;
}
.cep-btn:hover { background: rgba(123, 66, 245, 0.25); color: #fff; }

.modal-footer {
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: flex-end; gap: 12px;
    flex-shrink: 0;
}

.btn-submit-contract {
    width: 100%; padding: 14px 24px;
    background: linear-gradient(135deg, #7b42f5, #0072d2);
    color: #fff; font-size: .95rem; font-weight: 800;
    border: none; border-radius: 12px; cursor: pointer;
    box-shadow: 0 4px 20px rgba(123, 66, 245, 0.35);
    transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit-contract:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(123, 66, 245, 0.45);
}
.btn-submit-contract:disabled {
    opacity: .6; cursor: not-allowed; transform: none;
}

/* Modal Success State */
.modal-success-wrap {
    padding: 36px 20px; text-align: center; display: none;
}
.success-icon-badge {
    width: 68px; height: 68px; border-radius: 50%;
    background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}
.success-icon-badge svg { width: 34px; height: 34px; }
.protocol-badge {
    display: inline-block;
    background: rgba(123, 66, 245, 0.15); border: 1px dashed rgba(123, 66, 245, 0.4);
    padding: 10px 24px; border-radius: 12px;
    font-size: 1.25rem; font-weight: 800; color: #c4b5fd;
    letter-spacing: 1px; margin: 16px 0;
}
.btn-wa-confirm {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #22c55e; color: #000; font-weight: 800; font-size: .92rem;
    padding: 13px 26px; border-radius: 12px; text-decoration: none;
    margin-top: 18px; transition: all .2s; box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
}
.btn-wa-confirm:hover { background: #16a34a; color: #fff; transform: translateY(-1px); }
.btn-wa-confirm svg { width: 20px; height: 20px; }

@media (max-width: 600px) {
    .m-form-row, .m-form-row-3 { grid-template-columns: 1fr; }
    .modal-card { max-height: 95vh; border-radius: 20px; }
    .modal-header, .modal-body, .modal-footer { padding-left: 18px; padding-right: 18px; }
}

