:root {
    --purple: #5B33F5;
    --purple-dark: #4326C9;
    --cyan: #24BAEF;
    --orange: #FF6839;
    --ink: #151225;
    --muted: #6F6A7F;
    --soft: #F7F5FF;
    --line: rgba(91, 51, 245, .14);
    --white: #FFFFFF;
    --shadow: 0 24px 70px rgba(67, 38, 201, .15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 999;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(91,51,245,.08);
    transition: .3s;
}

.header.scrolled {
    box-shadow: 0 12px 35px rgba(24,18,70,.08);
}

.header-inner {
    height: 84px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    width: 132px;
    margin-right: auto;
}

.brand img {
    width: 100%;
    height: 68px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav a {
    font-size: .88rem;
    font-weight: 600;
    color: #454052;
    transition: .2s;
}

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

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 5px auto;
}

/* ================= BOTÕES ================= */

.btn {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 800;
    transition: .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-small {
    min-height: 44px;
    padding: 0 18px;
    font-size: .8rem;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg,var(--purple),var(--purple-dark));
    box-shadow: 0 16px 30px rgba(91,51,245,.26);
}

.btn-secondary {
    color: var(--purple);
    background: #fff;
    border: 1px solid rgba(91,51,245,.22);
}

.btn-white {
    background: #fff;
    color: var(--purple-dark);
}

/* ================= HERO ================= */

.hero {
    padding: 170px 0 110px;
    min-height: 820px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 14%,
            rgba(36, 186, 239, .12),
            transparent 28%
        ),
        radial-gradient(
            circle at 86% 16%,
            rgba(255, 104, 57, .11),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #faf8ff 68%,
            #f3efff
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            rgba(91, 51, 245, .12) 1px,
            transparent 1px
        );
    background-size: 24px 24px;
    mask-image:
        linear-gradient(
            to bottom,
            #000000,
            transparent 74%
        );
    opacity: .35;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--purple);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.eyebrow.light {
    color: #c0b7ff;
}

.hero h1,
.section-heading h2,
.split h2,
.faq-grid h2,
.cta-box h2 {
    font-size: clamp(2.5rem, 5vw, 5.3rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.hero h1 span {
    display: block;
    color: transparent;
    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--cyan),
            var(--orange)
        );
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy > p {
    max-width: 650px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 38px;
}

.hero-trust div {
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.hero-trust strong,
.hero-trust span {
    display: block;
}

.hero-trust span {
    margin-top: 3px;
    color: var(--muted);
    font-size: .74rem;
}

/* ================= DASHBOARD ================= */

.dashboard {
    padding: 28px;
    border-radius: 34px;
    color: #ffffff;
    background:
        linear-gradient(
            160deg,
            #171229,
            #24194a 65%,
            #1d1640
        );
    box-shadow:
        0 45px 100px rgba(30, 20, 80, .28);
    transform:
        perspective(1100px)
        rotateY(-4deg)
        rotateX(2deg);
}

.dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.dashboard-head small {
    color: #a99df2;
    font-size: .66rem;
    letter-spacing: .14em;
}

.dashboard-head h2 {
    margin-top: 6px;
    font-size: 1.7rem;
}

.dashboard-head b {
    padding: 8px 12px;
    border-radius: 999px;
    color: #72ddff;
    background: rgba(36, 186, 239, .12);
    font-size: .68rem;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.metrics article,
.chart-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
}

.metrics span,
.metrics strong,
.metrics small,
.chart-card span,
.chart-card strong {
    display: block;
}

.metrics span,
.metrics small,
.chart-card span {
    color: #bcb6d1;
    font-size: .68rem;
}

.metrics strong {
    margin: 7px 0;
    font-size: .93rem;
}

.chart-card {
    margin-top: 18px;
    padding: 24px;
}

.chart {
    height: 220px;
    display: flex;
    align-items: flex-end;
    gap: 13px;
    margin-top: 24px;
    border-bottom:
        1px solid rgba(255, 255, 255, .1);
    background:
        repeating-linear-gradient(
            to top,
            transparent 0 43px,
            rgba(255, 255, 255, .05) 44px
        );
}

.chart i {
    flex: 1;
    border-radius: 12px 12px 4px 4px;
    background:
        linear-gradient(
            180deg,
            var(--cyan),
            var(--purple),
            var(--orange)
        );
}

/* ================= FAIXA DE SERVIÇOS ================= */

.strip {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.strip .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.strip span {
    color: #908aa1;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
}

/* ================= SEÇÕES ================= */

.section {
    padding: 112px 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 54px;
}

.section-heading h2,
.split h2,
.faq-grid h2,
.cta-box h2 {
    font-size: clamp(2.2rem, 4.3vw, 4rem);
}

.section-heading p,
.split p,
.cta-box p {
    margin-top: 18px;
    color: var(--muted);
}

/* ================= CARDS DE SERVIÇOS ================= */

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

.card {
    position: relative;
    min-height: 285px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfaff
        );
    box-shadow:
        0 10px 35px rgba(67, 38, 201, .06);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 51, 245, .24);
    box-shadow: var(--shadow);
}

.card em {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #aaa4b8;
    font-size: .7rem;
    font-style: normal;
    font-weight: 700;
}

.card div {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--cyan)
        );
    box-shadow:
        0 14px 28px rgba(91, 51, 245, .18);
    font-size: 1.35rem;
}

