/**
 * WP Leads — Core
 * Botão flutuante de WhatsApp (universal, qualquer tema)
 */

#wplc-floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
    z-index: 999;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: wplcFloatPulse 2s infinite;
}

#wplc-floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
}

@keyframes wplcFloatPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .5); }
    50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, .8), 0 0 0 12px rgba(37, 211, 102, .1); }
}

#wplc-floating-tooltip {
    position: absolute;
    right: 70px;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

#wplc-floating-whatsapp:hover #wplc-floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 480px) {
    #wplc-floating-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    #wplc-floating-tooltip {
        display: none;
    }
}
