/* --- Variables & Reset --- */
:root {
    --primary-color: #F75029; 
    --secondary-color: #F49340; 
    --accent-color: #ee9b00; /* Orange/Or */
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --text-color: #333;
    --white: #fff;
    --font-family: 'arial', sans-serif;
    --header-height: 60px;
    /* Couleur RGB pour les ombres de focus */
    --rgb-secondary: 10, 147, 150;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Pour les liens internes */
    scroll-padding-top: var(--header-height); /* DÃ©cale l'ancre sous le header fixe */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--black);
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-gray);
}
.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.bg-primary-dark {
    background-color: var(--primary-color);
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.5rem; color: var(--secondary-color); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* --- Header & Navigation --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky; /* Rendre le header collant */
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-weight: 300;
    color: var(--primary-color);
    display: flex;         /* IMPORTANT: Utiliser Flexbox pour aligner l'image et le texte */
    align-items: center; /* IMPORTANT: Centre verticalement l'image et le texte */
    gap: 0px;           /* Espace entre le logo et le texte (ajustez si besoin) */
    text-decoration: none; /* Assure qu'il n'y a pas de soulignement sur l'image/texte */
}

.logo-image {
    height: 45px; /* Ajustez la hauteur du logo selon vos besoins */
                  /* Assurez-vous que la hauteur est inférieure à --header-height */
    width: auto;  /* Garde les proportions de l'image */
    display: block; /* Bonne pratique pour les images */
}

.logo-text {
    font-size: 1rem; /* Ajustez la taille du texte si nécessaire */
    /* Le font-weight et color sont hérités de .logo */
}


.main-nav .nav-links {
    list-style: none;
    display: flex;
}

.main-nav .nav-links li {
    margin-left: 20px;
}

.main-nav .nav-links a {
    color: var(--primary-color);
    font-weight: 300;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 4px;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active /* Ajouter une classe active si besoin avec JS */ {
    color: var(--white);
    background-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none; /* Caché par défaut */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}



/* --- Boutons --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #F75029; /* Version plus foncÃ©e de accent */
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #087a7d; /* Version plus foncÃ©e */
    color: var(--white);
    transform: translateY(-2px);
}

.btn-filter {
     background-color: var(--primary-color);
     color: var(--white);
     padding: 8px 15px;
     margin-left: 10px;
}
.btn-filter:hover {
     background-color: #004452;
     color: var(--white);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Style pour centrer le bouton dans la section "A propos" */
#apropos .center-button-container {
    text-align: center; /* Centre le contenu inline/inline-block (le bouton) */
    margin-top: 1.5rem; /* Ajoute un peu d'espace au-dessus du bouton */
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(226, 97, 40, 0.4),rgba(0, 0, 0,0.9)), url('image/oli_accueil/BEIJING_2017.jpg') no-repeat center center/cover;
    height: calc(100vh - var(--header-height)); /* Prend la hauteur de l'écran moins le header */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

/* Styles pour le logo dans la section Hero */
.hero-logo {
    max-width: 400px; /* Taille maximale du logo sur les grands Ã©crans */
    height: auto; /* Maintient le ratio d'aspect */
    display: block; /* Pour centrer avec margin: auto */
    margin: 0 auto 0.5rem auto; /* Centre horizontalement et ajoute un espace en bas */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-buttons .btn {
    margin: 0 10px;
}

/* --- ActualitÃ©s Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem; /* Added padding to the card itself for spacing */
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 180px; /* Reduced from 200px for smaller card size */
    object-fit: cover;
    display: block;
    margin-bottom: 0.5rem; /* Space below image */
}

.news-card h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0; /* Adjusted margin for context within card padding */
    color: var(--secondary-color); /* Changed H3 color to secondary */
}

.news-card p {
    font-size: 0.95rem;
    margin: 0 0 0.7rem 0; /* Adjusted margin for context within card padding */
    flex-grow: 1; /* Keep to push the button down */
}

