/*
Theme Name: Mon École
Theme URI: https://votre-site.com
Author: Votre nom
Author URI: https://votre-site.com
Description: Thème pour école maternelle, primaire, collège et secondaire
Version: 1.0
License: GPL v2 or later
Text Domain: mon-template-ecole
*/

/* ========== VARIABLES COULEURS ========== */
:root {
    /* Couleurs officielles du logo - GROUPE SCOLAIRE SAINTE ISABELLE */
    --logo-blue: #1d3f90;
    --logo-cyan: #05bcd6;
    --logo-green: #28ca1f;
    --logo-pink: #d22b51;
    --logo-orange: #e76944;
    --logo-yellow: #f0dd46;

    /* Couleurs principales de l'interface */
    --primary: #1d3f90;
    --primary-dark: #163473;
    --secondary: #f0dd46;
    --secondary-dark: #d4c03a;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #6c757d;
    --white: #ffffff;
    --success: #28ca1f;
    --cyan: #05bcd6;
    --pink: #d22b51;
    --orange: #e76944;
}

/* ========== RESET DE BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

/* ========== HEADER & MENU ========== */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--secondary);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

/* ========== BRANDING ========== */
.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    padding: 2px;
    background: var(--white);
}

.site-title {
    display: flex;
    flex-direction: column;
}

.site-title a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.3;
}

