:root {
    --bg: #030508;
    --panel: #0a0d14;
    --panel-2: #111722;
    --sidebar: #05080c;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f1f5f9;
    --dim: #94a3b8;
    --muted: #64748b;
    --blue: #3b82f6;
    --blue-2: #60a5fa;
    --green: #10b981;
    --orange: #e37b40;
    --glass: rgba(10, 13, 20, 0.76);
    --shadow: 0 28px 76px rgba(0, 0, 0, 0.48);
    --radius: 10px;
}

/* Premium polish */
body {
    background:
        radial-gradient(circle at 14% 4%, rgba(59, 130, 246, 0.09), transparent 28rem),
        radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.055), transparent 28rem),
        var(--bg);
}

.site-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55), transparent);
    opacity: 0.55;
}

.btn.primary,
.preview-export {
    position: relative;
    overflow: hidden;
}

.btn.primary::before,
.preview-export::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -70%;
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
    transform: skewX(-22deg);
    animation: buttonShine 4.5s ease-in-out infinite;
}

@keyframes buttonShine {
    0%, 45% { left: -70%; }
    70%, 100% { left: 125%; }
}

.hero-product-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.55;
}

.scene-filter::before {
    content: "FILTROS INTELIGENTES";
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--dim);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.scene-filter::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 64px;
    height: 310px;
    border-top: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(rgba(255,255,255,0.055), rgba(255,255,255,0.055)) 0 38px / 100% 34px no-repeat,
        linear-gradient(rgba(255,255,255,0.055), rgba(255,255,255,0.055)) 0 110px / 100% 34px no-repeat,
        linear-gradient(rgba(255,255,255,0.055), rgba(255,255,255,0.055)) 0 182px / 100% 34px no-repeat,
        linear-gradient(rgba(59,130,246,0.22), rgba(59,130,246,0.22)) 0 268px / 100% 42px no-repeat;
}

.scene-scan,
.map-sweep {
    position: absolute;
    z-index: 4;
    left: 210px;
    right: 0;
    top: 12%;
    height: 210px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.09), transparent);
    border-top: 1px solid rgba(59, 130, 246, 0.24);
    animation: verticalScan 6s ease-in-out infinite;
}

.map-sweep {
    left: 0;
    top: -18%;
    opacity: 0.5;
}

@keyframes verticalScan {
    0%, 100% { transform: translateY(-40%); opacity: 0.28; }
    50% { transform: translateY(165%); opacity: 0.72; }
}

.scene-pulse {
    position: absolute;
    z-index: 5;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    animation: pinPulse 2.6s ease-out infinite;
}

.scene-pulse.p1 { left: 69%; top: 69%; }
.scene-pulse.p2 { left: 57%; top: 31%; animation-delay: 0.5s; }
.scene-pulse.p3 { left: 74%; top: 42%; animation-delay: 1s; background: var(--blue); }

@keyframes pinPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); transform: scale(0.85); }
    70% { box-shadow: 0 0 0 18px rgba(59, 130, 246, 0); transform: scale(1); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); transform: scale(0.85); }
}

.hero-proof {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-proof span {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: #cbd5e1;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
}

.value-grid article,
.modal-grid article,
.quick-grid article,
.mini-grid article {
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.value-grid article::before,
.modal-grid article::before,
.quick-grid article::before,
.mini-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), rgba(59, 130, 246, 0.12), transparent 44%);
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.value-grid article:hover,
.modal-grid article:hover,
.quick-grid article:hover,
.mini-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.28);
    background: rgba(255, 255, 255, 0.035);
}

.value-grid article:hover::before,
.modal-grid article:hover::before,
.quick-grid article:hover::before,
.mini-grid article:hover::before {
    opacity: 1;
}

.product-preview {
    position: relative;
}

.product-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 22%, transparent 78%, rgba(59,130,246,0.12));
    opacity: 0.75;
}

