/* =========================================================
   Página institucional (Index sem login) e telas de acesso
   Usa as cores da marca definidas em site.css
   ========================================================= */

:root {
    --lp-navy: #0d1b2a;
    --lp-navy-2: #1b263b;
    --lp-gold: #f7b731;
    --lp-slate: #415a77;
    --lp-mist: #f3f5f8;
    --lp-line: #e1e6ec;
    --lp-ink: #33404f;
    --lp-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

/* ---------- Estrutura da página ---------- */
body.lp-page {
    overflow-x: clip;
}

.lp-page .navbar {
    margin-bottom: 0 !important;
}

.lp-page main {
    padding-bottom: 0 !important;
}

.lp-bleed {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.lp-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding-inline: clamp(16px, 4vw, 40px);
}

.lp {
    color: var(--lp-navy-2);
}

/* Compensa o menu fixo ao navegar pelos links #recursos, #planos... */
.lp [id] {
    scroll-margin-top: 90px;
}

.lp h1, .lp h2, .lp h3, .lp h4 {
    text-wrap: balance;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
}

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

.lp-btn:focus-visible {
    outline: 3px solid #258cfb;
    outline-offset: 2px;
}

.lp-btn-gold {
    background: var(--lp-gold);
    color: var(--lp-navy);
}

.lp-btn-gold:hover {
    background: #ffc241;
    color: var(--lp-navy);
}

.lp-btn-dark {
    background: var(--lp-navy);
    color: #fff;
}

.lp-btn-dark:hover {
    background: var(--lp-navy-2);
    color: #fff;
}

.lp-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

.lp-btn-ghost:hover {
    color: #fff;
    border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn, .lp-btn:hover {
        transition: none;
        transform: none;
    }
}

/* ---------- Hero ---------- */
.lp-hero {
    background: var(--lp-navy);
    color: #eef2f7;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.lp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 90px);
    pointer-events: none;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
    padding-block: 72px 88px;
    position: relative;
    z-index: 1;
}

.lp-kicker {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lp-gold);
}

.lp-hero h1 {
    font-family: var(--lp-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 5.4vw, 4.1rem);
    line-height: .98;
    margin: 14px 0 20px;
    color: #fff;
}

.lp-hero h1 em {
    font-style: normal;
    color: var(--lp-gold);
}

.lp-hero .lp-lead {
    font-size: 1.15rem;
    color: #b9c5d3;
    max-width: 46ch;
    margin: 0 0 28px;
}

.lp-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-hero-note {
    margin: 16px 0 0;
    font-size: .85rem;
    color: #8d9bab;
}

/* Prévia do painel */
.lp-preview {
    background: #fff;
    color: var(--lp-navy-2);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
    position: relative;
    min-width: 0;
}

.lp-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.lp-preview-top strong {
    font-size: .95rem;
}

.lp-preview-top small {
    color: #7a8796;
}

.lp-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.lp-kpi {
    background: var(--lp-mist);
    border-radius: 8px;
    padding: 10px 12px;
}

.lp-kpi b {
    display: block;
    font-family: var(--lp-display);
    font-size: 1.7rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lp-kpi span {
    font-size: .75rem;
    color: #6a7684;
}

.lp-kpi.is-warn b {
    color: #b4461d;
}

.lp-belts,
.lp-belt-labels {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 6px;
}

.lp-belts {
    align-items: end;
    height: 130px;
    border-bottom: 1px solid #e3e7ec;
}

.lp-belt {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    height: 130px;
}

.lp-belt i {
    flex: none;
    width: 100%;
    display: block;
    border-radius: 4px 4px 0 0;
    border: 1px solid rgba(0, 0, 0, .12);
}

.lp-belt em {
    font-style: normal;
    font-size: .7rem;
    font-weight: 600;
    color: #4a5664;
    font-variant-numeric: tabular-nums;
}

.lp-belt-labels {
    font-size: .65rem;
    color: #7a8796;
    text-align: center;
    margin-top: 6px;
}

.lp-float-chip {
    position: absolute;
    right: -14px;
    bottom: -20px;
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: .8rem;
    line-height: 1.3;
}

.lp-float-chip .bi {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: grid;
    place-items: center;
}

@media (max-width: 991.98px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        padding-block: 48px 64px;
    }
}

@media (max-width: 575.98px) {
    .lp-float-chip {
        right: 8px;
    }

    .lp-kpi b {
        font-size: 1.35rem;
    }

    .lp-belt-labels {
        font-size: .55rem;
    }
}

/* ---------- Faixa de modalidades ---------- */
.lp-strip {
    background: var(--lp-gold);
    color: var(--lp-navy);
    padding: 0;
}

