/* ============================================================
   Complexe Scolaire Bilingue Laïc Esther et Marie
   Palette: vert vif #7DC21E, vert foncé #1B5E20, rouge/orange #E53935,
            gris ardoise #37474F, blanc cassé #F9FBF5
   ============================================================ */

:root {
    --green:        #7DC21E;
    --green-dark:   #1B5E20;
    --green-mid:    #2E7D32;
    --red:          #E53935;
    --orange:       #F57C00;
    --slate:        #37474F;
    --slate-light:  #546E7A;
    --cream:        #F9FBF5;
    --white:        #FFFFFF;
    --text:         #1C2B1A;
    --text-muted:   #5A6A57;
    --border:       #DCE8D4;
    --shadow:       0 4px 24px rgba(30,80,20,.10);
    --shadow-lg:    0 12px 48px rgba(30,80,20,.16);
    --radius:       14px;
    --radius-sm:    8px;
    --transition:   .3s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Nunito', 'Segoe UI', sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TOPBAR ── */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,.88);
    font-size: .8rem;
    padding: 7px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-left span, .topbar-right a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.88); }
.topbar-right a:hover { color: var(--green); }
.topbar-left i, .topbar-right i { color: var(--green); font-size: .9rem; }

/* ── NAVBAR ── */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.14); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 52px; height: 52px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--green-dark); }
.logo-sub { font-size: .68rem; color: var(--slate-light); font-weight: 600; letter-spacing: .03em; }
@media (min-width: 992px) {
    /* Nom du complexe imposant en version web */
    .logo-main { font-size: 1.55rem; font-weight: 900; letter-spacing: .01em; }
    .logo-sub { font-size: .74rem; }
    .nav-logo img { width: 62px; height: 62px; }
}