.preview-status-strip {
    position: absolute;
    top: 18px;
    left: 380px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 999px;
    background: rgba(3, 5, 8, 0.72);
    padding: 8px 12px;
    color: var(--dim);
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.preview-status-strip i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 6px;
    background: var(--green);
    box-shadow: 0 0 14px rgba(16,185,129,0.9);
}

.map-provider {
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.map-provider:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.52);
    background: rgba(11, 18, 29, 0.96);
}

.quick-panel {
    backdrop-filter: blur(14px);
}

.quick-alert {
    display: grid;
    gap: 2px;
    margin-top: 12px;
    border: 1px solid rgba(16,185,129,0.18);
    border-radius: 10px;
    background: rgba(16,185,129,0.07);
    padding: 11px 12px;
}

.quick-alert b {
    color: var(--text);
    font-size: 13px;
}

.quick-alert small {
    color: var(--dim);
    font-size: 11px;
}

.modal-box {
    animation: modalIn 0.22s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-insight {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(59,130,246,0.12), transparent 72%),
        rgba(255,255,255,0.02);
    padding: 18px 20px;
}

.modal-insight strong {
    color: var(--text);
    font-size: 16px;
}

.modal-insight p {
    font-size: 14px;
}

.featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.audit-strip,
.service-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.service-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 18px;
}

.audit-strip div,
.service-summary article {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,0.024);
    padding: 14px;
}

.audit-strip span,
.service-summary span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.audit-strip strong,
.service-summary strong {
    display: block;
    margin-top: 7px;
    color: var(--text);
    font-size: 14px;
}

.topology-board {
    height: 330px;
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        radial-gradient(circle at 50% 52%, rgba(59,130,246,0.16), transparent 32%),
        #05080d;
    background-size: 44px 44px, 44px 44px, auto, auto;
}

.node {
    position: absolute;
    z-index: 2;
    width: 128px;
    min-height: 76px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid rgba(59,130,246,0.28);
    border-radius: 14px;
    background: rgba(10,13,20,0.94);
    color: var(--text);
    font-weight: 900;
    box-shadow: var(--shadow);
}

.node span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.node.core {
    left: calc(50% - 64px);
    top: calc(50% - 38px);
    border-color: rgba(16,185,129,0.46);
}

.node.n1 { left: 12%; top: 18%; }
.node.n2 { right: 12%; top: 20%; }
.node.n3 { left: calc(50% - 64px); bottom: 11%; }

.line {
    position: absolute;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.9), transparent);
    transform-origin: left center;
}

.line.l1 { left: 24%; top: 40%; width: 250px; transform: rotate(18deg); }
.line.l2 { left: 51%; top: 43%; width: 260px; transform: rotate(-18deg); }
.line.l3 { left: 50%; top: 55%; width: 145px; transform: rotate(90deg); }

.empty-panel.compact {
    min-height: 160px;
    margin-top: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 820px) {
    .preview-status-strip {
        display: none;
    }

    .audit-strip,
    .service-summary {
        grid-template-columns: 1fr;
    }

    .topology-board {
        height: 420px;
    }

    .node.n1 { left: 8%; top: 12%; }
    .node.n2 { right: 8%; top: 12%; }
    .node.n3 { bottom: 8%; }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

img,
svg {
    display: block;
}

h1,
h2,
h3 {
    font-family: "Outfit", "Inter", system-ui, sans-serif;
    line-height: 1.04;
    letter-spacing: 0;
}

p {
    color: var(--dim);
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 5, 8, 0.76);
    backdrop-filter: blur(18px);
}

.brand img,
.footer img {
    height: 34px;
    width: auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 26px;
}

.nav-links a {
    color: var(--dim);
    font-size: 13px;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.menu-button {
    display: none;
}

.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid transparent;
    padding: 0 17px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s ease;
}

.btn.large {
    min-height: 52px;
    padding: 0 24px;
    font-size: 15px;
}

