/* ============================================================
   BOLEPIX — AJUSTES FINTECH V5681
   ============================================================ */

:root {
    --bp-v5681-navy: #041322;
    --bp-v5681-navy-soft: #08243e;
    --bp-v5681-card-start: rgba(44, 96, 143, .78);
    --bp-v5681-card-end: rgba(24, 71, 105, .88);
    --bp-v5681-blue: #1499ff;
    --bp-v5681-cyan: #20c6dc;
    --bp-v5681-green: #21d997;
    --bp-v5681-white: #ffffff;
    --bp-v5681-text: #d5e4f0;
    --bp-v5681-border: rgba(163, 207, 236, .22);
    --bp-v5681-gradient:
        linear-gradient(
            135deg,
            #168cff 0%,
            #18badd 52%,
            #1ed18d 100%
        );
}

/* ============================================================
   ELIMINAR O ESPAÇO ACIMA DO CABEÇALHO
   ============================================================ */

html,
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.bp-fintech-public,
body.bp-fintech-public #app,
body.bp-fintech-public #app > .landing,
body.bp-fintech-public .landing {
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: auto !important;
    transform: none !important;
}

body.bp-fintech-public .landing {
    position: relative !important;
    min-height: 100vh;
}

body.bp-fintech-public .landing > .landing-bg,
body.bp-fintech-public .landing-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    pointer-events: none !important;
}

/* ============================================================
   CABEÇALHO PÚBLICO IGUAL AO OPEN FINANCE
   ============================================================ */

