/* ==========================================================================
   SysEdu — thème du site public (WP5)
   Chargé par resources/views/frontEnd/home/front_master.blade.php APRÈS les CSS
   du thème InfixEdu (conservés pour les pages qui en dépendent encore).
   Préfixe se- partout : aucune collision avec Bootstrap ou le thème d'origine.
   Couleurs : indigo #1B1147 / #2E2270, or #E4AD3F, terre cuite #C0512F,
   ocre #D9924A, crème #F7F1E6 — police Poppins (chargée par le thème).
   ========================================================================== */

:root {
    --se-indigo: #1B1147;
    --se-indigo-2: #2E2270;
    --se-indigo-3: #4B3C9E;
    --se-or: #E4AD3F;
    --se-or-clair: #F3D493;
    --se-terre: #C0512F;
    --se-terre-fonce: #A3421F;   /* texte terre cuite sur fond clair (contraste AA) */
    --se-ocre: #D9924A;
    --se-creme: #F7F1E6;
    --se-creme-2: #EFE5D2;
    --se-texte: #26213D;
    --se-doux: #5F5A78;
    --se-bord: #E7E0D2;
    --se-blanc: #FFFFFF;
    --se-ombre: 0 12px 32px rgba(27, 17, 71, .09);
    --se-ombre-forte: 0 22px 50px rgba(27, 17, 71, .18);
    --se-rayon: 18px;
    --se-rayon-petit: 12px;
    --se-largeur: 1240px;
    --se-police: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --se-frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpolygon points='0,14 14,0 28,14' fill='%23E4AD3F'/%3E%3Cpolygon points='7,14 14,7 21,14' fill='%23C0512F'/%3E%3C/svg%3E");
    --se-losanges-clairs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 3 53 28 28 53 3 28Z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.4'/%3E%3Cpath d='M28 20 36 28 28 36 20 28Z' fill='%23E4AD3F' fill-opacity='.08'/%3E%3C/svg%3E");
    --se-losanges-sombres: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 3 53 28 28 53 3 28Z' fill='none' stroke='%231B1147' stroke-opacity='.05' stroke-width='1.4'/%3E%3Cpath d='M28 22 34 28 28 34 22 28Z' fill='%23C0512F' fill-opacity='.06'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ base */
body.client.se-site {
    margin: 0;
    background: var(--se-blanc);
    color: var(--se-texte);
    font-family: var(--se-police);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.se-site *, .se-site *::before, .se-site *::after { box-sizing: border-box; }
.se-site h1, .se-site h2, .se-site h3, .se-site h4, .se-site h5, .se-site h6 {
    font-family: var(--se-police);
    color: var(--se-indigo);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 .6em;
    letter-spacing: -.01em;
}
.se-site p { margin: 0 0 1em; }
.se-site a { color: var(--se-indigo-2); text-decoration: none; transition: color .2s, background-color .2s, box-shadow .2s, transform .2s; }
.se-site a:hover { color: var(--se-terre); }
.se-site img { max-width: 100%; height: auto; }
.se-site :focus-visible { outline: 3px solid var(--se-or); outline-offset: 3px; border-radius: 4px; }
.se-site main:focus { outline: none; }
.se-site button { font-family: inherit; }
.se-visuellement-cache {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.se-evitement {
    position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--se-or); color: var(--se-indigo) !important;
    padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 600;
}
.se-evitement:focus { top: 0; }
.se-conteneur { width: 100%; max-width: var(--se-largeur); margin: 0 auto; padding: 0 24px; }
.se-ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.25em; }
.se-sans-defilement { overflow: hidden; }

/* ------------------------------------------------------------------ boutons */
.se-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 15px/1.2 var(--se-police); text-decoration: none !important; white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.se-btn:hover { transform: translateY(-2px); }
.se-btn .se-ic { width: 1.1em; height: 1.1em; }
.se-btn--or { background: var(--se-or); color: var(--se-indigo) !important; box-shadow: 0 8px 22px rgba(228, 173, 63, .35); }
.se-btn--or:hover { background: #EDBB55; color: var(--se-indigo) !important; box-shadow: 0 12px 26px rgba(228, 173, 63, .45); }
.se-btn--indigo { background: var(--se-indigo); color: #fff !important; }
.se-btn--indigo:hover { background: var(--se-indigo-2); color: #fff !important; box-shadow: 0 10px 24px rgba(27, 17, 71, .25); }
.se-btn--terre { background: var(--se-terre); color: #fff !important; }
.se-btn--terre:hover { background: var(--se-terre-fonce); color: #fff !important; }
.se-btn--contour { background: transparent; color: var(--se-indigo) !important; box-shadow: inset 0 0 0 2px var(--se-indigo); }
.se-btn--contour:hover { background: var(--se-indigo); color: #fff !important; }
.se-btn--clair { background: rgba(255, 255, 255, .1); color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.se-btn--clair:hover { background: #fff; color: var(--se-indigo) !important; }
.se-btn--petit { padding: .5em 1.05em; font-size: 13px; }
.se-btn--grand { padding: 1em 1.9em; font-size: 16px; }
.se-lien-fleche { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--se-indigo-2); }
.se-lien-fleche .se-ic { transition: transform .2s; }
.se-lien-fleche:hover .se-ic { transform: translateX(4px); }

/* ------------------------------------------------------------------ motifs haoussa */
.se-frise { height: 14px; background: var(--se-frise) repeat-x left center / 28px 14px; }
.se-frise--fine { height: 10px; background-size: 20px 10px; }
.se-motif-clair { background-image: var(--se-losanges-clairs); background-size: 56px 56px; }
.se-motif-sombre { background-image: var(--se-losanges-sombres); background-size: 56px 56px; }

/* ------------------------------------------------------------------ barre supérieure */
.se-barre-haut { background: var(--se-indigo); color: rgba(255, 255, 255, .86); font-size: 13px; position: relative; z-index: 40; }
.se-barre-haut__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; }
.se-barre-haut ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; }
.se-barre-haut a { color: rgba(255, 255, 255, .88); }
.se-barre-haut a:hover { color: var(--se-or); }
.se-barre-haut__infos li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.se-barre-haut__infos { min-width: 0; overflow: hidden; }
.se-barre-haut__infos .se-ic { color: var(--se-or); width: 15px; height: 15px; }
.se-barre-haut__actions { display: flex; align-items: center; gap: 10px; }
.se-reseaux { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.se-reseaux a {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
    color: inherit; background: rgba(255, 255, 255, .08);
}
.se-reseaux a:hover { background: var(--se-or); color: var(--se-indigo) !important; }
.se-reseaux .se-ic { width: 15px; height: 15px; vertical-align: 0; }
.se-reseaux i { font-size: 14px; }
.se-barre-haut .se-reseaux { margin-right: 6px; }

/* ------------------------------------------------------------------ en-tête */
.se-entete {
    /* pas de backdrop-filter : il ferait du tiroir mobile (position fixe) un enfant de l'en-tête */
    position: sticky; top: 0; z-index: 50; background: #fff;
    border-bottom: 1px solid var(--se-bord); transition: box-shadow .25s;
}
.se-entete.se-defile { box-shadow: 0 8px 30px rgba(27, 17, 71, .08); }
.se-entete__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.se-marque { display: flex; align-items: center; gap: 12px; color: var(--se-indigo) !important; min-width: 0; margin-right: auto; }
.se-marque img { height: 58px; width: auto; max-width: 220px; object-fit: contain; flex: 0 0 auto; }
.se-marque__texte { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.se-marque__texte strong { font-size: 19px; font-weight: 700; color: var(--se-indigo); letter-spacing: -.01em; }
.se-marque__texte small { font-size: 12px; font-weight: 500; color: var(--se-terre-fonce); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }

.se-nav__liste { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.se-nav__item { position: relative; display: flex; align-items: center; }
.se-nav__lien {
    display: block; padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--se-texte) !important;
    border-radius: 10px; position: relative;
}
.se-nav__lien::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--se-or); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.se-nav__item:hover > .se-nav__lien, .se-nav__lien:focus-visible { color: var(--se-indigo) !important; }
.se-nav__item:hover > .se-nav__lien::after, .se-nav__item.se-actif > .se-nav__lien::after { transform: scaleX(1); }
.se-nav__item.se-actif > .se-nav__lien { color: var(--se-indigo) !important; font-weight: 600; }
.se-nav__deplier {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: -8px;
    border: 0; background: transparent; color: var(--se-doux); cursor: pointer; border-radius: 6px; padding: 0;
}
.se-nav__deplier .se-ic { width: 16px; height: 16px; transition: transform .2s; }
.se-nav__deplier[aria-expanded="true"] .se-ic { transform: rotate(180deg); }
.se-sous-menu {
    list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
    background: #fff; border-radius: 14px; box-shadow: var(--se-ombre-forte); border: 1px solid var(--se-bord);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 70;
}
.se-sous-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.se-nav__item:hover > .se-sous-menu, .se-nav__item:focus-within > .se-sous-menu, .se-nav__item.se-ouvert > .se-sous-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.se-sous-menu li { position: relative; }
.se-sous-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--se-texte) !important; }
.se-sous-menu a:hover, .se-sous-menu a:focus-visible { background: var(--se-creme); color: var(--se-indigo) !important; }
.se-sous-menu .se-sous-menu { top: -10px; left: calc(100% + 8px); }
.se-sous-menu li:hover > .se-sous-menu, .se-sous-menu li:focus-within > .se-sous-menu { opacity: 1; visibility: visible; transform: none; }
.se-nav__actions-mobile { display: none; }
.se-burger {
    display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--se-bord); background: #fff; color: var(--se-indigo); cursor: pointer; order: 3;
}
.se-burger .se-ic { width: 24px; height: 24px; }
.se-voile { position: fixed; inset: 0; background: rgba(27, 17, 71, .45); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.se-voile.se-visible { opacity: 1; visibility: visible; }
.se-nav__entete-mobile { display: none; }

/* ------------------------------------------------------------------ bandeau d'annonce */
.se-annonce { background: var(--se-or); color: var(--se-indigo); font-size: 14.5px; }
.se-annonce__in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 24px; text-align: center; flex-wrap: wrap; }
.se-annonce .se-ic { width: 20px; height: 20px; }
.se-annonce p { margin: 0; font-weight: 500; }
.se-annonce a { color: var(--se-indigo) !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }

/* ------------------------------------------------------------------ sections */
.se-section { padding: 96px 0; position: relative; }
.se-section--serre { padding: 64px 0; }
.se-section--creme { background-color: var(--se-creme); }
.se-section--indigo { background-color: var(--se-indigo); color: rgba(255, 255, 255, .88); }
.se-section--indigo h2, .se-section--indigo h3, .se-section--indigo h4 { color: #fff; }
.se-tete { max-width: 760px; margin: 0 0 48px; }
.se-tete--centre { margin-left: auto; margin-right: auto; text-align: center; }
.se-tete--ligne { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.se-tete--ligne > div { max-width: 720px; }
.se-surtitre {
    display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--se-terre-fonce); margin-bottom: 14px;
}
.se-surtitre::before { content: ''; width: 28px; height: 10px; background: var(--se-frise) repeat-x left center / 20px 10px; }
.se-section--indigo .se-surtitre, .se-heros .se-surtitre, .se-page-titre .se-surtitre { color: var(--se-or); }
.se-tete h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; margin-bottom: 14px; }
.se-tete p { font-size: 17px; color: var(--se-doux); margin: 0; }
.se-section--indigo .se-tete p { color: rgba(255, 255, 255, .78); }
.se-grille { display: grid; gap: 28px; }
.se-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.se-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.se-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.se-vide { padding: 40px; text-align: center; color: var(--se-doux); background: var(--se-creme); border-radius: var(--se-rayon); }

/* ------------------------------------------------------------------ héros (accueil) */
.se-heros {
    position: relative; overflow: hidden; color: #fff; background-color: var(--se-indigo);
    background-size: cover; background-position: center; min-height: 620px; display: flex; align-items: center;
}
.se-heros::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(95deg, rgba(27, 17, 71, .96) 0%, rgba(27, 17, 71, .86) 42%, rgba(46, 34, 112, .45) 72%, rgba(46, 34, 112, .15) 100%);
}
.se-heros::after { content: ''; position: absolute; inset: 0; background-image: var(--se-losanges-clairs); background-size: 56px 56px; opacity: .8; pointer-events: none; }
.se-heros__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 150px; }
.se-heros h1 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; line-height: 1.1; margin-bottom: 22px; letter-spacing: -.02em; }
.se-heros h1 em { font-style: normal; color: var(--se-or); }
.se-heros__texte p { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 620px; margin-bottom: 32px; }
.se-heros__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.se-heros .se-heros__devise { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 34px 0 0; font-size: 14px; color: rgba(255, 255, 255, .7); letter-spacing: .08em; text-transform: uppercase; }
.se-heros__devise strong { color: var(--se-or-clair); font-weight: 600; letter-spacing: .12em; }
.se-heros__carte {
    background: rgba(255, 255, 255, .97); color: var(--se-texte); border-radius: 22px; padding: 30px; box-shadow: var(--se-ombre-forte);
    position: relative; overflow: hidden;
}
.se-heros__carte::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--se-frise) repeat-x left center / 20px 10px; }
.se-heros__carte .se-pastille { display: inline-block; background: var(--se-creme); color: var(--se-terre-fonce); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.se-heros__carte h2 { font-size: 23px; margin-bottom: 8px; }
.se-heros__carte p { font-size: 14.5px; color: var(--se-doux); margin-bottom: 16px; }
.se-liste-coches { list-style: none; margin: 0 0 22px; padding: 0; }
.se-liste-coches li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; padding: 6px 0; }
.se-liste-coches .se-ic { color: #fff; background: var(--se-terre); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; }
.se-heros__carte .se-btn { width: 100%; }
.se-heros__carte .se-lien-suivi { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 500; }

/* ------------------------------------------------------------------ chiffres clés */
.se-chiffres { position: relative; z-index: 3; margin-top: -86px; }
.se-chiffres__carte {
    background: #fff; border-radius: 22px; box-shadow: var(--se-ombre-forte); display: grid; grid-template-columns: repeat(4, 1fr);
    overflow: hidden; border: 1px solid var(--se-bord);
}
.se-chiffres__carte { margin: 0; }
.se-chiffre { padding: 30px 26px; text-align: center; position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.se-chiffre dd { margin: 0; }
.se-chiffre__valeur b { font-weight: inherit; }
.se-chiffre + .se-chiffre::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--se-bord); }
.se-chiffre__valeur { display: block; font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; color: var(--se-indigo); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.se-chiffre__valeur span { color: var(--se-terre); }
.se-chiffre__libelle { display: block; margin-top: 8px; font-size: 14.5px; color: var(--se-doux); }
.se-chiffres--simple { margin-top: 0; }

/* ------------------------------------------------------------------ cartes (cycles, formations) */
.se-cycles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.se-carte {
    background: #fff; border-radius: var(--se-rayon); border: 1px solid var(--se-bord); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; position: relative;
}
.se-carte:hover { transform: translateY(-6px); box-shadow: var(--se-ombre-forte); }
.se-carte__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--se-indigo-2); }
.se-carte__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.se-carte:hover .se-carte__media img { transform: scale(1.05); }
.se-carte__corps { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.se-carte__corps h3 { font-size: 19px; margin-bottom: 8px; }
.se-carte__corps h3 a { color: var(--se-indigo) !important; }
.se-carte__corps h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.se-carte__corps p { font-size: 14.5px; color: var(--se-doux); margin-bottom: 14px; }
.se-carte__pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.se-carte__pied .se-lien-fleche { position: relative; z-index: 2; }
.se-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.se-etiquettes li, .se-etiquette {
    display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px;
    background: var(--se-creme); color: var(--se-indigo-2); line-height: 1.5;
}
.se-etiquette--or { background: var(--se-or); color: var(--se-indigo); font-weight: 600; }
.se-etiquette--terre { background: #FBE6DE; color: var(--se-terre-fonce); font-weight: 600; }
.se-cycle-num { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--se-or); color: var(--se-indigo); font-weight: 700; font-size: 13px; padding: 4px 11px; border-radius: 999px; }

/* ------------------------------------------------------------------ pourquoi nous */
.se-atouts-bloc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.se-atouts-bloc .se-tete { margin-bottom: 26px; position: sticky; top: 120px; }
.se-atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.se-atout { background: #fff; border-radius: var(--se-rayon); padding: 26px; border: 1px solid var(--se-bord); transition: box-shadow .25s, transform .25s; }
.se-atout:hover { box-shadow: var(--se-ombre); transform: translateY(-3px); }
.se-atout h3 { font-size: 17.5px; margin: 16px 0 8px; }
.se-atout p { font-size: 14.5px; color: var(--se-doux); margin: 0; }
.se-pictogramme {
    display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px;
    background: var(--se-indigo); color: var(--se-or); position: relative; isolation: isolate;
}
.se-pictogramme::after { content: ''; position: absolute; right: -5px; bottom: -5px; width: 16px; height: 16px; background: var(--se-terre); transform: rotate(45deg); border-radius: 3px; z-index: -1; }
.se-pictogramme .se-ic { width: 26px; height: 26px; }
.se-pictogramme--or { background: var(--se-or); color: var(--se-indigo); }
.se-pictogramme--creme { background: var(--se-creme); color: var(--se-terre-fonce); }

/* ------------------------------------------------------------------ admissions */
.se-admissions { overflow: hidden; }
.se-admissions .se-conteneur { position: relative; z-index: 1; }
.se-etapes { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: se-etape; }
.se-etape { position: relative; padding: 28px 24px 26px; border-radius: var(--se-rayon); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); counter-increment: se-etape; }
.se-etape::before {
    content: counter(se-etape); display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%;
    background: var(--se-or); color: var(--se-indigo); font-weight: 700; font-size: 21px; margin-bottom: 18px; box-shadow: 0 0 0 7px rgba(228, 173, 63, .18);
}
.se-etape:not(:last-child)::after {
    content: ''; position: absolute; top: 52px; left: calc(24px + 50px + 14px); right: -18px; border-top: 2px dashed rgba(228, 173, 63, .45);
}
.se-etape h3 { font-size: 17.5px; color: #fff; margin-bottom: 8px; }
.se-etape p { font-size: 14.5px; color: rgba(255, 255, 255, .76); margin: 0; }
.se-admissions__bas { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.se-panneau { background: #fff; color: var(--se-texte); border-radius: 20px; padding: 32px; }
.se-panneau h3 { font-size: 20px; color: var(--se-indigo); display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.se-panneau h3 .se-pictogramme { width: 42px; height: 42px; border-radius: 12px; }
.se-panneau h3 .se-pictogramme .se-ic { width: 21px; height: 21px; }
.se-panneau h3 .se-pictogramme::after { display: none; }
.se-calendrier { list-style: none; margin: 0; padding: 0; }
.se-calendrier li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--se-bord); font-size: 14.5px; }
.se-calendrier li:last-child { border-bottom: 0; }
.se-calendrier b { color: var(--se-terre-fonce); font-weight: 600; }
.se-pieces { list-style: none; margin: 0 0 22px; padding: 0; }
.se-pieces li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; padding: 7px 0; }
.se-pieces .se-ic { color: var(--se-terre); margin-top: 3px; width: 18px; height: 18px; }
.se-panneau__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.se-note { font-size: 13px; color: var(--se-doux); margin: 12px 0 0; }

/* ------------------------------------------------------------------ vie du campus */
.se-campus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.se-campus__bloc {
    border-radius: var(--se-rayon); padding: 100px 26px 30px; min-height: 250px; position: relative; overflow: hidden; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-start;
}
.se-campus__bloc::before { content: ''; position: absolute; inset: 0; background-image: var(--se-losanges-clairs); background-size: 56px 56px; }
.se-campus__bloc > * { position: relative; }
.se-campus__bloc:nth-child(4n+1) { background: var(--se-indigo); }
.se-campus__bloc:nth-child(4n+2) { background: var(--se-terre); }
.se-campus__bloc:nth-child(4n+3) { background: var(--se-indigo-2); }
.se-campus__bloc:nth-child(4n+4) { background: var(--se-ocre); color: var(--se-indigo); }
.se-campus__bloc:nth-child(4n+4) h3 { color: var(--se-indigo); }
.se-campus__bloc:nth-child(4n+4) p { color: rgba(27, 17, 71, .85); }
.se-campus__bloc .se-ic { width: 46px; height: 46px; margin-bottom: auto; color: var(--se-or); position: absolute; top: 26px; left: 26px; }
.se-campus__bloc:nth-child(4n+4) .se-ic { color: var(--se-indigo); }
.se-campus__bloc h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.se-campus__bloc p { font-size: 14.5px; color: rgba(255, 255, 255, .85); margin: 0; }
.se-centre { text-align: center; margin-top: 40px; }

/* ------------------------------------------------------------------ vidéo */
.se-video { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 48px; align-items: center; }
.se-video__cadre {
    position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--se-indigo);
    background-image: var(--se-losanges-clairs); box-shadow: var(--se-ombre-forte);
}
.se-video__cadre img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; }
.se-video__cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.se-video__lecture {
    position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--se-or); color: var(--se-indigo); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 14px rgba(228, 173, 63, .25); transition: transform .2s;
}
.se-video__lecture:hover { transform: scale(1.06); }
.se-video__lecture .se-ic { width: 34px; height: 34px; margin-left: 5px; }

