/* =========================================================
   MEU FINANCEIRO
   Cadastro público
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;

    background: #f4f7fb;

    color: #1e293b;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

button,
input,
select {
    font: inherit;
}


/* =========================================================
   PÁGINA
   ========================================================= */

.pagina-cadastro {
    width: 100%;
    min-height: 100vh;

    padding: 45px 20px;

    background:
        linear-gradient(
            180deg,
            #eef4ff 0%,
            #f8fafc 320px,
            #f4f7fb 100%
        );
}

.cadastro-container {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
}


/* =========================================================
   CARD PRINCIPAL
   ========================================================= */

.cadastro-card {
    width: 100%;

    padding: 42px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.cadastro-topo {
    margin-bottom: 32px;

    text-align: center;
}

.cadastro-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 55px;

    margin-bottom: 20px;
}

.cadastro-logo img {
    display: block;

    width: auto;
    max-width: 230px;
    max-height: 65px;

    object-fit: contain;
}

.cadastro-topo h1 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.cadastro-topo p {
    max-width: 520px;

    margin: 0 auto;

    color: #64748b;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   ALERTAS
   ========================================================= */

.alerta {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 24px;
    padding: 14px 16px;

    border-radius: 10px;

    font-size: 14px;
    line-height: 1.5;
}

.alerta i {
    margin-top: 2px;

    flex-shrink: 0;
}

.alerta-erro {
    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #991b1b;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.formulario-cadastro {
    width: 100%;
}

.campo {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-bottom: 19px;
}

.campo label {
    color: #334155;

    font-size: 13px;
    font-weight: 700;
}

.campo input,
.campo select {
    width: 100%;
    min-height: 48px;

    padding: 11px 13px;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    color: #1e293b;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.campo input::placeholder {
    color: #94a3b8;
}

.campo input:focus,
.campo select:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

.campo small {
    color: #94a3b8;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   PAGAMENTO
   ========================================================= */

.pagamento {
    margin-top: 30px;
    padding: 24px;

    background: #f8fafc;

    border: 1px solid #dbe3ef;
    border-radius: 14px;
}

.pagamento-cabecalho {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 20px;
}

.pagamento-icone {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #dbeafe;

    border-radius: 11px;

    color: #2563eb;

    font-size: 18px;
}

.pagamento-cabecalho h2 {
    margin: 1px 0 5px;

    color: #0f172a;

    font-size: 17px;
    font-weight: 800;
}

.pagamento-cabecalho p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   OPÇÕES DE PAGAMENTO
   ========================================================= */

.pagamento-opcoes {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.pagamento-card {
    min-width: 0;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 11px;
}

.pagamento-titulo {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 16px;

    color: #0f172a;

    font-size: 14px;
}

.pagamento-titulo i {
    color: #2563eb;

    font-size: 17px;
}

.pagamento-dados {
    display: flex;
    flex-direction: column;
}

.pagamento-dados span {
    margin: 9px 0 3px;

    color: #94a3b8;

    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pagamento-dados span:first-child {
    margin-top: 0;
}

.pagamento-dados strong {
    color: #1e293b;

    font-size: 14px;
    line-height: 1.5;

    word-break: break-word;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.comprovante {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 20px;
    padding: 14px;

    background: #ecfdf5;

    border: 1px solid #bbf7d0;
    border-radius: 10px;
}

.comprovante > i {
    margin-top: 2px;

    color: #16a34a;

    font-size: 22px;

    flex-shrink: 0;
}

.comprovante strong {
    display: block;

    margin-bottom: 3px;

    color: #166534;

    font-size: 13px;
}

.comprovante p {
    margin: 0;

    color: #3f6f50;

    font-size: 11px;
    line-height: 1.5;
}

.botao-whatsapp {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 13px;
    padding: 12px 18px;

    background: #16a34a;

    border: 1px solid #16a34a;
    border-radius: 9px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.botao-whatsapp:hover {
    background: #15803d;

    border-color: #15803d;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(22, 163, 74, 0.18);
}

.botao-whatsapp i {
    font-size: 19px;
}


/* =========================================================
   OBSERVAÇÃO
   ========================================================= */

.cadastro-observacao {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 22px 0 18px;
    padding: 13px 14px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 9px;
}

.cadastro-observacao i {
    margin-top: 2px;

    color: #2563eb;

    flex-shrink: 0;
}

.cadastro-observacao p {
    margin: 0;

    color: #475569;

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   BOTÃO ENVIAR
   ========================================================= */

.botao-enviar {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 12px 20px;

    background: #2563eb;

    border: 1px solid #2563eb;
    border-radius: 9px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.botao-enviar:hover {
    background: #1d4ed8;

    border-color: #1d4ed8;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.18);
}


/* =========================================================
   PÁGINA DE SUCESSO
   ========================================================= */

.sucesso-card {
    position: relative;
}

.sucesso-icone {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: #dcfce7;

    border-radius: 50%;

    color: #16a34a;

    font-size: 27px;
}

.sucesso-card .cadastro-topo {
    margin-bottom: 26px;
}

.sucesso-mensagem {
    padding: 20px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    text-align: center;
}

.sucesso-mensagem h2 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: 18px;
}

.sucesso-mensagem p {
    max-width: 550px;

    margin: 7px auto;

    color: #64748b;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   ETAPAS DA LIBERAÇÃO
   ========================================================= */

.sucesso-status {
    margin: 25px 0;
}

.sucesso-status-item {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 11px 0;
}

.sucesso-status-item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 42px;
    left: 17px;

    width: 2px;
    height: calc(100% - 22px);

    background: #e2e8f0;
}

.status-icone {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #f1f5f9;

    border-radius: 50%;

    color: #64748b;

    font-size: 13px;
}

.sucesso-status-item.concluido .status-icone {
    background: #dcfce7;

    color: #16a34a;
}

.sucesso-status-item.aguardando .status-icone {
    background: #fef3c7;

    color: #d97706;
}

.sucesso-status-item strong {
    display: block;

    margin: 2px 0 4px;

    color: #1e293b;

    font-size: 13px;
}

.sucesso-status-item span {
    display: block;

    color: #64748b;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   PAGAMENTO NA PÁGINA DE SUCESSO
   ========================================================= */

.pagamento-sucesso {
    margin-top: 25px;
}

.comprovante-sucesso {
    margin-top: 20px;
}


/* =========================================================
   AVISO DE E-MAIL
   ========================================================= */

.aviso-email {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 20px;
    padding: 14px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.aviso-email i {
    margin-top: 2px;

    color: #2563eb;

    font-size: 18px;

    flex-shrink: 0;
}

.aviso-email p {
    margin: 0;

    color: #475569;

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   RODAPÉ
   ========================================================= */

.cadastro-rodape {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;

    padding: 22px 10px;

    text-align: center;
}

.cadastro-rodape strong {
    color: #475569;

    font-size: 12px;
}

.cadastro-rodape span {
    color: #94a3b8;

    font-size: 10px;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 700px) {

    .pagina-cadastro {
        padding: 20px 12px;
    }

    .cadastro-card {
        padding: 28px 20px;

        border-radius: 14px;
    }

    .cadastro-topo h1 {
        font-size: 25px;
    }

    .cadastro-logo img {
        max-width: 200px;
    }

    .pagamento {
        padding: 18px;
    }

    .pagamento-opcoes {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 420px) {

    .pagina-cadastro {
        padding: 10px 8px;
    }

    .cadastro-card {
        padding: 23px 15px;

        border-radius: 12px;
    }

    .cadastro-topo h1 {
        font-size: 23px;
    }

    .cadastro-topo p {
        font-size: 13px;
    }

    .pagamento {
        padding: 15px;
    }

    .pagamento-cabecalho {
        gap: 10px;
    }

    .pagamento-icone {
        width: 40px;
        height: 40px;
    }

    .pagamento-card {
        padding: 15px;
    }

    .botao-whatsapp,
    .botao-enviar {
        font-size: 13px;
    }

}