body.bp-fintech-public .landing-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;

    width: 100% !important;
    min-height: 90px !important;
    height: 90px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;

    gap: 28px !important;

    margin: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left:
        max(
            38px,
            calc((100vw - 1690px) / 2)
        ) !important;
    padding-right:
        max(
            38px,
            calc((100vw - 1690px) / 2)
        ) !important;

    border-bottom:
        1px solid rgba(169, 207, 236, .16) !important;

    background:
        rgba(3, 16, 31, .97) !important;

    box-shadow:
        0 12px 34px rgba(0, 9, 22, .18) !important;

    transform: none !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.bp-fintech-public .landing-brand {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.bp-fintech-public .landing-brand-img {
    max-height: 60px !important;
}

body.bp-fintech-public .landing-menu {
    flex: 1 1 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;

    gap: 10px !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.bp-fintech-public .landing-menu > button {
    min-height: 48px !important;

    padding:
        10px 20px !important;

    border-radius: 13px !important;

    white-space: nowrap !important;

    font-size: 15px !important;
    line-height: 1 !important;
}

body.bp-fintech-public .landing-menu > button.primary {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Evita qualquer margem artificial após o menu. */
body.bp-fintech-public .landing-top + *,
body.bp-fintech-public .landing > .landing-top + * {
    margin-top: 0 !important;
}

/* ============================================================
   CARDS DOS PLANOS NO PADRÃO AMBIENTE SEGURO
   ============================================================ */

body.bp-fintech-public .landing-plan {
    position: relative !important;
    overflow: hidden !important;

    min-height: 465px;

    display: flex !important;
    flex-direction: column !important;

    padding: 34px !important;

    border:
        1px solid rgba(154, 205, 236, .24) !important;

    border-radius: 24px !important;

    color: var(--bp-v5681-white) !important;

    background:
        linear-gradient(
            145deg,
            var(--bp-v5681-card-start),
            var(--bp-v5681-card-end)
        ) !important;

    box-shadow:
        0 28px 65px rgba(0, 8, 22, .22) !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.bp-fintech-public .landing-plan::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -165px;
    right: -110px;

    border-radius: 50%;

    background:
        rgba(32, 214, 166, .18);

    filter: blur(2px);

    pointer-events: none;
}

body.bp-fintech-public .landing-plan.featured {
    border:
        2px solid rgba(38, 191, 255, .86) !important;

    box-shadow:
        0 30px 75px rgba(4, 33, 64, .29),
        inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
}

body.bp-fintech-public .landing-plan h2,
body.bp-fintech-public .landing-plan h3,
body.bp-fintech-public .landing-plan h4 {
    position: relative;

    margin-top: 26px !important;
    margin-bottom: 18px !important;

    color: #ffffff !important;

    font-size: 27px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

body.bp-fintech-public .landing-plan .plan-price {
    position: relative;

    margin-bottom: 24px !important;

    color: #ffffff !important;

    font-size: clamp(38px, 3.1vw, 55px) !important;
    font-weight: 900 !important;
    letter-spacing: -1.7px !important;
    line-height: 1 !important;
}

body.bp-fintech-public .landing-plan .plan-price span {
    color: #bfd4e5 !important;

    font-size: 15px !important;
    font-weight: 730 !important;
    letter-spacing: 0 !important;
}

body.bp-fintech-public .landing-plan p {
    position: relative;

    margin-bottom: 28px !important;

    color: #d3e3ef !important;

    font-size: 17px !important;
    line-height: 1.62 !important;
}

body.bp-fintech-public .landing-plan .plan-badge {
    position: relative;

    width: fit-content;

    display: inline-flex;
    align-items: center;

    min-height: 36px;

    padding: 8px 14px !important;

    border:
        1px solid rgba(214, 239, 255, .25) !important;

    border-radius: 999px !important;

    color: #07577f !important;

    background:
        linear-gradient(
            135deg,
            #eaf8ff,
            #cdeeff
        ) !important;

    font-size: 13px !important;
    font-weight: 850 !important;
}

body.bp-fintech-public .landing-plan button,
body.bp-fintech-public .landing-plan .primary {
    position: relative;

    width: 100% !important;

    margin-top: auto !important;

    border-radius: 14px !important;
}

/* ============================================================
   PÁGINA GESTÃO
   ============================================================ */

.bp-mgmt-main {
    overflow: hidden;
}

.bp-mgmt-hero {
    position: relative;

    padding: 76px 0 88px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 84% 14%,
            rgba(16, 151, 255, .31),
            transparent 31%
        ),
        radial-gradient(
            circle at 10% 88%,
            rgba(31, 212, 147, .18),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #061427 0%,
            #082641 54%,
            #073f5a 100%
        );
}

.bp-mgmt-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    opacity: .48;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        );

    background-size: 66px 66px;
}

.bp-mgmt-hero-inner {
    position: relative;
    z-index: 2;

    max-width: 1000px;
}

.bp-mgmt-kicker {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 39px;

    padding: 8px 16px;

    border:
        1px solid rgba(41, 225, 165, .37);

    border-radius: 999px;

    color: #aef8dc;

    background:
        rgba(26, 204, 142, .09);

    font-size: 14px;
    font-weight: 800;
}

.bp-mgmt-kicker::before {
    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #2ae2a3;

    box-shadow:
        0 0 0 6px rgba(42, 226, 163, .11);
}

.bp-mgmt-title {
    max-width: 980px;

    margin: 23px 0 22px;

    color: #ffffff;

    font-size: clamp(45px, 5.6vw, 76px);
    font-weight: 880;
    letter-spacing: -3.4px;
    line-height: 1.02;

    text-wrap: balance;
}

.bp-mgmt-title span {
    color: transparent;

    background:
        var(--bp-v5681-gradient);

    background-clip: text;
    -webkit-background-clip: text;
}

.bp-mgmt-lead {
    max-width: 870px;

    margin: 0;

    color: #cadceb;

    font-size: 20px;
    line-height: 1.65;
}

.bp-mgmt-free-badge {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 30px;

    padding: 13px 18px;

    border:
        1px solid rgba(42, 226, 163, .33);

    border-radius: 14px;

    color: #aef8dc;

    background:
        rgba(24, 201, 139, .10);

    font-size: 15px;
    font-weight: 800;
}

.bp-mgmt-products {
    padding: 64px 0 78px;

    background: #f3f8fb;
}

.bp-mgmt-section-head {
    max-width: 780px;

    margin-bottom: 31px;
}

.bp-mgmt-section-head h2 {
    margin: 0 0 10px;

    color: #10243c;

    font-size: 34px;
    letter-spacing: -1px;
}

.bp-mgmt-section-head p {
    margin: 0;

    color: #61768c;

    font-size: 16px;
    line-height: 1.6;
}

.bp-mgmt-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.bp-mgmt-card {
    position: relative;
    overflow: hidden;

    min-height: 420px;

    display: flex;
    flex-direction: column;

    padding: 29px;

    border:
        1px solid rgba(157, 205, 234, .25);

    border-radius: 24px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(45, 98, 146, .97),
            rgba(24, 72, 106, .98)
        );

    box-shadow:
        0 25px 58px rgba(4, 28, 53, .16);
}

.bp-mgmt-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -135px;
    right: -90px;

    border-radius: 50%;

    background:
        rgba(29, 215, 157, .18);
}

.bp-mgmt-icon {
    position: relative;

    width: 66px;
    height: 66px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(52, 227, 173, .31);

    border-radius: 18px;

    background:
        rgba(21, 200, 146, .10);

    font-size: 31px;
}

