/* ============================================
   BOUTONS - CFM77 Site Public
   ============================================ */

/* ============================================
   1. BASE = STYLE PRINCIPAL PAR DÉFAUT
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    background-color: var(--couleur-theme);
    color: #ffffff;
}

.btn:hover {
    opacity: 0.85;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(98, 32, 129, 0.3);
}

/* État désactivé */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   2. BOUTON RETOUR HAUT (flottant)
   ============================================ */

.btn_retour_haut {
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 22px;
    border: none;
    border-radius: 50%;
    background-color: #333333;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_retour_haut:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn_retour_haut:active {
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 480px) {
    .btn_retour_haut {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 60px;
        right: 15px;
    }
}
