/*
Plugin Name: Botão Flutuante WhatsApp Animado
Description: Estilos para o botão flutuante animado do WhatsApp.
Version: 1.0.0
Author: Manus AI
*/

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    outline: none;
    
    /* Animação de Pulso */
    animation: pulse-glow 2s infinite, bounce-in 0.8s ease-out;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* Ícone SVG do WhatsApp */
.whatsapp-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

/* ANIMAÇÕES */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7),
                    0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0.3),
                    0 4px 12px rgba(37, 211, 102, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0),
                    0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0) translateY(100px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 85px;
}

/* Responsivo */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }

    .whatsapp-tooltip {
        font-size: 12px;
        padding: 6px 10px;
    }
}
