/**
 * Styles pour le bouton flottant DEVIS
 */

.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #e74c3c; /* Rouge vif pour attirer l'attention */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* S'assurer qu'il est au-dessus de tout */
    transition: all 0.3s ease;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: #c0392b; /* Rouge plus foncé au survol */
}

.floating-button i {
    margin-right: 8px;
    font-size: 20px;
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.floating-button {
    animation: pulse 2s infinite;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
    .floating-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 16px;
        /* Augmenter la visibilité sur mobile */
        animation: pulse 1.5s infinite; /* Animation plus rapide sur mobile */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Ombre plus prononcée */
        z-index: 9999; /* S'assurer qu'il est au-dessus de tout */
    }
    
    /* Augmenter la taille de l'icône sur mobile */
    .floating-button i {
        font-size: 18px;
    }
}