.bp-mgmt-card-label {
    position: absolute;

    top: 27px;
    right: 27px;

    padding: 7px 11px;

    border:
        1px solid rgba(170, 247, 217, .22);

    border-radius: 999px;

    color: #a6f7d9;

    background:
        rgba(31, 214, 151, .10);

    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.bp-mgmt-card h3 {
    position: relative;

    margin: 27px 0 13px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.2;
}

.bp-mgmt-card > p {
    position: relative;

    margin: 0 0 24px;

    color: #d1e1ec;

    font-size: 16px;
    line-height: 1.62;
}

.bp-mgmt-list {
    position: relative;

    display: grid;
    gap: 11px;

    margin-top: auto;
}

.bp-mgmt-list div {
    min-height: 49px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 13px;

    border:
        1px solid rgba(203, 229, 247, .14);

    border-radius: 13px;

    color: #dceaf4;

    background:
        rgba(255, 255, 255, .055);

    font-size: 14px;
    font-weight: 690;
}

.bp-mgmt-list div::before {
    content: "✓";

    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: #062b31;

    background: #64e8ba;

    font-size: 12px;
    font-weight: 900;
}

.bp-mgmt-cta {
    padding: 66px 0;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #071a30,
            #0a3651
        );
}

.bp-mgmt-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    padding: 39px;

    border:
        1px solid rgba(174, 213, 239, .17);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .09),
            rgba(255, 255, 255, .045)
        );

    box-shadow:
        0 28px 65px rgba(0, 8, 22, .23);

    backdrop-filter: blur(18px);
}

.bp-mgmt-cta h2 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 30px;
}

.bp-mgmt-cta p {
    max-width: 750px;

    margin: 0;

    color: #c9dceb;

    font-size: 16px;
    line-height: 1.6;
}

.bp-mgmt-actions {
    display: flex;
    align-items: center;
    gap: 11px;

    flex: 0 0 auto;
}

.bp-mgmt-actions a {
    min-height: 51px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 21px;

    border-radius: 13px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 820;
    text-decoration: none;
    white-space: nowrap;
}

.bp-mgmt-actions .primary {
    border: 0;

    background:
        var(--bp-v5681-gradient);

    box-shadow:
        0 15px 34px rgba(12, 141, 230, .27);
}

.bp-mgmt-actions .secondary {
    border:
        1px solid rgba(191, 220, 241, .23);

    background:
        rgba(255, 255, 255, .07);
}

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

@media (max-width: 1350px) and (min-width: 1001px) {
    body.bp-fintech-public .landing-top {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    body.bp-fintech-public .landing-menu {
        gap: 7px !important;
    }

    body.bp-fintech-public .landing-menu > button {
        padding-left: 13px !important;
        padding-right: 13px !important;

        font-size: 13px !important;
    }

    body.bp-fintech-public .landing-menu > button.primary {
        padding-left: 17px !important;
        padding-right: 17px !important;
    }
}

@media (max-width: 1000px) {
    body.bp-fintech-public .landing-top {
        height: auto !important;
        min-height: 76px !important;

        flex-wrap: wrap !important;

        padding:
            12px 20px !important;
    }

    body.bp-fintech-public .landing-menu {
        width: 100% !important;

        display: none !important;

        flex-direction: column !important;
        align-items: stretch !important;

        padding-top: 10px !important;
    }

    body.bp-fintech-public
    .landing-top.nav-open
    .landing-menu {
        display: flex !important;
    }

    body.bp-fintech-public .landing-menu > button {
        width: 100% !important;
    }

    .bp-mgmt-grid {
        grid-template-columns: 1fr;
    }

    .bp-mgmt-card {
        min-height: auto;
    }

    .bp-mgmt-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .bp-mgmt-hero {
        padding:
            52px 0 68px;
    }

    .bp-mgmt-title {
        font-size:
            clamp(40px, 12vw, 58px);

        letter-spacing: -2.3px;
    }

    .bp-mgmt-lead {
        font-size: 17px;
    }

    .bp-mgmt-products {
        padding:
            47px 0 58px;
    }

    .bp-mgmt-card {
        padding: 23px;
    }

    .bp-mgmt-card-label {
        position: relative;

        top: auto;
        right: auto;

        width: fit-content;

        margin-top: 18px;
    }

    .bp-mgmt-actions {
        width: 100%;

        align-items: stretch;
        flex-direction: column;
    }

    .bp-mgmt-actions a {
        width: 100%;
    }
}