.btn.primary {
    background: linear-gradient(180deg, #4f8cff, #2563eb);
    border-color: rgba(59, 130, 246, 0.3);
    color: #fff;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.36);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--border);
    color: var(--text);
}

.btn.ghost:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.07);
}

.eyebrow {
    color: var(--blue-2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 126px 24px 92px;
}

.hero-product-scene {
    position: absolute;
    inset: 74px 0 0;
    opacity: 0.82;
    transform: scale(1.03);
    transform-origin: center;
    background: #030508;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 34%, rgba(59, 130, 246, 0.12), transparent 34rem),
        linear-gradient(180deg, rgba(3, 5, 8, 0.28), rgba(3, 5, 8, 0.62) 56%, var(--bg) 100%),
        linear-gradient(90deg, rgba(3, 5, 8, 0.82), rgba(3, 5, 8, 0.16), rgba(3, 5, 8, 0.82));
    z-index: 2;
}

.hero-content {
    width: min(920px, 100%);
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero h1 {
    margin-top: 16px;
    font-size: clamp(78px, 13vw, 160px);
    font-weight: 900;
    text-shadow: 0 24px 84px rgba(0, 0, 0, 0.7);
}

.hero p:not(.eyebrow) {
    max-width: 820px;
    margin: 20px auto 0;
    color: #d8e2ef;
    font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.scene-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 210px;
    background: #05080c;
    border-right: 1px solid var(--border);
}

.scene-header {
    position: absolute;
    left: 210px;
    right: 0;
    top: 0;
    height: 64px;
    background: #0a0d14;
    border-bottom: 1px solid var(--border);
}

.scene-filter {
    position: absolute;
    left: 234px;
    top: 86px;
    width: 318px;
    height: 520px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: rgba(15, 18, 25, 0.84);
    box-shadow: var(--shadow);
}

.scene-result {
    position: absolute;
    right: 34px;
    top: 92px;
    width: 260px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--glass);
    padding: 16px;
    box-shadow: var(--shadow);
}

.scene-result span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.scene-result strong {
    display: block;
    color: var(--blue);
    font-size: 30px;
}

.scene-result small {
    color: var(--dim);
}

.scene-map {
    position: absolute;
    left: 42%;
    top: 10%;
    width: min(760px, 54vw);
    height: min(580px, 70vh);
}

.section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 112px 0;
}

.section-head {
    max-width: 830px;
    margin-bottom: 38px;
}

.section-head.compact {
    max-width: 900px;
}

.section-head h2,
.split h2,
.history-card h2,
.commercial-card h2 {
    margin-top: 12px;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
}

.section-head p:not(.eyebrow),
.split p,
.history-card p,
.commercial-card p {
    margin-top: 16px;
    font-size: 17px;
    max-width: 760px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.value-grid article {
    min-height: 230px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.022);
    padding: 24px;
}

.value-grid span {
    color: var(--blue-2);
    font-size: 12px;
    font-weight: 900;
}

.value-grid h3 {
    margin-top: 26px;
    font-size: 23px;
}

.value-grid p {
    margin-top: 12px;
    font-size: 14px;
}

.product-section {
    width: min(1320px, calc(100% - 32px));
}

.product-preview {
    min-height: 760px;
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: var(--sidebar);
    border-right: 1px solid var(--border);
    padding: 28px 12px;
}

.preview-sidebar img {
    width: 130px;
    margin: 0 auto 24px;
}

.preview-nav {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--dim);
    padding: 0 14px;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
}

.preview-nav.active {
    background: rgba(59, 130, 246, 0.13);
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--blue);
}

.preview-sidebar-bottom {
    display: grid;
    gap: 14px;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 18px 10px 0;
    color: var(--dim);
    font-size: 13px;
    font-weight: 700;
}

.preview-main {
    min-width: 0;
    display: grid;
    grid-template-rows: 64px 1fr;
}

.preview-topbar {
    display: grid;
    grid-template-columns: minmax(280px, 520px) 1fr auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding: 0 18px;
}

.preview-search {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
    padding: 0 14px;
    font-size: 13px;
}

