/* ---------- Contato: botão flutuante, balão e modal ---------- */
.vf-contato-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9990;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #0099cc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8l-4 4V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") no-repeat center / 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    cursor: pointer;
    overflow: visible;
}
.vf-contato-btn img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
/* bolinha verde de "disponível" */
.vf-contato-btn:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #2ecc71;
}
.vf-contato-btn:focus-visible {
    outline: 3px solid #002d40;
    outline-offset: 3px;
}

.vf-balao {
    position: fixed;
    right: 80px;
    bottom: 20px;
    z-index: 9989;
    max-width: 240px;
    padding: 12px 34px 12px 14px;
    border-radius: 12px 0px 0px 12px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}
.vf-balao.vf-visivel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.vf-balao strong {
    display: block;
    color: #0099cc;
}
.vf-balao-fechar {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: #999;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
}

.vf-modal-fundo {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    z-index: 9995;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .55);
}
.vf-modal-fundo.vf-aberto {
    display: flex;
}
.vf-modal {
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 440px;
    max-height: 100%;
    overflow-y: auto;
    border-radius: 12px;
    background: #fff;
    color: #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
    letter-spacing: normal;
}
.vf-modal-topo {
    padding: 20px 50px 16px 20px;
    border-radius: 12px 12px 0 0;
    background: #0099cc;
    color: #fff;
}
.vf-modal-topo h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
    text-transform: none;
}
.vf-modal-topo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: .9;
}
.vf-modal-fechar {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 22px;
    line-height: 32px;
    cursor: pointer;
}
.vf-modal form {
    padding: 18px 20px 20px;
}
.vf-campo {
    margin-bottom: 12px;
}
.vf-campo label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
}
.vf-campo input,
.vf-campo textarea {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #ccd6dd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 15px;
}
.vf-campo textarea {
    min-height: 90px;
    resize: vertical;
}
.vf-campo input:focus,
.vf-campo textarea:focus {
    border-color: #0099cc;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 153, 204, .2);
}
/* campo-isca anti-robô: fora da tela, invisível para pessoas */
.vf-isca {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.vf-lgpd {
    margin: 4px 0 14px;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}
.vf-enviar {
    display: block;
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 6px;
    background: #0099cc;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.vf-enviar[disabled] {
    opacity: .6;
    cursor: wait;
}
.vf-msg {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}
.vf-msg.vf-erro {
    display: block;
    background: #fbebeb;
    color: #a12b2b;
}
.vf-sucesso {
    display: none;
    padding: 30px 20px;
    text-align: center;
}
.vf-sucesso strong {
    display: block;
    margin-bottom: 8px;
    color: #0dab6a;
    font-size: 20px;
}

@media (max-width: 767px) {
    .vf-contato-btn {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
    }
    .vf-balao {
        right: 80px;
        bottom: 20px;
        max-width: 200px;
        font-size: 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .vf-balao {
        transition: none;
    }
}
