#whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    width: 165px;
    height: 28px;
    background: #5AC83C;
    color: #fff;
    border-radius: 999px;
    padding: 12px 20px 12px 52px;
    gap: 14px;
    cursor: pointer;
    z-index: 9999;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    animation: bounceSlow 2.5s infinite;
}

#whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}

/* ÍCONE */
.whatsapp-icon {
    position: absolute;
    left: 0%;     /* joga para fora */

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

/* SVG / IMG */
.whatsapp-icon img {
    width: 140px;
    height: 77px;
}

/* TEXTO */
.whatsapp-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    width: 300px;
}

.whatsapp-text strong {
    font-size: 11px;
    font-weight: 800;
    width: 128px;
    margin: auto;
}

.whatsapp-text span {
    font-size: 11px;
    font-weight: 400;
}

/* MOBILE */
@media (min-width: 768px) {
    #whatsapp-float {
        position: fixed;
        bottom: 24px;
        right: 24px;
        display: flex;
        align-items: center;

        width: 230px;
        height: 40px;

        background: #5AC83C;
        color: #fff;
        border-radius: 999px;

        padding: 12px 20px 12px 52px;
        gap: 14px;

        cursor: pointer;
        z-index: 9999;
        overflow: visible;

        box-shadow: 0 10px 30px rgba(0,0,0,0.35);
        transition: transform 0.2s ease, box-shadow 0.2s ease;

        text-align: center;
    }

    #whatsapp-float:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(0,0,0,0.45);
    }

    /* ÍCONE */
    .whatsapp-icon {
        position: absolute;
        left: 1%;     /* joga para fora */

        width: 64px;
        height: 64px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
    }

    /* SVG / IMG */
    .whatsapp-icon img {
        width: 140px;
        height: 100px;
    }

    /* TEXTO */
    .whatsapp-text {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        width: 300px;
    }

    .whatsapp-text strong {
        font-size: 14px;
        font-weight: 800;
        width: 128px;
        margin: auto;
    }

    .whatsapp-text span {
        font-size: 13px;
        font-weight: 400;
    }
}


.whatsapp-text {
    font-size: 13px;
    line-height: 1.2;
}

/* EFEITO DE QUIQUE */
@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

#whatsapp-form {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 360px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    z-index: 999;

    /* estado inicial */
    opacity: 0;           /* invisível */
    visibility: hidden;   /* não interage com clique */
    transform: translateY(20px); /* deslizando pra baixo */
    transition: 0.3s ease;       /* animação suave */
}

#whatsapp-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* volta para posição normal */
}


/* HEADER */
.form-header {
    background: #0f5f56;
    color: #fff;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}

.form-header .close {
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 18px;
    cursor: pointer;
}

/* BODY */
.form-body {
    padding: 20px;
}

.form-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0 6px;
    color: #000;
}

.form-body input,
.form-body textarea,
.form-body select {
    width: 92%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cfcfcf;
    font-size: 14px;
    color: #000;
}

.form-body select {
    width: 100%;
}

.form-body input::placeholder,
.form-body textarea::placeholder {
    color: #bcbcbc;
}

.form-body textarea {
    height: 80px;
    resize: none;
}

/* TELEFONE */
.phone-field {
    display: flex;
    align-items: center;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    padding: 0 10px;
}

.phone-field .flag {
    font-size: 18px;
    margin-right: 6px;
}

.phone-field .ddi {
    font-size: 14px;
    margin-right: 8px;
    color: #000;
}

.phone-field input {
    border: none;
    outline: none;
    padding: 12px 0;
}

/* BOTÃO */
.form-body button {
    margin-top: 18px;
    width: 100%;
    padding: 14px;
    background: #2ecc71;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.form-body button:hover {
    background: #27ae60;
}

.flag {
    display: flex;
    align-items: center;
}