/* =====================================================================
   FOOTER (novo design)
   ===================================================================== */
footer.footer-ajuda {
    background: #0F1B2D;
    color: rgba(255, 255, 255, .7);
    padding: 2.5rem clamp(1rem, 5vw, 3rem) 1.5rem;
    width: 100%;
    float: left;
    box-sizing: border-box;
}

.footer-inner-ajuda {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo-ajuda {
    font-family: 'Sora', sans-serif !important;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    letter-spacing: -.02em;
}

.footer-logo-ajuda span {
    color: #039BE5;
}

/* Ícones sociais */
.footer-social-ajuda {
    display: flex;
    gap: .6rem;
}

.footer-social-ajuda a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: background .2s, color .2s;
}

.footer-social-ajuda a:hover {
    background: #039BE5;
    color: #fff;
}

/* Copyright */
.footer-copy-ajuda {
    max-width: 1280px;
    margin: 1.25rem auto 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    font-family: 'Inter', sans-serif !important;
}

/* =====================================================================
   BOTÃO FLUTUANTE WHATSAPP — mantido para compatibilidade
   ===================================================================== */
.botao_whatsapp {
    background: #40df5e;
    color: #fff;
    font-weight: bold;
    width: auto;
    display: inline-block;
    padding: 10px 25px;
    z-index: 5;
    position: fixed;
    float: right;
    bottom: 15px;
    right: 15px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #00ab20;
}

.botao_whatsapp:hover {
    background: #00ab20;
    color: #fff;
}

.botao_whatsapp:active,
.botao_whatsapp:focus {
    background: #00ab20 !important;
    color: #fff !important;
}

.botao_whatsapp i {
    font-size: 42px;
    display: inline-block;
    margin-right: 10px;
}

.botao_whatsapp span {
    display: inline-block;
    line-height: 20px;
}

/* =====================================================================
   MODAL WHATSAPP — mantido para compatibilidade
   ===================================================================== */
.whatsapp_modal {
    display: block;
    float: left;
    width: 100%;
    font-size: 15px;
    color: #fff;
    background: var(--cor_secundaria);
    text-align: center;
    border: 1px solid var(--cor_secundaria_hover);
    padding: 15px 5px;
    margin: 20px 0;
    border-radius: 4px;
}

.whatsapp_modal:hover {
    background: var(--cor_secundaria_hover);
    color: #fff;
}

.modal-body {
    display: block;
    float: left;
    width: 100%;
}

#modalHome .modal-header {
    background: #51af63;
    padding: 10px;
}

#modalHome .modal-header h5 {
    color: #fff !important;
    font-size: 20px;
    padding: 0 7px;
}

#modalHome .modal-footer {
    background: #fff;
    padding: 0 15px 14px;
    border-top: none;
    margin-top: 0;
}

#modalHome .botao_iniciar_conversa_formulario {
    display: inline-block;
    background: #00ab20;
    padding: 8px 14px;
    border-radius: 5px;
    border: 1px solid #08811e;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
}

#modalHome .botao_iniciar_conversa_formulario:hover {
    background: #08811e;
    cursor: pointer;
    text-decoration: none;
}

#modalHome .modal-body {
    color: #333 !important;
    font-size: 16px;
    padding: 15px;
}

#modalHome .campo_form_wpp {
    width: 100%;
    padding: 7px;
    font-size: 16px;
    color: #333;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#modalHome textarea {
    min-height: 100px;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 800px;
        margin: 30px auto;
    }
}

@media (max-width: 640px) {
    .footer-inner-ajuda {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .footer-social-ajuda { justify-content: center; }
    .footer-copy-ajuda   { margin-top: 1rem; }
}

@media screen and (max-width: 480px) {
    footer.footer-ajuda { padding-bottom: 90px; }
    .footer-logo-ajuda  { font-size: 18px; }
}
