/* ===============================================
   Styles pour le header et le menu
   =============================================== */

/* Styles pour les liens dans le header (disponibilités et téléphone) */
.c-header_link {
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.c-header_link:hover {
    opacity: 0.7;
}

.c-menu_inner {
    max-width: 100% !important;
}

/* Structure de navigation du menu */
.c-menu_nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.c-menu_links {
    flex: 1;
    padding-left: 60px; 
}

/* Styles pour le footer du menu - positionné en bas à gauche */
.c-menu_footer {
    display: grid;
    align-items: center;
    margin-top: auto;
    padding-top: 2rem;
    margin-bottom: 40px;
    width: 100%;
    gap: 1rem;
    padding-left: 55px;
}

.c-menu_social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.c-menu_social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    padding: 4px;
}

.c-menu_social_footer {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.c-menu_social-link-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 7rem;
}

.c-menu_social-link:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.05);
}

/* FIX: Retirer le filtre et afficher les icônes dans leur couleur d'origine */
.c-menu_social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block !important;
    opacity: 1 !important;
    filter: none !important;
    transition: opacity 0.3s ease;
}

.c-menu_social-link:hover .c-menu_social-icon {
    opacity: 0.8 !important;
}

.c-menu_language {
    display: flex;
    align-items: center;
    justify-self: start; 
    margin-left: 5px;
}

.c-menu_language .wpml-ls-statics-shortcode_actions,
.c-menu_language ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.c-menu_language a {
    color: #60223f;
    text-decoration: none;
    font-size: 0.975rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    font-weight: 800;
}

.c-menu_language a:hover,
.c-menu_language a.wpml-ls-current-language,
.c-menu_language .wpml-ls-current-language a {
    color: #60223f;
}

a.c-hero-btn.c-header-cta--default:hover span.c-hero-btn__inner.c-header-cta__inner--default {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}


/* Responsive */
@media (max-width: 768px) {
    .c-header_link {
        font-size: 0.75rem;
    }

    .c-menu_links {
        padding-left: 20px; /* Moins d'indentation sur mobile */
    }
    
   .c-menu_footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 20px !important;
    }
    
    .c-menu_language,
    .c-menu_social {
        justify-self: start; /* Tous à gauche sur mobile */
    }
    
    .c-menu_social {
        gap: 0.5rem;
    }
    
    .c-menu_social-link {
        width: 36px;
        height: 36px;
    }
}
