.whatsapp-float {
    position: fixed;
    right: 1.75rem;
    bottom: 1.75rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 200;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsapp-pulse 2.2s ease-out infinite;
}

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

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background-color: #111827;
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before {
        animation: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 1.1rem;
        bottom: 1.1rem;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float .tooltip {
        display: none;
    }
}
