/* ==========================================================================
   CHESD - Design system
   Charte : bleu marine / bleu / jaune / rouge (drapeau RDC).
   Mobile-first : les styles de base ciblent le mobile ; les media queries
   enrichissent l'affichage à partir de 860px (tablette/desktop).
   Les couleurs sont injectées en variables CSS depuis l'espace de gestion.
   ========================================================================== */

:root {
    --navy: #0b1b3a;
    --blue: #007fc8;
    --sky: #2f9fd6;
    --yellow: #f9d616;
    --red: #ce1021;

    --ink: #20242c;
    --muted: #5a6274;
    --line: #e6e9ee;
    --soft: #f4f6f9;
    --bg: #f7f8fa;    /* fond de page : blanc un peu pâle (alternance avec le blanc pur des bandes) */
    --soft2: #f1f3f6; /* bandes alternées : blanc pâle légèrement plus marqué */
    --maxw: 1180px;
    --pad: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, .num { font-family: 'Archivo', 'Public Sans', sans-serif; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.site-main { flex: 1; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.tricolor { height: 4px; display: flex; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--sky); }
.tricolor span:nth-child(2) { background: var(--yellow); }
.tricolor span:nth-child(3) { background: var(--red); }

.kicker {
    font-size: 13px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--navy); margin: 0 0 16px;
}
/* Masqué visuellement mais lu par les lecteurs d'écran (ex. le h1 de la page). */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kicker--blue { color: var(--blue); letter-spacing: .12em; font-size: 12px; }
/* Brève description sous le titre d'une section */
.section-intro { font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 760px; margin: -6px 0 22px; }

/* ------------------------------------------------------------------ Header */
/* Mobile : tout l'en-tête (compact) reste collé en haut.
   Desktop : voir la media query - seule la barre de menu (.navbar) reste figée. */
/* L'en-tête (bandeau d'infos) défile ; seule la barre bleue (.navbar) reste figée. */
.site-header { background: var(--navy); }
.navbar { position: sticky; top: 0; z-index: 60; background: var(--blue); box-shadow: 0 3px 12px rgba(11, 27, 58, .18); }
.navbar__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
    display: flex; align-items: center; gap: clamp(8px, 1.6vw, 20px);
}
.navbar__brand { flex: 1 1 0; display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.navbar__logo { height: 44px; width: auto; display: block; background: transparent; }
.navbar__brand-name { color: #fff; font-weight: 800; font-size: clamp(16px, 2vw, 19px); letter-spacing: .03em; }

.topbar { background: var(--navy); color: #cdd6e6; font-size: 12px; }
.topbar__inner {
    width: 100%; padding: 7px var(--pad);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lang-switch { font-weight: 600; color: #fff; flex: none; display: inline-flex; align-items: center; gap: 4px; }
.lang-switch a { color: #fff; text-decoration: none; transition: opacity .15s; }
.lang-switch a:hover { opacity: 1; text-decoration: underline; }
.lang-switch .sep { opacity: .4; }
.lang-switch .off { opacity: .6; }
.lang-switch .on { opacity: 1; }

.marquee {
    flex: 1; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee__track { display: flex; width: max-content; white-space: nowrap; animation: chesdMarquee 38s linear infinite; }
.marquee__item { padding: 0 26px; display: inline-flex; align-items: center; gap: 8px; }
.marquee__dot { color: var(--yellow); }

.header-main {
    max-width: var(--maxw); margin: 0 auto; padding: 12px var(--pad);
    display: flex; align-items: center; gap: 14px;
}
.brand { cursor: pointer; flex: none; }
.brand__logo { height: 56px; width: auto; }
.brand__text { flex: 1; min-width: 0; }
.brand__short { font-weight: 800; font-size: clamp(16px, 2.4vw, 21px); color: var(--navy); line-height: 1.05; letter-spacing: .02em; }
.brand__full { font-size: clamp(10px, 1.7vw, 12px); color: #5a6274; line-height: 1.25; }

.header-actions { display: none; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; border: 1.5px solid #d4d9e1; border-radius: 8px; overflow: hidden; }
.search input { border: 0; padding: 9px 12px; font-size: 13px; width: 150px; outline: none; font-family: inherit; }
.search button { background: var(--blue); color: #fff; padding: 9px 12px; font-size: 13px; border: 0; cursor: pointer; }

.btn-cta {
    background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700;
    padding: 10px 16px; border-radius: 8px; cursor: pointer; white-space: nowrap;
    transition: filter .15s;
}
.btn-cta:hover { filter: brightness(1.08); }

.burger {
    border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; border-radius: 9px;
    width: 42px; height: 42px; display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 4px; cursor: pointer; padding: 0;
    flex: none; margin-left: auto;
}
.burger span { width: 20px; height: 2px; background: #fff; display: block; border-radius: 2px; }

.mainnav { display: none; flex: 0 1 auto; }
.mainnav__inner { display: flex; flex-wrap: wrap; justify-content: center; }
.navbar__right { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
/* Réseaux sociaux - pastilles colorées (couleurs des marques) + surbrillance au survol */
.socials { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #64748b; text-decoration: none; transition: transform .18s ease, box-shadow .2s ease, filter .18s ease; }
.social:hover { transform: translateY(-2px) scale(1.08); filter: brightness(1.12); }
.social--fb { background: #1877f2; } .social--fb:hover { box-shadow: 0 0 0 4px rgba(24, 119, 242, .3), 0 6px 16px rgba(24, 119, 242, .5); }
.social--x { background: #1da1f2; } .social--x:hover { box-shadow: 0 0 0 4px rgba(29, 161, 242, .3), 0 6px 16px rgba(29, 161, 242, .5); }
.social--li { background: #0a66c2; } .social--li:hover { box-shadow: 0 0 0 4px rgba(10, 102, 194, .3), 0 6px 16px rgba(10, 102, 194, .5); }
.social--yt { background: #ff0000; } .social--yt:hover { box-shadow: 0 0 0 4px rgba(255, 0, 0, .26), 0 6px 16px rgba(255, 0, 0, .45); }
.socials--nav { gap: 7px; }
.socials--nav .social { width: 30px; height: 30px; }
@media (max-width: 820px) { .socials--nav { display: none; } }
.mainnav__link { font-size: 13px; font-weight: 600; padding: 13px 18px; color: #eaf4fb; transition: background .15s; }
.mainnav__link--parent { cursor: default; user-select: none; }
.mainnav__link:hover { background: var(--red); color: #fff; }
.mainnav__link.is-active { color: #fff; background: var(--navy); }
.mainnav__item { position: relative; display: inline-flex; }
.mainnav__caret { font-size: 10px; opacity: .85; margin-left: 3px; }
.submenu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border-radius: 0 0 10px 10px; overflow: hidden;
    box-shadow: 0 16px 34px rgba(11, 27, 58, .20);
    display: none; z-index: 70;
}
.mainnav__item:hover .submenu, .mainnav__item:focus-within .submenu { display: block; }
.submenu__link { display: block; padding: 12px 18px; font-size: 13px; font-weight: 600; color: var(--navy); border-bottom: 1px solid #eef1f5; white-space: nowrap; }
.submenu__link:last-child { border-bottom: 0; }
.submenu__link:hover { background: #eef4fb; color: var(--blue); }
.submenu__link.is-active { color: var(--blue); background: #f4f8fc; }
.mobilenav__parent { cursor: default; color: #9fb3d6; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-bottom: 0; margin-top: 6px; }
.mobilenav__sub { padding-left: 30px; font-size: 14px; }
.mobilenav__sub::before { content: "› "; color: var(--yellow); font-weight: 700; }

.mobilenav { background: var(--navy); padding: 10px var(--pad) 18px; display: none; flex-direction: column; animation: fadeUp .25s ease; }
.mobilenav.is-open { display: flex; }
.mobilenav__link { font-size: 15px; font-weight: 600; padding: 14px; color: #dbe3f0; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 7px; margin-bottom: 2px; }
.mobilenav__link.is-active { color: var(--yellow); background: rgba(255, 255, 255, .07); }
.mobilenav__actions { display: flex; gap: 10px; margin-top: 14px; }
.search--mobile { flex: 1; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); }
.search--mobile input { flex: 1; width: auto; background: transparent; color: #fff; padding: 12px; font-size: 14px; }

/* -------------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
/* Hauteur FIXE du carrousel : quelle que soit l'image, le bandeau garde la même taille. */
.hero__slide {
    position: relative; min-width: 100%; box-sizing: border-box;
    min-height: clamp(300px, 34vw, 430px); display: flex; align-items: flex-end; justify-content: center;
    padding: clamp(30px, 4vw, 52px) clamp(16px, 5vw, 64px) clamp(28px, 3.5vw, 44px);
    text-align: center;
}
/* Image en fond plein, recadrée (cover) - ne déforme jamais la taille du carrousel. */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Voile léger : l'image reste bien visible ; le contraste du texte vient de la carte. */
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 27, 58, .14) 0%, rgba(11, 27, 58, .10) 40%, rgba(11, 27, 58, .52) 100%); }
/* Carte sombre translucide derrière le texte. */
.hero__body { position: relative; z-index: 2; color: #fff; max-width: 760px; margin: 0 auto; background: rgba(9, 19, 40, .62); border: 1px solid rgba(255, 255, 255, .14); border-radius: 2px; padding: clamp(22px, 3vw, 34px) clamp(24px, 3.5vw, 44px); box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }
.hero__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.hero__title { font-size: clamp(23px, 3.6vw, 34px); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.hero__desc { font-size: clamp(13px, 2vw, 15px); line-height: 1.6; color: #e4ebf5; margin: 0 auto 20px; max-width: 100%; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn-yellow { background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 13.5px; padding: 12px 22px; border-radius: 8px; white-space: nowrap; cursor: pointer; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; font-weight: 600; font-size: 13.5px; padding: 12px 22px; border-radius: 8px; white-space: nowrap; cursor: pointer; }

.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 0; background: rgba(255, 255, 255, .15);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; border: 0; z-index: 2;
}
.carousel-arrow--prev { left: 14px; }
.carousel-arrow--next { right: 14px; }

.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 7px; align-items: center; justify-content: center; }
.dot { height: 8px; width: 8px; border-radius: 6px; cursor: pointer; transition: all .3s; background: rgba(255, 255, 255, .5); border: 0; padding: 0; }
.dot.is-active { width: 22px; background: var(--yellow); }

/* --------------------------------------------------------------- Sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(26px, 4vw, 42px) var(--pad); }
.section--soft { background: var(--soft2); max-width: none; padding: clamp(28px, 4vw, 38px) 0; }
/* Bandes pleine largeur alternées (blanc / gris clair) pour rythmer les pages à sections */
.band { width: 100%; }
.band--alt { background: var(--soft2); }
.band--white { background: #fff; }
/* Bande de section à alternance AUTOMATIQUE (blanc / blanc pâle). Les blocs
   sombres (hero, témoignages) sont des <div> et sortent du comptage. */
.hband { width: 100%; }
.hband > .section, .hband > .wrap { padding-top: clamp(30px, 4vw, 52px); padding-bottom: clamp(30px, 4vw, 52px); }
.hband > .section > :first-child, .hband > .wrap > :first-child { margin-top: 0; }
.hband:nth-of-type(odd) { background: #fff; }
.hband:nth-of-type(even) { background: var(--bg); }
.hband--tight > .section, .hband--tight > .wrap { padding-top: clamp(12px, 1.6vw, 18px); padding-bottom: clamp(12px, 1.6vw, 18px); }
.hband.stats-band { background: #e8f1fb; }
/* Carte blanche pour encapsuler le contenu d'une section à fond gris */
.panel { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(11, 27, 58, .05); padding: clamp(20px, 3vw, 32px); }
.band > .section { padding-top: clamp(30px, 4vw, 52px); padding-bottom: clamp(30px, 4vw, 52px); }
.band > .section > :first-child { margin-top: 0; }
.section--navy { background: var(--navy); color: #fff; padding: clamp(34px, 5vw, 54px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.section-link { font-size: 12.5px; color: var(--blue); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.quicklink { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 20px; display: block; box-shadow: 0 2px 10px rgba(11, 27, 58, .05); transition: box-shadow .2s, transform .2s; }
.quicklink:hover { box-shadow: 0 8px 24px rgba(11, 27, 58, .08); transform: translateY(-2px); }
.quicklink__icon { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 12px; }
.quicklink__title { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.quicklink__sub { font-size: 12px; color: var(--muted); }
.ac-sky { background: #eaf4fb; } .ac-yellow { background: #fef6d6; } .ac-red { background: #fbe3e5; } .ac-navy { background: #e6ebf2; }

/* Actualités à la une */
.featured { display: flex; flex-wrap: wrap; gap: 24px; }
.featured__main { flex: 2 1 420px; min-width: 0; position: relative; border-radius: 0; overflow: hidden; }
.featured__track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.featured__slide {
    position: relative; min-width: 100%; height: clamp(240px, 42vw, 320px);
    background: repeating-linear-gradient(45deg, #dfe3e8, #dfe3e8 12px, #d5d9de 12px, #d5d9de 24px);
    display: flex; align-items: flex-end;
}
.featured__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.featured__caption { position: relative; background: linear-gradient(transparent, rgba(10, 20, 35, .9)); padding: 30px 26px 24px; width: 100%; }
.tag { display: inline-block; background: var(--yellow); color: #161a20; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 5px 10px; border-radius: 0; text-transform: uppercase; margin-bottom: 10px; }
.featured__title { color: #fff; font-size: clamp(19px, 3vw, 25px); font-weight: 800; line-height: 1.16; margin-bottom: 7px; }
.featured__desc { color: #d5dae2; font-size: 13px; line-height: 1.5; }
.featured__arrow { position: absolute; top: 38%; width: 34px; height: 34px; border-radius: 0; background: rgba(255, 255, 255, .9); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); border: 0; }
.featured__dots { position: absolute; bottom: 15px; right: 20px; display: flex; gap: 7px; }
.featured__side { flex: 1 1 250px; display: flex; flex-direction: column; gap: 13px; }
.featured__side-head { font-family: "Archivo", system-ui, sans-serif; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding-bottom: 8px; border-bottom: 2px solid var(--yellow); margin-bottom: 4px; }
.mininews { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); padding: 10px; transition: box-shadow .18s ease, transform .18s ease; }
.mininews:hover { box-shadow: 0 8px 20px rgba(11, 27, 58, .1); transform: translateY(-2px); }
.mininews__thumb { width: 76px; height: 62px; border-radius: 0; flex: none; object-fit: cover; object-position: center 25%; background: repeating-linear-gradient(45deg, #e4e7eb, #e4e7eb 8px, #dadde2 8px, #dadde2 16px); }
.mininews__date { font-size: 10.5px; color: #8b93a1; font-weight: 600; }
.mininews__title { font-size: 13.5px; font-weight: 700; margin-top: 3px; line-height: 1.25; }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.stat { border: 0; border-radius: 0; padding: 30px 22px; text-align: center; color: #fff; background: var(--navy); box-shadow: 0 10px 22px rgba(11, 27, 58, .18); transition: transform .18s ease, box-shadow .18s ease; }
.stat:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(11, 27, 58, .28); }
.stat__num { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: clamp(36px, 4.4vw, 50px); line-height: 1; color: #fff; }
.stat__label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 12px; color: rgba(255, 255, 255, .92); }
.stat__cap { font-size: 12.5px; color: rgba(255, 255, 255, .8); margin-top: 6px; }

/* Le campus */
/* Le campus - cartes simples carrées (uniformes avec le reste du site) */
.campus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.ccard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; box-shadow: 0 1px 6px rgba(11, 27, 58, .05); transition: box-shadow .18s ease, transform .18s ease; }
.ccard--album { cursor: pointer; }
.ccard:hover { box-shadow: 0 12px 28px rgba(11, 27, 58, .12); transform: translateY(-3px); }
.ccard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #163061, var(--navy)); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.ccard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .3); font-weight: 900; letter-spacing: .15em; }
.ccard__cap { position: absolute; left: 10px; bottom: 10px; background: var(--yellow); color: #161a20; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; }
.ccard__album { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; background: rgba(11, 27, 58, .82); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; }
.ccard__album .ico { display: block; }
.ccard__body { padding: 13px 15px 15px; }
.ccard__title { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 15px; color: var(--navy); }
.ccard__desc { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 4px; }

/* Visionneuse d'album (photos + vidéos YouTube) */
.albummodal { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 12, 26, .93); display: flex; align-items: center; justify-content: center; }
.albummodal[hidden] { display: none; }
.albummodal__stage { width: min(1100px, 92vw); aspect-ratio: 16 / 9; max-height: 82vh; display: flex; align-items: center; justify-content: center; }
.albummodal__stage img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.albummodal__stage iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }
.albummodal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .18s ease; }
.albummodal__nav:hover { background: rgba(255, 255, 255, .24); }
.albummodal__nav--prev { left: max(14px, 3vw); }
.albummodal__nav--next { right: max(14px, 3vw); }
.albummodal__close { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .18s ease; }
.albummodal__close:hover { background: rgba(255, 255, 255, .24); }
.albummodal__bar { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; align-items: center; color: #fff; font-size: 13px; background: rgba(0, 0, 0, .45); padding: 6px 15px; border-radius: 20px; max-width: 90vw; }
.albummodal__count { opacity: .7; flex: none; }
@media (max-width: 640px) { .albummodal__nav { width: 42px; height: 42px; } }

/* Découvrir le Collège : cartes de présentation des rubriques */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 6px; }
.explorecard { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--sky); box-shadow: 0 2px 10px rgba(11, 27, 58, .05); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease; }
.explorecard:hover { box-shadow: 0 12px 28px rgba(11, 27, 58, .12); transform: translateY(-3px); }
.explorecard--sky { border-top-color: var(--sky); }
.explorecard--yellow { border-top-color: var(--yellow); }
.explorecard--red { border-top-color: var(--red); }
.explorecard--navy { border-top-color: var(--navy); }
.explorecard__media { aspect-ratio: 16 / 9; overflow: hidden; }
.explorecard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.explorecard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.explorecard__title { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.explorecard__desc { font-size: 14px; line-height: 1.6; color: #3a4250; margin-bottom: 14px; }
.explorecard__more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--blue); text-decoration: none; transition: gap .15s ease, color .15s ease; }
.explorecard__more:hover { gap: 12px; color: var(--navy); }

/* Dirigeants */
.leaders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 6px; }
@media (max-width: 820px) { .leaders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .leaders-grid { grid-template-columns: 1fr; } }
/* Carte « Voir toute l'équipe » */
.leadercard.leadercard--all { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px 16px; text-decoration: none; color: var(--navy); border: 1px dashed var(--blue); transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.leadercard--all:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.leadercard--all__ico { width: 118px; height: 118px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); background: #eef5fb; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--yellow); }
.leadercard--all:hover .leadercard--all__ico { color: #fff; background: rgba(255, 255, 255, .12); }
.leadercard--all__txt { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 15px; }
.leadercard--all__more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--blue); }
.leadercard--all:hover .leadercard--all__more { color: var(--yellow); }
.leadercard { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 0; box-shadow: 0 1px 6px rgba(11, 27, 58, .05); padding: 20px 16px 18px; text-align: center; cursor: pointer; transition: box-shadow .22s ease, transform .22s ease, background-color .28s ease, border-color .28s ease; }
.leadercard:not(.leadercard--all):hover { background: linear-gradient(160deg, #17356e, var(--navy)); border-color: var(--navy); box-shadow: 0 14px 30px rgba(11, 27, 58, .24); transform: translateY(-4px); }
.leadercard:not(.leadercard--all):hover .leadercard__name { color: #fff; }
.leadercard:not(.leadercard--all):hover .leadercard__role { color: var(--yellow); }
.leadercard:not(.leadercard--all):hover .leadercard__photo { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--yellow); }
.leadercard__photo { width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(160deg, #163061, var(--navy)); overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--yellow); }
.leadercard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.leadercard__ph { color: rgba(255, 255, 255, .45); font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 42px; }
.leadercard__body { padding: 0; }
.leadercard__name { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 15px; color: var(--navy); line-height: 1.25; transition: color .28s ease; }
.leadercard__role { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-top: 4px; transition: color .28s ease; }
.leadercard__photo { transition: box-shadow .28s ease; }
.leadercard__bio { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 7px; }

/* Page de détail d'un dirigeant (CV) */
.backlink { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--blue); text-decoration: none; margin-bottom: 20px; transition: gap .15s ease, color .15s ease; }
.backlink:hover { gap: 10px; color: var(--navy); }
.leaderdetail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.leaderdetail__photo { aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #163061, var(--navy)); box-shadow: 0 14px 30px rgba(11, 27, 58, .18); display: flex; align-items: center; justify-content: center; }
.leaderdetail__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.leaderdetail__ph { color: rgba(255, 255, 255, .5); font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 80px; }
.leaderdetail__role { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.leaderdetail__name { font-family: "Archivo", system-ui, sans-serif; font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--navy); line-height: 1.15; margin-top: 6px; }
.leaderdetail__rule { width: 54px; height: 4px; background: var(--yellow); margin: 16px 0 20px; }
.leaderdetail__cv { font-size: 15px; line-height: 1.75; color: #2d3648; }
.leaderdetail__cv p { margin-bottom: 14px; }
.leaderdetail__cv ul, .leaderdetail__cv ol { margin: 0 0 14px 20px; }
.leaderdetail__cv li { margin-bottom: 6px; }
.leaderdetail__empty { color: var(--muted); font-style: italic; }
@media (max-width: 720px) { .leaderdetail { grid-template-columns: 1fr; } .leaderdetail__photo { max-width: 280px; } }
/* Corps de page (détail) sur fond blanc */
.page-body { background: #fff; }
.page-body > .section { padding-top: clamp(26px, 3.5vw, 44px); padding-bottom: clamp(34px, 5vw, 64px); }
/* Page de détail sobre (ancien dirigeant) */
.formerdetail { max-width: 640px; margin: 0 auto; text-align: center; }
.formerdetail__photo { width: 200px; aspect-ratio: 5 / 6; margin: 0 auto 18px; overflow: hidden; border: 6px solid #fff; border-radius: 4px; background: #eef1f5; box-shadow: 0 10px 24px rgba(11, 27, 58, .18), 0 0 0 1px var(--line); }
.formerdetail__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.formerdetail__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: #9aa4b4; font-size: 12px; }
.formerdetail__role { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.formerdetail__period { font-size: 13px; color: var(--muted); margin-top: 5px; }
.formerdetail__bio { font-size: 14.5px; line-height: 1.75; color: #2d3648; margin-top: 18px; text-align: left; }
.formerdetail__bio p { margin-bottom: 12px; }
/* Sous-navigation de la page L'équipe */
.team-subnav { border-bottom: 1px solid var(--line); background: #fff; }
.team-subnav__inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; gap: 8px; flex-wrap: wrap; }
.team-subnav a { padding: 14px 4px; margin-right: 18px; font-size: 13.5px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 3px solid transparent; transition: color .15s ease, border-color .15s ease; }
.team-subnav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
#direction-actuelle, #anciens-dirigeants { scroll-margin-top: 80px; }

/* Témoignages */
.testimonials { position: relative; overflow: hidden; }
.testimonials__track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.testimonial { min-width: 100%; padding: 2px 8px 4px; box-sizing: border-box; }
.testimonial figure { margin: 0; height: 100%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.testimonial__mark { font-size: 42px; line-height: .6; color: var(--yellow); font-family: Georgia, serif; margin-bottom: 14px; }
.testimonial blockquote { font-size: clamp(14px, 1.6vw, 16px); line-height: 1.6; color: #eaf0f9; font-weight: 500; flex: 1; margin-bottom: 22px; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 18px; background: linear-gradient(150deg, var(--blue), var(--navy)); }
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial__name { font-weight: 700; font-size: 15px; color: #fff; }
.testimonial__role { font-size: 12.5px; color: #9fb0cc; }
.testimonials__nav { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.tnav-btn { width: 38px; height: 38px; border-radius: 0; background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; cursor: pointer; flex: none; border: 0; }

/* Partenaires */
.partners__marquee {
    position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__track { display: flex; gap: 16px; width: max-content; animation: chesdMarquee 40s linear infinite; padding: 2px var(--pad); }
/* Rangée de partenaires figée : défilement horizontal MANUEL si trop nombreux */
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; overflow: visible; padding: 2px; }
.hband--partners .section { text-align: center; }
.hband--partners .partners__intro { margin-left: auto; margin-right: auto; }
.partners__row .partner { scroll-snap-align: start; }
.partners__row::-webkit-scrollbar { height: 8px; }
.partners__row::-webkit-scrollbar-thumb { background: rgba(11, 27, 58, .2); border-radius: 6px; }
.partner { position: relative; width: 210px; flex: none; border: 1px solid var(--line); border-radius: 14px; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: var(--soft); box-shadow: 0 1px 2px rgba(11, 27, 58, .05); transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease, background .22s ease; }
.partner:hover { background: #fff; box-shadow: 0 14px 28px rgba(11, 27, 58, .12); transform: translateY(-4px); border-color: var(--blue); }
.partner__logo { width: 58px; height: 58px; border-radius: 12px; flex: none; object-fit: contain; background: repeating-linear-gradient(45deg, #e6ebf2, #e6ebf2 8px, #dbe1ea 8px, #dbe1ea 16px); display: flex; align-items: center; justify-content: center; font: 8px ui-monospace, monospace; color: #8a93a3; }
img.partner__logo { width: auto; max-width: 160px; height: 52px; border-radius: 8px; background: #fff; }
.partner__name { font-weight: 700; font-size: 14px; color: var(--navy); line-height: 1.25; }
/* Description du partenaire = info-bulle au survol (n'agrandit plus la carte) */
.partner__type { position: absolute; left: 50%; top: calc(100% + 9px); transform: translateX(-50%) translateY(-6px); width: max-content; max-width: 220px; line-height: 1.4; text-align: center; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 600; padding: 7px 11px; border-radius: 6px; box-shadow: 0 10px 24px rgba(11, 27, 58, .28); opacity: 0; visibility: hidden; pointer-events: none; z-index: 30; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.partner__type::after { content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-bottom-color: var(--navy); }
.partner:hover .partner__type, .partner:focus-within .partner__type { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Cartes de bord : on aligne le tooltip pour éviter tout débordement horizontal. */
.partner:first-child .partner__type { left: 0; transform: translateX(0) translateY(-6px); }
.partner:first-child:hover .partner__type { transform: translateX(0) translateY(0); }
.partner:first-child .partner__type::after { left: 34px; }
.partner:last-child .partner__type { left: auto; right: 0; transform: translateX(0) translateY(-6px); }
.partner:last-child:hover .partner__type { transform: translateX(0) translateY(0); }
.partner:last-child .partner__type::after { left: auto; right: 34px; transform: none; }

/* Agenda - liste d'événements à pastille date */
.agenda { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.agenda-empty { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 22px 24px; background: #fff; border: 1px dashed var(--line); border-left: 4px solid var(--blue); color: var(--muted); font-size: 14.5px; font-weight: 600; }
.agenda-empty .ico { color: var(--blue); flex: none; }

/* Formations - cartes cliquables (présentation générale) */
.fcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 4px; }
.fcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); text-decoration: none; color: inherit; box-shadow: 0 2px 10px rgba(11, 27, 58, .05); transition: box-shadow .18s ease, transform .18s ease; }
.fcard:hover { box-shadow: 0 14px 30px rgba(11, 27, 58, .14); transform: translateY(-3px); }
.fcard--yellow { border-top-color: var(--yellow); } .fcard--red { border-top-color: var(--red); } .fcard--navy { border-top-color: var(--navy); } .fcard--sky { border-top-color: var(--sky); }
.fcard__media { aspect-ratio: 16 / 9; overflow: hidden; background: #eef2f7; display: flex; align-items: center; justify-content: center; padding: 10px; }
.fcard__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.fcard__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(11, 27, 58, .28); font-weight: 900; letter-spacing: .15em; }
.fcard__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.fcard__kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.fcard__title { font-family: "Archivo", system-ui, sans-serif; font-size: clamp(21px, 2.3vw, 25px); font-weight: 800; color: var(--navy); margin-top: 4px; line-height: 1.15; }
.fcard__desc { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.fcard__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); transition: gap .15s ease; }
.fcard:hover .fcard__more { gap: 10px; }

/* Page de détail d'une formation */
.page-banner__kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.formationdetail { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 4vw, 44px); align-items: start; }
.formationdetail__media { margin-bottom: 20px; overflow: hidden; }
.formationdetail__media img { width: 100%; height: auto; display: block; }
.formationdetail__lead { font-size: 16px; line-height: 1.7; color: #2d3648; font-weight: 600; }
.formationdetail__body { margin-top: 16px; font-size: 15px; line-height: 1.75; color: #2d3648; }
.formationdetail__box { background: #f4f8fc; border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: 22px; }
.formationdetail__box-title { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 16px; color: var(--navy); margin-bottom: 12px; }
.formationdetail__footer { margin-top: 14px; font-size: 12.5px; color: var(--muted); font-style: italic; }
.formationdetail__empty { color: var(--muted); font-style: italic; }
@media (max-width: 820px) { .formationdetail { grid-template-columns: 1fr; } }

/* Promotions passées (bas de la page Formations) */
.promos { display: flex; flex-direction: column; gap: 20px; margin-top: 6px; }
.promo { display: grid; grid-template-columns: 300px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 18px; }
.promo__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #163061, var(--navy)); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo__media--album { cursor: pointer; }
.promo__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .3); font-weight: 900; letter-spacing: .15em; }
.promo__body { min-width: 0; }
.promo__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.promo__title { font-family: "Archivo", system-ui, sans-serif; font-size: 18px; font-weight: 800; color: var(--navy); }
.promo__period { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.promo__parrain { font-size: 13px; color: var(--navy); margin-top: 6px; }
.promo__parrain-label { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 2px 7px; border-radius: 3px; margin-right: 6px; }
.promo__desc { font-size: 14px; line-height: 1.7; color: #2d3648; margin-top: 8px; }
@media (max-width: 640px) { .promo { grid-template-columns: 1fr; } }
.event { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 16px 18px; transition: box-shadow .18s ease, transform .18s ease; }
.event:hover { box-shadow: 0 12px 26px rgba(11, 27, 58, .1); transform: translateY(-2px); }
.event__date { flex: none; width: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, #17356e, var(--navy)); color: #fff; padding: 10px 6px; }
.event__day { font-family: "Archivo", system-ui, sans-serif; font-size: 27px; font-weight: 800; line-height: 1; }
.event__month { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); margin-top: 3px; }
.event__year { font-size: 10.5px; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.event__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.event__meta { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--blue); }
.event__loc { color: var(--muted); font-weight: 600; }
.event__title { font-family: "Archivo", system-ui, sans-serif; font-size: 16px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.event__desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 5px; }
.event__more { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--blue); text-decoration: none; }
.event__more:hover { color: var(--navy); }
@media (max-width: 560px) { .event { gap: 12px; padding: 14px; } .event__date { width: 66px; } .event__day { font-size: 23px; } }

/* ------------------------------------------------------- Pages intérieures */
.page-banner { background: var(--navy); color: #fff; }
.page-banner__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(6px, 0.8vw, 9px) var(--pad); }
.ico { vertical-align: middle; flex: none; }
.ico--left { margin-right: 7px; }
.ico--right { margin-left: 7px; }
.breadcrumb { font-size: 11.5px; color: #9fb0cc; margin-bottom: 2px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: .5; }
.page-banner h1 { font-size: clamp(18px, 2.2vw, 23px); font-weight: 800; line-height: 1.1; margin-bottom: 0; }
/* Le sous-titre subsiste sur 404 / œuvre / recherche : petite marge quand il est présent */
.page-banner__intro { margin-top: 4px; }
.page-banner__intro { font-size: clamp(12px, 1.5vw, 13.5px); color: #c4cee0; max-width: 680px; line-height: 1.45; }
.richtext { max-width: 780px; }
.richtext h2, .streamblock h2 { color: var(--navy); font-size: clamp(19px, 3vw, 24px); margin: 28px 0 12px; }
.richtext p, .streamblock p { margin-bottom: 14px; line-height: 1.7; color: #3a4250; }
.streamblock img { border-radius: 12px; margin: 18px 0; }
.streamblock blockquote { border-left: 4px solid var(--yellow); padding: 8px 0 8px 18px; margin: 18px 0; color: var(--navy); font-size: 17px; font-style: italic; }
.placeholder-note { background: var(--soft); border: 1px dashed #c9d2df; border-radius: 12px; padding: 22px; color: var(--muted); font-size: 14px; }

/* Bannière avec photo de fond */
.page-banner { position: relative; overflow: hidden; }
.page-banner--photo .page-banner__inner { position: relative; z-index: 2; padding-top: clamp(34px, 6vw, 76px); padding-bottom: clamp(34px, 6vw, 76px); }
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-banner__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 27, 58, .86) 0%, rgba(11, 27, 58, .58) 55%, rgba(11, 27, 58, .42) 100%), linear-gradient(180deg, rgba(11, 27, 58, .1), rgba(11, 27, 58, .45)); }

/* Accents réutilisables */
.ink-sky { color: var(--sky); } .ink-yellow { color: #c99a06; } .ink-red { color: var(--red); } .ink-navy { color: var(--navy); }
.ink-green { color: #1e9e5a; } .ink-orange { color: #d9741a; } .ink-purple { color: #6d3fd0; } .ink-teal { color: #0e8f96; } .ink-pink { color: #d63384; } .ink-brown { color: #8a5a2b; }
.media-sky { background: repeating-linear-gradient(45deg, #e6ebf2, #e6ebf2 11px, #dbe1ea 11px, #dbe1ea 22px); }
.media-yellow { background: repeating-linear-gradient(45deg, #fef6d6, #fef6d6 11px, #f6ecc4 11px, #f6ecc4 22px); }
.media-red { background: repeating-linear-gradient(45deg, #fbe3e5, #fbe3e5 11px, #f3d3d6 11px, #f3d3d6 22px); }
.media-navy { background: repeating-linear-gradient(45deg, #e6ebf2, #e6ebf2 11px, #dbe1ea 11px, #dbe1ea 22px); }
.label-sky, .label-navy { background: #eef4fb; color: #0b3a6b; } .label-yellow { background: #fef6d6; color: #8a6a04; } .label-red { background: #fbe3e5; color: #a01019; }

/* ===================== Le CHESD (page identité — institutionnel) ===================== */
.college-block { margin-top: clamp(34px, 4.5vw, 54px); }

/* Titre de section commun */
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-head__bar { width: 34px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); flex: none; }
.section-head h2:not(.kicker) { font-family: "Archivo", system-ui, sans-serif; font-size: clamp(18px, 2.4vw, 23px); font-weight: 800; color: var(--navy); letter-spacing: .01em; }

/* Identité : fiche officielle + panneau latéral */
.idsec { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 3.5vw, 44px); align-items: start; }
.idsec__main { min-width: 0; }
.idsec__aside { min-width: 0; }
.fiche { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(11, 27, 58, .06); }
.fiche__row { display: grid; grid-template-columns: 190px 1fr; }
.fiche__row + .fiche__row { border-top: 1px solid var(--line); }
.fiche__row dt { background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 16px 18px; display: flex; align-items: center; }
.fiche__row dd { margin: 0; padding: 16px 20px; font-size: 14px; line-height: 1.6; color: #33404f; background: #fff; }
.fiche__row:nth-child(even) dd { background: var(--soft); }

.idcard-pro { position: relative; overflow: hidden; background: linear-gradient(160deg, #163061, var(--navy)); color: #fff; border-radius: 16px; padding: 30px 24px 34px; text-align: center; box-shadow: 0 14px 34px rgba(11, 27, 58, .22); }
.idcard-pro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--sky) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--red) 66.6% 100%); }
.idcard-pro__logo img { background: #fff; border-radius: 12px; padding: 10px; height: 128px; width: auto; display: inline-block; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.idcard-pro__name { font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.idcard-pro__tag { color: var(--yellow); font-style: italic; font-size: 14px; margin-top: 8px; }
.idtargets { border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: 12px; padding: 18px 20px; margin-top: 18px; background: #fff; }
.idtargets__label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.idtargets p { font-size: 13.5px; line-height: 1.65; color: #3a4250; }

/* Missions (style « bandeau plein » - carré, en-tête marine) */
/* Mission - cartes à image de fond (1re carte claire, suivantes sombres) */
/* Bande Mission : image de fond atténuée par un voile, cartes colorées par-dessus. */
/* La section garde sa couleur d'alternance ; l'emblème est une couche atténuée par-dessus. */
.mission-band { position: relative; }
.mission-band__bg { position: absolute; inset: 0; z-index: 0; background-size: min(300px, 52%); background-position: center center; background-repeat: no-repeat; opacity: .45; pointer-events: none; }
.mission-band > .section { position: relative; z-index: 1; }
.mission-intro { position: relative; background: rgba(11, 27, 58, .58); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); border: 1px solid rgba(255, 255, 255, .14); border-radius: 0; padding: clamp(24px, 3vw, 38px); margin: 0 0 26px; color: #eaf0f9; font-size: clamp(15px, 1.7vw, 17px); font-weight: 500; line-height: 1.7; box-shadow: 0 12px 28px rgba(11, 27, 58, .16); }
.mission-intro::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 46px; line-height: .5; color: var(--yellow); margin-bottom: 14px; }
.mcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.mcard { position: relative; overflow: hidden; border-radius: 0; display: flex; background: linear-gradient(150deg, #1a396f, var(--navy)); box-shadow: 0 12px 28px rgba(11, 27, 58, .18); transition: transform .2s ease, box-shadow .2s ease; }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11, 27, 58, .28); }
.mcard__inner { position: relative; z-index: 1; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; }
.mcard__title { font-family: "Archivo", system-ui, sans-serif; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: #fff; line-height: 1.2; }
.mcard__desc { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .88); }
/* Couleurs des cartes (champ « accent » de chaque mission) */
.mcard--navy { background: linear-gradient(150deg, #1a396f, var(--navy)); }
.mcard--sky { background: linear-gradient(150deg, #2f9fd6, #0a63a8); }
.mcard--red { background: linear-gradient(150deg, #e23440, #a50f1d); }
.mcard--yellow { background: linear-gradient(150deg, #ffe45c, #f0c400); }
.mcard--yellow .mcard__title { color: #3a2d00; }
.mcard--yellow .mcard__desc { color: rgba(58, 45, 0, .82); }

/* Andragogie (chips institutionnels) */
.methods { display: flex; flex-wrap: wrap; gap: 10px; }
.method { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 600; padding: 9px 15px; border-radius: 8px; box-shadow: 0 2px 6px rgba(11, 27, 58, .04); }
.method__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }

/* Organigramme - arbre vertical interactif (sur card blanche) */
.orgv-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3vw, 40px) clamp(16px, 2.5vw, 28px); box-shadow: 0 10px 26px rgba(11, 27, 58, .06); }
.orgv { --orgv-line: var(--blue); --orgv-tint: #eaf4fc; color: var(--navy); }
.orgv *, .orgv *::before, .orgv *::after { box-sizing: border-box; }
.orgv-tree { display: flex; flex-direction: column; align-items: center; }
.orgv-node { font-family: inherit; text-align: center; cursor: pointer; display: flex; flex-direction: column; justify-content: center; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 10px; padding: 15px 18px; box-shadow: 0 4px 12px rgba(11, 27, 58, .07); transition: background .15s, box-shadow .15s, transform .15s; }
.orgv-node:hover { background: var(--orgv-tint); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11, 27, 58, .12); }
.orgv-node:focus-visible { outline: 2px solid var(--orgv-line); outline-offset: 2px; }
.orgv-node[aria-pressed="true"] { background: var(--orgv-tint); border-color: var(--orgv-line); border-top-color: var(--orgv-line); }
.orgv-node .t { font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--navy); }
.orgv-node .s { font-size: 12.5px; color: #5b6473; margin-top: 4px; line-height: 1.4; }
.orgv-tree > .orgv-node { width: 440px; max-width: 100%; }
.orgv-trunk { width: 2px; height: 26px; background: var(--orgv-line); flex: none; }
.orgv-badgerow { position: relative; width: 100%; height: 52px; display: flex; justify-content: center; }
.orgv-badgerow i { width: 2px; background: var(--orgv-line); }
.orgv-badge { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; padding: 5px 15px; border-radius: 999px; }
.orgv-depts { display: flex; justify-content: center; align-items: stretch; width: 100%; }
.orgv-dept { flex: 1 1 0; min-width: 0; max-width: 250px; display: flex; flex-direction: column; align-items: center; }
.orgv-conn { display: flex; width: 100%; height: 20px; }
.orgv-conn span { flex: 1; }
.orgv-conn span.on { border-top: 2px solid var(--orgv-line); }
.orgv-drop { width: 2px; height: 34px; margin-top: -20px; background: var(--orgv-line); flex: none; }
.orgv-dept .orgv-node { width: 96%; min-height: 84px; }
.orgv-dept .orgv-node .t { font-size: 13px; }

/* Fiche latérale (organigramme) */
.orgv-scrim { position: fixed; inset: 0; background: rgba(11, 27, 58, .34); opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 90; }
.orgv-scrim.is-open { opacity: 1; pointer-events: auto; }
.orgv-panel { position: fixed; top: 0; right: 0; height: 100%; width: min(390px, 92vw); z-index: 91; background: #fff; border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgba(11, 27, 58, .18); padding: 30px; overflow-y: auto; transform: translateX(102%); transition: transform .22s ease; box-sizing: border-box; }
.orgv-panel.is-open { transform: none; }
.orgv-panel .kick { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 800; }
.orgv-panel h3 { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--navy); margin: 14px 0 6px; }
.orgv-panel .sub { font-size: 14px; color: var(--muted); font-style: italic; margin: 0 0 20px; }
.orgv-panel .attr span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.orgv-panel .attr > .richtext { font-size: 13.5px; line-height: 1.6; color: #3a4250; margin-top: 10px; }
.orgv-panel .attr .richtext p { margin: 0 0 10px; }
.orgv-panel .attr .richtext ul, .orgv-panel .attr .richtext ol { margin: 0 0 10px; padding-left: 18px; }
.orgv-panel .attr .richtext li { margin-bottom: 6px; }
.orgv-panel .attr .richtext b { color: var(--navy); }
.orgv-close { float: right; font-family: inherit; font-size: 13px; background: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; color: var(--navy); }
.orgv-close:hover { background: var(--soft); }

@media (max-width: 1040px) {
    .orgv-depts { flex-direction: column; align-items: center; }
    .orgv-dept { width: 100%; max-width: 440px; }
    .orgv-conn { display: none; }
    .orgv-drop { height: 20px; margin-top: 0; }
    .orgv-dept .orgv-node { width: 100%; }
    .orgv-badge { position: static; transform: none; }
    .orgv-badgerow { height: auto; flex-direction: column; align-items: center; }
    .orgv-badgerow i { height: 16px; width: 2px; }
}
@media (max-width: 820px) {
    .idsec { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .fiche__row { grid-template-columns: 1fr; }
    .fiche__row dt { padding: 12px 16px 6px; }
    .fiche__row dd { padding: 4px 16px 14px; }
    .fiche__row:nth-child(even) dd { background: #fff; }
}

/* Formations */
.cards--formations { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.formation { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.formation__media { height: 120px; }
.formation__media img { width: 100%; height: 100%; object-fit: cover; }
.formation__body { padding: 22px; flex: 1; }
.formation__kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.formation__body h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.formation__body p { font-size: 13.5px; line-height: 1.6; color: #4a5262; }
.formation__footer { padding: 0 22px 20px; font-size: 12px; color: #8b93a1; font-weight: 600; }
.two-col { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 44px); margin-top: clamp(30px, 4vw, 48px); }
.two-col > div { flex: 1 1 300px; min-width: 0; }
.numbered { list-style: none; border-top: 2px solid var(--navy); }
.numbered li { padding: 15px 0; border-bottom: 1px solid #eceef1; display: flex; gap: 14px; align-items: baseline; }
.numbered__n { font-weight: 800; color: #c9d2df; font-size: 15px; font-family: 'Archivo', sans-serif; }
.numbered li span:last-child { font-size: 15px; color: var(--ink); }
.axes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.axe { background: var(--soft); border-radius: 10px; padding: 16px; font-weight: 700; font-size: 14px; color: var(--navy); }
.cta-band { margin-top: clamp(30px, 4vw, 48px); background: var(--navy); border-radius: 16px; padding: clamp(26px, 4vw, 40px); color: #fff; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h3 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin-bottom: 8px; }
.cta-band p { font-size: 14px; color: #c4cee0; line-height: 1.6; max-width: 520px; }
/* CTA avec procédure (Formations) */
.cta-band--proc { margin-top: 0; align-items: stretch; }
.cta-band--proc .cta-band__lead { flex: 1 1 300px; }
.cta-band__proc { flex: 1 1 380px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 20px 22px; font-size: 13.5px; line-height: 1.6; color: #dfe6f2; }
.cta-band__proc p { color: #dfe6f2; max-width: none; margin-bottom: 10px; }
.cta-band__proc b { color: #fff; }
.cta-band__proc ul { margin: 6px 0 12px; padding-left: 18px; }
.cta-band__proc li { margin-bottom: 7px; }
.cta-band__proc a { color: var(--yellow); }

/* Sessions de formation (style « bandeau plein » - carré, en-tête marine) */
.sessions { display: flex; flex-direction: column; gap: 22px; }
.session-block { border: 1px solid var(--line); background: #fff; overflow: hidden; }
.session-block__head { background: var(--navy); display: flex; align-items: center; gap: 10px; padding: 12px 26px; }
.session-block__bar { width: 18px; height: 2px; background: var(--sky); flex: none; }
.session-block.sb-yellow .session-block__bar { background: var(--yellow); } .session-block.sb-red .session-block__bar { background: var(--red); } .session-block.sb-blue .session-block__bar { background: var(--blue); }
.session-block__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.session-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 34px); padding: 24px 26px; }
.session-block h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.session-block__desc { font-size: 13.5px; line-height: 1.65; color: #4a5262; }
.session-block__footer { margin-top: 12px; font-size: 12px; font-weight: 700; color: #8b93a1; }
.session-block__adm { border-left: 1px solid var(--line); padding-left: clamp(18px, 3vw, 30px); }
.session-block__adm-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; padding-bottom: 7px; border-bottom: 2px solid var(--sky); display: inline-block; }
.session-block__adm .richtext { font-size: 13px; line-height: 1.6; color: #3a4250; }
.session-block__adm ul, .session-block__adm ol { margin: 0; padding-left: 18px; }
.session-block__adm li { margin-bottom: 6px; }
.session-block__adm p { margin: 8px 0 4px; font-weight: 700; color: var(--navy); }
@media (max-width: 760px) {
    .session-block__grid { grid-template-columns: 1fr; }
    .session-block__adm { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 18px; }
}

/* Recherche */
.domain { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.domain__icon { width: 36px; height: 36px; border-radius: 9px; margin-bottom: 12px; }
.domain h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.domain p { font-size: 13px; line-height: 1.55; color: #4a5262; }
.publist { display: flex; flex-direction: column; border-top: 2px solid var(--navy); }
.pub { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid #eceef1; }
.pub:hover .pub__title { color: var(--blue); }
.pub__type { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 6px; }
.pub__title { flex: 1 1 260px; font-size: 15px; font-weight: 700; color: var(--ink); min-width: 0; transition: color .15s; }
.pub__meta { font-size: 12.5px; color: #8b93a1; font-weight: 600; }
.pub__dl { color: var(--blue); font-weight: 700; font-size: 18px; }

/* Actualités */
.news-hero { display: flex; flex-wrap: wrap; border-radius: 0; overflow: hidden; border: 1px solid var(--line); margin-bottom: 28px; background: #fff; }
.news-hero__media { flex: 1 1 340px; height: clamp(240px, 30vw, 320px); background: repeating-linear-gradient(45deg, #dfe3e8, #dfe3e8 12px, #d5d9de 12px, #d5d9de 24px); }
.news-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.news-hero__body { flex: 1 1 320px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; }
.news-hero__body .tag { align-self: flex-start; }
.news-hero__date { font-size: 11.5px; color: #8b93a1; font-weight: 600; margin-bottom: 6px; }
.news-hero__body h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 10px; }
.news-hero__body p { font-size: 14px; line-height: 1.6; color: #4a5262; }

.cards--news { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.newscard { background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.newscard:hover { box-shadow: 0 10px 28px rgba(11, 27, 58, .1); transform: translateY(-2px); }
.newscard__media { height: 150px; background: repeating-linear-gradient(45deg, #e4e7eb, #e4e7eb 10px, #dadde2 10px, #dadde2 20px); }
.newscard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.newscard__body { padding: 18px; }
/* Catégorie : toujours un badge à fond coloré (bord carré) */
.newscard__cat { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 0; background: var(--navy); color: #fff; }
.newscard__cat.ink-sky, .related-card__cat.ink-sky { background: var(--sky); color: #fff; }
.newscard__cat.ink-yellow, .related-card__cat.ink-yellow { background: var(--yellow); color: #161a20; }
.newscard__cat.ink-red, .related-card__cat.ink-red { background: var(--red); color: #fff; }
.newscard__cat.ink-navy, .related-card__cat.ink-navy { background: var(--navy); color: #fff; }
.newscard__cat.ink-green, .related-card__cat.ink-green { background: #1e9e5a; color: #fff; }
.newscard__cat.ink-orange, .related-card__cat.ink-orange { background: #e8801f; color: #fff; }
.newscard__cat.ink-purple, .related-card__cat.ink-purple { background: #7c3aed; color: #fff; }
.newscard__cat.ink-teal, .related-card__cat.ink-teal { background: #0e9aa1; color: #fff; }
.newscard__cat.ink-pink, .related-card__cat.ink-pink { background: #d63384; color: #fff; }
.newscard__cat.ink-brown, .related-card__cat.ink-brown { background: #8a5a2b; color: #fff; }

/* ---- Rubrique « communiqué » : présentation distinctive ---- */
.newscard--communique { border-top: 3px solid var(--navy); background: linear-gradient(180deg, #fbfcfe, #fff 60px); }
.newscard--communique .newscard__body { position: relative; }
.newscard__cat--communique, .tag--communique, .related-card__cat--communique, .art-title__cat--communique {
    display: inline-flex; align-items: center; gap: 6px;
}
.badge-ico { flex: none; }
.news-hero--communique { border-top: 3px solid var(--navy); }
/* Petit bandeau « Communiqué officiel » optionnel en tête de la fiche détail */
.communique-ribbon { display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; margin-bottom: 12px; }

/* ---- Liste des communiqués (présentation distincte, page Actualités) ---- */
.comm-list { display: flex; flex-direction: column; gap: 16px; }
.commcard { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(11, 27, 58, .05); padding: 18px 24px 18px 28px; text-decoration: none; color: inherit; transition: box-shadow .18s ease, transform .18s ease; }
.commcard:hover { box-shadow: 0 12px 28px rgba(11, 27, 58, .12); transform: translateY(-2px); }
.commcard__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--navy); }
.commcard__date { width: 92px; height: 92px; flex: none; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.commcard__day { font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 30px; line-height: 1; }
.commcard__my { font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-top: 6px; }
.commcard__main { display: flex; gap: 22px; align-items: center; min-width: 0; }
.commcard__media { width: 150px; height: 96px; flex: none; overflow: hidden; }
.commcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.commcard__body { min-width: 0; flex: 1; }
.commcard__badge { display: inline-flex; align-items: center; gap: 5px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 8px; }
.commcard__title { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: clamp(17px, 2.1vw, 20px); color: var(--navy); line-height: 1.25; margin-bottom: 6px; }
.commcard__desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.commcard__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--blue); }
@media (max-width: 620px) {
    .commcard { grid-template-columns: 58px 1fr; gap: 14px; padding: 14px 16px 14px 20px; }
    .commcard__date { width: 58px; height: 58px; }
    .commcard__day { font-size: 22px; }
    .commcard__my { font-size: 9px; margin-top: 3px; }
    .commcard__main { flex-direction: column; align-items: flex-start; gap: 12px; }
    .commcard__media { width: 100%; height: 170px; }
}
.newscard__date { font-size: 11px; color: #8b93a1; font-weight: 600; margin: 5px 0; }
.newscard__body h3 { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 6px; }
.newscard__body p { font-size: 13px; line-height: 1.55; color: #4a5262; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pagination__link { width: 38px; height: 38px; border-radius: 0; border: 1px solid #d4d9e1; color: #4a5262; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.pagination__link.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.article { max-width: var(--maxw); }
/* Texte de l'article : pleine largeur (aligné avec « À lire aussi ») */
.article .richtext, .article .streamblock, .article__lead, .article .share, .article__foot { max-width: none; }
.article__cover { border-radius: 0; overflow: hidden; margin-bottom: 10px; text-align: center; background: #f2f4f7; }
.article__cover img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
.article__intro { font-size: clamp(15px, 2vw, 17px); line-height: 1.65; color: var(--navy); font-weight: 500; margin-bottom: 22px; }
.article__back { margin-top: 32px; }
.article__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.article__gallery-item { margin: 0; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.article__gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article__gallery-item figcaption { font-size: 12px; color: #5b6473; padding: 8px 10px; }

/* ============ Détail actualité enrichi ============ */
/* Barre de progression de lecture */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 1200; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--yellow)); transition: width .08s linear; }

/* En-tête avec photo en fond */
.art-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: clamp(260px, 42vw, 460px); display: flex; }
.art-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.art-hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,27,58,.30) 0%, rgba(11,27,58,.55) 45%, rgba(11,27,58,.90) 100%); }
.art-hero--plain { min-height: 0; }
.art-hero--plain .art-hero__overlay { background: none; }
.art-hero__inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: clamp(26px, 5vw, 60px) var(--pad) clamp(26px, 4vw, 44px); align-self: flex-end; }
.art-hero__tag { text-decoration: none; }
.art-hero__title { font-family: "Archivo", system-ui, sans-serif; font-size: clamp(23px, 4vw, 42px); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; max-width: 20ch; margin: 6px 0 0; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.breadcrumb--light { color: #cdd8ec; font-size: 13px; margin-bottom: 12px; }
.breadcrumb--light a { color: #cdd8ec; text-decoration: none; }
.breadcrumb--light a:hover { color: #fff; text-decoration: underline; }
.breadcrumb--light .sep { opacity: .6; margin: 0 4px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: #e6ecf7; }
.art-meta__dot { opacity: .5; }

/* Chapô */
.article__lead { font-size: clamp(16px, 2.1vw, 19px); line-height: 1.7; color: var(--navy); font-weight: 600; margin: 4px 0 22px; padding-left: 16px; border-left: 4px solid var(--yellow); }

/* Barre de partage */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 18px 0 4px; margin-top: 30px; border-top: 1px solid var(--line); }
/* Catégorie carrée, en ligne avec le titre */
.tag--square { border-radius: 0; margin-bottom: 0; }
.art-title__cat { vertical-align: middle; margin-right: 10px; }
.art-title { display: block; }
/* Date + temps de lecture sous la photo (texte foncé sur fond clair) */
.art-meta--under { margin: 0 0 20px; color: #5b6473; }
.share__label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a94a6; margin-right: 4px; }
.share__btn { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; font-weight: 600; color: #fff; border: 0; cursor: pointer; padding: 8px 13px; border-radius: 999px; text-decoration: none; transition: transform .12s ease, filter .12s ease; }
.share__btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.share__btn--fb { background: #1877f2; }
.share__btn--wa { background: #25d366; }
.share__btn--x { background: #111; }
.share__btn--li { background: #0a66c2; }
.share__btn--copy { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.share__btn--copy.is-copied { background: #e9f7ee; border-color: #25d366; color: #157a3a; }
@media (max-width: 560px) { .share__btn span { display: none; } .share__btn { padding: 9px; } .share__label { display: none; } }

/* Galerie : en-tête */
.article__gallery-wrap { margin-top: 34px; }
.article__gallery-head { display: flex; align-items: center; gap: 10px; font-family: "Archivo", system-ui, sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.art-rule { display: inline-block; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); }
.article__gallery-item { border-radius: 10px; }

/* Pied d'article */
.article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.btn-ghost--navy { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.btn-ghost--navy:hover { background: var(--navy); color: #fff; }
.article__foot-share { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8a94a6; }
.article__foot-share a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; text-decoration: none; font-size: 14px; transition: background .15s; }
.article__foot-share a:hover { background: var(--blue); }

/* À lire aussi */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.related-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 14px rgba(11,27,58,.05); transition: transform .16s ease, box-shadow .16s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(11,27,58,.13); }
.related-card__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #163061, var(--navy)); overflow: hidden; }
.related-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.related-card:hover .related-card__media img { transform: scale(1.05); }
.related-card__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-weight: 900; letter-spacing: .15em; }
.related-card__cat { position: absolute; left: 10px; top: 10px; background: var(--navy); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 0; display: inline-flex; align-items: center; gap: 5px; }
.related-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.related-card__date { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.related-card__title { font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--navy); }
.related-card__more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--blue); }

/* Galerie de la page L'équipe */
.team-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.team-gallery__item { margin: 0; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.team-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-gallery__item figcaption { font-size: 12px; color: #5b6473; padding: 8px 10px; }

/* Vignette cliquable (galeries) */
.gallery-link { position: relative; display: block; cursor: zoom-in; overflow: hidden; }
.gallery-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-link:hover img { transform: scale(1.05); }
.gallery-link__zoom { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 6px; background: rgba(11, 27, 58, .72); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; opacity: 0; transition: opacity .2s; }
.gallery-link:hover .gallery-link__zoom, .gallery-link:focus-visible .gallery-link__zoom { opacity: 1; }

/* Lightbox (modal d'images) */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 12, 26, .93); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 80vh; object-fit: contain; border-radius: 2px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); background: #0b1b3a; }
.lightbox__caption { color: #dfe6f2; font-size: 14px; text-align: center; max-width: 700px; min-height: 1em; }
.lightbox__count { position: absolute; top: clamp(14px, 3vw, 22px); left: 0; right: 0; text-align: center; color: #9fb0cc; font-size: 12.5px; letter-spacing: .05em; }
.lightbox__close { position: absolute; top: clamp(12px, 3vw, 20px); right: clamp(12px, 3vw, 22px); width: 42px; height: 42px; border-radius: 0; border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lightbox__close:hover { background: rgba(255, 255, 255, .24); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 0; border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox__nav--prev { left: clamp(10px, 3vw, 26px); }
.lightbox__nav--next { right: clamp(10px, 3vw, 26px); }
@media (max-width: 600px) {
    .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
}

.section-intro { font-size: 13.5px; color: var(--muted); max-width: 620px; line-height: 1.6; margin-bottom: 22px; }

/* Onglets */
.tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { background: var(--soft); color: #4a5262; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 22px; border: 0; cursor: pointer; }
.tab.is-active { background: var(--navy); color: #fff; }

/* Médiathèque - galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.gallery--souvenirs { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.gallery__item { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: repeating-linear-gradient(45deg, #e4e7eb, #e4e7eb 10px, #dadde2 10px, #dadde2 20px); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item .gallery-link { position: absolute; inset: 0; }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(10, 20, 35, .8)); }

.cards--videos { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.videocard { background: #fff; border-radius: 0; overflow: hidden; border: 1px solid var(--line); display: block; }
button.videocard { width: 100%; font: inherit; text-align: left; cursor: pointer; padding: 0; }

/* Lecteur vidéo intégré */
.videomodal { position: fixed; inset: 0; z-index: 1300; background: rgba(6, 12, 26, .92); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); }
.videomodal[hidden] { display: none; }
.videomodal__frame { position: relative; width: min(100%, 1000px); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.videomodal__frame iframe, .videomodal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.videomodal__close { position: absolute; top: clamp(12px, 3vw, 20px); right: clamp(12px, 3vw, 22px); width: 42px; height: 42px; border-radius: 0; border: 0; cursor: pointer; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.videomodal__close:hover { background: rgba(255, 255, 255, .28); }
.videocard__media { aspect-ratio: 16/9; position: relative; background: repeating-linear-gradient(45deg, #20242c, #20242c 12px, #1a1e25 12px, #1a1e25 24px); display: flex; align-items: center; justify-content: center; }
.videocard__media img { width: 100%; height: 100%; object-fit: cover; }
.videocard__play { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 18px; }
.videocard__title { padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--navy); }

/* Albums de la Médiathèque */
.cards--albums { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.albumcard { display: block; background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .18s ease, transform .18s ease; }
.albumcard:hover { box-shadow: 0 12px 28px rgba(11, 27, 58, .13); transform: translateY(-3px); }
.albumcard__media { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(160deg, #163061, var(--navy)); overflow: hidden; }
.albumcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .3s ease; }
.albumcard:hover .albumcard__media img { transform: scale(1.05); }
.albumcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .35); font-weight: 900; letter-spacing: .15em; }
.albumcard__count { position: absolute; right: 8px; bottom: 8px; background: rgba(11, 27, 58, .82); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; }
.albumcard__title { padding: 12px 14px; font-weight: 800; font-size: 15px; color: var(--navy); line-height: 1.3; }
.album-loose-head { display: flex; align-items: center; gap: 10px; font-family: "Archivo", system-ui, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 34px 0 14px; }

/* Vitrine - lauréats */
.cards--laureats { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.laureat { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.laureat__media { position: relative; aspect-ratio: 1/1; background: repeating-linear-gradient(45deg, #e4e7eb, #e4e7eb 10px, #dadde2 10px, #dadde2 20px); }
.laureat__media img { width: 100%; height: 100%; object-fit: cover; }
.laureat__star { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 12px rgba(11, 27, 58, .25); }
.laureat__body { padding: 18px; }
.laureat__name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; color: var(--navy); line-height: 1.25; }
.laureat__distinction { font-size: 12.5px; color: var(--red); font-weight: 700; margin: 4px 0 8px; }
.laureat__promo { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Vitrine - diplômes */
.cards--diplomas { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.diploma { border: 1px solid var(--line); overflow: hidden; background: #fff; }
.diploma__seal { background: var(--navy); display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 11px 18px; }
.diploma__badge { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.diploma__label { font-family: 'Archivo', sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.diploma__body { padding: 18px; }
.diploma__title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15.5px; color: var(--navy); line-height: 1.3; }
.diploma__desc { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 6px; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 40px); }
.contact-coords { flex: 1 1 300px; min-width: 0; }
.contact-form-col { flex: 1 1 340px; min-width: 0; }
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eceef1; }
.contact-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.contact-ic.ac-sky { color: var(--blue); } .contact-ic.ac-yellow { color: #c99a06; } .contact-ic.ac-red { color: var(--red); }
.contact-row__label { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.contact-row__val { font-size: 13.5px; color: #4a5262; line-height: 1.6; }
.contact-map { margin-top: 20px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 220px; background: repeating-linear-gradient(45deg, #e6ebf2, #e6ebf2 12px, #dbe1ea 12px, #dbe1ea 24px); display: flex; align-items: center; justify-content: center; font: 9px ui-monospace, monospace; color: #8a93a3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.cform { background: #f7f9fb; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.cform__field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cform__field input, .cform__field textarea, .cform__field select {
    width: 100%; border: 1.5px solid #d4d9e1; border-radius: 9px; padding: 12px 14px;
    font-size: 14px; outline: none; font-family: inherit; background: #fff; color: var(--ink);
}
.cform__field textarea { resize: vertical; min-height: 120px; }
.cform__field input:focus, .cform__field textarea:focus, .cform__field select:focus { border-color: var(--blue); }
.cform__field small { color: var(--muted); font-size: 12px; }
.cform__error { color: var(--red); font-size: 12.5px; margin-top: 4px; }
.cform__submit { background: var(--navy); color: #fff; border: 0; font-size: 14.5px; font-weight: 700; padding: 14px; border-radius: 9px; cursor: pointer; font-family: inherit; }
.cform__submit:hover { filter: brightness(1.15); }
.cform-done { background: #eef7f0; border: 1px solid #bfe3c9; border-radius: 14px; padding: clamp(24px, 4vw, 36px); text-align: center; }
.cform-done__check { width: 56px; height: 56px; border-radius: 50%; background: #1f8a4d; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px; }
.cform-done h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.cform-done__text { font-size: 14px; color: #4a5262; line-height: 1.6; margin-bottom: 20px; }

/* Recherche (page) */
.search--page { max-width: 520px; margin-bottom: 26px; }
.search--page input { flex: 1; width: auto; padding: 12px 14px; font-size: 15px; }
.search--page button { padding: 12px 16px; font-size: 15px; }
.searchlist { display: flex; flex-direction: column; border-top: 2px solid var(--navy); }
.searchitem { padding: 18px 0; border-bottom: 1px solid #eceef1; }
.searchitem h3 { font-size: 16px; font-weight: 700; color: var(--navy); transition: color .15s; }
.searchitem:hover h3 { color: var(--blue); }
.searchitem p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }

/* L'équipe - diaporama */
.team { position: relative; }
/* La fenêtre (sans padding) découpe le défilement : une seule fiche visible. */
.team__viewport { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 46px rgba(11, 27, 58, .09); }
.team__track { display: flex; align-items: flex-start; transition: transform .65s cubic-bezier(.4, 0, .2, 1); }
/* Disposition « média » adaptative : cadre photo compact + texte qui s'écoule.
   align-items:flex-start → la carte prend la hauteur du contenu, sans vide
   marine ni colonnes déséquilibrées, quelles que soient la photo et la longueur
   du texte. */
.team__slide {
    min-width: 100%; box-sizing: border-box;
    display: flex; gap: clamp(22px, 3.5vw, 44px); align-items: flex-start;
    padding: clamp(24px, 3.5vw, 46px);
}

/* Cadre photo compact (marine) - la photo est recadrée uniformément (object-fit
   cover) : toutes les images s'affichent à la même taille, quelle que soit leur
   dimension d'origine. */
.team__photo-wrap {
    position: relative; flex: 0 0 auto; width: clamp(170px, 30%, 280px);
    background: linear-gradient(150deg, var(--navy), #16305c);
    padding: 14px 14px 18px; border-radius: 16px;
    box-shadow: 0 14px 32px rgba(11, 27, 58, .22);
}
.team__photo {
    width: 100%; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden;
    background: repeating-linear-gradient(45deg, #dfe3e8, #dfe3e8 10px, #d5d9de 10px, #d5d9de 20px);
    display: flex; align-items: center; justify-content: center;
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__ph { font: 10px ui-monospace, monospace; color: #8a8f97; }
.team__no {
    position: absolute; top: 8px; left: 12px; z-index: 2;
    font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 28px;
    color: var(--yellow); line-height: 1; text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}
.team__tri { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 4px; display: flex; border-radius: 2px; overflow: hidden; }
.team__tri span { flex: 1; }
.team__tri span:nth-child(1) { background: var(--sky); }
.team__tri span:nth-child(2) { background: var(--yellow); }
.team__tri span:nth-child(3) { background: var(--red); }

/* Contenu - largeur automatique, texte qui s'adapte */
.team__body { flex: 1 1 0; min-width: 0; }
.team__role { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.team__name { font-size: clamp(23px, 3.4vw, 33px); font-weight: 900; color: var(--navy); line-height: 1.1; }
.team__rule { width: 52px; height: 3px; background: var(--yellow); border-radius: 3px; margin: 15px 0 18px; }
.team__cv { font-size: 14.5px; line-height: 1.75; color: #3a4250; max-width: 620px; }
.team__cv p { margin-bottom: 12px; }
.team__cv p:last-child { margin-bottom: 0; }
/* Plafonnement des CV longs (bouton « Lire la suite » ajouté par le JS). */
.team__cv.is-clamped { position: relative; max-height: 264px; overflow: hidden; }
.team__cv.is-clamped.is-open { max-height: none; }
.team__cv.is-clamped::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 66px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none;
}
.team__cv.is-clamped.is-open::after { display: none; }
.team__more {
    margin-top: 12px; background: none; border: 0; color: var(--blue);
    font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 4px 0;
    display: inline-flex; align-items: center; gap: 5px;
}
.team__more:hover { text-decoration: underline; }

/* Contrôles (barre sous la carte) */
.team__controls { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.team__arrow {
    flex: none; width: 42px; height: 42px; border-radius: 0; border: 0; cursor: pointer;
    background: var(--navy); color: #fff; font-size: 21px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(11, 27, 58, .25); transition: transform .1s, filter .15s;
}
.team__arrow:hover { filter: brightness(1.3); }
.team__arrow:active { transform: scale(.92); }
.team__dots { position: static; margin-left: 6px; }
.team__dots .dot { background: #c9d2df; }
.team__dots .dot.is-active { background: var(--red); }

/* Empilement sous 620px : photo centrée au-dessus, texte dessous. */
@media (max-width: 620px) {
    .team__slide { flex-direction: column; align-items: stretch; }
    .team__photo-wrap { width: min(210px, 62%); margin: 0 auto; }
    .team__body { width: 100%; }
    .team__name { font-size: clamp(21px, 6vw, 28px); }
}

/* Mur d'honneur - anciens dirigeants (page L'équipe) */
.section--wall { padding-bottom: 10px; }
.leader-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: clamp(16px, 2.4vw, 26px); margin-top: 14px; }
.leader { display: block; margin: 0; text-align: center; text-decoration: none; color: inherit; }
a.leader { cursor: pointer; }
a.leader:hover .leader__frame { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11, 27, 58, .26), 0 0 0 1px var(--blue); }
a.leader:hover .leader__name { color: var(--blue); }
.leader__frame { aspect-ratio: 5/6; border-radius: 4px; overflow: hidden; background: #eef1f5; border: 6px solid #fff; box-shadow: 0 8px 20px rgba(11, 27, 58, .16), 0 0 0 1px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.leader__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader__ph { display: flex; align-items: center; justify-content: center; height: 100%; font: 9px ui-monospace, monospace; color: #98a1b0; }
.leader__cap { margin-top: 10px; }
.leader__name { font-weight: 700; font-size: 13.5px; color: var(--navy); line-height: 1.25; transition: color .18s ease; }
.leader__role { font-size: 11.5px; color: #5b6473; margin-top: 3px; line-height: 1.35; }
.leader__period { font-size: 11px; color: var(--blue); font-weight: 700; margin-top: 4px; }

/* Historique - étapes cliquables + panneau détaillé */
/* Frise verticale de l'historique (nouvelle présentation) */
.timeline { position: relative; margin-top: 6px; }
.timeline::before { content: ""; position: absolute; left: 79px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 32px; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 14px; color: var(--navy); text-align: right; padding-top: 14px; line-height: 1.2; }
.tl-item::before { content: ""; position: absolute; left: 73px; top: 17px; width: 15px; height: 15px; border-radius: 50%; background: var(--sky); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); z-index: 1; }
.tl-item.tl-yellow::before { background: var(--yellow); }
.tl-item.tl-red::before { background: var(--red); }
.tl-item.tl-navy::before { background: var(--navy); }
.tl-item.tl-green::before { background: #1e9e5a; }
.tl-item.tl-orange::before { background: #e8801f; }
.tl-item.tl-purple::before { background: #7c3aed; }
.tl-item.tl-teal::before { background: #0e9aa1; }
.tl-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 3px 12px rgba(11, 27, 58, .06); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
.tl-card:hover { box-shadow: 0 12px 28px rgba(11, 27, 58, .12); transform: translateY(-2px); }
.tl-photo img { width: 100%; height: auto; display: block; }
.tl-body { padding: 16px 20px 18px; }
.tl-title { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 17px; color: var(--navy); margin-bottom: 6px; line-height: 1.25; }
.tl-desc { font-size: 14px; line-height: 1.65; color: #3a4250; }
.tl-desc p { margin: 0 0 8px; } .tl-desc p:last-child { margin: 0; }
@media (max-width: 640px) {
    .timeline::before { left: 7px; }
    .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; padding-bottom: 22px; }
    .tl-year { text-align: left; padding-top: 0; color: var(--sky); font-size: 13px; }
    .tl-item::before { left: 1px; top: 3px; }
}

.hist-cols { display: flex; gap: clamp(28px, 4vw, 48px); align-items: flex-start; }
.hist-list { width: 280px; flex: none; display: flex; flex-direction: column; }
.hist-step { font-family: inherit; text-align: left; cursor: pointer; background: none; border: none; border-left: 2px solid var(--line); padding: 11px 15px; transition: background .15s; }
.hist-step:hover { background: #eaf4fc; }
.hist-step:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hist-step .d { display: block; font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.hist-step .t { display: block; font-size: 12.5px; color: #6b7280; line-height: 1.35; margin-top: 2px; }
.hist-step[aria-current="true"] { background: #eaf4fc; border-left-color: var(--blue); }
.hist-step[aria-current="true"] .d { color: var(--blue); }
.hist-panel { flex: 1; min-width: 0; }
.hist-date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 800; }
.hist-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--navy); line-height: 1.15; margin: 8px 0 14px; }
.hist-rule { height: 3px; width: 54px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); margin-bottom: 16px; }
.hist-photo { margin-bottom: 16px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(11, 27, 58, .10); max-width: 560px; }
.hist-photo img { display: block; width: 100%; height: auto; }
.hist-body { font-size: 15px; line-height: 1.65; color: #3a4250; max-width: 60ch; }
.hist-body p { margin-bottom: 10px; }
.hist-nav { display: flex; gap: 10px; align-items: center; margin-top: 26px; }
.hist-btn { font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; transition: background .15s, border-color .15s; }
.hist-btn:hover { background: #eaf4fc; border-color: var(--blue); }
.hist-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hist-count { font-size: 13px; color: #6b7280; margin-left: 4px; }
@media (max-width: 820px) {
    .hist-cols { flex-direction: column; gap: 24px; }
    .hist-list { width: 100%; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
    .hist-step { border-left: none; border-top: 2px solid var(--line); min-width: 190px; }
    .hist-step[aria-current="true"] { border-top-color: var(--blue); }
}


/* Bibliothèque - catalogue */
.lib-filters { margin-bottom: 26px; }
.cards--works { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.workcard { border: 1px solid var(--line); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .18s, border-color .18s; }
.workcard:hover { box-shadow: 0 12px 26px rgba(11, 27, 58, .12); border-color: var(--blue); }
.workcard__cover { position: relative; aspect-ratio: 3/4; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.workcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.workcard__ph { font: 10px ui-monospace, monospace; color: #9fb0cc; }
.workcard__cat { position: absolute; top: 0; left: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 11px; border-radius: 0; }
.workcard__body { padding: 16px 16px 20px; flex: 1; display: flex; flex-direction: column; }
.workcard__title { font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.25; }
.workcard__sub { font-size: 12.5px; color: #4a5262; line-height: 1.45; margin-top: 5px; }
.workcard__authors { font-size: 12px; color: #8b93a1; font-weight: 600; margin-top: auto; padding-top: 10px; }

/* Bibliothèque - fiche détaillée */
.work__top { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 44px); }
.work__cover { flex: 0 0 300px; max-width: 100%; }
.work__cover img { width: 100%; border-radius: 14px; box-shadow: 0 16px 40px rgba(11, 27, 58, .18); }
.work__cover .workcard__ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 3/4; background: linear-gradient(150deg, #16305c, var(--navy)); border-radius: 14px; }
.work__dl { display: inline-block; margin-top: 14px; background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px 20px; border-radius: 9px; }
.work__dl:hover { filter: brightness(1.08); }
.work__meta { flex: 1 1 340px; min-width: 0; }
.work__facts { border-top: 2px solid var(--navy); margin-bottom: 22px; }
.work__facts > div { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; border-bottom: 1px solid #eceef1; }
.work__facts dt { flex: 0 0 130px; font-weight: 700; font-size: 13px; color: var(--navy); }
.work__facts dd { flex: 1 1 200px; margin: 0; font-size: 14px; color: #3a4250; }
.work__block { margin-top: clamp(24px, 4vw, 36px); }
.work__block .richtext { max-width: none; }

/* FAQ - accordéon (details/summary, sans JS) */
.faq { max-width: 840px; }
.faq--page { margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 0; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq__item[open] { border-color: #cfe0f0; box-shadow: 0 10px 24px rgba(11, 27, 58, .07); }
.faq__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 700; font-size: 15px; color: var(--navy); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue); }
.faq__ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #eef4fb; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; transition: transform .25s ease, background .2s; }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq__a { padding: 0 20px 18px; color: #3a4250; line-height: 1.7; font-size: 14px; }
.faq__a p { margin-bottom: 10px; }
.faq__a p:last-child { margin-bottom: 0; }
/* FAQ + carte : grille 8/12 (FAQ) + 4/12 (carte), colonnes de même hauteur */
.faq-layout { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(20px, 3vw, 34px); align-items: stretch; margin-top: 4px; }
.faq-layout .faq { max-width: none; margin: 0; }
/* FAQ sur l'accueil : 3 questions pleine largeur (contrainte pour la lecture) + bouton */
.faq--home { max-width: 860px; }
.faq-more { margin-top: 26px; text-align: center; }
.faq-more .btn-ghost--navy { display: inline-flex; align-items: center; justify-content: center; border-radius: 0; padding: 13px 28px; letter-spacing: .2px; }
.faq-layout__map { min-width: 0; }
.map-embed { position: relative; width: 100%; height: 100%; min-height: 240px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(11, 27, 58, .05); overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-embed--ph { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .map-embed { height: 300px; min-height: 0; } }
.faq-contact { text-align: center; margin-top: 34px; }
.faq-contact p { color: var(--muted); margin-bottom: 14px; }

/* Vitrine - Ils ont fait le CHESD */
.cards--passages { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.passage { margin: 0; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.passage__band { background: var(--navy); display: flex; align-items: center; gap: 10px; padding: 10px 20px; }
.passage__bar { width: 16px; height: 2px; background: var(--yellow); flex: none; }
.passage__body { padding: 20px 22px 22px; }
.passage__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.passage__avatar { width: 54px; height: 54px; border-radius: 50%; flex: none; overflow: hidden; background: linear-gradient(150deg, var(--navy), #16305c); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px; }
.passage__avatar img { width: 100%; height: 100%; object-fit: cover; }
.passage__quality { color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.passage__name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; color: var(--navy); line-height: 1.2; }
.passage__role { font-size: 12.5px; color: #4a5262; line-height: 1.4; margin-top: 2px; }
.passage__period { font-size: 12px; color: #8b93a1; font-weight: 600; margin-top: 2px; }
.passage__quote { margin: 0; position: relative; font-size: 13.5px; line-height: 1.65; color: #3a4250; font-style: italic; padding-top: 12px; border-top: 1px solid #eef1f5; }
.passage__quote::before { content: "\201C"; color: var(--yellow); font-family: Georgia, serif; font-size: 26px; line-height: 0; position: relative; top: 6px; margin-right: 3px; }

/* Formations - conditions d'admission */
.admission { margin-top: clamp(30px, 4vw, 48px); }
.cards--admission { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 16px; }
.admission-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sky); border-radius: 14px; padding: 22px 24px; }
.admission-card.adm-yellow { border-top-color: var(--yellow); }
.admission-card.adm-red { border-top-color: var(--red); }
.admission-card.adm-navy { border-top-color: var(--navy); }
.admission-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.admission-card__req { font-size: 13.5px; color: #4a5262; }
.admission-card__req ul, .admission-card__req ol { margin: 0; padding-left: 18px; }
.admission-card__req li { margin-bottom: 6px; line-height: 1.5; }
.admission-card__req p { margin-bottom: 8px; line-height: 1.55; }

/* ------------------------------------------------------------- Back to top */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 80; width: 48px; height: 48px;
    border-radius: 0; border: 0; background: var(--red); color: #fff; font-size: 20px;
    line-height: 1; cursor: pointer; box-shadow: 0 6px 20px rgba(206, 16, 33, .4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(.92); }

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--navy); color: #c1cbdd; margin-top: auto; }
.site-footer .tricolor { margin: 0; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--pad) 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(26px, 4vw, 48px); padding-bottom: clamp(30px, 4vw, 44px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
/* Colonne marque + contact */
.foot-brand { border-right: 1px solid rgba(255, 255, 255, .12); padding-right: clamp(18px, 3vw, 40px); }
.foot-brand__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.foot-brand__head img { display: block; }
.foot-brand__name { color: #fff; font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: .02em; }
.foot-contact { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.foot-contact li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }
.foot-contact__ico { flex: none; }
.foot-contact__label { display: block; color: #8697b8; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.foot-contact a { color: #c1cbdd; text-decoration: none; }
.foot-contact a:hover { color: #fff; }
.foot-social { display: flex; gap: 4px; margin-top: 20px; }

/* Réseaux sociaux du pied de page (pastilles colorées, un peu plus grandes) */
.socials--foot { margin-top: 22px; gap: 10px; }
.socials--foot .social { width: 40px; height: 40px; }
/* Colonnes de liens */
.foot-col__title { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 18px; color: #fff; position: relative; padding-bottom: 12px; margin-bottom: 18px; }
.foot-col__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--yellow); }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-links a { color: #c1cbdd; text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 9px; transition: color .15s; }
.foot-links a::before { content: ""; width: 7px; height: 7px; background: var(--yellow); flex: none; transition: transform .25s ease, background .25s ease; }
.foot-links a:hover { color: #fff; }
.foot-links a:hover::before { transform: rotate(45deg) scale(1.2); background: var(--red); }
.foot-ext { opacity: .7; }
/* Newsletter */
.foot-news__text { font-size: 13.5px; line-height: 1.6; color: #b3bed4; margin-bottom: 14px; }
.foot-news__msg { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.foot-news__msg--ok { color: #7ee2a8; }
.foot-news__msg--err { color: #ff9aa2; }
.foot-news__form { display: flex; }
.foot-news__form input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.foot-news__form button { flex: none; width: 50px; border: 0; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: filter .15s; }
.foot-news__form button:hover { filter: brightness(1.1); }
/* Bas de page */
.site-footer__legal { text-align: center; padding: 18px 0 26px; font-size: 13px; color: #aeb9d0; }

/* ------------------------------------------------------------- Animations */
@keyframes chesdMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    .marquee__track, .partners__track { animation: none; }
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ Responsive */
@media (min-width: 860px) {
    .burger { display: none; }
    .mainnav { display: block; }
    .mobilenav { display: none !important; }
}
@media (max-width: 900px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; border-right: 0; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 560px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}