/* ------------------------------------------------------------------ actualités */
.se-actus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.se-actu { background: #fff; border-radius: var(--se-rayon); overflow: hidden; border: 1px solid var(--se-bord); display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; }
.se-actu:hover { transform: translateY(-5px); box-shadow: var(--se-ombre-forte); }
.se-actu__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--se-indigo-2); display: block; }
.se-actu__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.se-actu:hover .se-actu__media img { transform: scale(1.05); }
.se-actu__corps { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.se-actu__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--se-doux); margin-bottom: 10px; }
.se-actu__meta time { display: inline-flex; align-items: center; gap: 6px; }
.se-actu h3 { font-size: 18.5px; line-height: 1.35; margin-bottom: 10px; }
.se-actu h3 a { color: var(--se-indigo) !important; }
.se-actu h3 a::after { content: ''; position: absolute; inset: 0; }
.se-actu p { font-size: 14.5px; color: var(--se-doux); margin: 0 0 16px; }
.se-actu .se-lien-fleche { margin-top: auto; font-size: 14px; }
.se-actu--une { grid-column: span 2; flex-direction: row; }
.se-actu--une .se-actu__media { aspect-ratio: auto; flex: 0 0 55%; }
.se-actu--une h3 { font-size: 23px; }

/* ------------------------------------------------------------------ agenda */
.se-agenda { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.se-evts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.se-evt { display: grid; grid-template-columns: 84px 1fr; gap: 20px; background: #fff; border-radius: var(--se-rayon); padding: 18px; border: 1px solid var(--se-bord); align-items: center; }
.se-evt__date { background: var(--se-indigo); color: #fff; border-radius: 14px; text-align: center; padding: 12px 6px; line-height: 1.1; }
.se-evt__date b { display: block; font-size: 30px; font-weight: 700; color: var(--se-or); }
.se-evt__date span { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.se-evt h3 { font-size: 17px; margin-bottom: 4px; }
.se-evt p { margin: 0; font-size: 14px; color: var(--se-doux); }
.se-evt__infos { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--se-doux); margin-bottom: 6px; }
.se-evt__infos span { display: inline-flex; align-items: center; gap: 5px; }
.se-evt__infos .se-ic { color: var(--se-terre); width: 16px; height: 16px; }
.se-avis { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--se-bord); }
.se-avis h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.se-avis h3 .se-ic { color: var(--se-terre); }
.se-avis ul { list-style: none; margin: 0; padding: 0; }
.se-avis li { padding: 14px 0; border-bottom: 1px dashed var(--se-bord); }
.se-avis li:last-child { border-bottom: 0; padding-bottom: 0; }
.se-avis time { font-size: 12.5px; font-weight: 600; color: var(--se-terre-fonce); text-transform: uppercase; letter-spacing: .06em; }
.se-avis details summary { cursor: pointer; font-weight: 600; color: var(--se-indigo); list-style: none; margin-top: 2px; }
.se-avis details summary::-webkit-details-marker { display: none; }
.se-avis details summary::after { content: ' +'; color: var(--se-terre); }
.se-avis details[open] summary::after { content: ' –'; }
.se-avis details div { font-size: 14px; color: var(--se-doux); margin-top: 8px; }

/* ------------------------------------------------------------------ témoignages */
.se-temoignages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.se-temoignage {
    margin: 0; background: #fff; border-radius: 22px; padding: 36px; position: relative; border: 1px solid var(--se-bord);
    display: flex; flex-direction: column; gap: 22px;
}
.se-temoignage > .se-ic { position: absolute; top: 28px; right: 30px; width: 54px; height: 54px; color: var(--se-creme-2); }
.se-temoignage blockquote { margin: 0; font-size: 17px; line-height: 1.7; color: var(--se-texte); position: relative; }
.se-temoignage figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.se-temoignage figcaption img, .se-avatar {
    width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 58px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--se-or);
}
.se-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--se-indigo); color: var(--se-or); font-weight: 700; font-size: 19px; }
.se-temoignage cite { font-style: normal; display: block; font-weight: 600; color: var(--se-indigo); }
.se-temoignage figcaption span { font-size: 13.5px; color: var(--se-doux); display: block; }
/* Carrousel (activé par JavaScript ; sans JS les témoignages s'affichent en grille) */
.se-js .se-carrousel .se-temoignages { display: block; }
.se-js .se-carrousel .se-temoignage[hidden] { display: none; }
.se-js .se-carrousel .se-temoignage { max-width: 880px; margin: 0 auto; padding: 48px 56px; text-align: left; animation: se-apparition .45s ease; }
.se-js .se-carrousel .se-temoignage blockquote { font-size: 20px; }
.se-carrousel__controles { display: none; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.se-js .se-carrousel__controles { display: flex; }
.se-carrousel__bouton {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--se-bord); background: #fff; color: var(--se-indigo);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s;
}
.se-carrousel__bouton:hover { background: var(--se-indigo); color: #fff; }
.se-carrousel__points { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.se-carrousel__points button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: #D8CFBE; cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.se-carrousel__points button[aria-current="true"] { width: 32px; background: var(--se-terre); }
@keyframes se-apparition { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ partenaires */
.se-partenaires { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.se-partenaire {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; min-height: 128px;
    background: #fff; border: 1px solid var(--se-bord); border-radius: 16px; padding: 18px; text-align: center;
    color: var(--se-doux) !important; font-size: 13px; font-weight: 500;
}
.se-partenaire img { max-height: 58px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
a.se-partenaire:hover { border-color: var(--se-or); box-shadow: var(--se-ombre); }
a.se-partenaire:hover img, a.se-partenaire:focus-visible img { filter: none; opacity: 1; }

/* ------------------------------------------------------------------ appel final */
.se-appel { background: var(--se-terre); color: #fff; position: relative; overflow: hidden; }
.se-appel::before { content: ''; position: absolute; inset: 0; background-image: var(--se-losanges-clairs); background-size: 56px 56px; }
.se-appel__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 64px 24px; flex-wrap: wrap; }
.se-appel h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.se-appel p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 640px; font-size: 17px; }
.se-appel__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ bannière des pages intérieures */
.se-page-titre {
    position: relative; background-color: var(--se-indigo); background-size: cover; background-position: center;
    color: #fff; overflow: hidden;
}
.se-page-titre::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27, 17, 71, .97) 0%, rgba(27, 17, 71, .88) 50%, rgba(46, 34, 112, .55) 100%); }
.se-page-titre::after { content: ''; position: absolute; inset: 0; background-image: var(--se-losanges-clairs); background-size: 56px 56px; pointer-events: none; }
.se-page-titre__in { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; max-width: var(--se-largeur); }
.se-page-titre h1 { color: #fff; font-size: clamp(30px, 4vw, 50px); font-weight: 700; margin-bottom: 14px; max-width: 900px; letter-spacing: -.02em; }
.se-page-titre p { font-size: 17.5px; color: rgba(255, 255, 255, .85); max-width: 760px; margin-bottom: 0; }
.se-page-titre .se-heros__actions { margin-top: 28px; }
.se-fil { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.se-fil li + li::before { content: '/'; margin-right: 6px; color: var(--se-or); }
.se-fil a { color: rgba(255, 255, 255, .9) !important; }
.se-fil a:hover { color: var(--se-or) !important; }
.se-page-titre + .se-frise { margin-top: 0; }

/* ------------------------------------------------------------------ mise en page à deux colonnes */
.se-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.se-colonnes--large { grid-template-columns: minmax(0, 1fr) 380px; }
.se-lateral { display: grid; gap: 22px; position: sticky; top: 110px; }
.se-encart { background: var(--se-creme); border-radius: 20px; padding: 26px; }
.se-encart h2, .se-encart h3 { font-size: 18px; margin-bottom: 14px; }
.se-encart--indigo { background: var(--se-indigo); color: rgba(255, 255, 255, .85); background-image: var(--se-losanges-clairs); }
.se-encart--indigo h2, .se-encart--indigo h3 { color: #fff; }
.se-encart ul { list-style: none; margin: 0; padding: 0; }
.se-encart li { padding: 8px 0; border-bottom: 1px dashed var(--se-bord); font-size: 14.5px; }
.se-encart--indigo li { border-color: rgba(255, 255, 255, .15); }
.se-encart li:last-child { border-bottom: 0; }
.se-encart .se-btn { width: 100%; margin-top: 8px; }
.se-encart dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 14.5px; }
.se-encart dt { color: var(--se-doux); font-weight: 400; }
.se-encart dd { margin: 0; font-weight: 600; color: var(--se-indigo); text-align: right; }

/* ------------------------------------------------------------------ contenu rédigé (pages, actualités, formations) */
.se-prose { font-size: 16.5px; line-height: 1.8; color: var(--se-texte); }
.se-prose > *:first-child { margin-top: 0; }
.se-prose h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.se-prose h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.se-prose h4 { font-size: 18px; margin: 1.2em 0 .4em; }
.se-prose p { margin: 0 0 1.1em; }
.se-prose ul, .se-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.se-prose li { margin-bottom: .4em; }
.se-prose ul li::marker { color: var(--se-terre); }
.se-prose a { color: var(--se-terre-fonce); text-decoration: underline; text-underline-offset: 3px; }
.se-prose img { border-radius: 14px; margin: 1em 0; }
.se-prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--se-or); background: var(--se-creme); border-radius: 0 14px 14px 0; font-style: italic; }
.se-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.se-prose th, .se-prose td { border: 1px solid var(--se-bord); padding: 10px 12px; text-align: left; }
.se-prose th { background: var(--se-creme); color: var(--se-indigo); }
.se-article__media { border-radius: 22px; overflow: hidden; margin-bottom: 32px; aspect-ratio: 16 / 8; background: var(--se-indigo); }
.se-article__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-meta-article { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; color: rgba(255, 255, 255, .85); margin-top: 6px; }
.se-meta-article span { display: inline-flex; align-items: center; gap: 7px; }
.se-meta-article .se-ic { color: var(--se-or); }

/* ------------------------------------------------------------------ navigation par cycle (formations, actualités) */
.se-pastilles { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 40px; padding: 0; }
.se-pastilles a {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
    background: #fff; border: 1px solid var(--se-bord); color: var(--se-indigo) !important;
}
.se-pastilles a:hover { border-color: var(--se-indigo); }
.se-pastilles a[aria-current="page"], .se-pastilles a.se-actif { background: var(--se-indigo); border-color: var(--se-indigo); color: #fff !important; }
.se-pastilles a span { font-size: 12px; background: var(--se-creme); color: var(--se-terre-fonce); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.se-pastilles a.se-actif span, .se-pastilles a[aria-current="page"] span { background: var(--se-or); color: var(--se-indigo); }
.se-navigation-collante { position: sticky; top: 85px; z-index: 20; background: rgba(247, 241, 230, .97); border-bottom: 1px solid var(--se-bord); }
.se-navigation-collante .se-pastilles { margin: 0; padding: 14px 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.se-navigation-collante .se-pastilles a { white-space: nowrap; }
.se-bloc-cycle { scroll-margin-top: 170px; padding: 72px 0; border-bottom: 1px solid var(--se-bord); }
.se-bloc-cycle:last-child { border-bottom: 0; }
.se-bloc-cycle__tete { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 26px; align-items: center; margin-bottom: 30px; }
.se-bloc-cycle__visuel { border-radius: 50%; overflow: hidden; aspect-ratio: 1; background: var(--se-indigo-2); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--se-or); }
.se-bloc-cycle__visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-bloc-cycle__tete h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 6px; }
.se-bloc-cycle__tete p { margin: 0; color: var(--se-doux); }
.se-formations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.se-formation .se-carte__media { aspect-ratio: 16 / 10; }
.se-fiches { display: grid; gap: 22px; }
.se-fiche {
    display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); background: #fff; border: 1px solid var(--se-bord);
    border-radius: 22px; overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.se-fiche:hover { box-shadow: var(--se-ombre-forte); transform: translateY(-3px); }
.se-fiche__media { display: block; background: var(--se-indigo-2); min-height: 240px; }
.se-fiche__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-fiche__corps { padding: 28px 32px; display: flex; flex-direction: column; }
.se-fiche__corps h3 { font-size: 22px; margin-bottom: 10px; }
.se-fiche__corps h3 a { color: var(--se-indigo) !important; }
.se-fiche__corps > p { font-size: 15px; color: var(--se-doux); margin-bottom: 14px; }
.se-fiche__corps .se-fiche__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--se-terre-fonce); margin-bottom: 8px; }
.se-fiche__corps .se-etiquettes li { white-space: normal; }
.se-fiche__admission { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--se-texte); background: var(--se-creme); border-radius: 12px; padding: 10px 14px; margin: 4px 0 16px; }
.se-fiche__admission .se-ic { color: var(--se-terre); margin-top: 2px; }
.se-frais { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; color: var(--se-doux); }
.se-frais b { color: var(--se-indigo); font-size: 15px; }

