﻿/* ============================================================
   Page d'accueil â€” Complexe Scolaire PrÃ©valoire
   Design sobre, institutionnel, responsive
   ============================================================ */

:root {
    --acc-navy: #0f2a43;
    --acc-navy-2: #16345a;
    --acc-blue: #2563eb;
    --acc-blue-dark: #1d4ed8;
    --acc-sky: #38bdf8;
    --acc-gold: #f4a825;
    --acc-gold-dark: #d97706;
    --acc-green: #059669;
    --acc-text: #1e293b;
    --acc-muted: #64748b;
    --acc-line: #e2e8f0;
    --acc-bg: #f8fafc;
    --acc-white: #ffffff;
    --acc-radius: 1rem;
    --acc-shadow: 0 10px 30px rgba(15, 42, 67, .10);
    --acc-shadow-lg: 0 24px 60px rgba(15, 42, 67, .22);
    --acc-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --acc-nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--acc-nav-h) + 12px); }
body {
    margin: 0;
    font-family: var(--acc-font);
    color: var(--acc-text);
    background: var(--acc-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--acc-blue); text-decoration: none; }
h1, h2, h3 { color: var(--acc-navy); line-height: 1.25; margin: 0 0 .6rem; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-weight: 700; }
p { margin: 0 0 1rem; }
code { background: #eef2f7; padding: .1rem .4rem; border-radius: .35rem; }

.acc-container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.acc-skip {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--acc-navy); color: #fff; padding: .7rem 1rem; border-radius: 0 0 .5rem 0;
}
.acc-skip:focus { left: 0; }