.news-card a { /* Target the "Lire la suite" link */
    /* display: block; */ /* Keep block for margin auto centering */
    /* margin-top: auto; --> Removed, overridden by centering margin */

    /* --- New Button Styles --- */
    display: block; /* Needed for margin: auto centering */
    width: fit-content; /* Make button width fit its content */
    margin: 1rem auto 0 auto; /* Centering and adding top margin */
    padding: 10px 20px; /* Standard button padding */
    background-color: var(--secondary-color); /* Green background */
    color: var(--white); /* White text */
    border-radius: 5px; /* Rounded corners */
    font-weight: 600; /* Bold text */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    text-align: center; /* Ensure text is centered */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow like other buttons */
}

.news-card a:hover {
    background-color: #F75029; /* Darker green on hover */
    color: var(--white);
    transform: translateY(-2px); /* Slight lift effect */
}

/* --- Style pour le bouton "Toutes nos actualitÃ©s" --- */
.btn-block-centered {
    display: block; /* Occupe toute la largeur disponible */
    width: fit-content; /* Ajuste la largeur au contenu */
    margin: 2rem auto 0 auto; /* Centre le bouton horizontalement et ajoute une marge supÃ©rieure */
    padding: 12px 30px; /* Un peu plus de padding pour le rendre plus visible */
    font-size: 1.1rem; /* Taille de police lÃ©gÃ¨rement augmentÃ©e */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Ombre un peu plus prononcÃ©e */
    transition: transform 0.2s ease, box-shadow 0.3s ease; /* Transitions douces */
}

.btn-block-centered:hover {
    transform: translateY(-3px) scale(1.02); /* LÃ©ger effet de surÃ©lÃ©vation */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Ombre plus marquÃ©e au survol */
}

/* Responsive pour le bouton centrÃ© */
@media (max-width: 768px) {
    .btn-block-centered {
        padding: 10px 25px; /* RÃ©duit un peu le padding sur mobile */
        font-size: 1rem;
    }
}

/* --- Cours Section --- */
.cours-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
    margin-top: 2rem;
}
.categorie {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
}

.categorie h3 {
    margin-bottom: 0.5rem;
}
.categorie a {
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* --- Horaires Section --- */
.horaires-filtres {
    display: flex;
    flex-wrap: wrap; /* Permet le passage Ã  la ligne sur petits Ã©crans */
    gap: 10px;
    margin-bottom: 2rem;
    align-items: center;
}

.horaires-filtres select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    min-width: 150px;
}

.horaires-table-container {
    overflow-x: auto; /* Permet le scroll horizontal si tableau trop large */
}

.horaires-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.horaires-table th, .horaires-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.horaires-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.horaires-table tbody tr:nth-child(even) {
    background-color: var(--light-gray);
}

.horaires-table tbody tr:hover {
    background-color: #e0f7fa; /* LÃ©ger fond bleu au survol */
}