.preview-metrics {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.preview-metrics div {
    min-width: 144px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.4);
    padding: 8px 13px;
}

.preview-metrics i {
    grid-row: span 2;
    width: 7px;
    height: 7px;
    align-self: center;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.9);
}

.preview-metrics div:last-child i {
    background: var(--blue);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.9);
}

.preview-metrics span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-metrics strong {
    color: var(--text);
    font-size: 16px;
}

.preview-export {
    height: 42px;
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 10px;
    background: linear-gradient(180deg, #4f8cff, #2563eb);
    color: #fff;
    padding: 0 18px;
    font-weight: 800;
}

.preview-canvas {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 52% 46%, rgba(59, 130, 246, 0.11), transparent 34rem),
        linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px),
        #030508;
    background-size: auto, 76px 76px, 76px 76px, auto;
}

.preview-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 55% 45%, transparent 0 34%, rgba(0, 0, 0, 0.46) 70%);
    pointer-events: none;
}

.preview-filter {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 5;
    width: 330px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    padding: 20px;
}

.filter-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--dim);
    font-size: 11px;
    text-transform: uppercase;
}

.filter-group {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.filter-group b {
    color: var(--blue);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.filter-group label {
    display: grid;
    gap: 6px;
    color: var(--dim);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.filter-group label span {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    padding: 10px 12px;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

.preview-filter button {
    width: 100%;
    height: 44px;
    margin-top: 18px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(180deg, #4f8cff, #2563eb);
    color: #fff;
    font-weight: 800;
}

.map-card {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.map-card svg {
    position: absolute;
    left: 37%;
    top: 6%;
    width: min(760px, 58vw);
    height: min(580px, 620px);
}

.map-state {
    fill: rgba(5, 10, 16, 0.9);
    stroke: rgba(59, 130, 246, 0.44);
    stroke-width: 1.15;
    vector-effect: non-scaling-stroke;
}

.map-state.dim {
    stroke: rgba(80, 98, 126, 0.2);
    fill: rgba(5, 9, 14, 0.62);
}

.map-state.hot {
    stroke: rgba(16, 185, 129, 0.9);
    fill: rgba(25, 48, 73, 0.95);
}

.map-provider {
    position: absolute;
    z-index: 6;
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px 6px;
    align-items: center;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    background: rgba(7, 12, 20, 0.86);
    color: #fff;
    padding: 8px 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.map-provider i {
    grid-row: span 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12), 0 0 22px rgba(16, 185, 129, 0.8);
}

.map-provider b,
.map-provider small {
    line-height: 1;
    font-size: 10px;
}

.map-provider small {
    color: var(--muted);
}

.pin-sp { left: 68%; top: 71%; }
.pin-rj { left: 75%; top: 68%; }
.pin-pa { left: 58%; top: 32%; }

.map-word {
    position: absolute;
    z-index: 2;
    color: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.map-word.colombia { left: 39%; top: 23%; }
.map-word.peru { left: 40%; top: 53%; }
.map-word.brazil { left: 62%; top: 45%; font-size: 16px; }

.preview-result {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 5;
    width: 270px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--glass);
    padding: 15px 18px;
    box-shadow: var(--shadow);
}

.preview-result span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.preview-result strong {
    display: block;
    color: var(--blue);
    font-size: 30px;
}

.preview-result p {
    font-size: 12px;
}

.quick-panel {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 5;
    width: 360px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: rgba(10, 13, 20, 0.94);
    box-shadow: var(--shadow);
    padding: 20px;
}

.quick-panel span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-panel h3 {
    margin-top: 4px;
    font-size: 24px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.quick-grid article,
.mini-grid article,
.modal-grid article {
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    padding: 14px;
}

.quick-grid article span,
.mini-grid article span,
.modal-grid article span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.quick-grid article strong,
.mini-grid article strong,
.modal-grid article strong {
    display: block;
    margin-top: 7px;
    color: var(--text);
    font-size: 15px;
}

.quick-panel p {
    margin-bottom: 16px;
    font-size: 13px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 56px;
    align-items: center;
}

.split .btn {
    margin-top: 28px;
}

.dossier-mini {
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.mini-head {
    padding: 22px;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 48%), #111722;
}

.mini-head span {
    display: inline-block;
    border-radius: 5px;
    background: var(--blue);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 900;
}

.mini-head strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
}

.mini-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
    border-bottom: 1px solid var(--border);
}

.mini-tabs span {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue-2);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
}

.history-section {
    width: min(1180px, calc(100% - 48px));
}

.history-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 40px;
    align-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 42%), var(--panel);
    padding: 42px;
    box-shadow: var(--shadow);
}

.history-chart,
.service-bars {
    height: 300px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        #05080d;
    background-size: 100% 54px;
    padding: 24px 18px 44px;
}

.history-chart div,
.service-bars div {
    height: 100%;
    position: relative;
    display: flex;
    align-items: end;
}

.history-chart div::before,
.service-bars div::before {
    content: "";
    width: 100%;
    height: var(--h);
    min-height: 10px;
    border: 1px solid rgba(59, 130, 246, 0.32);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.92), rgba(59, 130, 246, 0.18));
}