/* ── Nom imposant dans le hero ── */
.hero-brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 10px;
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-brand-name span { color: var(--green); display: block; font-size: 1.05em; }
.hero-slogan {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    color: #FFE082;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin-bottom: 22px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li { position: relative; }
.nav-links a {
    padding: 8px 14px;
    font-weight: 700;
    font-size: .9rem;
    color: var(--slate);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    display: flex; align-items: center; gap: 5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); background: #EBF5E1; }
.btn-inscription {
    background: var(--red) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 9px 20px !important;
    font-weight: 800 !important;
    letter-spacing: .03em;
}
.btn-inscription:hover { background: #c62828 !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(229,57,53,.35); }

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { padding: 11px 18px; display: block; font-size: .88rem; color: var(--slate); border-radius: 0; }
.dropdown-menu a:hover { background: #EBF5E1; color: var(--green-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--slate); border-radius: 4px; transition: var(--transition); display: block; }

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-dark);
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(27,94,32,.88) 40%, rgba(27,94,32,.45) 100%);
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 680px;
    padding: 60px 24px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(125,194,30,.25);
    border: 1px solid rgba(125,194,30,.5);
    color: #AEE571;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-title span { color: var(--green); }
.hero-subtitle { font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-weight: 800; font-size: .95rem; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #c62828; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(229,57,53,.4); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #6aaa1a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(125,194,30,.4); }

.hero-stats {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 10;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat {
    padding: 20px 24px;
    text-align: center;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,.12);
}
.hero-stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.stat-label { font-size: .78rem; opacity: .8; margin-top: 4px; }

/* ── SECTION COMMONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
    display: inline-block;
    color: var(--green-mid);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--green-dark);
    margin-bottom: 14px;
    line-height: 1.2;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── NOS ATOUTS ── */
.atouts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.atout-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.atout-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.atout-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.atout-card:hover::before { transform: scaleX(1); }
.atout-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #EBF5E1;
    color: var(--green-mid);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.atout-card h3 { font-size: 1rem; font-weight: 800; color: var(--green-dark); margin-bottom: 8px; }
.atout-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ── SECTIONS PRIMAIRE / SECONDAIRE ── */
.formations-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.formation-panel {
    padding: 52px 40px;
    position: relative;
}
.formation-panel.primaire { background: linear-gradient(135deg, #F57C00 0%, #E65100 100%); }
.formation-panel.secondaire { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%); }
.formation-icon { font-size: 3.5rem; color: rgba(255,255,255,.25); margin-bottom: 20px; }
.formation-panel h2 { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); margin-bottom: 6px; }
.formation-panel .sub { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.formation-panel p { color: rgba(255,255,255,.88); font-size: .98rem; line-height: 1.7; margin-bottom: 28px; }
.formation-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.formation-features li { color: rgba(255,255,255,.9); font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.formation-features li i { color: #AEE571; flex-shrink: 0; }
.btn-light { background: var(--white); color: var(--green-dark); border-radius: 50px; padding: 12px 26px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; transition: all var(--transition); }
.btn-light:hover { background: var(--cream); box-shadow: 0 6px 20px rgba(0,0,0,.2); transform: translateY(-2px); }

/* ── GALERIE PREVIEW ── */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
}
.galerie-item { position: relative; overflow: hidden; }
.galerie-item:first-child { grid-column: span 2; grid-row: span 2; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie-item:hover img { transform: scale(1.07); }
.galerie-overlay {
    position: absolute; inset: 0;
    background: rgba(27,94,32,.0);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.galerie-item:hover .galerie-overlay { background: rgba(27,94,32,.55); }
.galerie-overlay i { color: var(--white); font-size: 1.8rem; opacity: 0; transition: opacity var(--transition); }
.galerie-item:hover .galerie-overlay i { opacity: 1; }

/* ── NEWS ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-image { height: 200px; overflow: hidden; background: var(--border); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 24px; }
.news-badge {
    display: inline-block;
    background: #EBF5E1;
    color: var(--green-mid);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.news-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); margin-bottom: 10px; line-height: 1.35; }
.news-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.news-meta { font-size: .8rem; color: var(--slate-light); }
.read-more { color: var(--green-mid); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 5px; transition: gap var(--transition); }
.read-more:hover { gap: 10px; }

/* ── TEMOIGNAGES ── */
.temoignages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.temoignage-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
}
.temoignage-card::before {
    content: '"';
    position: absolute;
    top: 16px; right: 24px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: #EBF5E1;
    line-height: 1;
}
.stars { color: #FFC107; font-size: 1rem; margin-bottom: 14px; }
.temoignage-card p { font-size: .95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.temoignage-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.author-name { font-weight: 800; color: var(--green-dark); font-size: .95rem; }
.author-role { font-size: .8rem; color: var(--slate-light); }

/* ── INSCRIPTION BANNER ── */
.inscription-banner {
    background: linear-gradient(135deg, var(--red) 0%, #B71C1C 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.inscription-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.inscription-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.inscription-banner .badge-open {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.15);
    color: var(--white);
    font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.inscription-banner h2 { font-family: var(--font-display); font-size: 2.4rem; color: var(--white); margin-bottom: 12px; }
.inscription-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }
.inscription-banner .hours { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); padding: 8px 16px; border-radius: 50px; font-size: .85rem; margin-bottom: 28px; }
.btn-white { background: var(--white); color: var(--red); border-radius: 50px; padding: 14px 32px; font-weight: 800; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; transition: all var(--transition); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }

/* ── MAP / CONTACT section ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--green-dark); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 50%; background: #EBF5E1; color: var(--green-mid); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item h4 { font-size: .85rem; font-weight: 800; color: var(--green-dark); margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: .9rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--green-mid); }

/* ── FORM ── */
.form-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .92rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(125,194,30,.15);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-required { color: var(--red); }
.form-msg { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 700; font-size: .9rem; }
.form-msg.success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.form-msg.error { background: #FFEBEE; color: var(--red); border: 1px solid #FFCDD2; }

/* ── GALERIE PAGE ── */
.galerie-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.galerie-full .galerie-item { border-radius: var(--radius-sm); overflow: hidden; height: 220px; }
.galerie-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.filter-btn { padding: 8px 20px; border-radius: 50px; border: 2px solid var(--border); background: transparent; color: var(--slate); font-family: var(--font-body); font-weight: 700; font-size: .88rem; cursor: pointer; transition: all var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

/* ── PAGE HEADER ── */
.page-header {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute; top: -50px; right: -50px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(125,194,30,.12);
}
.page-header h1 { font-family: var(--font-display); font-size: 2.8rem; color: var(--white); margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.65); }
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── INSCRIPTION PAGE ── */
.inscription-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.inscription-sidebar {
    background: linear-gradient(160deg, var(--green-dark), var(--green-mid));
    padding: 44px 32px;
    color: var(--white);
}
.inscription-sidebar h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 20px; }
.inscription-sidebar ul li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .9rem; color: rgba(255,255,255,.9); }
.inscription-sidebar ul li i { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.inscription-form { padding: 44px 40px; }
.inscription-layout { display: grid; grid-template-columns: 340px 1fr; }

/* ── FOOTER ── */
.footer { background: var(--green-dark); }
.footer-top { padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand strong, .footer-brand em { color: var(--green); }
.footer-brand div { color: rgba(255,255,255,.8); font-size: .85rem; line-height: 1.6; }
.footer-desc { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    transition: background var(--transition), transform var(--transition);
}
.footer-socials a:hover { background: var(--green); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: .95rem; font-weight: 800; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--green); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: 10px; }
.footer-contact-list li i { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.footer-contact-list a { color: rgba(255,255,255,.65); }
.footer-contact-list a:hover { color: var(--green); }
.footer-cta-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; text-align: center; }
.cta-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.footer-cta-box p { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 10px; }
.cta-hours { color: rgba(255,255,255,.55) !important; font-size: .8rem !important; }
.btn-cta { display: block; background: var(--red); color: var(--white); padding: 10px; border-radius: 50px; font-weight: 800; font-size: .88rem; margin-top: 14px; transition: background var(--transition); }
.btn-cta:hover { background: #c62828; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .82rem; }
.footer-bottom a { color: rgba(255,255,255,.35); font-size: .8rem; }
.footer-bottom a:hover { color: var(--green); }

/* ── ALERT BANNER ── */
.alert-banner {
    background: #FFF9C4;
    border-bottom: 2px solid #FBC02D;
    padding: 12px 24px;
    text-align: center;
    font-size: .9rem;
    font-weight: 700;
    color: #795548;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    color: var(--white); font-size: 2rem;
    background: none; border: none;
    cursor: pointer; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ── ADMIN ── */
.admin-body { background: #F0F4F8; font-family: var(--font-body); min-height: 100vh; }
.admin-sidebar {
    width: 240px; background: var(--green-dark); position: fixed; top: 0; bottom: 0; left: 0;
    padding: 24px 0; overflow-y: auto; z-index: 100;
}
.admin-sidebar .logo-area { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.admin-sidebar .logo-area img { width: 40px; filter: brightness(0) invert(1); }
.admin-sidebar .logo-area span { color: var(--white); font-weight: 800; font-size: 1rem; display: block; margin-top: 8px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 24px; color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; transition: all var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: var(--white); border-right: 3px solid var(--green); }
.admin-nav a i { width: 18px; text-align: center; }
.admin-main { margin-left: 240px; padding: 32px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-topbar h2 { font-family: var(--font-display); color: var(--green-dark); font-size: 1.6rem; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 18px; box-shadow: 0 2px 12px rgba(0,0,0,.06); border-left: 4px solid var(--green); }
.admin-card-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: #EBF5E1; color: var(--green-mid); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.admin-card-num { font-size: 2rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.admin-card-label { font-size: .8rem; color: var(--text-muted); margin-top: 3px; }
.admin-table { background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden; }
.admin-table-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.admin-table-header h3 { font-size: 1rem; font-weight: 800; color: var(--green-dark); }
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th { background: #F5F7F2; padding: 12px 16px; text-align: left; font-size: .8rem; font-weight: 800; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.admin-table td { padding: 14px 16px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text); vertical-align: middle; }
.admin-table tr:hover td { background: #FAFCF7; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 800; }
.badge-pending { background: #FFF9C4; color: #F57F17; }
.badge-confirmed { background: #E8F5E9; color: #2E7D32; }
.badge-cancelled { background: #FFEBEE; color: var(--red); }
.badge-read { background: #E8F5E9; color: #2E7D32; }
.badge-unread { background: #FFF3E0; color: #E65100; }
.action-btn { padding: 5px 12px; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 700; cursor: pointer; border: none; transition: all var(--transition); }
.btn-view { background: #EBF5E1; color: var(--green-mid); }
.btn-delete { background: #FFEBEE; color: var(--red); }
.btn-view:hover { background: var(--green); color: var(--white); }
.btn-delete:hover { background: var(--red); color: var(--white); }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green-dark) 0%, #0D3B0F 100%); }
.login-box { background: var(--white); border-radius: var(--radius); padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); text-align: center; }
.login-box img { width: 70px; margin: 0 auto 16px; }
.login-box h1 { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-dark); margin-bottom: 6px; }
.login-box p { color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .formations-split { grid-template-columns: 1fr; }
    .inscription-layout { grid-template-columns: 1fr; }
    .inscription-sidebar { padding: 32px; }
    .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .galerie-grid .galerie-item:first-child { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .hamburger { display: flex; }
    .nav-links {
        display: none; flex-direction: column; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); box-shadow: var(--shadow-lg);
        padding: 16px 0; border-top: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links a { border-radius: 0; padding: 12px 24px; }
    .dropdown-menu { position: static; box-shadow: none; border: none; display: block; background: #F5F7F2; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; }
    .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; padding: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .galerie-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-stats-inner { grid-template-columns: 1fr; }
    .atouts-grid { grid-template-columns: 1fr; }
    .galerie-grid { grid-template-columns: 1fr; }
}

/* ── LANGUAGE SWITCH ── */
.lang-switch { display: flex; align-items: center; gap: 5px; margin-left: 8px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.25); }
.lang-switch a { font-weight: 800; font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.6); padding: 2px 4px; }
.lang-switch a.active, .lang-switch a:hover { color: #fff; }
.lang-switch span { color: rgba(255,255,255,.4); font-size: .75rem; }
.nav-lang-mobile { display: none; }

@media (max-width: 768px) {
    .nav-lang-mobile {
        display: flex; gap: 10px; padding: 10px 24px; border-top: 1px solid var(--border); margin-top: 4px;
    }
    .nav-lang-mobile a { font-size: .85rem; font-weight: 700; color: var(--text-muted); padding: 4px 10px; border-radius: 50px; border: 1px solid var(--border); }
    .nav-lang-mobile a.active { background: var(--green); color: #fff; border-color: var(--green); }
    .topbar-hours { display: none; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 1.9rem !important; }
    .hero-name-display { font-size: 1.6rem !important; }
}

/* Media (video/audio) items in gallery & news */
.gal-item.gal-video .gal-play-badge, .news-card-image .media-play-badge {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.25);
}
.gal-item.gal-video .gal-play-badge i, .news-card-image .media-play-badge i {
    width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green-dark);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.news-audio-player, .article-audio-player { width: 100%; margin-top: 10px; }
.news-badge.badge-video { background: #E3F2FD; color: #1565C0; }
.news-badge.badge-audio { background: #F3E5F5; color: #6A1B9A; }

/* Animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