.card:nth-child(3n) div {
    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff9e68
        );
}

.card h3 {
    margin-top: 30px;
    font-size: 1.18rem;
    line-height: 1.3;
}

.card p {
    margin-top: 11px;
    color: var(--muted);
    font-size: .9rem;
}

/* ================= DIFERENCIAIS ================= */

.dark {
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(91, 51, 245, .45),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            #151023,
            #211642 55%,
            #171229
        );
}

.split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
}

.split > div:first-child {
    position: sticky;
    top: 140px;
    align-self: start;
}

.split p,
.features p {
    color: #c9c4da;
}

.features {
    border-top:
        1px solid rgba(255, 255, 255, .12);
}

.features article {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 32px 0;
    border-bottom:
        1px solid rgba(255, 255, 255, .12);
}

.features article > span {
    color: #a79ce8;
    font-size: .75rem;
    font-weight: 800;
}

.features h3 {
    font-size: 1.22rem;
}

.features p {
    margin-top: 7px;
}

/* ================= PROCESSO ================= */

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process article {
    padding: 28px 24px;
    border-top:
        3px solid var(--purple);
    border-radius: 0 0 22px 22px;
    background: var(--soft);
}

.process article:nth-child(2) {
    border-color: var(--cyan);
}

.process article:nth-child(3) {
    border-color: var(--orange);
}

.process article:nth-child(4) {
    border-color: var(--purple-dark);
}

.process span {
    color: #9993a7;
    font-size: .72rem;
    font-weight: 800;
}

.process h3 {
    margin-top: 28px;
    font-size: 1.15rem;
}

.process p {
    margin-top: 8px;
    color: var(--muted);
    font-size: .88rem;
}

/* ================= PLANOS ================= */

.plans {
    background: #faf9ff;
}

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

.plan {
    position: relative;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow:
        0 16px 45px rgba(67, 38, 201, .07);
}

.plan.featured {
    transform: translateY(-14px);
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--purple),
            var(--purple-dark)
        );
    box-shadow:
        0 30px 70px rgba(91, 51, 245, .3);
}

.plan > b {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-size: .6rem;
    letter-spacing: .06em;
}

.plan > span {
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.plan h3 {
    margin-top: 22px;
    font-size: 2.7rem;
    line-height: 1;
}

.plan h3 small {
    font-size: .9rem;
    vertical-align: top;
}

.plan h3 em {
    margin-left: 5px;
    font-size: .72rem;
    font-style: normal;
}

.plan ul {
    margin: 28px 0;
    list-style: none;
}

.plan li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .88rem;
}

.plan.featured li {
    color: #e8e3ff;
    border-color: rgba(255, 255, 255, .14);
}

.plan .btn {
    width: 100%;
}

/* ================= FAQ ================= */

.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
}

.faq details {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.faq summary {
    position: relative;
    padding-right: 35px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    top: -3px;
    right: 0;
    color: var(--purple);
    font-size: 1.4rem;
}

.faq details[open] summary::after {
    content: "−";
}

.faq p {
    margin-top: 12px;
    color: var(--muted);
}

/* ================= CTA FINAL ================= */

.cta {
    padding: 30px 0 100px;
}

.cta-box {
    min-height: 320px;
    padding: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(36, 186, 239, .35),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--purple),
            var(--purple-dark) 70%
        );
    box-shadow:
        0 30px 80px rgba(91, 51, 245, .25);
}

.cta-box > div {
    max-width: 760px;
}

.cta-box p {
    color: #e8e3ff;
}

/* ================= RODAPÉ ================= */

footer {
    padding: 68px 0 24px;
    color: #d5d0e3;
    background: #110d1d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 46px;
}

.footer-grid > div:first-child img {
    width: 118px;
    height: 82px;
    padding: 7px;
    object-fit: contain;
    border-radius: 15px;
    background: #ffffff;
}

.footer-grid p {
    max-width: 320px;
    margin-top: 16px;
}

.footer-grid h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: .92rem;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin: 9px 0;
    color: #aaa4bb;
    font-size: .86rem;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    border-top:
        1px solid rgba(255, 255, 255, .1);
    color: #8d879d;
    font-size: .76rem;
}

/* ================= WHATSAPP FLUTUANTE ================= */

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #16a34a;
    box-shadow:
        0 16px 35px rgba(22, 163, 74, .3);
    font-size: .75rem;
    font-weight: 800;
}

/* ================= ANIMAÇÕES ================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ================= RESPONSIVIDADE ================= */

@media (max-width: 1050px) {

    .btn-header {
        display: none;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .dashboard {
        max-width: 760px;
        margin: auto;
        transform: none;
    }

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

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

    .split > div:first-child {
        position: static;
    }

    .plan.featured {
        transform: none;
    }
}

@media (max-width: 820px) {

    .header-inner {
        height: 76px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 76px;
        left: 20px;
        right: 20px;
        display: none;
        padding: 22px;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .hero {
        padding-top: 135px;
    }

    .hero-trust,
    .metrics {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .plans-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 28px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 580px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 82px 0;
    }

    .hero h1 {
        font-size: 3.05rem;
    }

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

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

    .dashboard {
        padding: 20px;
    }

    .chart {
        height: 170px;
        gap: 7px;
    }

    .services-grid,
    .process {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .split h2,
    .faq-grid h2,
    .cta-box h2 {
        font-size: 2.3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
