/* Modal de captura de lead do WhatsApp */
body footer .lente-whatsapp {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 28, .62);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1000000;
}

body footer .lente-whatsapp.exibir {
    opacity: 1;
    pointer-events: auto;
}

body footer section.modal-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    width: min(400px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 32px));
    height: min(560px, calc(100dvh - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #20242b;
    background: #f2f4f5;
    border: 1px solid rgba(23, 37, 84, .14);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.98);
    transform-origin: bottom right;
    transition: opacity .25s ease, transform .25s ease;
}

body footer section.modal-whatsapp.exibir {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

body footer section.modal-whatsapp .cabecario-zap {
    flex: 0 0 auto;
    padding: 15px 18px;
    color: #fff;
    background: #128c7e;
    font-size: 17px;
    line-height: 1.3;
}

body footer section.modal-whatsapp .cabecario-zap .zaptitulo {
    display: inline-block;
    vertical-align: middle;
}

body footer section.modal-whatsapp .cabecario-zap .fa-whatsapp {
    margin-right: 8px;
    font-size: 24px;
    vertical-align: middle;
}

body footer section.modal-whatsapp .cabecario-zap .fa-times-circle {
    float: right;
    margin-top: 2px;
    cursor: pointer;
}

body footer section.modal-whatsapp #formWhatsappLead {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    margin: 0;
}

body footer section.modal-whatsapp .msg-bot {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 18px;
    overflow-y: auto;
    color: #20242b;
    background: #f2f4f5;
    font-size: 14px;
}

body footer section.modal-whatsapp .msg-bot::after {
    display: none;
}

body footer section.modal-whatsapp .msg-bot label {
    display: block;
    margin: 10px 0 5px;
    color: #303642;
    font-size: 13px;
    font-weight: 700;
}

body footer section.modal-whatsapp .msg-bot input,
body footer section.modal-whatsapp .msg-bot select {
    display: block;
    width: 100%;
    min-height: 42px;
    margin: 0 0 8px;
    padding: 9px 11px;
    color: #20242b;
    background: #fff;
    border: 1px solid #cbd1d8;
    border-radius: 7px;
    outline-color: #128c7e;
}

body footer section.modal-whatsapp .campo-acao {
    position: static;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e0e4e8;
}

body footer section.modal-whatsapp .campo-acao .texto {
    flex: 1 1 auto;
    width: auto;
    padding: 0;
}

body footer section.modal-whatsapp .campo-acao .texto input {
    width: 100%;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #cbd1d8;
    border-radius: 22px;
    outline-color: #128c7e;
}

body footer section.modal-whatsapp .campo-acao .button-zap button {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #128c7e;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

body footer section.modal-whatsapp .campo-acao .button-zap button:disabled {
    background: #a7afb8;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    body footer section.modal-whatsapp {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        height: min(620px, calc(100vh - 24px));
        height: min(620px, calc(100dvh - 24px));
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        transform-origin: center;
    }
}