/* ---------- Boutons ---------- */
.acc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .72rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: .95rem; letter-spacing: .01em; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    text-decoration: none; white-space: nowrap;
}
.acc-btn:hover, .acc-btn:focus-visible { transform: translateY(-2px); }
.acc-btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.acc-btn-primary { background: var(--acc-blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .35); }
.acc-btn-primary:hover { background: var(--acc-blue-dark); color: #fff; }
.acc-btn-gold { background: var(--acc-gold); color: #3b2300; box-shadow: 0 8px 20px rgba(244, 168, 37, .35); }
.acc-btn-gold:hover { background: var(--acc-gold-dark); color: #fff; }
.acc-btn-outline { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.acc-btn-outline:hover { background: #fff; color: var(--acc-navy); }
.acc-btn-outline-dark { border-color: var(--acc-navy); color: var(--acc-navy); background: transparent; }
.acc-btn-outline-dark:hover { background: var(--acc-navy); color: #fff; }
.acc-btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.acc-btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.acc-btn-whatsapp { background: #25d366; color: #fff; }
.acc-btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.acc-btn-facebook { background: #1877f2; color: #fff; }
.acc-btn-facebook:hover { background: #145dbf; color: #fff; }

.acc-link-more {
    display: inline-flex; align-items: center; gap: .4rem;
    background: none; border: 0; padding: 0;
    color: var(--acc-blue); font-weight: 700; font-size: .9rem; cursor: pointer;
}
.acc-link-more i { transition: transform .18s ease; }
.acc-link-more:hover i { transform: translateX(4px); }

/* ---------- Barre d'information ---------- */
.acc-topbar {
    background: linear-gradient(90deg, var(--acc-navy), var(--acc-navy-2));
    color: #dbe7f5; font-size: .8rem; padding: .45rem 0;
}
.acc-topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; }
.acc-topbar-brand { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.acc-topbar-brand i { color: var(--acc-sky); }
.acc-topbar-name { font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
.acc-topbar-devise {
    color: var(--acc-gold); font-weight: 600; font-size: .74rem;
    padding-left: .55rem; border-left: 1px solid rgba(255, 255, 255, .25);
}
.acc-topbar-infos { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: 0; padding: 0; }
.acc-topbar-infos li { display: flex; align-items: center; gap: .35rem; }
.acc-topbar-infos i { color: var(--acc-sky); }
.acc-topbar-infos a { color: #dbe7f5; }
.acc-topbar-infos a:hover { color: #fff; }
@media (max-width: 900px) { .acc-topbar-infos li:nth-child(1), .acc-topbar-infos li:nth-child(4) { display: none; } }
@media (max-width: 560px) { .acc-topbar-devise, .acc-topbar-infos { display: none; } }

/* ---------- Navbar ---------- */
.acc-navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--acc-line);
    transition: box-shadow .25s ease;
}
.acc-navbar.is-scrolled { box-shadow: 0 8px 24px rgba(15, 42, 67, .12); }
.acc-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--acc-nav-h); }
.acc-brand { display: flex; align-items: center; gap: .7rem; color: inherit; min-width: 0; }
.acc-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--acc-line); background: #fff; }
.acc-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.acc-brand-text strong { color: var(--acc-navy); font-size: .98rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.acc-brand-text small { color: var(--acc-gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 480px) { .acc-brand-text strong { font-size: .82rem; } .acc-brand-text small { display: none; } }

.acc-menu { display: flex; align-items: center; gap: .15rem; }
.acc-nav-link {
    color: var(--acc-text); font-weight: 600; font-size: .88rem;
    padding: .5rem .68rem; border-radius: .55rem; position: relative;
    transition: color .15s ease, background .15s ease;
}
.acc-nav-link::after {
    content: ''; position: absolute; left: .68rem; right: .68rem; bottom: .28rem; height: 2px;
    background: var(--acc-blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.acc-nav-link:hover, .acc-nav-link.is-active { color: var(--acc-blue); }
.acc-nav-link:hover::after, .acc-nav-link.is-active::after { transform: scaleX(1); }
.acc-nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: .6rem; }
.acc-nav-actions .acc-btn { padding: .5rem 1rem; font-size: .84rem; }

.acc-burger {
    display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    align-items: center; justify-content: center; border: 1px solid var(--acc-line);
    background: #fff; border-radius: .6rem; cursor: pointer; padding: 0;
}
.acc-burger span { display: block; width: 20px; height: 2.5px; background: var(--acc-navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.acc-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.acc-burger.is-open span:nth-child(2) { opacity: 0; }
.acc-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1200px) {
    .acc-burger { display: flex; }
    .acc-menu {
        position: fixed; inset: calc(var(--acc-nav-h) + 34px) 0 auto 0;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 1rem 1.25rem 1.5rem; gap: .25rem;
        border-bottom: 1px solid var(--acc-line);
        box-shadow: var(--acc-shadow-lg);
        transform: translateY(-130%); opacity: 0; pointer-events: none;
        transition: transform .3s ease, opacity .25s ease;
        max-height: calc(100vh - var(--acc-nav-h)); overflow-y: auto;
    }
    .acc-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .acc-nav-link { padding: .8rem .6rem; font-size: 1rem; border-bottom: 1px solid #f1f5f9; border-radius: 0; }
    .acc-nav-link::after { display: none; }
    .acc-nav-actions { margin: .9rem 0 0; flex-direction: column; align-items: stretch; }
    .acc-nav-actions .acc-btn { width: 100%; padding: .8rem 1rem; font-size: .95rem; }
}
@media (max-width: 1200px) {
    .acc-menu { top: var(--acc-nav-h); }
}

/* ---------- Hero / Slider ---------- */
.acc-hero {
    position: relative; min-height: clamp(480px, 88vh, 780px);
    display: flex; align-items: center; overflow: hidden; background: var(--acc-navy);
}
.acc-hero-slider { position: absolute; inset: 0; }
.acc-hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
}
.acc-hero-slide.is-active { opacity: 1; z-index: 1; }
.acc-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.acc-hero-slide-fallback { background: linear-gradient(135deg, #0f2a43, #1e40af 55%, #2563eb); }
.acc-hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(180deg, rgba(15, 42, 67, .55) 0%, rgba(15, 42, 67, .35) 45%, rgba(15, 42, 67, .78) 100%),
        linear-gradient(90deg, rgba(15, 42, 67, .55), transparent 65%);
}
.acc-hero-content { position: relative; z-index: 3; text-align: center; color: #fff; padding: 5rem 0 6.5rem; }
.acc-hero-kicker {
    display: inline-block; margin-bottom: .75rem; padding: .35rem 1rem;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem;
    color: #e0f2fe;
}
.acc-hero-title {
    color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    font-size: clamp(1.9rem, 5.4vw, 3.6rem); text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
    margin-bottom: .6rem;
}
.acc-hero-devise {
    color: var(--acc-gold); font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
    font-size: clamp(.85rem, 2vw, 1.1rem); margin-bottom: 1.2rem;
}
.acc-hero-devise i { font-size: 1.2em; vertical-align: middle; }
.acc-hero-quote {
    max-width: 720px; margin: 0 auto 1.9rem; font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #e2e8f0; font-style: italic; text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.acc-hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.acc-hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(15, 42, 67, .35); color: #fff; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.acc-hero-arrow:hover { background: rgba(37, 99, 235, .85); transform: translateY(-50%) scale(1.06); }
.acc-hero-prev { left: max(.75rem, calc((100% - 1180px) / 2 - 3.5rem)); }
.acc-hero-next { right: max(.75rem, calc((100% - 1180px) / 2 - 3.5rem)); }
@media (max-width: 900px) { .acc-hero-prev { left: .6rem; } .acc-hero-next { right: .6rem; } }
.acc-hero-dots {
    position: absolute; left: 0; right: 0; bottom: 1.4rem; z-index: 5;
    display: flex; justify-content: center; gap: .5rem;
}
.acc-hero-dots button {
    width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: rgba(255, 255, 255, .45); transition: transform .2s ease, background .2s ease;
}
.acc-hero-dots button.is-active { background: var(--acc-gold); transform: scale(1.35); }

/* ---------- Sections ---------- */
.acc-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.acc-section-alt { background: var(--acc-bg); }
.acc-section-dark { background: linear-gradient(160deg, var(--acc-navy) 0%, #123a63 60%, #16417a 100%); color: #e2e8f0; }
.acc-section-head { max-width: 780px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.acc-section-head-light h2, .acc-section-dark h2 { color: #fff; }
.acc-kicker {
    display: inline-block; color: var(--acc-blue); font-weight: 800; letter-spacing: .2em;
    text-transform: uppercase; font-size: .76rem; margin-bottom: .55rem;
}
.acc-kicker-light { color: var(--acc-gold); }
.acc-lead { color: var(--acc-muted); font-size: 1.05rem; margin-bottom: 0; }
.acc-section-head-light .acc-lead, .acc-section-dark .acc-lead { color: #cbd5e1; }
.acc-devise-badge {
    display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: center;
    background: linear-gradient(90deg, #fff7e6, #fef3c7); border: 1px solid #fde68a;
    color: #92400e; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: .55rem 1.3rem; border-radius: 999px; font-size: .92rem; margin: .5rem 0 0;
}
.acc-devise-badge i { color: var(--acc-gold-dark); }
.acc-empty { text-align: center; color: var(--acc-muted); padding: 2rem; }

/* Grilles */
.acc-grid { display: grid; gap: 1.4rem; }
.acc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.acc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.acc-grid-sections { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
    .acc-grid-sections { grid-template-columns: repeat(3, 1fr); }
    .acc-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .acc-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .acc-grid-sections { grid-template-columns: repeat(2, 1fr); }
    .acc-grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
    .acc-grid-sections { grid-template-columns: 1fr; }
}

/* Valeurs (3 cartes) */
.acc-value-card {
    background: #fff; border: 1px solid var(--acc-line); border-radius: var(--acc-radius);
    padding: 2rem 1.5rem; text-align: center; box-shadow: var(--acc-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.acc-value-card:hover { transform: translateY(-6px); box-shadow: var(--acc-shadow-lg); }
.acc-value-card h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; }
.acc-value-card p { color: var(--acc-muted); margin: 0; font-size: .95rem; }
.acc-value-icon {
    width: 74px; height: 74px; margin: 0 auto 1.1rem; border-radius: 1.2rem;
    display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff;
    background: linear-gradient(135deg, var(--acc-sky), var(--acc-blue));
    box-shadow: 0 12px 26px rgba(37, 99, 235, .35);
}
.acc-value-card:nth-child(2) .acc-value-icon { background: linear-gradient(135deg, #fbbf24, var(--acc-gold-dark)); box-shadow: 0 12px 26px rgba(217, 119, 6, .35); }
.acc-value-card:nth-child(3) .acc-value-icon { background: linear-gradient(135deg, #34d399, var(--acc-green)); box-shadow: 0 12px 26px rgba(5, 150, 105, .35); }

/* Cartes niveaux */
.acc-level-card {
    background: #fff; border-radius: var(--acc-radius); overflow: hidden;
    border: 1px solid var(--acc-line); box-shadow: var(--acc-shadow);
    display: flex; flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease;
}
.acc-level-card:hover { transform: translateY(-7px); box-shadow: var(--acc-shadow-lg); }
.acc-level-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e2e8f0; }
.acc-level-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.acc-level-card:hover .acc-level-img { transform: scale(1.07); }
.acc-level-badge {
    position: absolute; left: 1rem; bottom: -26px; width: 56px; height: 56px; border-radius: 1rem;
    background: #fff; color: var(--acc-blue); font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--acc-shadow); border: 3px solid #fff;
}
.acc-level-body { padding: 2.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.acc-level-body h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.acc-level-niveau {
    color: var(--acc-gold-dark); font-weight: 800; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem;
}
.acc-level-txt { color: var(--acc-muted); font-size: .95rem; flex: 1; }
.acc-level-body .acc-btn { align-self: flex-start; margin-top: .4rem; }

/* Bande 7e-8e EB */
.acc-eb-band {
    margin-top: clamp(2rem, 4vw, 3rem);
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--acc-navy), #1b4a7e);
    color: #e2e8f0; border-radius: var(--acc-radius);
    padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--acc-shadow-lg);
    position: relative; overflow: hidden;
}
.acc-eb-band::after {
    content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(244, 168, 37, .35), transparent 70%);
}
.acc-eb-icon {
    width: 72px; height: 72px; border-radius: 1.1rem; flex-shrink: 0;
    background: linear-gradient(135deg, var(--acc-gold), var(--acc-gold-dark));
    color: #3b2300; font-size: 2rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 26px rgba(244, 168, 37, .4);
}
.acc-eb-body { flex: 1; min-width: 260px; position: relative; z-index: 1; }
.acc-eb-body h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .4rem; }
.acc-eb-body p:last-child { margin: 0; color: #cbd5e1; }
.acc-eb-band .acc-btn { position: relative; z-index: 1; }

/* Cartes sections */
.acc-section-card {
    background: #fff; border: 1px solid var(--acc-line); border-radius: var(--acc-radius);
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 42, 67, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.acc-section-card:hover { transform: translateY(-6px); box-shadow: var(--acc-shadow-lg); border-color: #bfdbfe; }
.acc-section-media { aspect-ratio: 4 / 3; overflow: hidden; background: #e2e8f0; }
.acc-section-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.acc-section-card:hover .acc-section-img { transform: scale(1.08); }
.acc-section-body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.acc-section-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; }
.acc-section-icon {
    width: 40px; height: 40px; border-radius: .7rem; flex-shrink: 0;
    background: #eff6ff; color: var(--acc-blue); font-size: 1.15rem;
    display: flex; align-items: center; justify-content: center;
}
.acc-section-level {
    font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    background: #fef3c7; color: #92400e; padding: .22rem .55rem; border-radius: 999px; text-align: center;
}
.acc-section-body h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.acc-section-body p { color: var(--acc-muted); font-size: .86rem; flex: 1; margin-bottom: .75rem; }

/* Pourquoi */
.acc-why-card {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--acc-radius); padding: 1.6rem 1.4rem;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.acc-why-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); border-color: rgba(244, 168, 37, .55); }
.acc-why-card h3 { color: #fff; font-size: 1.08rem; margin: .9rem 0 .45rem; }
.acc-why-card p { color: #cbd5e1; margin: 0; font-size: .93rem; }
.acc-why-icon {
    width: 54px; height: 54px; border-radius: .95rem; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, .25), rgba(37, 99, 235, .45));
    color: #7dd3fc; font-size: 1.5rem; border: 1px solid rgba(125, 211, 252, .35);
}

/* Section Ã©lÃ¨ves */
.acc-students { background: #fff; overflow: hidden; }
.acc-students-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); }
.acc-students-img { position: relative; }
.acc-students-img::before {
    content: ''; position: absolute; inset: auto 8% -18px; height: 60%;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .12)); z-index: 0;
}
.acc-student-photo {
    position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 1.4rem 1.4rem 6rem 1.4rem; box-shadow: var(--acc-shadow-lg);
    background: #e2e8f0;
}
.acc-students-img:nth-child(3) .acc-student-photo { border-radius: 1.4rem 1.4rem 1.4rem 6rem; }
.acc-students-text { text-align: center; padding: 1rem .5rem; }
.acc-students-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.acc-students-text p { color: var(--acc-muted); }
@media (max-width: 900px) {
    .acc-students-grid { grid-template-columns: 1fr 1fr; }
    .acc-students-text { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 560px) {
    .acc-students-grid { grid-template-columns: 1fr; }
    .acc-student-photo { aspect-ratio: 4 / 3; border-radius: 1.2rem !important; }
}

/* ---------- Galerie ---------- */
.acc-gslider { position: relative; margin-bottom: 1.6rem; }
.acc-gs-viewport { overflow: hidden; border-radius: var(--acc-radius); box-shadow: var(--acc-shadow); }
.acc-gs-track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.acc-gs-slide { flex: 0 0 100%; margin: 0; position: relative; aspect-ratio: 21 / 9; background: #e2e8f0; }
.acc-gs-slide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .acc-gs-slide { aspect-ratio: 16 / 10; } }
.acc-gs-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(15, 42, 67, .7); color: #fff; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.acc-gs-arrow:hover { background: var(--acc-blue); }
.acc-gs-prev { left: .9rem; }
.acc-gs-next { right: .9rem; }
.acc-gs-dots { display: flex; justify-content: center; gap: .45rem; margin-top: .85rem; }
.acc-gs-dots button {
    width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: #cbd5e1; transition: background .2s ease, transform .2s ease;
}
.acc-gs-dots button.is-active { background: var(--acc-blue); transform: scale(1.35); }

.acc-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 900px) { .acc-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .acc-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.acc-gallery-item {
    position: relative; border: 0; padding: 0; cursor: zoom-in; overflow: hidden;
    border-radius: .85rem; aspect-ratio: 4 / 3; background: #e2e8f0;
}
.acc-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.acc-gallery-item:hover img { transform: scale(1.08); }
.acc-gallery-zoom {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(15, 42, 67, .45); color: #fff; font-size: 1.5rem;
    opacity: 0; transition: opacity .25s ease;
}
.acc-gallery-item:hover .acc-gallery-zoom, .acc-gallery-item:focus-visible .acc-gallery-zoom { opacity: 1; }

/* Lightbox */
.acc-lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(8, 15, 28, .94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
    padding: 1.2rem;
}
.acc-lightbox.is-open { opacity: 1; visibility: visible; }
.acc-lightbox[hidden] { display: none; }
.acc-lightbox:not([hidden]) { display: flex; }
.acc-lb-figure { margin: 0; max-width: min(1100px, 94vw); text-align: center; }
.acc-lb-figure img {
    max-width: 100%; max-height: 78vh; object-fit: contain; margin: 0 auto;
    border-radius: .6rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    animation: accZoom .3s ease;
}
.acc-lb-figure figcaption { color: #cbd5e1; margin-top: .8rem; font-size: .9rem; }
.acc-lb-close, .acc-lb-arrow {
    position: absolute; border: 1px solid rgba(255, 255, 255, .25); cursor: pointer;
    background: rgba(255, 255, 255, .08); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.acc-lb-close:hover, .acc-lb-arrow:hover { background: rgba(37, 99, 235, .9); }
.acc-lb-close { top: 1rem; right: 1rem; width: 46px; height: 46px; font-size: 1.1rem; }
.acc-lb-arrow { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.4rem; }
.acc-lb-prev { left: max(.8rem, 3vw); }
.acc-lb-next { right: max(.8rem, 3vw); }
.acc-lb-count { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: #94a3b8; font-size: .88rem; }
@keyframes accZoom { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- ActualitÃ©s ---------- */
.acc-news-card {
    background: #fff; border: 1px solid var(--acc-line); border-radius: var(--acc-radius);
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 42, 67, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.acc-news-card:hover { transform: translateY(-6px); box-shadow: var(--acc-shadow-lg); }
.acc-news-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e2e8f0; }
.acc-news-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.acc-news-card:hover .acc-news-img { transform: scale(1.06); }
.acc-news-tag {
    position: absolute; left: .8rem; top: .8rem; z-index: 1;
    background: var(--acc-gold); color: #3b2300; font-weight: 800; font-size: .7rem;
    text-transform: uppercase; letter-spacing: .06em; padding: .28rem .7rem; border-radius: 999px;
}
.acc-news-body { padding: 1.15rem 1.15rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.acc-news-body time { color: var(--acc-muted); font-size: .8rem; display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.acc-news-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.acc-news-body p { color: var(--acc-muted); font-size: .9rem; }
.acc-news-plus { background: #f1f5f9; border-left: 3px solid var(--acc-blue); padding: .6rem .75rem; border-radius: 0 .45rem .45rem 0; }
.acc-news-toggle { margin-top: auto; }

/* ---------- Admission ---------- */
.acc-steps {
    list-style: none; margin: 0 auto; padding: 0; max-width: 860px;
    display: grid; gap: 1rem;
}
.acc-step {
    display: flex; gap: 1.1rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--acc-line); border-radius: var(--acc-radius);
    padding: 1.15rem 1.3rem; box-shadow: 0 4px 14px rgba(15, 42, 67, .05);
    transition: transform .18s ease, border-color .18s ease;
}
.acc-step:hover { transform: translateX(6px); border-color: #bfdbfe; }
.acc-step-num {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
    background: linear-gradient(135deg, var(--acc-blue), var(--acc-navy));
    color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.acc-step h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.acc-step p { color: var(--acc-muted); margin: 0; font-size: .93rem; }
.acc-admission-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }

/* ---------- Valeurs (chips) ---------- */
.acc-values-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.acc-value-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700;
    background: #fff; border: 1px solid var(--acc-line); color: var(--acc-navy);
    box-shadow: 0 4px 12px rgba(15, 42, 67, .06);
    text-transform: uppercase; letter-spacing: .06em; font-size: .88rem;
    transition: transform .18s ease, box-shadow .18s ease;
}
.acc-value-chip i { color: var(--acc-blue); }
.acc-value-chip:hover { transform: translateY(-4px); box-shadow: var(--acc-shadow); }
.acc-value-chip.is-main {
    background: linear-gradient(120deg, var(--acc-navy), #1b4a7e);
    color: #fff; border-color: transparent; font-size: .95rem;
    box-shadow: 0 10px 24px rgba(15, 42, 67, .3);
}
.acc-value-chip.is-main i { color: var(--acc-gold); }

/* ---------- CTA ---------- */
.acc-cta { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 6.5rem) 0; }
.acc-cta-bg { position: absolute; inset: 0; }
.acc-cta-img { width: 100%; height: 100%; object-fit: cover; }
.acc-cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(15, 42, 67, .92), rgba(29, 78, 216, .82));
}
.acc-cta-content { position: relative; z-index: 1; text-align: center; color: #fff; max-width: 860px; }
.acc-cta-content h2 {
    color: #fff; text-transform: uppercase; letter-spacing: .03em;
    font-size: clamp(1.5rem, 4vw, 2.5rem); text-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}
.acc-cta-content p { color: #dbeafe; font-size: 1.08rem; max-width: 680px; margin-inline: auto; }
.acc-cta-btns { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.6rem; }

/* ---------- Contact ---------- */
.acc-contact-card {
    background: #fff; border: 1px solid var(--acc-line); border-radius: var(--acc-radius);
    padding: 1.5rem 1.2rem; text-align: center; box-shadow: 0 4px 14px rgba(15, 42, 67, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.acc-contact-card:hover { transform: translateY(-5px); box-shadow: var(--acc-shadow); }
.acc-contact-icon {
    width: 58px; height: 58px; margin: 0 auto .9rem; border-radius: 1rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--acc-blue);
    font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
}
.acc-contact-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.acc-contact-card p { color: var(--acc-muted); font-size: .92rem; margin: 0; word-break: break-word; }
.acc-contact-card a { color: var(--acc-text); font-weight: 600; }
.acc-contact-card a:hover { color: var(--acc-blue); }
.acc-contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.acc-footer { background: var(--acc-navy); color: #b8c7d8; }
.acc-footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem;
    padding: clamp(2.5rem, 5vw, 3.8rem) 0 2rem;
}
@media (max-width: 980px) { .acc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .acc-footer-grid { grid-template-columns: 1fr; } }
.acc-footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.acc-footer-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid rgba(255, 255, 255, .2); }
.acc-footer-brand strong { color: #fff; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.acc-footer-devise { color: var(--acc-gold); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.acc-footer-txt { font-size: .9rem; }
.acc-footer-col h3 {
    color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 1rem; padding-bottom: .55rem; border-bottom: 2px solid rgba(244, 168, 37, .55);
}
.acc-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.acc-footer-col a { color: #b8c7d8; font-size: .92rem; transition: color .15s ease, padding-left .15s ease; }
.acc-footer-col a:hover { color: #fff; padding-left: 4px; }
.acc-footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.acc-footer-contact i { color: var(--acc-sky); margin-top: .2rem; flex-shrink: 0; }
.acc-footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.acc-footer-social a {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.05rem;
    transition: background .18s ease, transform .18s ease;
}
.acc-footer-social a:hover { background: var(--acc-blue); transform: translateY(-3px); }
.acc-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1rem 0; background: rgba(0, 0, 0, .18); }
.acc-footer-bottom-inner { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; }
.acc-footer-bottom p { margin: 0; font-size: .85rem; }
.acc-footer-access { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.acc-footer-access a { color: #cbd5e1; font-weight: 600; font-size: .85rem; }
.acc-footer-access a:hover { color: var(--acc-gold); }

/* ---------- Placeholder image manquante ---------- */
.acc-placeholder {
    width: 100%; height: 100%; min-height: 140px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #94a3b8; font-size: 2rem;
}
.acc-student-photo.acc-placeholder, .acc-cta .acc-placeholder { font-size: 4rem; background: linear-gradient(135deg, #0f2a43, #2563eb); color: rgba(255, 255, 255, .5); }

/* ---------- Retour en haut ---------- */
.acc-to-top {
    position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900;
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--acc-navy); color: #fff; font-size: 1.2rem;
    box-shadow: var(--acc-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
}
.acc-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.acc-to-top:hover { background: var(--acc-blue); }

/* ---------- Animations d'apparition ---------- */
.reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .acc-hero-slide { transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Divers ---------- */
body.nav-open { overflow: hidden; }
.acc-section-alt .acc-section-card,
.acc-section-alt .acc-news-card { background: #fff; }
.acc-section-head h2 { position: relative; display: inline-block; }
.acc-section-head h2::after {
    content: ''; display: block; width: 64px; height: 4px; margin: .7rem auto 0;
    background: linear-gradient(90deg, var(--acc-gold), var(--acc-blue)); border-radius: 4px;
}
.acc-section-head-light h2::after { background: linear-gradient(90deg, var(--acc-gold), var(--acc-sky)); }