/* --- Formulaires (Inscriptions & Contact) --- */
.inscription-form, .contact-form {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* Ciblage spÃ©cifique pour le formulaire de contact s'il est directement dans .contact-form-container */
.contact-form-container .contact-form {
    max-width: none; /* Annule la largeur max si besoin dans ce conteneur */
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
}


.inscription-form fieldset { /* Garder les fieldsets pour l'inscription */
     border: 1px solid #ccc;
     border-radius: 4px;
     padding: 1.5rem;
     margin-bottom: 1.5rem;
}
.inscription-form legend {
    font-weight: 600;
    color: var(--primary-color);
    padding: 0 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea,
.form-group select /* Ajout pour filtres si stylisÃ©s pareil */ {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group textarea {
    resize: vertical; /* Permet le redimensionnement vertical */
}

.form-group small {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-top: 0.3rem;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.checkbox-group input[type="checkbox"] {
    width: auto; /* Taille naturelle */
    margin: 0;
    accent-color: var(--secondary-color); /* Couleur moderne pour la coche */
    transform: scale(1.2); /* Un peu plus grosse */
}
.checkbox-group label {
    margin: 0; /* Annule marge du label par dÃ©faut */
    font-weight: normal; /* Pas en gras pour les checkboxes */
}
.form-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start; /* Aligne le haut des colonnes */
}

.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre icÃ´ne et texte */
}
.contact-info i.fas { /* Cible spÃ©cifiquement Font Awesome */
    color: var(--secondary-color);
    width: 20px; /* Largeur fixe pour alignement */
    text-align: center;
    flex-shrink: 0; /* EmpÃªche l'icÃ´ne de rÃ©trÃ©cir */
}

.contact-info h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Style pour l'iframe Google Maps */
.contact-info iframe {
    display: block; /* EmpÃªche les espaces indÃ©sirables */
    width: 100%;   /* Prend toute la largeur de son conteneur */
    height: 350px;  /* Hauteur de la carte (ajustable) */
    border: 0;      /* Supprime la bordure par dÃ©faut */
    margin-top: 1rem; /* Espace au-dessus de la carte */
    border-radius: 4px; /* Coins lÃ©gÃ¨rement arrondis (optionnel) */
}

.key-figures-grid {
    display: grid;
    /* 3 colonnes Ã©gales */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px; /* LÃ©ger ajustement de l'espace */
    /* Centrer le bloc de grille lui-mÃªme */
    margin: 2rem auto 0 auto;
    /* Limiter la largeur max pour un meilleur contrÃ´le du centrage */
    max-width: 850px; /* Ajustez si besoin */
    padding: 0 15px; /* Un peu d'espace sur les cÃ´tÃ©s */
}

.figure-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
    text-align: center; /* Assure que le contenu interne est centrÃ© */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Ombre lÃ©gÃ¨re */
    /* --- Animation --- */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figure-card:hover {
    /* Effet de "lÃ©vitation" et lÃ©gÃ¨re mise Ã  l'Ã©chelle */
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Ombre plus prononcÃ©e */
    /* Optionnel: Changer la couleur de la bordure au survol */
    /* border-left-color: var(--accent-color); */
}


.figure-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.7rem; /* Espace ajustÃ© */
    display: inline-block; /* NÃ©cessaire si plusieurs icÃ´nes */
}

.figure-card .number {
     font-size: 1.8rem;
     font-weight: 700;
     color: var(--secondary-color);
     display: block;
     margin-bottom: 0.3rem;
 }

.figure-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.4; /* AmÃ©liore lisibilitÃ© si texte sur 2 lignes */
}

/* --- Responsive pour la grille des chiffres clÃ©s --- */
@media (max-width: 768px) {
    .key-figures-grid {
        /* Passer Ã  2 colonnes sur tablette */
        grid-template-columns: repeat(2, 1fr);
        max-width: 550px; /* Ajuster la largeur max */
        gap: 20px;
    }
/* === AmÃ©lioration des paragraphes d'introduction sur les pages === */
    /* Ciblage combinÃ© pour la page Cours (p.text-center) ET la page Inscriptions (.page-title-section p) */
    #course-listing p.text-center, /* Style pour le paragraphe sur la page Cours */
    .page-title-section p        /* Style pour le paragraphe sur la page Inscriptions */
    {
        text-align: justify; /* Aligne le texte en mode justifiÃ© */
        
        /* Surcharge les max-width inline (pour le paragraphe de cours) et permet aux paragraphes de prendre toute la largeur disponible DANS le conteneur */
        max-width: none !important; 
        
        /* Ajoute explicitement un padding aux cÃ´tÃ©s pour garantir l'espacement par rapport aux bords de l'Ã©cran */
        padding-left: 20px; 
        padding-right: 20px; 
        
        /* Annule les marges 'auto' qui pourraient causer des conflits aprÃ¨s la surcharge de max-width */
        margin-left: 0 !important;
        margin-right: 0 !important;
        
        /* Assure un espacement vertical suffisant en bas, identique Ã  ce qui Ã©tait appliquÃ© avant */
        margin-bottom: 2rem; 
    }

}

