.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float__btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    position: relative;
}

.whatsapp-float__btn i {
    font-size: 28px;
    color: #fff;
    line-height: 1;
}

.whatsapp-float__btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.25);
    animation: whatsapp-pulse 2.5s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.whatsapp-float__tooltip {
    background-color: #fff;
    color: #333;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        bottom: 16px;
        left: 16px;
    }

    .whatsapp-float__btn {
        width: 48px;
        height: 48px;
    }

    .whatsapp-float__btn i {
        font-size: 24px;
    }

    .whatsapp-float__tooltip {
        display: none;
    }
}