.history-chart .active::before,
.service-bars .active::before {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.95), rgba(16, 185, 129, 0.18));
}

.history-chart .empty::before,
.service-bars .empty::before {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
}

.history-chart strong,
.history-chart span,
.service-bars strong,
.service-bars span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: "Outfit", "Inter", sans-serif;
}

.history-chart strong,
.service-bars strong {
    bottom: calc(var(--h) + 10px);
    font-size: 12px;
}

.history-chart span,
.service-bars span {
    bottom: -28px;
    color: var(--muted);
    font-size: 11px;
}

.commercial-card {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.13), transparent 44%), var(--panel);
    padding: 56px;
    text-align: center;
    box-shadow: var(--shadow);
}

.commercial-card p {
    margin-left: auto;
    margin-right: auto;
}

.commercial-card form {
    width: min(680px, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 32px auto 0;
}

.commercial-card input {
    min-height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    outline: none;
    padding: 0 16px;
}

#formStatus {
    display: block;
    min-height: 20px;
    margin-top: 14px;
    color: var(--green);
    font-size: 12px;
}

#formStatus.error {
    color: var(--orange);
}

.footer {
    width: min(1180px, calc(100% - 48px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 0 auto;
    padding: 44px 0 60px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.footer div {
    display: flex;
    gap: 18px;
}

.footer a:hover {
    color: var(--text);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 5, 8, 0.86);
    backdrop-filter: blur(12px);
    padding: 24px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    width: min(1180px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: 0 44px 130px rgba(0, 0, 0, 0.68);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 30px 20px;
    border-bottom: 2px solid var(--border);
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 45%), #111722;
}

.modal-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 11px;
}

.modal-kicker span {
    border-radius: 5px;
    background: var(--blue);
    color: #fff;
    padding: 4px 10px;
    font-weight: 900;
}

.modal-header h2 {
    margin-top: 8px;
    font-size: 32px;
}

.modal-header > button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.modal-badges span {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.modal-badges b {
    color: var(--blue-2);
}

.modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-strong);
    background: #090c12;
}

