:root {
    --bg: #070b16;
    --surface: rgba(255,255,255,.06);
    --surface2: rgba(255,255,255,.04);
    --stroke: rgba(255,255,255,.14);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.68);
    --primary: #22c55e;
    --primary2: #06b6d4;
    --shadow: 0 18px 50px rgba(0,0,0,.45);
    --radius: 18px;
    --max: 1120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: .9rem;
}

.wfull {
    width: 100%;
    display: block;
}

::selection {
    background: rgba(34,197,94,.35);
    color: #fff;
}

/* BG */
.bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

    .bg .grid {
        position: absolute;
        inset: 0;
        background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
        background-size: 64px 64px;
        opacity: .18;
        mask-image: radial-gradient(circle at 30% 10%, black 0 45%, transparent 70%);
    }

    .bg .glow {
        position: absolute;
        border-radius: 999px;
        filter: blur(80px);
        opacity: .55;
    }

    .bg .g1 {
        width: 520px;
        height: 520px;
        left: -180px;
        top: -220px;
        background: radial-gradient(circle, rgba(34,197,94,.35), transparent 65%);
    }

    .bg .g2 {
        width: 560px;
        height: 560px;
        right: -220px;
        top: 80px;
        background: radial-gradient(circle, rgba(6,182,212,.28), transparent 65%);
    }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(7,11,22,.78);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
}

.brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    font-weight: 900;
}

.brand__name {
    font-weight: 900;
}

.brand__tag {
    margin-left: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--muted);
    font-size: .78rem;
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

    .nav a {
        color: var(--muted);
        font-weight: 700;
        position: relative;
    }

        .nav a:hover {
            color: #fff;
        }

        .nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--primary), var(--primary2));
            transition: .25s;
        }

        .nav a:hover::after {
            width: 100%;
        }

/* Buttons */
.btn {
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    font-weight: 800;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn:hover {
        background: rgba(255,255,255,.12);
    }

.btn--ghost {
    background: rgba(255,255,255,.04);
}

.btn--primary {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    border: none;
    color: white;
    transition: .25s;
}

    .btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(34,197,94,.35);
    }

/* =========================
   NEXUM TOAST POPUP (AJUSTADO)
   - overlay blur + faixa topo ok/err
   - acima do modal MP (9999)
   - mantém classes: nx-toast--ok / nx-toast--err
   ========================= */
.nx-toast {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,.70);
    backdrop-filter: blur(6px);
    z-index: 10050;
}

    .nx-toast[aria-hidden="false"] {
        display: flex;
    }

.nx-toast__card {
    width: min(520px, 92vw);
    border-radius: 18px;
    padding: 16px;
    background: #0b1020;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 80px rgba(0,0,0,.60);
    position: relative;
    overflow: hidden;
}

    /* faixa superior */
    .nx-toast__card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 4px;
        width: 100%;
        background: rgba(255,255,255,.14);
    }

.nx-toast--ok .nx-toast__card::before {
    background: rgba(34,197,94,.95);
}

.nx-toast--err .nx-toast__card::before {
    background: rgba(239,68,68,.95);
}

.nx-toast__title {
    font-weight: 900;
    font-size: 16px;
    margin: 2px 0 8px;
    color: rgba(255,255,255,.94);
}

.nx-toast__msg {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 14px;
    color: rgba(255,255,255,.82);
    white-space: pre-wrap;
    word-break: break-word;
}

.nx-toast__btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 900;
    cursor: pointer;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.92);
    transition: transform .08s ease, background .15s ease;
}

    .nx-toast__btn:hover {
        background: rgba(255,255,255,.12);
    }

    .nx-toast__btn:active {
        transform: translateY(1px);
    }

.nx-toast--ok .nx-toast__btn {
    background: rgba(34,197,94,.18);
    border: 1px solid rgba(34,197,94,.35);
    color: #7dffb2;
}

.nx-toast--err .nx-toast__btn {
    background: rgba(239,68,68,.16);
    border: 1px solid rgba(239,68,68,.28);
    color: #ff8080;
}

