/**
 * Landing de marketing do LivroCaixa — visual próprio (laranja, pedido do Davi em 2026-10-06),
 * independente do landing.css do Diamond (essa página não usa o tema logado). Fonte do sistema
 * (sem webfont extra, carregamento mais rápido na primeira visita).
 */

:root {
    --lp-laranja: #EA580C;
    --lp-laranja-escuro: #C2410C;
    --lp-laranja-claro: #FB923C;
    --lp-ambar: #F59E0B;
    --lp-azul: #105DA1;
    --lp-texto: #1f2937;
    --lp-texto-suave: #6b7280;
    --lp-creme: #FFF7ED;
    --lp-borda: #FED7AA;
    --lp-entrada: #16a34a;
    --lp-saida: #dc2626;
    --lp-sombra: 0 10px 30px rgba(194, 65, 12, .12);
}

* { box-sizing: border-box; }

body.lp {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--lp-texto);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.lp-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.lp-estreito {
    max-width: 760px;
}

/* ========== TOPO ========== */
.lp-topo {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--lp-laranja);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.lp-topo-linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.lp-marca {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
}

.lp-marca img {
    width: 32px;
    height: 32px;
}

.lp-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.lp-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    opacity: .92;
}

.lp-menu a:hover,
.lp-menu a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.lp-menu-entrar {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--lp-laranja-escuro) !important;
    opacity: 1 !important;
}

.lp-menu-check,
.lp-menu-botao {
    display: none;
}

/* ========== HERÓI ========== */
.lp-heroi {
    position: relative;
    background: linear-gradient(135deg, var(--lp-laranja) 0%, var(--lp-laranja-escuro) 100%);
    color: #fff;
    padding: 4rem 0 6rem;
    overflow: hidden;
}

.lp-heroi-grade {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lp-selo {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 1.25rem;
}

.lp-selo .pi {
    color: #FDE68A;
}

.lp-heroi h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 800;
}

.lp-heroi-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: .95;
    margin: 0 0 1.75rem;
    max-width: 44ch;
}

.lp-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-bottom: 1.75rem;
}

.lp-botoes-centro {
    justify-content: center;
}

.lp-botao {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    min-height: 48px;
    transition: transform .15s ease;
}

.lp-botao:hover,
.lp-botao:focus-visible {
    transform: translateY(-1px);
}

.lp-botao-branco {
    background: #fff;
    color: var(--lp-laranja-escuro);
}

.lp-botao-contorno {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
}

.lp-botao-laranja {
    background: var(--lp-laranja);
    color: #fff;
}

.lp-heroi-provas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
    opacity: .95;
}

.lp-heroi-provas li {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.lp-onda {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 60px;
}

.lp-onda path {
    fill: #fff;
}

/* ---- celular ilustrativo ---- */
.lp-celular {
    justify-self: center;
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25));
}

.lp-celular-tela {
    background: #fff;
    border-radius: 28px;
    padding: 1.1rem;
    color: var(--lp-texto);
    border: 8px solid #1f2937;
}

.lp-app-topo {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 700;
    margin-bottom: .75rem;
}

.lp-app-topo small {
    font-weight: 400;
    color: var(--lp-texto-suave);
}

.lp-app-saldo {
    background: var(--lp-creme);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.lp-app-saldo small {
    color: var(--lp-texto-suave);
}

.lp-app-saldo strong {
    display: block;
    font-size: 1.6rem;
    margin: .15rem 0 .5rem;
    color: var(--lp-laranja-escuro);
}

.lp-app-resumo {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    font-weight: 700;
}

.lp-entrada {
    color: var(--lp-entrada);
}

.lp-saida {
    color: var(--lp-saida);
}

.lp-app-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-app-lista li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .55rem 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: .85rem;
}

.lp-app-lista li span {
    display: flex;
    flex-direction: column;
}

.lp-app-lista li small {
    color: var(--lp-texto-suave);
    font-size: .72rem;
}

.lp-app-lista em {
    font-style: normal;
    font-weight: 700;
}

.lp-app-mais {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lp-laranja);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(234, 88, 12, .4);
}

/* ========== FAIXA DE NÚMEROS ========== */
.lp-faixa-numeros {
    background: var(--lp-creme);
    border-bottom: 1px solid var(--lp-borda);
}

.lp-numeros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem 20px;
    text-align: center;
}

.lp-numeros strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-laranja-escuro);
}

.lp-numeros span {
    font-size: .85rem;
    color: var(--lp-texto-suave);
}

/* ========== SEÇÕES ========== */
.lp-secao {
    padding: 4.5rem 0;
}

.lp-secao-creme {
    background: var(--lp-creme);
}

.lp-secao-laranja {
    background: linear-gradient(135deg, var(--lp-laranja) 0%, var(--lp-ambar) 100%);
    color: #fff;
}

.lp-secao-laranja h2,
.lp-secao-laranja h3 {
    color: #fff;
}

.lp-sobretitulo {
    display: block;
    color: var(--lp-laranja-escuro);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: .5rem;
}

.lp-secao h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.lp-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--lp-texto-suave);
    margin: 0 0 1.5rem;
}

