/* -------------------------------------------------------------
   BOTÕES FLUTUANTES DESACOPLADOS (WHATSAPP & COMPARTILHAR)
   ------------------------------------------------------------- */

.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 990;
}

.floating-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s ease,
                color 0.2s ease;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.floating-btn:active {
    transform: translateY(0) scale(0.98);
}

.floating-btn:focus-visible {
    outline: 2px solid var(--color-primary, #556A73);
    outline-offset: 3px;
}

/* Botão Compartilhar */
.floating-btn-share {
    background-color: var(--white, #ffffff);
    color: var(--color-primary, #556A73);
    border: 1px solid rgba(85, 106, 115, 0.2);
}

.floating-btn-share:hover {
    background-color: var(--bg-surface, #F3F5F4);
    color: #43545e;
}

.floating-btn-share svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Botão WhatsApp */
.floating-btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
}

.floating-btn-whatsapp:hover {
    background-color: #20BA56;
}

.floating-btn-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Toast de confirmação ao copiar link */
.floating-share-toast {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--color-primary, #556A73);
    color: #ffffff;
    font-family: var(--font-ui, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-share-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 18px;
        right: 18px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
    }

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

    .floating-btn-share svg {
        width: 20px;
        height: 20px;
    }
}