@media (max-width: 480px) {
    .key-figures-grid {
        /* Passer Ã  1 colonne sur mobile */
        grid-template-columns: 1fr;
        max-width: 300px; /* Ajuster la largeur max */
        gap: 15px;
    }
    /* Pas besoin de rÃ©initialiser nth-child(4) ici, le flux est dÃ©jÃ  linÃ©aire */
}

/* --- Footer --- */
footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    padding: 40px 0 20px 0;
    margin-top: 40px; /* Espace avant le footer */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after { /* Petit soulignement */
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}


.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a,
.footer-col p a { /* Style pour les liens email/tÃ©l aussi */
    color: var(--light-gray);
    transition: color 0.3s ease;
}
.footer-col ul li a:hover,
.footer-col p a:hover {
    color: var(--accent-color);
    /* padding-left: 5px; Petit effet au survol - optionnel */
}


.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    text-align: center;
    line-height: 40px; /* Centre verticalement l'icÃ´ne */
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s, color 0.3s;
    font-size: 1rem; /* Assure une taille d'icÃ´ne cohÃ©rente */
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--dark-gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }

    .main-nav {
        position: absolute;
        top: var(--header-height); /* Juste en dessous du header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0; /* CachÃ© par dÃ©faut */
        overflow: hidden; /* Cache le contenu qui dÃ©passe */
        transition: max-height 0.5s ease-out; /* Animation de dÃ©ploiement */
    }

     /* Classe ajoutÃ©e par JS pour ouvrir le menu */
    .main-nav.active {
        max-height: 500px; /* Hauteur suffisante pour le menu */
        border-top: 1px solid var(--light-gray); /* Ligne de sÃ©paration */
    }

    .main-nav .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .main-nav .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    .main-nav .nav-links a {
        display: block; /* Prend toute la largeur */
        padding: 10px 15px;
    }

    .mobile-menu-toggle {
        display: block; /* Visible sur mobile */
    }

    .horaires-filtres {
        flex-direction: column;
        align-items: stretch; /* Prend toute la largeur */
    }
    .horaires-filtres select, .horaires-filtres button {
        width: 100%;
        margin-left: 0; /* Annule marge sur le bouton */
        margin-bottom: 10px; /* Espace entre Ã©lÃ©ments */
    }

    .contact-container {
         grid-template-columns: 1fr; /* Une seule colonne */
    }
    /* S'assurer que le formulaire de contact a un peu d'espace */
    .contact-form-container {
        margin-top: 2rem;
    }
    .contact-form-container .contact-form {
        padding: 1.5rem; /* Ajouter un peu de padding sur mobile */
        background: var(--white); /* Fond blanc pour le distinguer sur mobile */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ajouter l'ombre sur mobile */
        border-radius: 8px;
    }


    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
     .footer-col h4::after { /* Centre le soulignement */
        left: 50%;
        transform: translateX(-50%);
    }
     .social-links {
        margin-top: 1rem;
        text-align: center; /* Centre les icÃ´nes */
    }
    .footer-col p {
        text-align: center; /* Centre aussi l'adresse/tel/email */
    }
}



/*/////////////////////section  pour la page apropos//////////////

/* Style pour centrer les boutons en bas de #structure-cours avec Flexbox */
#structure-cours .center-button-container {
    display: flex;            /* Active Flexbox */
    justify-content: center;  /* Centre les Ã©lÃ©ments horizontalement */
    align-items: center;      /* Centre les Ã©lÃ©ments verticalement (utile si hauteurs diff.) */
    flex-wrap: wrap;          /* Permet aux boutons de passer Ã  la ligne sur petit Ã©cran */
    gap: 15px;                /* CrÃ©e un espace de 15px ENTRE les boutons */
    margin-top: 2rem;         /* Conserve l'espace au-dessus des boutons */
    /* text-align: center; */ /* N'est plus nÃ©cessaire avec Flexbox pour le centrage */
}