.lp-strip .lp-wrap {
    display: flex;
    gap: 8px 28px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-block: 16px;
    font-family: var(--lp-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lp-strip small {
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    opacity: .75;
}

/* ---------- Seções ---------- */
.lp-block {
    padding: 80px 0;
    background: #fff;
}

.lp-block.is-alt {
    background: var(--lp-mist);
}

.lp-head {
    max-width: 640px;
    margin-bottom: 40px;
}

.lp-head.is-center {
    margin-inline: auto;
    text-align: center;
}

.lp-tag {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #9a6b00;
}

.lp-head h2 {
    font-family: var(--lp-display);
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.02;
    margin: 8px 0 10px;
    color: var(--lp-navy);
}

.lp-head p {
    margin: 0;
    color: var(--lp-slate);
}

/* Pilares por perfil */
.lp-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lp-pillar {
    border-top: 4px solid var(--lp-navy);
    padding-top: 18px;
    min-width: 0;
}

.lp-pillar:nth-child(2) {
    border-color: var(--lp-gold);
}

.lp-pillar:nth-child(3) {
    border-color: #16a34a;
}

.lp-pillar-who {
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6a7684;
    font-weight: 700;
}

.lp-pillar h3 {
    font-family: var(--lp-display);
    font-size: 1.7rem;
    font-weight: 700;
    margin: 4px 0 14px;
    color: var(--lp-navy);
}

.lp-check {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.lp-check li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    color: var(--lp-ink);
}

.lp-check li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    color: #16a34a;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .lp-pillars {
        grid-template-columns: 1fr;
    }
}

/* Diferenciais */
.lp-diff {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.lp-diff-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: 28px;
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
}

.lp-diff-card h3 {
    margin: 0;
    font-family: var(--lp-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--lp-navy);
}

.lp-diff-card p {
    margin: 0;
    color: var(--lp-slate);
}

.lp-alert-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff6f3;
    font-size: .9rem;
}

.lp-alert-row span {
    color: #b4461d;
    font-weight: 600;
    font-size: .8rem;
}

.lp-grau {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    align-items: center;
    font-size: .9rem;
}

/* Faixa colorida com a ponteira preta e os graus (listras brancas) */
.lp-grau-bar {
    height: 18px;
    border-radius: 3px;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
}

.lp-grau-tip {
    background: #111827;
    display: flex;
    align-items: center;
    gap: 3px;
    padding-inline: 6px;
    margin-right: 14px;
}

.lp-grau-tip b {
    width: 4px;
    height: 12px;
    background: #fff;
    border-radius: 1px;
}

.lp-grau-tip b.off {
    background: rgba(255, 255, 255, .25);
}

@media (max-width: 767.98px) {
    .lp-diff {
        grid-template-columns: 1fr;
    }
}

/* Como começar */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
}

.lp-step-n {
    font-family: var(--lp-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--lp-gold);
}

.lp-step h3 {
    margin: 4px 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-navy);
}

.lp-step p {
    margin: 0;
    color: var(--lp-slate);
}

@media (max-width: 767.98px) {
    .lp-steps {
        grid-template-columns: 1fr;
    }
}

/* Planos */
.lp-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    gap: 24px;
    justify-content: center;
}

.lp-plan {
    border: 1.5px solid #dfe4ea;
    border-radius: 14px;
    padding: 32px;
    background: #fff;
    display: grid;
    gap: 16px;
    align-content: start;
    position: relative;
}

.lp-plan.is-pro {
    background: var(--lp-navy);
    border-color: var(--lp-navy);
    color: #e8edf3;
}

.lp-plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--lp-gold);
    color: var(--lp-navy);
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lp-plan h3 {
    margin: 0;
    font-family: var(--lp-display);
    font-size: 1.8rem;
    font-weight: 700;
}

.lp-plan.is-pro h3 {
    color: #fff;
}

.lp-plan-price {
    font-family: var(--lp-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lp-plan-price small {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    opacity: .7;
}

.lp-plan-desc {
    margin: 0;
    font-size: .95rem;
    opacity: .85;
}

.lp-plan.is-pro .lp-check li {
    color: #dbe3ec;
}

.lp-plan.is-pro .lp-check li::before {
    color: var(--lp-gold);
}

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

.lp-addon {
    border: 1px dashed #c7cfd9;
    border-radius: 10px;
    padding: 18px;
    display: grid;
    gap: 4px;
    font-size: .9rem;
    color: var(--lp-slate);
    background: #fff;
}

.lp-addon strong {
    color: var(--lp-navy);
    font-size: 1rem;
}

.lp-addon a {
    color: var(--lp-navy);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .lp-plans,
    .lp-addons {
        grid-template-columns: 1fr;
    }
}

/* Impacto social */
.lp-social {
    background: var(--lp-navy-2);
    color: #dfe6ee;
    padding: 0;
}

.lp-social .lp-wrap {
    display: grid;
    grid-template-columns: 1.3fr auto;
    gap: 24px 40px;
    align-items: center;
    padding-block: 56px;
}

.lp-social h2 {
    font-family: var(--lp-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}

.lp-social p {
    margin: 0;
    color: #aebccb;
    max-width: 60ch;
}

@media (max-width: 767.98px) {
    .lp-social .lp-wrap {
        grid-template-columns: 1fr;
    }
}

/* Dúvidas */
.lp-faq {
    display: grid;
    gap: 10px;
    max-width: 780px;
}

.lp-faq details {
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    padding: 16px 20px;
    background: #fff;
}

.lp-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--lp-navy);
}

.lp-faq details p {
    margin: 10px 0 0;
    color: var(--lp-slate);
}

/* Contato + rodapé */
.lp-footer {
    background: var(--lp-navy);
    color: #9fb0c2;
    padding: 0;
    margin-top: 0;
    border-top: 0;
    text-align: left;
    font-size: 1rem;
}

.lp-footer .lp-wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-block: 56px 40px;
}

