/* ===================================
 * BOTÃO FLUTUANTE DINÂMICO
 * =================================== */

.botao-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 200px;
    height: 70px;
    border-radius: 50px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #000;
    border: 4px solid #fff;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    animation: aparecerBotao 0.5s ease forwards;
    padding: 0 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    gap: 8px;
    overflow: visible;
}

.botao-flutuante::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 58px;
    background: inherit;
    filter: blur(12px);
    opacity: 0.3;
    z-index: -2;
    animation: pulsarFluorescente 3s ease-in-out infinite;
    pointer-events: none;
}

.botao-flutuante::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 54px;
    background: inherit;
    filter: blur(8px);
    opacity: 0.6;
    z-index: -1;
    animation: brilhoFluorescente 2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulsarFluorescente {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.botao-flutuante:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.botao-flutuante:active {
    transform: scale(0.98);
}

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

/* Animação de bounce */
.botao-flutuante.bounce {
    animation: aparecerBotao 0.5s ease forwards, bounce 2s infinite 1s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Tooltip removido - não necessário com texto no botão */
.botao-flutuante::before {
    display: none;
}

/* Cores dinâmicas - estilo pílula com gradientes vibrantes e sombras chamativas */
.botao-flutuante.cor-segunda { 
    background: linear-gradient(135deg, #03e9fa 0%, #44f8ef 100%); 
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), 0 4px 15px rgba(255, 107, 107, 0.2);
}
.botao-flutuante.cor-terca { 
    background: linear-gradient(135deg, #1af507 0%, #03af12 100%); 
    color: #000;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4), 0 4px 15px rgba(78, 205, 196, 0.2);
}
.botao-flutuante.cor-quarta { 
    background: linear-gradient(135deg, #ff00c8 0%, #05f805 100%); 
    color: #000;
    box-shadow: 0 8px 25px rgba(69, 183, 209, 0.4), 0 4px 15px rgba(69, 183, 209, 0.2);
}
.botao-flutuante.cor-quinta { 
    background: linear-gradient(135deg, #03f560 0%, #f3b303 100%); 
    color: #000;
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4), 0 4px 15px rgba(240, 147, 251, 0.2);
}
.botao-flutuante.cor-sexta { 
    background: linear-gradient(135deg, #07f3f3 0%, #d0f309 100%); 
    color: #000;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4), 0 4px 15px rgba(79, 172, 254, 0.2);
}
.botao-flutuante.cor-sabado { 
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); 
    color: #000;
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4), 0 4px 15px rgba(67, 233, 123, 0.2);
}
.botao-flutuante.cor-domingo { 
    background: linear-gradient(135deg, #e3f30a 0%, #f75c02 100%); 
    color: #000;
    box-shadow: 0 8px 25px rgba(250, 248, 249, 0.7), 0 4px 15px rgba(248, 14, 84, 0.2);
}

/* Responsivo - Mobile no topo */
@media (max-width: 768px) {
    .botao-flutuante {
        min-width: 160px;
        height: 65px;
        font-size: 14px;
        top: 15px;
        bottom: auto;
        right: 15px;
        padding: 0 15px;
    }
    
    /* Ajustar efeitos fluorescentes para mobile */
    .botao-flutuante::before {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 71px;
    }
    
    .botao-flutuante::after {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 68px;
    }
}

@media (max-width: 480px) {
    .botao-flutuante {
        min-width: 140px;
        height: 55px;
        font-size: 12px;
        top: 10px;
        bottom: auto;
        right: 10px;
        padding: 0 12px;
    }
    
    /* Ajustar efeitos fluorescentes para mobile pequeno */
    .botao-flutuante::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 60px;
    }
    
    .botao-flutuante::after {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 57px;
    }
}

/* Estados especiais */
.botao-flutuante.escondido {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.botao-flutuante.sempre-visivel {
    animation: aparecerBotao 0.5s ease forwards;
}

@keyframes brilhoFluorescente {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Sombras fluorescentes específicas por cor */
.botao-flutuante.cor-segunda::after { 
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 40px rgba(255, 107, 107, 0.6), 0 0 60px rgba(255, 107, 107, 0.4);
}
.botao-flutuante.cor-terca::after { 
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.8), 0 0 40px rgba(78, 205, 196, 0.6), 0 0 60px rgba(78, 205, 196, 0.4);
}
.botao-flutuante.cor-quarta::after { 
    box-shadow: 0 0 20px rgba(69, 183, 209, 0.8), 0 0 40px rgba(69, 183, 209, 0.6), 0 0 60px rgba(69, 183, 209, 0.4);
}
.botao-flutuante.cor-quinta::after { 
    box-shadow: 0 0 20px rgba(240, 147, 251, 0.8), 0 0 40px rgba(240, 147, 251, 0.6), 0 0 60px rgba(240, 147, 251, 0.4);
}
.botao-flutuante.cor-sexta::after { 
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.8), 0 0 40px rgba(79, 172, 254, 0.6), 0 0 60px rgba(79, 172, 254, 0.4);
}
.botao-flutuante.cor-sabado::after { 
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.8), 0 0 40px rgba(67, 233, 123, 0.6), 0 0 60px rgba(67, 233, 123, 0.4);
}
.botao-flutuante.cor-domingo::after { 
    box-shadow: 0 0 20px rgba(250, 112, 154, 0.8), 0 0 40px rgba(250, 112, 154, 0.6), 0 0 60px rgba(250, 112, 154, 0.4);
}