/* Optionnel : S'assurer que les boutons n'ont pas de marge latÃ©rale parasite */
#structure-cours .center-button-container .btn {
    margin-left: 0;
    margin-right: 0;
}


/*///////////////Section pour les inscriptions ///////////////////

/* === AJOUTS POUR LA PAGE INSCRIPTIONS ET L'ACCORDÃ‰ON === */

/* Style optionnel pour le titre de la page */
.page-title-section h1 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Conteneur pour les Ã©lÃ©ments accordÃ©on */
.accordion-container {
    max-width: 800px; /* Limite la largeur pour lisibilitÃ© */
    margin: 2rem auto 0 auto; /* Centre le conteneur */
}

/* marge suplÃ©mentaire en fin de liste*/
.accordion-content .marge-list {
    margin-bottom: 1.5rem; /* Ajoute 1.5rem d'espace en dessous de cette liste */
}

/* Style du bouton accordÃ©on */
.accordion-button {
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex; /* Pour aligner titre et icÃ´ne */
    justify-content: space-between; /* Espace entre titre et icÃ´ne */
    align-items: center;
    border-radius: 5px 5px 0 0; /* Arrondi en haut */
    margin-top: 10px; /* Espace entre les boutons accordÃ©on */
}
.accordion-button:first-of-type {
     margin-top: 0; /* Pas d'espace avant le premier */
}


.accordion-button:hover {
    background-color: var(--secondary-color);
}

/* Style du bouton quand l'accordÃ©on est actif/ouvert */
.accordion-button.active {
    background-color: var(--secondary-color);
     border-radius: 5px 5px 0 0; /* Garder arrondi haut si actif */
}

/* IcÃ´ne chevron dans le bouton */
.accordion-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Rotation de l'icÃ´ne quand actif */
.accordion-button.active .accordion-icon {
    transform: rotate(180deg);
}

/* Style du panneau de contenu (cachÃ© par dÃ©faut) */
.accordion-content {
    padding: 0 20px; /* Espace intÃ©rieur horizontal */
    background-color: var(--white);
    max-height: 0; /* CachÃ© initialement */
    overflow: hidden; /* Cache le contenu qui dÃ©passe */
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Animation fluide */
    border: 1px solid #ddd; /* Bordure lÃ©gÃ¨re */
    border-top: none; /* Pas de bordure haute car gÃ©rÃ©e par bouton */
    border-radius: 0 0 5px 5px; /* Arrondi en bas */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Ajoute le padding vertical seulement quand le contenu est visible */
.accordion-content.active {
    padding-top: 15px;
    padding-bottom: 20px;
     /* max-height sera dÃ©fini par JS */
}

/* Style pour les listes dans l'accordÃ©on */
.accordion-content ul,
.accordion-content ol {
    margin-left: 20px; /* Indentation standard */
    margin-bottom: 1rem;
}
.accordion-content ul li,
.accordion-content ol li {
    margin-bottom: 0.5rem; /* Espace entre items */
}

/* Style pour les liens dans le contenu accordÃ©on */
.accordion-content a {
    font-weight: 600;
     color: var(--secondary-color);
}
.accordion-content a:hover {
     color: var(--accent-color);
     text-decoration: underline;
}

/* Correction pour le bouton ROI dans l'accordÃ©on */
.accordion-content a.btn.btn-secondary,
.accordion-content a.btn.btn-secondary:visited {
    color: var(--white);
    text-decoration: none;
}

.accordion-content a.btn.btn-secondary:hover {
    color: var(--white);
    text-decoration: none;
}

/* === Fin des ajouts pour Inscriptions === */




