/* =============================================
   Module WhatsApp Button - Barouki
   Icône fixe bas gauche
   ============================================= */

#barouki-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

#barouki-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

#barouki-whatsapp-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    text-decoration: none;
    outline: none;
}

#barouki-whatsapp-btn a:hover,
#barouki-whatsapp-btn a:focus {
    background-color: #1ebe5d;
    text-decoration: none;
}

/* Icône SVG officielle */
#barouki-whatsapp-btn .barouki-wa-icon-svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
    display: block;
}

/* Icône custom uploadée */
#barouki-whatsapp-btn .barouki-wa-icon-custom {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

/* Animation d'entrée */
@keyframes barouki-pop-in {
    0%   { transform: scale(0); opacity: 0; }
    80%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1);   opacity: 1; }
}

#barouki-whatsapp-btn {
    animation: barouki-pop-in 0.45s cubic-bezier(.25,.46,.45,.94) both;
}

/* Pulse subtil */
@keyframes barouki-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

#barouki-whatsapp-btn {
    animation: barouki-pop-in 0.45s cubic-bezier(.25,.46,.45,.94) both,
               barouki-pulse 2.2s ease-out 1s infinite;
}

/* Responsive mobile */
@media (max-width: 576px) {
    #barouki-whatsapp-btn {
        width: 52px;
        height: 52px;
        bottom: 16px;
        left: 16px;
    }

    #barouki-whatsapp-btn .barouki-wa-icon-svg {
        width: 28px;
        height: 28px;
    }

    #barouki-whatsapp-btn .barouki-wa-icon-custom {
        width: 34px;
        height: 34px;
    }
}
