.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
}

.float-btn:active {
    transform: scale(0.95);
}

/* ===== WHATSAPP ===== */
.float-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulseWhats 3s ease-in-out infinite;
}

.float-whatsapp:hover {
    animation: none;
}

/* ===== INSTAGRAM ===== */
.float-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    animation: pulseInstagram 3s ease-in-out infinite 0.5s;
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.3);
}

.float-instagram:hover {
    animation: none;
}

/* ===== TOPO ===== */
.float-top {
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px var(--primary-shadow);
}

.float-top:hover {
    box-shadow: 0 8px 35px var(--primary-shadow);
}

/* ===== TOOLTIP ===== */
.float-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--gray-800);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--gray-800);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ===== ANIMAÇÕES ===== */
@keyframes pulseWhats {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6);
    }
}

@keyframes pulseInstagram {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(225, 48, 108, 0.3);
    }

    50% {
        box-shadow: 0 4px 40px rgba(225, 48, 108, 0.6);
    }
}

.float-btn.float-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
}

.float-btn.float-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.6rem;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .float-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }

    .float-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .float-btn {
        transition: none !important;
    }

    .float-whatsapp,
    .float-instagram {
        animation: none !important;
    }
}