/* ------------------------------------------------------------------ onglets (fiche formation) */
.se-onglets__liste { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--se-bord); margin: 0 0 30px; padding: 0; list-style: none; }
.se-onglets__liste button {
    border: 0; background: transparent; padding: 12px 18px; font-size: 15px; font-weight: 500; color: var(--se-doux); cursor: pointer;
    border-radius: 10px 10px 0 0; position: relative; margin-bottom: -2px; border-bottom: 3px solid transparent;
}
.se-onglets__liste button:hover { color: var(--se-indigo); }
.se-onglets__liste button[aria-selected="true"] { color: var(--se-indigo); font-weight: 600; border-bottom-color: var(--se-terre); background: var(--se-creme); }
.se-onglets__panneau h2.se-titre-panneau { font-size: 22px; }
.se-js .se-onglets__panneau .se-titre-panneau { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.se-onglets__panneau + .se-onglets__panneau { margin-top: 36px; }
.se-js .se-onglets__panneau + .se-onglets__panneau { margin-top: 0; }
.se-sans-js-seulement { display: block; }
.se-js .se-sans-js-seulement { display: none; }

/* ------------------------------------------------------------------ équipe, valeurs, histoire */
.se-equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.se-membre { text-align: center; background: #fff; border-radius: 20px; padding: 30px 20px; border: 1px solid var(--se-bord); }
.se-membre img, .se-membre .se-avatar { width: 112px; height: 112px; flex-basis: 112px; font-size: 32px; margin: 0 auto 16px; }
.se-membre h3 { font-size: 17px; margin-bottom: 4px; }
.se-membre p { margin: 0; font-size: 14px; color: var(--se-terre-fonce); font-weight: 500; }
.se-valeurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 22px; overflow: hidden; }
.se-valeur { padding: 34px 28px; color: #fff; position: relative; }
.se-valeur:nth-child(4n+1) { background: var(--se-indigo); }
.se-valeur:nth-child(4n+2) { background: var(--se-indigo-2); }
.se-valeur:nth-child(4n+3) { background: var(--se-terre); }
.se-valeur:nth-child(4n+4) { background: var(--se-ocre); color: var(--se-indigo); }
.se-valeur b { display: block; font-size: 44px; line-height: 1; font-weight: 700; color: rgba(255, 255, 255, .18); margin-bottom: 18px; }
.se-valeur:nth-child(4n+4) b { color: rgba(27, 17, 71, .2); }
.se-valeur h3 { color: inherit; font-size: 21px; margin-bottom: 8px; }
.se-valeur p { margin: 0; font-size: 14.5px; opacity: .9; }
.se-presentation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.se-presentation__visuel { position: relative; }
.se-presentation__visuel img { border-radius: 24px; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--se-ombre-forte); }
.se-presentation__visuel::before { content: ''; position: absolute; left: -22px; bottom: -22px; width: 58%; height: 58%; border-radius: 24px; background: var(--se-or); background-image: var(--se-losanges-sombres); z-index: -1; }
.se-texte-brut { white-space: pre-line; }
.se-frise-temps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ------------------------------------------------------------------ contact */
.se-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; position: relative; z-index: 2; }
.se-contact-carte { background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--se-ombre); border: 1px solid var(--se-bord); }
.se-contact-carte h2 { font-size: 16px; margin: 16px 0 6px; }
.se-contact-carte p { margin: 0; font-size: 14.5px; color: var(--se-doux); overflow-wrap: anywhere; }
.se-contact-carte a { font-weight: 600; }
.se-contact-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.se-carte-geo { border-radius: 22px; overflow: hidden; min-height: 460px; background: var(--se-creme); position: relative; border: 1px solid var(--se-bord); }
.se-carte-geo .map { width: 100%; height: 100%; min-height: 460px; }
.se-carte-geo__repli { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px; background-image: var(--se-losanges-sombres); }
.se-carte-geo__repli .se-pictogramme { width: 70px; height: 70px; border-radius: 50%; }
.se-carte-geo__repli .se-pictogramme::after { display: none; }
.se-formulaire { background: #fff; border-radius: 22px; padding: 36px; border: 1px solid var(--se-bord); box-shadow: var(--se-ombre); }
.se-formulaire h2 { font-size: 24px; }
.se-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.se-champ { display: flex; flex-direction: column; gap: 6px; }
.se-champ--large { grid-column: 1 / -1; }
.se-champ label { font-size: 14px; font-weight: 500; color: var(--se-indigo); margin: 0; }
.se-champ label em { color: var(--se-terre-fonce); font-style: normal; }
.se-champ input, .se-champ textarea, .se-champ select {
    width: 100%; border: 1.5px solid var(--se-bord); border-radius: 12px; padding: 12px 14px; font: 400 15px/1.5 var(--se-police);
    color: var(--se-texte); background: #fff; transition: border-color .2s, box-shadow .2s; height: auto;
}
.se-champ textarea { min-height: 140px; resize: vertical; overflow: auto; }
.se-champ input:focus, .se-champ textarea:focus { outline: 0; border-color: var(--se-indigo-2); box-shadow: 0 0 0 4px rgba(46, 34, 112, .12); }
.se-champ .se-erreur { color: var(--se-terre-fonce); font-size: 13px; min-height: 1em; }
.se-message { border-radius: 12px; padding: 12px 16px; font-size: 14.5px; margin: 16px 0 0; }
.se-message:empty { display: none; }
.se-message--ok { background: #E6F4EC; color: #1C5E3A; }
.se-message--erreur { background: #FBE6DE; color: #7C2A10; }

/* ------------------------------------------------------------------ pagination */
.se-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; margin: 48px 0 0; padding: 0; }
.se-pagination a, .se-pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px;
    border: 1px solid var(--se-bord); background: #fff; font-weight: 500; color: var(--se-indigo) !important;
}
.se-pagination a:hover { border-color: var(--se-indigo); }
.se-pagination [aria-current="page"] { background: var(--se-indigo); border-color: var(--se-indigo); color: #fff !important; }
.se-pagination .se-desactive { opacity: .45; }

/* ------------------------------------------------------------------ pied de page */
.se-pied { background: var(--se-indigo); color: rgba(255, 255, 255, .78); position: relative; font-size: 14.5px; }
.se-pied::before { content: ''; position: absolute; inset: 14px 0 0; background-image: var(--se-losanges-clairs); background-size: 56px 56px; opacity: .6; pointer-events: none; }
.se-pied__grille { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 44px; padding-top: 72px; padding-bottom: 56px; }
.se-pied h2 { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .04em; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.se-pied h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--se-or); }
.se-pied ul { list-style: none; margin: 0; padding: 0; }
.se-pied li { margin-bottom: 10px; }
.se-pied a { color: rgba(255, 255, 255, .82) !important; }
.se-pied a:hover { color: var(--se-or) !important; }
.se-pied__col a { display: inline-flex; align-items: center; gap: 6px; }
.se-pied__col a::before { content: ''; width: 6px; height: 6px; background: var(--se-or); transform: rotate(45deg); opacity: .7; flex: 0 0 6px; }
.se-pied__logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; color: #fff !important; }
.se-pied__logo img { height: 64px; width: auto; max-width: 200px; object-fit: contain; }
.se-pied__logo .se-pied__pastille { background: #fff; border-radius: 16px; padding: 8px; display: inline-flex; }
.se-pied__logo .se-pied__pastille img { height: 52px; }
.se-pied__logo strong { font-size: 18px; line-height: 1.2; display: block; }
.se-pied__logo small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--se-or); margin-top: 4px; font-weight: 500; }
.se-pied__nom { color: #fff; font-weight: 500; margin-bottom: 10px; }
.se-pied__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.se-pied__contacts .se-ic { color: var(--se-or); margin-top: 3px; width: 17px; height: 17px; }
.se-pied .se-reseaux { margin-top: 20px; gap: 8px; }
.se-pied .se-reseaux a { width: 38px; height: 38px; background: rgba(255, 255, 255, .08); }
.se-pied .se-reseaux .se-ic { width: 17px; height: 17px; }
.se-pied__cta { margin-top: 18px; }
.se-pied__bas { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .18); font-size: 13.5px; }
.se-pied__bas .se-conteneur { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.se-pied__bas p { margin: 0; }
.se-pied__bas ul { display: flex; flex-wrap: wrap; gap: 18px; }
.se-pied__bas li { margin: 0; }

/* ------------------------------------------------------------------ compatibilité : pages encore sur l'ancien gabarit (préinscription…) */
/* Variables des pages de préinscription (WP1) disponibles partout : leur bandeau est hors de .pi-page. */
.se-site {
    --pi-indigo: #1B1147; --pi-indigo-2: #2E2270; --pi-or: #E4AD3F; --pi-terre: #C0512F; --pi-creme: #F7F1E6;
    --pi-texte: #2b2640; --pi-doux: #6b6784; --pi-bord: #e7e1d4; --pi-ok: #2f8f5b;
}
.se-site .banner-area {
    margin-top: 0 !important; min-height: 0; border-radius: 0; padding: 70px 24px; text-align: center; position: relative; overflow: hidden;
    background: var(--se-indigo); background-image: var(--se-losanges-clairs);
}
.se-site .banner-area .banner-inner { display: block; width: 100%; }
.se-site .banner-area .banner-content { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.se-site .banner-area .banner-content h2 { font-size: clamp(30px, 4vw, 48px); max-width: none; color: #fff; font-weight: 700; text-transform: none; letter-spacing: -.02em; }
.se-site .banner-area .banner-content p { color: rgba(255, 255, 255, .86); }
.se-site section.container.box-1420 { max-width: none; padding: 0; }
.se-site .client-btn { color: var(--se-indigo); }

/* ------------------------------------------------------------------ animations d'apparition */
.se-js .se-revele { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.se-js .se-revele.se-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .se-site *, .se-site *::before, .se-site *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
    .se-js .se-revele { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1360px) {
    .se-barre-haut__infos .se-cache-md { display: none; }
}
@media (max-width: 1180px) {
    .se-cycles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .se-nav__lien { padding: 10px 9px; font-size: 14.5px; }
}
@media (max-width: 1100px) {
    .se-burger { display: inline-flex; }
    .se-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); background: #fff; z-index: 90; overflow-y: auto;
        transform: translateX(100%); transition: transform .3s ease, visibility .3s; visibility: hidden; padding: 0 22px 30px;
        box-shadow: -20px 0 50px rgba(27, 17, 71, .2);
    }
    .se-nav.se-ouvert { transform: none; visibility: visible; }
    .se-nav__entete-mobile { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid var(--se-bord); margin-bottom: 12px; }
    .se-nav__entete-mobile strong { color: var(--se-indigo); font-size: 16px; }
    .se-nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
    .se-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--se-bord); }
    .se-nav__lien { flex: 1; padding: 15px 4px; font-size: 16px; }
    .se-nav__lien::after { display: none; }
    .se-nav__deplier { width: 44px; height: 44px; margin: 0; }
    .se-sous-menu, .se-sous-menu .se-sous-menu {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 12px;
        background: var(--se-creme); width: 100%; min-width: 0; display: none; margin: 0 0 12px; padding: 6px;
    }
    .se-nav__item.se-ouvert > .se-sous-menu { display: block; }
    .se-nav__item:hover > .se-sous-menu, .se-nav__item:focus-within > .se-sous-menu { display: none; }
    .se-nav__item.se-ouvert:hover > .se-sous-menu, .se-nav__item.se-ouvert:focus-within > .se-sous-menu { display: block; }
    .se-sous-menu .se-sous-menu { display: block; padding-left: 14px; background: transparent; margin: 0; }
    .se-nav__actions-mobile { display: grid; gap: 10px; margin-top: 24px; }
    .se-nav__actions-mobile .se-btn { width: 100%; }
    .se-atouts-bloc { grid-template-columns: 1fr; gap: 20px; }
    .se-atouts-bloc .se-tete { position: static; }
    .se-heros__in { grid-template-columns: 1fr; gap: 36px; }
    .se-heros__carte { max-width: 520px; }
    .se-campus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .se-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .se-etape:not(:last-child)::after { display: none; }
    .se-pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .se-colonnes, .se-colonnes--large { grid-template-columns: 1fr; }
    .se-lateral { position: static; }
    .se-valeurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .se-section { padding: 72px 0; }
    .se-grille--3, .se-grille--4, .se-actus, .se-formations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .se-actu--une { grid-column: span 2; }
    .se-chiffres__carte { grid-template-columns: repeat(2, 1fr); }
    .se-chiffre:nth-child(3)::before { display: none; }
    .se-chiffre:nth-child(n+3) { border-top: 1px solid var(--se-bord); }
    .se-admissions__bas, .se-video, .se-agenda, .se-presentation, .se-contact-grille { grid-template-columns: 1fr; }
    .se-bloc-cycle__tete { grid-template-columns: 96px minmax(0, 1fr); }
    .se-bloc-cycle__tete > .se-btn { grid-column: 1 / -1; justify-self: start; }
    .se-temoignages { grid-template-columns: 1fr; }
    .se-frise-temps { grid-template-columns: 1fr; }
    .se-barre-haut__infos .se-cache-md { display: none; }
}
@media (max-width: 640px) {
    body.client.se-site { font-size: 15.5px; }
    .se-conteneur { padding: 0 16px; }
    .se-section { padding: 56px 0; }
    .se-tete { margin-bottom: 32px; }
    .se-barre-haut__in { min-height: 44px; }
    .se-barre-haut__infos li:not(:first-child), .se-barre-haut .se-reseaux { display: none; }
    .se-barre-haut__infos a span { display: none; }
    .se-barre-haut__infos .se-ic { width: 18px; height: 18px; }
    .se-barre-haut__actions { gap: 6px; }
    .se-barre-haut .se-btn--petit { padding: .45em .8em; font-size: 12px; }
    .se-entete__in { min-height: 70px; gap: 12px; }
    .se-marque img { height: 46px; }
    .se-marque__texte strong { font-size: 16px; }
    .se-marque__texte small { font-size: 10.5px; letter-spacing: .04em; }
    .se-heros { min-height: 0; }
    .se-heros__in { padding-top: 48px; padding-bottom: 120px; }
    .se-heros__texte p { font-size: 16px; }
    .se-heros__actions .se-btn { flex: 1 1 100%; }
    .se-heros__carte { padding: 24px 20px; }
    .se-chiffres { margin-top: -80px; }
    .se-chiffre { padding: 22px 12px; }
    .se-chiffre__libelle { font-size: 13px; }
    .se-cycles, .se-grille--2, .se-grille--3, .se-grille--4, .se-actus, .se-formations, .se-atouts, .se-campus, .se-etapes, .se-contacts, .se-valeurs { grid-template-columns: 1fr; }
    .se-actu--une { grid-column: auto; flex-direction: column; }
    .se-actu--une .se-actu__media { aspect-ratio: 16 / 10; }
    .se-cycles .se-carte { flex-direction: row; }
    .se-cycles .se-carte__media { flex: 0 0 38%; aspect-ratio: auto; }
    .se-cycles .se-carte__corps { padding: 16px; }
    .se-cycles .se-carte__corps p, .se-cycles .se-etiquettes { display: none; }
    .se-campus__bloc { min-height: 0; }
    .se-campus__bloc { padding-top: 90px; }
    .se-calendrier li { grid-template-columns: 1fr; gap: 2px; }
    .se-panneau { padding: 24px 20px; }
    .se-js .se-carrousel .se-temoignage { padding: 30px 22px; }
    .se-js .se-carrousel .se-temoignage blockquote { font-size: 16.5px; }
    .se-temoignage > .se-ic { width: 40px; height: 40px; top: 18px; right: 18px; }
    .se-appel__in { padding: 48px 16px; }
    .se-appel__actions .se-btn { flex: 1 1 100%; }
    .se-pied__grille { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; }
    .se-pied__bas .se-conteneur { flex-direction: column; }
    .se-page-titre__in { padding-top: 44px; padding-bottom: 52px; }
    .se-page-titre p { font-size: 16px; }
    .se-champs { grid-template-columns: 1fr; }
    .se-formulaire { padding: 24px 18px; }
    .se-bloc-cycle { padding: 52px 0; }
    .se-bloc-cycle__tete { grid-template-columns: 1fr; gap: 18px; }
    .se-bloc-cycle__visuel { max-width: 88px; }
    .se-fiche { grid-template-columns: 1fr; }
    .se-fiche__media { min-height: 0; aspect-ratio: 16 / 9; }
    .se-fiche__corps { padding: 22px 20px; }
    .se-evt { grid-template-columns: 68px 1fr; gap: 14px; padding: 14px; }
    .se-evt__date b { font-size: 24px; }
    .se-onglets__liste { flex-wrap: nowrap; overflow-x: auto; }
    .se-onglets__liste button { white-space: nowrap; padding: 10px 14px; }
    .se-article__media { aspect-ratio: 16 / 10; }
}
@media print {
    .se-barre-haut, .se-entete, .se-pied, .se-annonce, .se-appel, .se-navigation-collante { display: none !important; }
    .se-page-titre, .se-heros { background: #fff !important; color: #000 !important; }
}
