/* Ajustes pós-reconstrução — form fixo (desktop) */
@media (min-width: 768px) {
    body.home.blog .formulario {
        top: 20px !important;
        height: auto !important;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        padding: 20px 0;
        box-sizing: border-box;
    }

    /* compacta o conteúdo para caber em telas mais baixas */
    body.home.blog .formulario .bloco-botao { margin-top: 0 !important; }
    body.home.blog .formulario .subtitle { margin: 12px 0 10px; }
    body.home.blog .formulario .tel { margin: 10px 0 0 !important; }
    body.home.blog p.ou { margin-top: 12px; }
    body.home.blog .formulario .wpcf7 > form > p > label { margin-top: 4px; }
    body.home.blog form.wpcf7-form span input { margin-top: 6px !important; }
    body.home.blog .formulario .wpcf7 > form > p > input.wpcf7-submit { margin-top: 16px !important; }
}

@media (min-width: 768px) and (max-height: 760px) {
    body.home.blog .formulario .title-form { font-size: 18px !important; line-height: 20px; }
    body.home.blog .formulario .wpp,
    body.home.blog .formulario .tel,
    body.home.blog .formulario .wpcf7 > form > p > input.wpcf7-submit { height: 46px !important; }
    body.home.blog form.wpcf7-form span input { padding: 11px 15px !important; }
    body.home.blog .formulario .wpcf7 > form > p > label { font-size: 16px !important; }
}

/* Título "Por que ser um Licenciado" não passa por baixo do form fixo */
@media (min-width: 768px) {
    .section-6 .title br { display: inline !important; }
}

/* Obrigado dentro do card do formulário */
.formulario .lp-obrigado { display: none; }
.formulario.lp-enviado .bloco-botao,
.formulario.lp-enviado .wpcf7 { display: none !important; }
.formulario.lp-enviado .lp-obrigado {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 30px;
    font-family: Lato, sans-serif;
    animation: lpFade .4s ease;
}
.lp-obrigado__titulo {
    font-size: 34px;
    font-weight: 800;
    color: rgb(206, 146, 109);
    letter-spacing: .05em;
    margin-bottom: 16px;
}
.lp-obrigado__titulo::before {
    content: "";
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgb(206, 146, 109) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 34px no-repeat;
}
.lp-obrigado__texto { font-size: 18px; line-height: 1.45; color: #242424; max-width: 300px; }
.lp-obrigado__sub { font-size: 14px; margin: 26px 0 12px; color: #555; }
.formulario .lp-obrigado .wpp a { color: black !important; }
@keyframes lpFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
    .formulario.lp-enviado .lp-obrigado { padding: 30px 16px; }
}