.modal-tabs button {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
    color: var(--dim);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.modal-tabs button.active {
    border-color: rgba(59, 130, 246, 0.32);
    background: rgba(59, 130, 246, 0.14);
    color: var(--blue-2);
}

.modal-body {
    overflow-y: auto;
    padding: 30px 34px 36px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.modal-grid article small {
    display: block;
    margin-top: 9px;
    color: var(--dim);
}

.modal-service {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 18px;
}

.service-table {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.service-table div {
    min-height: 52px;
    display: grid;
    grid-template-columns: 0.55fr 0.9fr 1.2fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    color: var(--dim);
}

.service-table div:first-child {
    min-height: 42px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-table div:last-child {
    border-bottom: 0;
}

.service-table strong {
    color: var(--text);
}

.empty-panel {
    display: grid;
    place-items: center;
    min-height: 240px;
    border: 1px dashed var(--border-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
    text-align: center;
    padding: 32px;
}

.empty-panel strong {
    font-size: 18px;
}

.empty-panel p {
    margin-top: 8px;
}

.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 4px;
    opacity: 0.9;
}

.icon.search {
    border-radius: 50%;
    position: relative;
}

.icon.search::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
}

.icon.user {
    border-radius: 50%;
}

.icon.chart {
    border-top: 0;
    border-right: 0;
    border-radius: 0;
}

.icon.filter {
    border-bottom: 0;
    transform: perspective(10px) rotateX(-28deg);
}

@media (max-width: 1120px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .site-nav {
        grid-template-columns: auto 1fr auto;
    }

    .menu-button {
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--border);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.035);
    }

    .menu-button span {
        width: 20px;
        height: 2px;
        border-radius: 99px;
        background: #fff;
    }

    .nav-links.open {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        background: rgba(3, 5, 8, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 10px 24px 20px;
    }

    .nav-links.open a {
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-preview {
        grid-template-columns: 86px 1fr;
    }

    .preview-sidebar img {
        width: 48px;
    }

    .preview-nav {
        justify-content: center;
        padding: 0;
    }

    .preview-nav span:not(.icon),
    .preview-sidebar-bottom {
        display: none;
    }

    .preview-topbar {
        grid-template-columns: 1fr;
        height: auto;
        padding: 14px;
    }

    .preview-main {
        grid-template-rows: auto 1fr;
    }
}

@media (max-width: 820px) {
    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: clamp(64px, 18vw, 110px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        width: min(100% - 32px, 1180px);
        padding: 78px 0;
    }

    .value-grid,
    .split,
    .history-card,
    .commercial-card form,
    .modal-service {
        grid-template-columns: 1fr;
    }

    .product-section {
        width: min(100% - 16px, 1180px);
    }

    .product-preview {
        min-height: 980px;
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
    }

    .preview-sidebar img,
    .quick-panel,
    .preview-result {
        display: none;
    }

    .preview-filter {
        left: 12px;
        top: 12px;
        width: calc(100% - 24px);
        max-height: 460px;
        overflow-y: auto;
    }

    .map-card svg {
        left: -8%;
        top: 38%;
        width: 120vw;
    }

    .pin-sp { left: 66%; top: 73%; }
    .pin-rj { left: 77%; top: 71%; }
    .pin-pa { left: 53%; top: 50%; }

    .history-card,
    .commercial-card {
        padding: 28px 20px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Final premium cascade */
body {
    background:
        radial-gradient(circle at 14% 4%, rgba(59, 130, 246, 0.09), transparent 28rem),
        radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.055), transparent 28rem),
        var(--bg);
}

.product-preview {
    position: relative;
    background:
        radial-gradient(circle at 74% 34%, rgba(59, 130, 246, 0.11), transparent 22rem),
        linear-gradient(135deg, rgba(10, 13, 20, 0.98), rgba(5, 8, 12, 0.98));
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.value-grid article,
.modal-grid article,
.quick-grid article,
.mini-grid article {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.13), transparent 13rem),
        rgba(255, 255, 255, 0.026);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.value-grid article::before,
.modal-grid article::before,
.quick-grid article::before,
.mini-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 42%);
    transition: opacity 0.22s ease;
}

.value-grid article:hover,
.modal-grid article:hover,
.quick-grid article:hover,
.mini-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.28);
}

.value-grid article:hover::before,
.modal-grid article:hover::before,
.quick-grid article:hover::before,
.mini-grid article:hover::before {
    opacity: 0.35;
}

.modal-shell {
    animation: modalIn 0.22s ease both;
}

.modal-overlay.hidden .modal-shell {
    animation: none;
}
