.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--r-pill);
    background: var(--whatsapp);
    color: var(--text-inv);
    text-decoration: none;
    box-shadow: var(--shadow-lg), 0 0 0 0 var(--whatsapp-dim);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    animation: whatsapp-float-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float i {
    font-size: 1.75rem;
    line-height: 1;
}

.whatsapp-float:hover {
    background: var(--whatsapp-hover);
    color: var(--text-inv);
    transform: scale(1.06);
    box-shadow: var(--shadow-lg), 0 8px 28px var(--whatsapp-dim);
}

.whatsapp-float:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

@keyframes whatsapp-float-pulse {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 0 0 var(--whatsapp-dim);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 0 10px transparent;
    }
}

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

    .whatsapp-float i {
        font-size: 1.6rem;
    }
}
