:root {
    --bg: #050816;
    --text: #e8eefc;
    --muted: #9ca3af;
    --blue: #4f7cff;
    --blue2: #79a8ff;
    --glass: rgba(255,255,255,.08);
    --glass2: rgba(255,255,255,.04);
    --stroke: rgba(255,255,255,.10);
    --shadow: 0 30px 70px rgba(0,0,0,.55);
    --shadow2: 0 18px 45px rgba(0,0,0,.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial;
    overflow-x: hidden;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

/* BG */
.bg-layer {
    position: fixed;
    inset: 0;
    background: url("/images/bg-azul.png") center/cover no-repeat;
    opacity: .95;
    z-index: -3;
}

.bg-vignette {
    position: fixed;
    inset: -20%;
    background: radial-gradient(60% 60% at 25% 10%, rgba(79,124,255,.25), transparent 60%), radial-gradient(60% 60% at 90% 15%, rgba(255,80,120,.20), transparent 60%), radial-gradient(80% 80% at 50% 60%, rgba(0,0,0,.55), rgba(0,0,0,.85));
    z-index: -2;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(2,6,23,.35);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

.brand-name {
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    letter-spacing: .2px;
}

.nav {
    display: flex;
    gap: 22px;
}

    .nav a {
        color: rgba(232,238,252,.85);
        text-decoration: none;
        font-weight: 600;
        font-size: .95rem;
        padding: 10px 10px;
        border-radius: 12px;
    }

        .nav a:hover {
            background: rgba(255,255,255,.06);
        }

/* Hero centralizado */
.hero {
    padding: 96px 0 70px;
    display: grid;
    grid-template-columns: minmax(320px, 620px) minmax(320px, 590px);
    gap: 48px;
    align-items: center;
    justify-content: center;
}

.hero-left {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(232,238,252,.85);
    font-weight: 600;
    font-size: .9rem;
}

.hero-title {
    margin: 18px 0 14px;
    line-height: 1.05;
}

.hero-title-small {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    font-family: "Sora", sans-serif;
}

.hero-title-big {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
}

.accent {
    color: var(--blue2);
    text-shadow: 0 14px 40px rgba(79,124,255,.25);
}

.hero-sub {
    color: rgba(232,238,252,.75);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 54ch;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.10);
    transition: transform .15s ease, filter .15s ease, background .15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        filter: brightness(1.03);
    }

    .btn.primary {
        background: linear-gradient(135deg, var(--blue), #3b82f6);
        color: white;
        box-shadow: 0 18px 45px rgba(79,124,255,.25);
    }

    .btn.ghost {
        background: rgba(0,0,0,.18);
        color: rgba(232,238,252,.9);
    }

    .btn.full {
        width: 100%;
    }

/* 3D Card base */
.hero-card3d,
.feature-card3d,
.plan-card3d,
.painel-card3d,
.contact-card3d,
.form-card3d {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
    transform: translateZ(0);
}

    .hero-card3d::before,
    .feature-card3d::before,
    .plan-card3d::before,
    .painel-card3d::before,
    .contact-card3d::before,
    .form-card3d::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 22px;
        background: radial-gradient(70% 70% at 20% 10%, rgba(79,124,255,.18), transparent 60%), radial-gradient(70% 70% at 90% 20%, rgba(255,80,120,.16), transparent 60%);
        z-index: 0;
        pointer-events: none;
        opacity: .85;
        filter: blur(8px);
    }

    .hero-card3d > *,
    .feature-card3d > *,
    .plan-card3d > *,
    .painel-card3d > *,
    .contact-card3d > *,
    .form-card3d > * {
        position: relative;
        z-index: 1;
    }

/* Hero right card */
.hero-card3d {
    padding: 18px;
    width: 100%;
    max-width: 590px;
}

.hero-card3d-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
}

.pill {
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
    margin-left: auto;
}

    .dot + .dot {
        margin-left: 6px;
    }

        .dot + .dot + .dot {
            margin-left: 6px;
        }

.mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 10px 0 14px;
}

.mini-metric {
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(0,0,0,.20);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow2);
}

.mm-label {
    font-size: .78rem;
    color: rgba(232,238,252,.75);
}

.mm-value {
    font-size: 1.45rem;
    font-weight: 900;
    margin-top: 6px;
}

.mini-metric.recebido .mm-value {
    color: #fbbf24;
}

.mini-metric.notificado .mm-value {
    color: #60a5fa;
}

.mini-metric.entregue .mm-value {
    color: #34d399;
}

.mini-table {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.08);
}

.mini-row {
    display: grid;
    grid-template-columns: 1.2fr .8fr .6fr;
    gap: 10px;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .9rem;
    color: rgba(232,238,252,.85);
}

    .mini-row.head {
        background: rgba(255,255,255,.05);
        font-weight: 700;
        font-size: .82rem;
        color: rgba(232,238,252,.75);
    }

    .mini-row:last-child {
        border-bottom: none;
    }

.s.entregue {
    color: #34d399;
    font-weight: 700;
}

.s.notificado {
    color: #60a5fa;
    font-weight: 700;
}

.s.recebido {
    color: #fbbf24;
    font-weight: 700;
}

/* Sections */
.section {
    padding: 88px 0;
}

.section-head {
    margin-bottom: 34px;
    max-width: 720px;
}

    .section-head h2 {
        font-size: 2.2rem;
        margin: 0 0 10px;
        font-weight: 850;
        font-family: "Sora", sans-serif;
    }

    .section-head p {
        margin: 0;
        color: var(--muted);
        line-height: 1.6;
    }

