/* =================================================================== */
/* CÓDIGO CSS - BOTÃO WHATSAPP FLUTUANTE ANIMADO COM ELASTIC OVERSHOOT */
/* =================================================================== */

.whatsapp-container {
    /* Posicionamento */
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 1000;

    /* Layout */
    display: flex;
    align-items: center;
    gap: 12px;

    /* Estilo */
    background-color: #1b3a6a;
    color: #FFF !important;
    padding: 3px 13px;
    border-radius: 50px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    font-family: sans-serif;

    /* Animações:
        1) slideInElastic: 0.8s ease-out, overshoot e recoil
        2) pulse: 2s infinite, delay 1.5s */
    animation: slideInElastic 0.7s ease-out 1s forwards, /* Adicionado "2s" de delay */
           pulse 2s infinite 2.8s; /* Delay ajustado para 2.8s */

    /* Estado inicial (fora da tela) */
    transform: translateX(calc(100% + 50px));
}

.whatsapp-container i {
    font-size: 35px;
}

.btn-arrow {
    background: #25d366;
    padding: 11px 12px;
    border-radius: 30px;
    width: 55px;
    height: 55px;
    margin-left: -10px;
}
.whatsapp-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.whatsapp-text p:first-child {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.whatsapp-text p:last-child {
    font-size: 14px;
    margin: 0;
}

.whatsapp-container .title-btn-whatsapp {
    color: #25d366;
}

/* Keyframes: entrada elástica (overshoot + recoil) */
@keyframes slideInElastic {
    0%   { transform: translateX(calc(100% + 50px)); }
    60%  { transform: translateX(-50px); }   /* passa levemente além */
    80%  { transform: translateX(25px); }     /* recoil para a direita */
    100% { transform: translateX(0); }      /* posição final */
}

/* Keyframes: efeito pulsante contínuo */
@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.10); }
    100% { transform: scale(1); }
}
