/* --- Styles spécifiques à la page FORMATIONS ADULTES --- */

/* style.css */

:root {
    /* ... vos autres variables existantes ... */

    /* --- NOUVELLES COULEURS BLEUES (pour formations-adultes) --- */
    --blue-primary: #49bcff; /* Un bleu plus profond pour le dégradé */
    --blue-secondary: #a4f1ff; /* Un bleu plus clair pour le dégradé */
    --blue-accent: #0a0067; /* Le bleu très foncé pour le texte et accents */
    --blue-bg-light: #F0F8FF; /* Un fond très clair si nécessaire */
    --blue-text-dark: #333;
    --blue-text-light: #fff;
}
/* Bannière de la page Formations */
.hero-formations {
    background: linear-gradient(135deg, var(--blue-secondary) 0%, var(--blue-primary) 100%); /* Utilise les nouvelles variables bleues */
    color: var(--blue-text-dark); /* Texte sombre si besoin */
    text-align: center;
    padding: 120px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero-formations h1 {
    font-size: 3.8em;
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    color: var(--blue-accent); /* Le texte du titre est le bleu très foncé */

}

/* ... le reste de votre CSS pour formations-adultes-page.css ... */
.hero-formations p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
    color: #000000;
}

/* Sections de contenu générales */
.section-pourquoi,
.section-themes,
.section-approche,
.section-modalites {
    padding: 60px 0;
    background-color: var(--bg-light);
}

/* Titres de section */
.section-pourquoi h2,
.section-themes h2,
.section-approche h2,
.section-modalites h2 {
    text-align: center;
    font-size: 2.8em;
    color: #000000 !important; /* FORCER LE NOIR ICI */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

/* Ligne sous les titres de section */
.section-pourquoi h2::after,
.section-themes h2::after,
.section-approche h2::after,
.section-modalites h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Listes d'avantages, d'approche, et de modalités */
.liste-avantages,
.liste-approche,
.liste-modalites {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.liste-avantages li,
.liste-approche li,
.liste-modalites li {
    background-color: hsla(182, 100%, 85%, 0.914);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    font-size: 1.1em;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #000000;
}

.liste-avantages li strong,
.liste-approche li strong,
.liste-modalites li strong {
    color: #000000 !important; /* FORCER LE NOIR ICI */
    font-size: 1.1em;
    flex-shrink: 0;
}

/* Ajout d'une icône ou d'un style de puce personnalisé */
.liste-avantages li::before,
.liste-approche li::before,
.liste-modalites li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5em;
    line-height: 1;
    margin-right: 10px;
}


/* Grille des thèmes de formation */
.themes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.theme-item {
    background-color: #97fffa;
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.theme-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.theme-item h3 {
    font-size: 1.5em;
    color: #000000 !important; /* FORCER LE NOIR ICI */
    margin-bottom: 15px;
    font-weight: 700;
}

.theme-item p {
    font-size: 1em;
    color: #000000;
    line-height: 1.6;
    flex-grow: 1;
}

/* Section d'appel à l'action (CTA) */
.cta-formations {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #000000;
    padding: 80px 0;
    text-align: center;
}

.cta-formations h2 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 800;
    color: #000000 !important; /* FORCER LE NOIR ICI */
}

.cta-formations p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Styles des boutons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000000 !important; /* FORCER LE NOIR ICI */
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #002fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #000000 !important; /* FORCER LE NOIR ICI */
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background-color: rgba(0,0,0,0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* --- Responsive Design pour la page Formations --- */
@media (max-width: 992px) {
    .hero-formations {
        padding: 90px 0;
    }
    .hero-formations h1 {
        font-size: 3em;
    }
    .hero-formations p {
        font-size: 1.1em;
    }

    .section-pourquoi,
    .section-themes,
    .section-approche,
    .section-modalites {
        padding: 50px 0;
    }
    .section-pourquoi h2,
    .section-themes h2,
    .section-approche h2,
    .section-modalites h2 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
    .liste-avantages li,
    .liste-approche li,
    .liste-modalites li {
        padding: 18px 20px;
        font-size: 1em;
    }
    .theme-item {
        padding: 25px;
    }
    .theme-item h3 {
        font-size: 1.3em;
    }
    .cta-formations {
        padding: 60px 0;
    }
    .cta-formations h2 {
        font-size: 2.5em;
    }
    .cta-formations p {
        font-size: 1.1em;
    }
    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .hero-formations {
        padding: 70px 0;
    }
    .hero-formations h1 {
        font-size: 2.5em;
    }
    .hero-formations p {
        font-size: 0.95em;
    }

    .section-pourquoi,
    .section-themes,
    .section-approche,
    .section-modalites {
        padding: 40px 0;
    }
    .section-pourquoi h2,
    .section-themes h2,
    .section-approche h2,
    .section-modalites h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .section-pourquoi h2::after,
    .section-themes h2::after,
    .section-approche h2::after,
    .section-modalites h2::after {
        width: 60px;
    }
    .liste-avantages,
    .liste-approche,
    .liste-modalites {
        margin: 0 auto 20px auto;
    }
    .liste-avantages li,
    .liste-approche li,
    .liste-modalites li {
        padding: 15px;
        font-size: 0.9em;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
    .liste-avantages li::before,
    .liste-approche li::before,
    .liste-modalites li::before {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .themes-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .theme-item {
        padding: 20px;
    }
    .theme-item h3 {
        font-size: 1.2em;
    }
    .cta-formations {
        padding: 50px 0;
    }
    .cta-formations h2 {
        font-size: 2em;
    }
    .cta-formations p {
        font-size: 1em;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .btn-primary,
    .btn-secondary {
        width: 80%;
        max-width: 300px;
        padding: 12px 25px;
        font-size: 1em;
    }
}