.nx-toast__btn:focus {
    outline: 2px solid rgba(34,197,94,.55);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .nx-toast {
        padding: 16px;
    }

    .nx-toast__card {
        border-radius: 16px;
        padding: 14px;
    }
}

/* Burger + Mobile */
.burger {
    display: none;
    cursor: pointer;
}

    .burger span {
        display: block;
        width: 18px;
        height: 2px;
        background: rgba(255,255,255,.92);
        margin: 4px auto;
        border-radius: 999px;
    }

.mobile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    padding: 24px;
}

.mobile__panel {
    width: min(420px, calc(100% - 24px));
    margin: 0 auto;
    border-radius: 18px;
    background: rgba(20,20,26,.92);
    border: 1px solid rgba(255,255,255,.14);
    padding: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,.55);
}

.mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mobile__brand {
    font-weight: 900;
}

.mobile__close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 18px;
}

.mobile__link {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    color: rgba(255,255,255,.92);
    margin: 6px 0;
    font-weight: 800;
}

    .mobile__link:hover {
        background: rgba(255,255,255,.06);
    }

/* Hero */
.hero {
    padding: 80px 0;
    position: relative;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(34,197,94,.18), transparent 70%);
        top: -220px;
        left: -220px;
        filter: blur(80px);
        z-index: -1;
        pointer-events: none;
    }

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.86);
    font-weight: 800;
}

    .pill .dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--primary), var(--primary2));
        box-shadow: 0 0 0 6px rgba(34,197,94,.12);
    }

h1 {
    font-size: 3.2rem;
    line-height: 1.08;
    margin: 20px 0 14px;
}

.grad {
    background: linear-gradient(90deg, #fff, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--muted);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin: 14px 0 26px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    background: var(--surface);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    min-width: 200px;
}

.stat__value {
    font-weight: 900;
}

.stat__label {
    font-size: .9rem;
    color: var(--muted);
    margin-top: 6px;
}

/* Card */
.card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

    .card:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.20);
        background: rgba(255,255,255,.07);
    }

.card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card__title {
    font-weight: 900;
}

.card__chip {
    width: 44px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.14);
}

.mini {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
}

.mini__kpi {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.mini__label {
    color: var(--muted);
    font-weight: 800;
}

.mini__value {
    font-size: 1.4rem;
    font-weight: 900;
}

.mini__unit {
    font-size: .9rem;
    color: var(--muted);
    margin-left: 4px;
    font-weight: 800;
}

.mini__bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    margin: 10px 0 8px;
    overflow: hidden;
}

.mini__barFill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary2));
}

.mini__hint {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
}

.row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
}

.badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.14);
    white-space: nowrap;
}

    .badge.ok {
        background: rgba(34,197,94,.20);
    }

    .badge.warn {
        background: rgba(245,158,11,.18);
    }

.card__cta {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section--alt {
    background: rgba(255,255,255,.03);
}

.section__head {
    margin-bottom: 40px;
}

    .section__head h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

    .feature:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.20);
        background: rgba(255,255,255,.07);
    }

    .feature .icon {
        font-size: 1.4rem;
    }

    .feature h3 {
        margin: 10px 0 8px;
        font-weight: 900;
    }

    .feature p {
        color: var(--muted);
        line-height: 1.6;
    }

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cardLite {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

    .cardLite:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.20);
        background: rgba(255,255,255,.07);
    }

    .cardLite h3 {
        font-weight: 900;
        margin-bottom: 8px;
    }

    .cardLite p {
        color: var(--muted);
        line-height: 1.6;
    }

.ul {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: rgba(255,255,255,.86);
}

    .ul li::marker {
        color: rgba(34,197,94,.9);
    }

.steps {
    display: grid;
    gap: 14px;
}

.step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

    .step:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.20);
        background: rgba(255,255,255,.07);
    }

.step__num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}

.step h3 {
    font-weight: 900;
    margin-bottom: 6px;
}

.step p {
    line-height: 1.6;
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.priceCard {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

    .priceCard:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.20);
        background: rgba(255,255,255,.07);
    }

.priceTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

    .priceTop h3 {
        font-weight: 900;
    }

.tag {
    font-size: .78rem;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.86);
    white-space: nowrap;
}

.tag--hot {
    border: none;
    background: linear-gradient(135deg, rgba(34,197,94,.35), rgba(6,182,212,.25));
}

.priceValue {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 8px 0 8px;
}

.per {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 800;
    margin-left: 6px;
}

.priceCard--featured {
    border-color: rgba(34,197,94,.35);
    box-shadow: 0 18px 50px rgba(34,197,94,.08);
    background: linear-gradient(180deg, rgba(34,197,94,.10), rgba(255,255,255,.05));
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tCard {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

    .tCard:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.20);
        background: rgba(255,255,255,.07);
    }

.stars {
    letter-spacing: 1px;
    font-weight: 900;
    margin-bottom: 10px;
    color: rgba(255,255,255,.9);
}

.tCard p {
    color: rgba(255,255,255,.86);
    line-height: 1.6;
}

.tFooter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(34,197,94,.35), rgba(6,182,212,.25));
    border: 1px solid rgba(255,255,255,.12);
}

/* FAQ */
.faq {
    display: grid;
    gap: 12px;
}

details {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 14px;
}

summary {
    cursor: pointer;
    font-weight: 900;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    summary::-webkit-details-marker {
        display: none;
    }

    summary::after {
        content: "+";
        font-weight: 900;
        opacity: .85;
    }

details[open] summary::after {
    content: "–";
}

details p {
    margin-top: 10px;
    color: rgba(255,255,255,.72);
    line-height: 1.6;
}

/* Contact */
.contactGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contactInfo {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.contactItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
}

.contactIcon {
    width: 26px;
    text-align: center;
}

.form {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 20px;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

label {
    font-weight: 900;
    font-size: .9rem;
    color: rgba(255,255,255,.88);
}

input, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.92);
    outline: none;
}

    input:focus, textarea:focus {
        border-color: rgba(34,197,94,.40);
        box-shadow: 0 0 0 6px rgba(34,197,94,.10);
    }

textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA */
.cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 18px;
}

.cta__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}

/* Footer */
.footer {
    padding: 34px 0 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: flex-start;
}

.brand--footer .brand__mark {
    width: 34px;
    height: 34px;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

    .footer__cols strong {
        display: block;
        margin-bottom: 10px;
        font-weight: 900;
    }

    .footer__cols a {
        display: block;
        color: var(--muted);
        margin: 6px 0;
        font-weight: 800;
    }

        .footer__cols a:hover {
            color: #fff;
        }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    gap: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .grid3 {
        grid-template-columns: 1fr;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }

    .pricing {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .contactGrid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__cols {
        grid-template-columns: 1fr;
    }

    .cta__box {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta__actions {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 860px) {
    .nav {
        display: none;
    }

    .burger {
        display: block;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,.14);
        background: rgba(255,255,255,.06);
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 2.4rem;
    }

    .container {
        width: min(var(--max), calc(100% - 28px));
    }
}

/* FIX HARD: Contato sempre alinhado e campos sempre “grandes” */
.form .field {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.form label {
    display: block;
}

.form input,
.form textarea {
    display: block;
    width: 100%;
}

/* =========================
   MODAL MP — SCROLL INTERNO
   (fora de @media, pega desktop e mobile)
   ========================= */

.mpModalOverlay {
    align-items: center;
    justify-content: center;
}

.mpModal {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mpModal__top {
    flex: 0 0 auto;
}

.mpModal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
}

    /* scrollbar (opcional) */
    .mpModal__body::-webkit-scrollbar {
        width: 8px;
    }

    .mpModal__body::-webkit-scrollbar-thumb {
        background: rgba(34,197,94,.55);
        border-radius: 999px;
    }

    .mpModal__body::-webkit-scrollbar-track {
        background: rgba(255,255,255,.06);
        border-radius: 999px;
    }

/* no mobile, dá mais espaço */
@media (max-width: 680px) {
    .mpModal {
        max-height: 92vh;
    }
}