/* 3 column grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card3d {
    padding: 22px 22px 20px;
    box-shadow: var(--shadow2);
}

    .feature-card3d h3 {
        margin: 0 0 10px;
        font-size: 1.1rem;
        font-weight: 800;
    }

    .feature-card3d p {
        margin: 0;
        color: rgba(232,238,252,.75);
        line-height: 1.6;
    }

/* Painel preview */
.painel-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.painel-card3d {
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow2);
}

    .painel-card3d .label {
        display: block;
        color: rgba(232,238,252,.75);
        margin-bottom: 8px;
        font-weight: 700;
    }

    .painel-card3d strong {
        font-size: 2.2rem;
        font-weight: 950;
        font-family: "Sora", sans-serif;
    }

    .painel-card3d.recebido strong {
        color: #fbbf24;
    }

    .painel-card3d.notificado strong {
        color: #60a5fa;
    }

    .painel-card3d.entregue strong {
        color: #34d399;
    }

.painel-tabela-wrap {
    border-radius: 20px;
    overflow: auto;
    background: rgba(0,0,0,.24);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow2);
}

.painel-tabela {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

    .painel-tabela th,
    .painel-tabela td {
        padding: 14px 16px;
        text-align: left;
    }

    .painel-tabela thead {
        background: rgba(255,255,255,.06);
    }

    .painel-tabela th {
        color: rgba(232,238,252,.75);
        font-size: .85rem;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .painel-tabela tbody tr {
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

        .painel-tabela tbody tr:hover {
            background: rgba(255,255,255,.04);
        }

.status.entregue {
    color: #34d399;
    font-weight: 800;
}

.status.notificado {
    color: #60a5fa;
    font-weight: 800;
}

.status.recebido {
    color: #fbbf24;
    font-weight: 800;
}

.quote {
    margin-top: 22px;
    color: rgba(232,238,252,.70);
    font-style: italic;
    max-width: 70ch;
}

/* Planos */
.plan-card3d {
    padding: 24px;
    box-shadow: var(--shadow2);
}

    .plan-card3d h3 {
        margin: 0 0 6px;
        font-family: "Sora", sans-serif;
        font-weight: 800;
    }

.plan-price {
    margin: 0 0 14px;
    color: rgba(232,238,252,.75);
    font-weight: 700;
    line-height: 1.5;
}

.plan-card3d ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: rgba(232,238,252,.75);
    line-height: 1.8;
}

.plan-card3d.featured {
    outline: 2px solid rgba(79,124,255,.35);
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    background: rgba(79,124,255,.18);
    border: 1px solid rgba(79,124,255,.28);
    margin-bottom: 12px;
}

/* Produtos lado a lado */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 420px));
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin-top: 36px;
}

    .plans-grid .plan-card3d {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

        .plans-grid .plan-card3d ul {
            flex: 1;
        }

#planos .section-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Parceiros */
.parceiros-section {
    padding-top: 40px;
}

#parceiros .section-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 190px));
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    margin-top: 34px;
}

.parceiro-card {
    min-height: 145px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    text-decoration: none;
    color: rgba(232,238,252,.9);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .parceiro-card:hover {
        transform: translateY(-6px);
        border-color: rgba(79, 124, 255, 0.65);
        box-shadow: 0 24px 60px rgba(79,124,255,.18);
    }

    .parceiro-card img {
        max-width: 82px;
        max-height: 76px;
        object-fit: contain;
        filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
    }

    .parceiro-card span {
        font-size: 15px;
        font-weight: 700;
        color: #e8eefc;
        text-align: center;
        line-height: 1.3;
    }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 22px;
    align-items: start;
}

.contact-card3d,
.form-card3d {
    padding: 22px;
    box-shadow: var(--shadow2);
}

.muted {
    color: rgba(232,238,252,.75);
}

.small {
    font-size: .9rem;
}

form label {
    display: block;
    font-weight: 700;
    color: rgba(232,238,252,.85);
    margin-bottom: 10px;
}

input,
textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
    color: rgba(232,238,252,.95);
    outline: none;
}

    input:focus,
    textarea:focus {
        border-color: rgba(79,124,255,.45);
        box-shadow: 0 0 0 4px rgba(79,124,255,.12);
    }

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-status {
    margin-top: 12px;
    color: rgba(232,238,252,.78);
    min-height: 20px;
}

/* Footer */
.footer {
    padding: 26px 0 34px;
    border-top: 1px solid rgba(255,255,255,.06);
    background: rgba(2,6,23,.25);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-brand {
    font-weight: 900;
    font-family: "Sora", sans-serif;
}

.footer-muted {
    margin-left: 10px;
    color: rgba(232,238,252,.70);
}

.footer-right a {
    color: rgba(232,238,252,.80);
    text-decoration: none;
    margin-left: 14px;
}

    .footer-right a:hover {
        text-decoration: underline;
    }

/* Responsivo */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hero-left {
        max-width: 680px;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-card3d {
        max-width: 680px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .painel-cards {
        grid-template-columns: 1fr;
    }

    .two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }

    .parceiros-grid {
        grid-template-columns: repeat(2, minmax(130px, 190px));
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .brand-logo {
        width: 190px;
        height: 190px;
    }

    .hero {
        padding: 64px 0 44px;
    }

    .hero-title-small {
        font-size: 2.1rem;
    }

    .hero-title-big {
        font-size: 2.35rem;
    }

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

    .mini-metrics {
        grid-template-columns: 1fr;
    }

    .mini-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .section {
        padding: 64px 0;
    }

    .section-head h2 {
        font-size: 1.8rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .parceiros-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .parceiro-card {
        max-width: 260px;
        width: 100%;
        margin: 0 auto;
    }

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

    .footer-muted {
        display: block;
        margin-left: 0;
        margin-top: 6px;
    }

    .footer-right a {
        margin-left: 0;
        margin-right: 14px;
    }
}