.site-title a span {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

/* ========== MENU ========== */
.main-nav {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.primary-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.primary-menu>li {
    position: relative;
}

.primary-menu>li>a {
    display: block;
    padding: 10px 18px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.primary-menu>li>a:hover {
    background: var(--primary);
    color: var(--white);
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ========== SOUS-MENU ========== */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    list-style: none;
    padding: 12px 0;
    margin: 0;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
    border: 1px solid #eee;
}

.primary-menu>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 25px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.sub-menu li a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 30px;
}

.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 8px;
}

.sub-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.current-menu-item>a,
.current-page-ancestor>a {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* ========== BOUTON MOBILE ========== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 4px 0;
    border-radius: 3px;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--primary-dark);
    color: var(--light);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left .dashicons {
    font-size: 14px;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

.top-bar-left span:first-of-type {
    margin-right: 20px;
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar-right a:hover {
    color: var(--secondary);
}

.btn-inscription {
    background: var(--secondary);
    color: var(--primary-dark) !important;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.btn-inscription:hover {
    background: var(--secondary-dark);
    color: var(--white) !important;
}

/* ========== CONTENEUR PRINCIPAL ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 400px;
}

/* ========== HERO ANIMÉE ========== */
.hero-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    background-image: linear-gradient(rgba(29, 63, 144, 0.85), rgba(29, 63, 144, 0.92));
}

.hero-overlay {
    width: 100%;
    padding: 100px 0;
}

.hero-content {
    max-width: 700px;
}

/* ========== ANIMATIONS ========== */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.fade-in-up-delay {
    animation: fadeInUp 1s ease-out 0.9s forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== BADGE PULSANT ========== */
.hero-badge {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(240, 221, 70, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(240, 221, 70, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(240, 221, 70, 0);
    }
}

/* ========== TITRE ANIMÉ ========== */
.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    animation: underlineExpand 1s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ========== BOUTONS ========== */
.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(240, 221, 70, 0.3);
}

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--secondary);
    }

    50% {
        box-shadow: 0 0 20px var(--secondary);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-slide:hover {
    transform: translateX(5px) translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 13px 33px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--success), #1e9e15);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 202, 31, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 202, 31, 0.4);
    background: linear-gradient(135deg, #1e9e15, #168a0f);
}

.btn-download .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* ========== STATISTIQUES ========== */
.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.stat {
    text-align: center;
    position: relative;
}

.stat-number {
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-plus,
.stat-percent {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== INDICATEUR DE SCROLL ========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator .dashicons {
    font-size: 30px;
    width: auto;
    height: auto;
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator:hover .dashicons {
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ========== VAGUE ANIMÉE ========== */
.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    animation: waveFloat 3s ease-in-out infinite;
}

@keyframes waveFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
}

/* ========== NIVEAUX SCOLAIRES ========== */
.niveaux-scolaires {
    padding: 60px 0;
    background: var(--light);
}

.niveaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.carte-niveau {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid transparent;
}

.carte-niveau:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--secondary);
}

.icone .dashicons {
    font-size: 50px;
    width: auto;
    height: auto;
    color: var(--primary);
}

.carte-niveau h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.carte-niveau p {
    margin-bottom: 20px;
    color: var(--gray);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 24px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== SECTION PROMESSE ========== */
.promise {
    padding: 80px 0;
    background: var(--white);
}

.promise-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.promise-content {
    flex: 1;
    min-width: 280px;
}

.promise-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.promise-content>p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.promise-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: var(--cyan);
}

.feature h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.feature p {
    margin: 0;
    font-size: 14px;
    color: var(--gray);
}

.promise-image {
    flex: 1;
    min-width: 280px;
}

.image-placeholder {
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-placeholder .dashicons {
    font-size: 80px;
    width: auto;
    height: auto;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.image-placeholder:hover .dashicons {
    opacity: 1;
    transform: scale(1.1);
}

/* ========== SECTION SERVICES ========== */
.services {
    padding: 80px 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon .dashicons {
    font-size: 35px;
    width: auto;
    height: auto;
    color: var(--secondary);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ========== SECTION ACTUALITÉS ========== */
.actualites {
    padding: 80px 0;
    background: var(--white);
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.actualite {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.actualite:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.actualite-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.actualite-content {
    padding: 20px;
}

.actualite h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.meta {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lire-suite {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
}

.lire-suite:hover {
    gap: 10px;
    color: var(--primary);
}

.no-actu {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

/* ========== SECTION CTA FINAL ========== */
.cta-final {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-contact {
    font-size: 14px;
    opacity: 0.9;
}

.cta-contact strong {
    color: var(--secondary);
    font-size: 18px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--primary-dark);
    color: var(--light);
    margin-top: 60px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3:after,
.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-logo h3 {
    font-size: 22px;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links,
.horaires,
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.contact-info li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--secondary);
}

.horaires li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    color: #bdc3c7;
}

.horaires li span {
    color: var(--white);
    font-weight: 500;
}

.permanence {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.permanence p {
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.newsletter {
    margin-top: 20px;
}

.newsletter p {
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

.newsletter-form input::placeholder {
    color: #95a5a6;
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    background: var(--success);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateX(3px);
}

.footer-bottom {
    background: #0a1a24;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 13px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--secondary);
}

/* ========== DASHICONS ========== */
.dashicons {
    vertical-align: middle;
    margin-right: 5px;
}

/* ========== RESPONSIVE BASE ========== */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .primary-menu {
        flex-direction: column;
        padding: 70px 20px 30px;
        gap: 0;
    }

    .primary-menu>li>a {
        border-bottom: 1px solid #eee;
        color: var(--dark);
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light);
        display: none;
        padding-left: 20px;
        border-radius: 0;
    }

    .has-dropdown.active .sub-menu {
        display: block;
    }

    .dropdown-arrow {
        float: right;
    }

    .site-branding {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .site-title a {
        font-size: 11px;
    }

    .site-title a span {
        font-size: 15px;
    }

    .site-logo img {
        max-height: 45px;
    }

    .top-bar {
        display: none;
    }

    .hero-home {
        min-height: 80vh;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-stats {
        justify-content: center;
        gap: 25px;
    }

    .stat-number {
        font-size: 24px;
    }

    .hero-wave {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ========== HERO SECTIONS UNIFORMES ========== */
.hero-section,
.hero-histoire,
.hero-archive {
    min-height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: #1d3f90;
    position: relative;
}

.hero-section .hero-content,
.hero-histoire .hero-content,
.hero-archive .hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 60px 0;
}

.hero-section .section-badge,
.hero-histoire .hero-badge,
.hero-archive .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    color: #ffffff;
}

.hero-section h1,
.hero-histoire h1,
.hero-archive h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-section h1 span,
.hero-histoire h1 span,
.hero-archive h1 span {
    color: var(--secondary);
}

.hero-section p,
.hero-archive p {
    font-size: 18px;
    opacity: 0.9;
    color: #ffffff;
}

.hero-section .btn-back,
.hero-histoire .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.hero-section .btn-back:hover,
.hero-histoire .btn-back:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ========== SECTIONS COMMUNES ========== */
.presentation-section {
    padding: 80px 0;
    background: var(--white);
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.presentation-text h2 {
    font-size: 36px;
    color: var(--primary);
    margin: 15px 0 20px;
}

.presentation-text p {
    line-height: 1.8;
    color: #555;
}

.points-cles {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.point {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: var(--primary);
}

.point .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--success);
}

.presentation-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========== ENSEIGNANTS ========== */
.teacher-section {
    padding: 80px 0;
    background: #f0f7fa;
}

.teacher-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.teacher-photo .photo {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.teacher-info {
    padding: 40px 40px 40px 0;
}

.teacher-info h2 {
    font-size: 32px;
    color: var(--primary);
    margin: 10px 0 5px;
}

.teacher-title {
    color: var(--orange);
    font-weight: bold;
    margin-bottom: 20px;
}

.teacher-info p {
    line-height: 1.8;
    color: #555;
}

.teacher-contact {
    margin-top: 20px;
    padding: 10px 15px;
    background: #f9f9f9;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--primary);
}

/* ========== PROGRAMMES ========== */
.programme-section {
    padding: 80px 0;
    background: var(--white);
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.programme-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.programme-card .icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.programme-card h3 {
    margin: 20px 0 15px;
    color: var(--primary);
}

.programme-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.programme-card ul li {
    padding: 5px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.programme-card ul li:before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
}

/* ========== OBJECTIFS ========== */
.objectifs-section {
    padding: 80px 0;
    background: var(--light);
}

.objectifs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.objectif-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.objectif-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.objectif-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--success);
    margin-bottom: 15px;
}

.objectif-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.objectif-card p {
    color: var(--gray);
    font-size: 14px;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress {
    background: linear-gradient(90deg, var(--success), var(--secondary));
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* ========== PROJETS & ACTIVITÉS ========== */
.projets-section {
    padding: 80px 0;
    background: var(--white);
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projet-card {
    text-align: center;
    padding: 40px 30px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s;
}

.projet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.projet-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.projet-card h3 {
    margin: 20px 0 15px;
    color: var(--primary);
}

.projet-card p {
    color: #666;
    line-height: 1.6;
}

.periode {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    background: var(--orange);
    color: white;
    border-radius: 20px;
    font-size: 12px;
}

/* ========== TÉMOIGNAGES ========== */
.temoignages-section {
    padding: 80px 0;
    background: #f0f7fa;
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.temoignage-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.temoignage-card:hover {
    transform: translateY(-3px);
}

.quote {
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.temoignage-card p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.parent-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.parent-info strong {
    display: block;
    color: var(--primary);
}

.parent-info span {
    font-size: 12px;
    color: #999;
}

/* ========== CTA SECTIONS ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section .btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-secondary:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-rejoindre {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-rejoindre h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* ========== PAGINATION ========== */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    margin: 0 3px;
    background: var(--light);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ========== PAGE MATERNELLE ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-badge {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.nos-sections {
    padding: 80px 0;
    background: var(--light);
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.section-icon .dashicons {
    font-size: 40px;
    width: auto;
    height: auto;
    color: var(--secondary);
}

.section-card .age {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-section {
    display: inline-block;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-section:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* ========== PÉDAGOGIE ========== */
.pedagogie {
    padding: 80px 0;
    background: var(--white);
}

.pedagogie-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.pedagogie-content {
    flex: 1;
    min-width: 280px;
}

.pedagogie-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.pedagogie-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.peda-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.peda-item .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--cyan);
}

.peda-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.pedagogie-image {
    flex: 1;
    min-width: 280px;
}

/* ========== EMPLOI DU TEMPS ========== */
.emploi-temps {
    padding: 80px 0;
    background: var(--light);
}

.emploi-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.emploi-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.emploi-table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    font-weight: 600;
}

.emploi-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.emploi-table tr:hover {
    background: var(--light);
}

/* ========== INSCRIPTION ========== */
.inscription-section {
    padding: 80px 0;
    background: var(--white);
}

.inscription-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 30px;
    padding: 50px;
    color: var(--white);
}

.inscription-content {
    text-align: center;
    margin-bottom: 30px;
}

.inscription-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.inscription-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.inscription-buttons .btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
}

.inscription-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.inscription-buttons .btn-outline:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.inscription-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: var(--secondary);
}

/* ========== GALERIE ========== */
.galerie-section {
    padding: 80px 0;
    background: var(--light);
}

.galerie-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.galerie-tab {
    background: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s;
}

.galerie-tab:hover,
.galerie-tab.active {
    background: var(--primary);
    color: var(--white);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.galerie-item {
    display: block;
}

.galerie-item.hide {
    display: none !important;
}

.galerie-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.galerie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galerie-item:hover .galerie-image img {
    transform: scale(1.1);
}

.galerie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 63, 144, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.galerie-item:hover .galerie-overlay {
    opacity: 1;
}

.galerie-overlay .dashicons {
    font-size: 40px;
    width: auto;
    height: auto;
    margin-bottom: 15px;
}

.galerie-more {
    text-align: center;
    margin-top: 40px;
}

.btn-galerie {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-galerie:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--secondary);
}

/* ========== PAGE NOTRE HISTOIRE ========== */
.historique {
    padding: 80px 0;
    background: #f9f9f9;
}

.historique-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.chiffres-cles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--primary);
}

.chiffres-cles .nombre {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
}

.historique-galerie .galerie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.historique-galerie .galerie-item {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.3s;
}

.historique-galerie .galerie-item.large {
    grid-column: span 2;
    height: 200px;
}

/* Fondateurs */
.fondateurs {
    padding: 80px 0;
    background: var(--white);
}

.fondateurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.carte-fondateur {
    text-align: center;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s;
}

.carte-fondateur:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carte-fondateur .photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.carte-fondateur .poste {
    display: block;
    font-size: 14px;
    color: var(--orange);
    font-weight: bold;
}

/* Directeurs */
.directeurs {
    padding: 80px 0;
    background: #f0f7fa;
}

.directeurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.carte-directeur {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carte-directeur .photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.carte-directeur .niveau {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

/* Équipes pédagogiques */
.equipes {
    padding: 80px 0;
    background: var(--white);
}

.niveau-equipe {
    margin-bottom: 60px;
}

.niveau-titre {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.niveau-titre .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.niveau-titre h3 {
    margin: 0;
    font-size: 28px;
    color: var(--primary);
}

.nb-enseignants {
    background: var(--orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.enseignants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.carte-enseignant {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

.carte-enseignant .photo {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.carte-enseignant .matiere {
    display: block;
    font-size: 13px;
    color: var(--orange);
    font-weight: bold;
    margin-bottom: 5px;
}

/* ========== CEPE SECTION ========== */
.cepe-section {
    padding: 80px 0;
    background: var(--light);
}

.cepe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.cepe-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cepe-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.cepe-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.cepe-card ul li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--gray);
    position: relative;
    padding-left: 20px;
}

.cepe-card ul li:before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
}

.coefficient {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 15px;
}

.cepe-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

/* ========== RÉSULTATS ========== */
.cepe-resultats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.resultats-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.resultats-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.resultat-stat .stat-chiffre {
    font-size: 48px;
    font-weight: bold;
    color: var(--secondary);
    display: block;
}

/* ========== MATIÈRES ========== */
.matieres-section {
    padding: 80px 0;
    background: var(--light);
}

.matieres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.matiere-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.matiere-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ========== ORIENTATION ========== */
.orientation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    text-align: center;
}

.orientation-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.orientation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.orientation-buttons .btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.orientation-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
}

/* ========== DOCUMENTS À FOURNIR ========== */
.documents-section {
    padding: 80px 0;
    background: var(--light);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.document-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary);
}

.document-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.document-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.document-card ul li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray);
    position: relative;
    padding-left: 20px;
}

.document-card ul li:before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
}

.documents-telechargement {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.telechargement-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: transform 0.3s;
}

.telechargement-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.telechargement-card .btn-download {
    background: var(--secondary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.telechargement-card .btn-download:hover {
    background: white;
    transform: translateY(-2px);
}

.documents-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-box {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary);
}

.info-box .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: var(--primary);
}

/* ========== RESPONSIVE COMPLET ========== */
@media (max-width: 1024px) {

    .programme-grid,
    .objectifs-grid,
    .projets-grid,
    .fondateurs-grid,
    .directeurs-grid,
    .enseignants-grid,
    .cepe-grid,
    .matieres-grid,
    .documents-grid,
    .documents-telechargement {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .presentation-grid,
    .teacher-card,
    .historique-grid,
    .pedagogie-grid {
        grid-template-columns: 1fr;
    }

    .programme-grid,
    .objectifs-grid,
    .projets-grid,
    .temoignages-grid,
    .fondateurs-grid,
    .directeurs-grid,
    .enseignants-grid,
    .cepe-grid,
    .matieres-grid,
    .documents-grid,
    .documents-telechargement,
    .documents-info {
        grid-template-columns: 1fr;
    }

    .chiffres-cles {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section h1,
    .hero-histoire h1,
    .hero-archive h1 {
        font-size: 32px;
    }

    .cta-buttons,
    .orientation-buttons,
    .inscription-buttons {
        flex-direction: column;
        align-items: center;
    }

    .teacher-info {
        padding: 30px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .niveau-titre {
        flex-wrap: wrap;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .cepe-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .presentation-section,
    .teacher-section,
    .programme-section,
    .projets-section,
    .temoignages-section,
    .cta-section,
    .objectifs-section,
    .cepe-section,
    .matieres-section,
    .orientation-section,
    .documents-section,
    .historique,
    .fondateurs,
    .directeurs,
    .equipes {
        padding: 50px 0;
    }

    .chiffres-cles {
        grid-template-columns: 1fr;
    }

    .hero-archive h1 {
        font-size: 24px;
    }
}
/* ========== EMPLOI DU TEMPS TÉLÉCHARGEABLE ========== */
.emploi-temps {
    padding: 80px 0;
    background: var(--light, #f8f9fa);
}

.emploi-download {
    max-width: 500px;
    margin: 0 auto;
}

.download-card {
    background: var(--white, #ffffff);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--primary, #1d3f90);
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 24px;
    color: var(--primary, #1d3f90);
    margin-bottom: 10px;
}

.download-card p {
    color: var(--gray, #6c757d);
    margin-bottom: 20px;
}

.download-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 20px 0;
}

.download-card ul li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray, #6c757d);
}

.download-card .btn-download {
    background: linear-gradient(135deg, var(--success, #28ca1f), #1e9e15);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: all 0.3s;
}

.download-card .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 202, 31, 0.3);
}

/* ========== SECTION SÉRIES ========== */
.series-section {
    padding: 80px 0;
    background: var(--light, #f8f9fa);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.serie-card {
    background: var(--white, #ffffff);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary, #1d3f90);
}

.serie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.serie-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--primary, #1d3f90);
    margin-bottom: 15px;
}

.serie-card h3 {
    color: var(--primary, #1d3f90);
    margin-bottom: 5px;
    font-size: 28px;
}

.serie-card p {
    color: var(--gray, #6c757d);
    font-weight: bold;
    margin-bottom: 15px;
}

.serie-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.serie-card ul li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--gray, #6c757d);
}

.serie-orientation {
    display: inline-block;
    background: var(--secondary, #f0dd46);
    color: var(--primary, #1d3f90);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .series-grid {
        grid-template-columns: 1fr;
    }
}