/* ==========================================================
   BOTÃO FLUTUANTE WHATSAPP - LIVRARIA DA FRANÇA
   ========================================================== */

.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 99999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.whatsapp-float:hover {
    background: #20bd5a;
    color: #fff;
    text-decoration: none;
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.30);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Efeito de pulsação */
.whatsapp-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsapp-pulse 2s infinite;
    box-sizing: border-box;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-float svg {
        width: 31px;
        height: 31px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
