/**
 * Styles pour le menu ALSES footer (toujours visible)
 * Fichier : assets/css/alses-footer-menu.css
 */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

/* ========================================
   CONTENEUR PRINCIPAL FOOTER
======================================== */
.alses-footer-menu-wrapper {
    position: relative;
    font-family: 'Figtree', sans-serif;
    width: 100%;
}

/* ========================================
   VERSION DESKTOP FOOTER (3 COLONNES)
======================================== */
.alses-footer-menu-desktop {
    display: block;
}

.footer-menu-container {
    display: flex;
    width: 100%;
    gap: 40px;
}

/* Colonnes du menu footer desktop */
.footer-menu-column {
    flex: 1;
    padding: 0;
}

/* Titres des sections (éléments de 1er niveau) */
.footer-menu-parent-title {
    margin: 0 0 25px 0;
    font-size: 18px;
    font-weight: 600;
}

.footer-menu-parent-title a {
    color: #5bce8e;
    text-decoration: none;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.footer-menu-parent-title a:hover {
    opacity: 0.8;
}

/* Listes des sous-éléments */
.footer-menu-children {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-children li {
    margin-bottom: 12px;
}

.footer-menu-children a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: opacity 0.3s ease;
    display: block;
}

.footer-menu-children a:hover {
    opacity: 0.8;
}

/* Élément "Adhérer" en orange */
.footer-menu-children a.footer-adherer-link {
    color: #f28e29;
}

/* Reset des listes */
ul.footer-menu-children {
    list-style-type: none;
    padding: 0;
}

/* ========================================
   VERSION MOBILE FOOTER (COLONNES EMPILÉES)
======================================== */
.alses-footer-menu-mobile {
    display: none;
}

/* Sections du menu mobile footer */
.footer-mobile-menu-section {
    margin-bottom: 30px;
}

.footer-mobile-menu-section:last-child {
    margin-bottom: 0;
}

/* Titres des sections mobile */
.footer-mobile-parent-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.footer-mobile-parent-title a {
    color: #5bce8e;
    text-decoration: none;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.footer-mobile-parent-title a:hover {
    opacity: 0.8;
}

/* Sous-menus mobile footer */
.footer-mobile-children {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-mobile-children li {
    margin-bottom: 10px;
}

.footer-mobile-children a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: opacity 0.3s ease;
    display: block;
}

.footer-mobile-children a:hover {
    opacity: 0.8;
}

/* Élément "Adhérer" en orange mobile */
.footer-mobile-children a.footer-adherer-link {
    color: #f28e29;
}

/* Reset des listes mobile */
ul.footer-mobile-children {
    list-style-type: none;
    padding: 0;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    /* Cacher le menu desktop */
    .alses-footer-menu-desktop {
        display: none;
    }
    
    /* Afficher le menu mobile (colonnes empilées) */
    .alses-footer-menu-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    /* Afficher le menu desktop */
    .alses-footer-menu-desktop {
        display: block;
    }
    
    /* Cacher le menu mobile */
    .alses-footer-menu-mobile {
        display: none;
    }
}