.lp-titulo-centro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.lp-duas-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ---- benefícios do escritório ---- */
.lp-lista-beneficios {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lp-lista-beneficios li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.lp-lista-beneficios .pi {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--lp-creme);
    color: var(--lp-laranja);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.lp-lista-beneficios b {
    display: block;
    margin-bottom: .2rem;
}

.lp-lista-beneficios span {
    color: var(--lp-texto-suave);
    font-size: .92rem;
}

/* ---- cartões ---- */
.lp-cartoes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-cartoes-3 {
    grid-template-columns: repeat(3, 1fr);
}

.lp-cartao {
    background: #fff;
    border: 1px solid var(--lp-borda);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: var(--lp-sombra);
}

.lp-cartao .pi {
    font-size: 1.5rem;
    color: var(--lp-laranja);
    margin-bottom: .75rem;
    display: block;
}

.lp-cartao h3 {
    margin: 0 0 .5rem;
    font-size: 1.05rem;
}

.lp-cartao p {
    margin: 0;
    color: var(--lp-texto-suave);
    font-size: .92rem;
    line-height: 1.55;
}

/* ---- públicos atendidos ---- */
.lp-publicos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lp-publicos > div {
    text-align: center;
    padding: 1.5rem 1rem;
}

.lp-publicos .pi {
    font-size: 1.8rem;
    color: var(--lp-laranja);
    margin-bottom: .6rem;
    display: block;
}

.lp-publicos b {
    display: block;
    margin-bottom: .3rem;
}

.lp-publicos span {
    color: var(--lp-texto-suave);
    font-size: .85rem;
}

/* ---- como funciona ---- */
.lp-passos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: passo;
}

.lp-passo-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: .75rem;
}

.lp-passos h3 {
    margin: 0 0 .4rem;
}

.lp-passos p {
    margin: 0;
    opacity: .95;
    line-height: 1.55;
}

/* ---- gráfico ilustrativo ---- */
.lp-grafico {
    background: #fff;
    border: 1px solid var(--lp-borda);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--lp-sombra);
}

.lp-grafico-titulo {
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-barras {
    display: flex;
    align-items: flex-end;
    gap: .75rem;
    height: 140px;
}

.lp-barras > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.lp-barras span {
    width: 100%;
    max-width: 28px;
    height: 100%;
    border-radius: 6px 6px 0 0;
    /* vermelho (saídas) embaixo, verde (entradas) por cima — mesmas cores da legenda */
    background: linear-gradient(to top, var(--lp-saida) 0 var(--s), var(--lp-entrada) var(--s) var(--e), transparent var(--e) 100%);
    display: block;
}

.lp-barras small {
    margin-top: .4rem;
    font-size: .7rem;
    color: var(--lp-texto-suave);
}

.lp-legenda {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    font-size: .8rem;
}

.lp-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.lp-checks li {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.lp-checks .pi {
    color: var(--lp-laranja);
}

/* ---- perguntas frequentes ---- */
.lp-pergunta {
    background: #fff;
    border: 1px solid var(--lp-borda);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
}

.lp-pergunta summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

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

.lp-pergunta summary::after {
    content: '+';
    float: right;
    color: var(--lp-laranja);
    font-weight: 800;
}

.lp-pergunta[open] summary::after {
    content: '−';
}

.lp-pergunta p {
    margin: .75rem 0 0;
    color: var(--lp-texto-suave);
    line-height: 1.6;
}

/* ---- chamada final ---- */
.lp-chamada {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--lp-laranja-escuro) 0%, var(--lp-laranja) 100%);
    color: #fff;
}

.lp-chamada h2 {
    color: #fff;
    font-size: 2rem;
}

.lp-chamada .lp-lead {
    color: rgba(255, 255, 255, .92);
}

/* ========== RODAPÉ ========== */
.lp-rodape {
    background: #1f2937;
    color: #e5e7eb;
    padding: 2rem 0;
}

.lp-rodape-linha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lp-rodape .lp-marca {
    color: #fff;
}

.lp-rodape nav {
    display: flex;
    gap: 1.5rem;
}

.lp-rodape nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: .9rem;
}

.lp-rodape nav a:hover {
    color: #fff;
}

.lp-rodape small {
    color: #9ca3af;
}

/* ========== RESPONSIVO (celular primeiro, o público principal) ========== */
@media (max-width: 860px) {
    .lp-heroi-grade,
    .lp-duas-colunas {
        grid-template-columns: 1fr;
    }

    .lp-duas-colunas > div:first-child {
        order: 2;
    }

    .lp-heroi h1 {
        font-size: 2rem;
    }

    .lp-cartoes,
    .lp-cartoes-3,
    .lp-publicos,
    .lp-passos,
    .lp-numeros {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-passos {
        grid-template-columns: 1fr;
    }

    .lp-menu-botao {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: #fff;
        font-size: 1.3rem;
        cursor: pointer;
    }

    .lp-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--lp-laranja-escuro);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform .25s ease;
    }

    .lp-menu-check:checked ~ .lp-menu {
        transform: translateX(0);
    }

    .lp-menu a {
        font-size: 1.15rem;
    }

    .lp-menu-entrar {
        background: #fff;
    }
}

@media (max-width: 600px) {
    .lp-numeros {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-heroi {
        padding: 2.5rem 0 4.5rem;
    }

    .lp-secao {
        padding: 3rem 0;
    }
}

/* nunca horizontal scroll no celular */
html, body.lp {
    overflow-x: hidden;
}