.lp-footer h2 {
    font-family: var(--lp-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.lp-footer h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lp-footer p {
    margin: 0 0 8px;
}

.lp-footer a {
    color: #fff;
    text-decoration: none;
}

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

.lp-footer .lp-footer-bottom {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-block: 18px;
    font-size: .85rem;
}

@media (max-width: 767.98px) {
    .lp-footer .lp-wrap {
        grid-template-columns: 1fr;
    }
}

.lp-wa-float {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .4);
    z-index: 1030;
}

.lp-wa-float:hover {
    color: #fff;
    background: #1ebe5b;
}

/* =========================================================
   Telas de acesso (Login, 2FA)
   ========================================================= */
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--lp-line);
    box-shadow: 0 30px 60px -30px rgba(10, 20, 35, .35);
    background: #fff;
    margin-block: 16px 8px;
    min-height: 560px;
    color: var(--lp-navy-2);
}

.auth-side {
    background: var(--lp-navy);
    color: #cfd9e4;
    padding: 40px;
    display: grid;
    align-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

/* Faixa preta com a ponta vermelha, como numa graduação */
.auth-side::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 96px;
    height: 22px;
    background: linear-gradient(90deg, #1e293b 0 72%, #c8102e 72% 86%, #1e293b 86%);
}

.auth-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.auth-logo span {
    color: var(--lp-gold);
}

.auth-side h2 {
    font-family: var(--lp-display);
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin: 0 0 16px;
}

.auth-side h2 em {
    font-style: normal;
    color: var(--lp-gold);
}

.auth-side .lp-check li {
    color: #cfd9e4;
}

.auth-side .lp-check li::before {
    color: var(--lp-gold);
}

.auth-side-foot {
    font-size: .85rem;
    color: #8d9bab;
    margin: 0;
    position: relative;
    z-index: 1;
}

.auth-form {
    padding: clamp(24px, 5vw, 56px);
    display: grid;
    align-content: center;
    gap: 18px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.auth-form h1 {
    font-family: var(--lp-display);
    font-size: 2.3rem;
    font-weight: 800;
    margin: 0;
    color: var(--lp-navy);
}

.auth-sub {
    margin: -10px 0 0;
    color: var(--lp-slate);
}

.auth-field {
    display: grid;
    gap: 6px;
}

.auth-field-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.auth-field label {
    font-weight: 600;
    font-size: .9rem;
    margin: 0;
}

.auth-field-row a,
.auth-link {
    font-size: .85rem;
    font-weight: 600;
    color: #1d5fa8;
}

.auth-field .form-control {
    padding: 12px 14px;
    border: 1.5px solid #cfd6df;
    border-radius: 8px;
    font-size: 1rem;
}

.auth-field .form-control:focus {
    border-color: var(--lp-navy);
    box-shadow: 0 0 0 3px rgba(247, 183, 49, .45);
}

.auth-password {
    position: relative;
}

.auth-password .form-control {
    padding-right: 48px;
}

.auth-password button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6a7684;
    padding: 6px 8px;
    border-radius: 6px;
}

.auth-password button:focus-visible {
    outline: 2px solid #258cfb;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--lp-ink);
    margin: 0;
}

.auth-check .form-check-input {
    margin: 0;
}

.auth-form .lp-btn {
    width: 100%;
    padding-block: 13px;
    font-size: 1.05rem;
    border: 0;
}

.auth-error {
    background: #fdecea;
    border: 1px solid #f3b8b0;
    color: #8a2317;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .9rem;
}

.auth-error:empty,
.auth-error.validation-summary-valid {
    display: none;
}

.auth-error ul {
    margin: 0;
    padding-left: 18px;
}

.auth-hint {
    background: var(--lp-mist);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: .9rem;
    color: var(--lp-ink);
}

.auth-hint strong {
    color: var(--lp-navy);
    display: block;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8a96a4;
    font-size: .85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--lp-line);
}

.auth-alt {
    text-align: center;
    font-size: .9rem;
    color: var(--lp-slate);
    margin: 0;
    line-height: 1.8;
}

.auth-alt a {
    color: var(--lp-navy);
    font-weight: 700;
}

.auth-otp {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.auth-otp .form-control {
    height: 52px;
    text-align: center;
    font-family: var(--lp-display);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 0;
    border: 1.5px solid #cfd6df;
    border-radius: 8px;
}

.auth-otp .form-control:focus {
    border-color: var(--lp-navy);
    box-shadow: 0 0 0 3px rgba(247, 183, 49, .45);
}

@media (max-width: 767.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .auth-side {
        padding: 20px 24px;
        gap: 8px;
    }

    .auth-side::before,
    .auth-side-body,
    .auth-side-foot {
        display: none;
    }
}
