.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: var(--bg-dark);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(197, 168, 138, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
    left: calc(30px + env(safe-area-inset-left, 0px));
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #d4bda4;
    /* Dourado mais suave no hover */
    box-shadow: 0 6px 20px rgba(197, 168, 138, 0.5);
    color: var(--bg-dark);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Tooltip lateral */
.whatsapp-float::after {
    content: "Fale com Bruno";
    position: absolute;
    left: 75px;
    background: var(--bg-dark);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    font-family: var(--font-display);
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    left: 70px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 168, 138, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 168, 138, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 168, 138, 0);
    }
}

/* Mobile: Ajuste de tamanho */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        left: calc(20px + env(safe-area-inset-left, 0px));
    }

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

    .whatsapp-float::after {
        display: none;
    }
}