/* Botão flutuante WhatsApp — link direto */
.bd-whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 100010;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 9999px;
    background: #991b1b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(153, 27, 27, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.bd-whatsapp-float:hover {
    transform: scale(1.05);
    background: #7f1d1d;
    box-shadow: 0 12px 28px rgba(153, 27, 27, 0.5);
}

.bd-whatsapp-float__icon {
    width: 1.75rem;
    height: 1.75rem;
    position: relative;
    z-index: 1;
}

.bd-whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #991b1b;
    animation: bd-wa-float-pulse 2s ease-out infinite;
    z-index: 0;
}

@keyframes bd-wa-float-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    70%, 100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .bd-whatsapp-float {
        right: 0.75rem;
        bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
        width: 3.5rem;
        height: 3.5rem;
    }

    .bd-whatsapp-float__icon {
        width: 1.625rem;
        height: 1.625rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bd-whatsapp-float,
    .bd-whatsapp-float__pulse {
        animation: none;
        transition: none;
    }
}
