/* ============================================
   BOTÃO FLUTUANTE (FAB) - CASOS REAIS
   ============================================ */

.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0F3A7D 0%, #1e5a96 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 58, 125, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    border: none;
    color: white;
    font-size: 0;
}

.floating-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 58, 125, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.floating-button i {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    color: white;
}

.floating-button-text {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.floating-button:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(15, 58, 125, 0.5);
}

.floating-button:active {
    transform: scale(0.95);
}

/* Animação de pulso */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Animação de entrada */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-button {
    animation: fadeInScale 0.6s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
    .floating-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }

    .floating-button i {
        font-size: 1.5rem;
    }

    .floating-button-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .floating-button {
        bottom: 15px;
        right: 15px;
        width: 60px;
        height: 60px;
    }

    .floating-button i {
        font-size: 1.3rem;
    }

    .floating-button-text {
        font-size: 0.6rem;
    }
}

/* Efeito de tooltip ao passar o mouse (opcional) */
.floating-button::after {
    content: 'Ver Casos Reais';
    position: absolute;
    right: 90px;
    bottom: 50%;
    transform: translateY(50%);
    background: rgba(15, 58, 125, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.floating-button:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .floating-button::after {
        display: none;
    }
}
