/* =====================================================================
   Pages éditoriales (présentation, pré-inscription, contact, stage de
   seconde, liens et outils). Toutes les classes sont préfixées « ed- ».
   Charte : indigo #1a5f96, bleu nuit #0e2a44, or #e9a23b, Open Sans.
   Les titres d'affichage utilisent « Playfair Display » s'il est installé
   (police non téléchargée ici : aucun appel à un serveur tiers), sinon une
   serif système élégante (Georgia).
   ===================================================================== */

.ed {
	--ed-indigo: #1a5f96;
	--ed-night: #0e2a44;
	--ed-gold: #e9a23b;
	--ed-ink: #0b2136;
	--ed-text: #3a4160;
	--ed-muted: #5a6282;
	--ed-bg: #f5f7fc;
	--ed-tint: #eef1fb;
	--ed-line: #e3e7f1;
	--ed-radius: 16px;
	--ed-radius-lg: 20px;
	--ed-shadow: 0 1px 2px rgba(14, 42, 68, .05), 0 8px 24px rgba(14, 42, 68, .07);
	--ed-shadow-hover: 0 2px 4px rgba(14, 42, 68, .06), 0 18px 40px rgba(14, 42, 68, .13);
	--ed-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--ed-sans: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--ed-text);
	font-family: var(--ed-sans);
	font-size: 16px;
	line-height: 1.7;
	overflow-wrap: break-word;
}
.ed *, .ed *::before, .ed *::after { box-sizing: border-box; }
.ed p { margin: 0 0 1em; font-size: inherit; line-height: inherit; }
.ed p:last-child { margin-bottom: 0; }
.ed img, #eb .ed img { display: block; max-width: 100%; height: auto; }
.ed a { color: var(--ed-indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ed a:hover { color: var(--ed-night); }
.ed strong { color: var(--ed-ink); font-weight: 700; }
.ed h1, .ed h2, .ed h3, .ed h4 { margin: 0; color: var(--ed-night); letter-spacing: -.01em; }

/* ---------- Mise en page ---------- */
.ed-wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 16px; }
.ed-section { padding-block: 64px; }
.ed-section--tight { padding-block: 40px; }
.ed-section--white { background: #fff; border-block: 1px solid var(--ed-line); }
.ed-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.ed-head--left { margin-inline: 0; text-align: left; }
.ed .ed-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
	color: var(--ed-indigo); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
}
.ed .ed-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--ed-gold); flex: 0 0 auto; }
.ed .ed-head:not(.ed-head--left) .ed-eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--ed-gold); flex: 0 0 auto; }
.ed .ed-title {
	font-family: var(--ed-serif); font-size: clamp(28px, 3.1vw, 40px); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; margin-bottom: 14px;
}
.ed .ed-title em { font-style: italic; color: var(--ed-indigo); }
.ed .ed-lead { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.7; color: var(--ed-muted); }
.ed .ed-h3 { font-size: 19px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.ed .ed-small { font-size: 14px; color: var(--ed-muted); }

.ed-grid { display: grid; gap: 22px; }
.ed-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ed-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.ed-split--rev > :first-child { order: 2; }

/* ---------- Boutons ---------- */
.ed-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ed-actions--center { justify-content: center; }
.ed .ed-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
	border: 1.5px solid var(--ed-indigo); border-radius: 12px; background: var(--ed-indigo); color: #fff;
	font-family: var(--ed-sans); font-size: 15px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none;
	box-shadow: 0 6px 18px rgba(26, 95, 150, .25); transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.ed .ed-btn:hover, .ed .ed-btn:focus-visible { background: var(--ed-night); border-color: var(--ed-night); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14, 42, 68, .28); }
.ed .ed-btn--gold { background: var(--ed-gold); border-color: var(--ed-gold); color: var(--ed-night); box-shadow: 0 6px 18px rgba(226, 168, 30, .3); }
.ed .ed-btn--gold:hover, .ed .ed-btn--gold:focus-visible { background: #ffd56f; border-color: #ffd56f; color: var(--ed-night); box-shadow: 0 10px 24px rgba(226, 168, 30, .38); }
.ed .ed-btn--ghost { background: transparent; color: var(--ed-indigo); box-shadow: none; }
.ed .ed-btn--ghost:hover, .ed .ed-btn--ghost:focus-visible { background: var(--ed-indigo); border-color: var(--ed-indigo); color: #fff; }
.ed .ed-btn--light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff; box-shadow: none; }
.ed .ed-btn--light:hover, .ed .ed-btn--light:focus-visible { background: #fff; border-color: #fff; color: var(--ed-night); }
.ed .ed-btn--sm { min-height: 42px; padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.ed .ed-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ed .ed-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ed-indigo); text-decoration: none; }
.ed .ed-link svg { width: 16px; height: 16px; transition: transform .18s; }
.ed .ed-link:hover { color: var(--ed-night); }
.ed .ed-link:hover svg { transform: translateX(3px); }

/* ---------- Icônes (SVG en ligne : le style du tracé est défini ici) ---------- */
.ed svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ed-ico {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 52px; height: 52px;
	border-radius: 14px; background: var(--ed-tint); color: var(--ed-indigo);
}
.ed-ico svg { width: 26px; height: 26px; }
.ed-ico--gold { background: #fff4d6; color: #8a6200; }
.ed-ico--night { background: var(--ed-night); color: var(--ed-gold); }
.ed-ico--sm { width: 40px; height: 40px; border-radius: 11px; }
.ed-ico--sm svg { width: 20px; height: 20px; }

/* ---------- Héros ---------- */
.ed-hero {
	position: relative; padding-block: 64px 96px; overflow: hidden;
	background: radial-gradient(1200px 420px at 85% -10%, rgba(26, 95, 150, .10), transparent 60%), linear-gradient(180deg, #fff 0%, var(--ed-bg) 100%);
}
.ed-hero .ed-split { gap: 64px; }
.ed .ed-hero__title { font-family: var(--ed-serif); font-size: clamp(32px, 3.9vw, 50px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; }
.ed .ed-hero__title em { font-style: italic; color: var(--ed-indigo); }
.ed-hero__media { position: relative; }
.ed-hero__media::before {
	content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 26px; background: linear-gradient(135deg, var(--ed-gold), #ffe3a1); z-index: 0;
}
.ed-hero__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(14, 42, 68, .22); }
.ed .ed-hero__badge {
	position: absolute; z-index: 2; left: -18px; bottom: 26px; display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 14px 18px;
	border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(14, 42, 68, .18); color: var(--ed-ink); font-size: 14px; font-weight: 700; line-height: 1.35;
}
.ed-hero__badge small { display: block; font-weight: 600; color: var(--ed-muted); font-size: 12.5px; }
.ed-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ed-tags li {
	display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 13px; border: 1px solid var(--ed-line); border-radius: 999px;
	background: #fff; color: var(--ed-ink); font-size: 13.5px; font-weight: 600; line-height: 1.3;
}
.ed-tags li svg { width: 16px; height: 16px; color: var(--ed-indigo); }

/* ---------- Chiffres clés ---------- */
.ed-stats-wrap { position: relative; z-index: 2; margin-top: -48px; }
.ed-stats {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
	border-radius: var(--ed-radius-lg); background: var(--ed-night); color: #fff; box-shadow: 0 20px 50px rgba(14, 42, 68, .25); overflow: hidden;
}
.ed-stats li { margin: 0; padding: 28px 22px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.ed-stats li:first-child { border-left: 0; }
.ed-stats b { display: block; font-family: var(--ed-serif); font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; line-height: 1.1; color: var(--ed-gold); }
.ed-stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.ed .ed-source { margin: 12px 0 0; font-size: 12.5px; color: var(--ed-muted); text-align: center; }

/* ---------- Cartes ---------- */
.ed-card {
	position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; padding: 26px; border: 1px solid var(--ed-line);
	border-radius: var(--ed-radius); background: #fff; box-shadow: var(--ed-shadow); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.ed-card--hover:hover { transform: translateY(-3px); box-shadow: var(--ed-shadow-hover); border-color: #d3d9ee; }
.ed-card .ed-ico { margin-bottom: 16px; }
.ed-card .ed-lines .ed-ico, .ed-card .ed-tool__top .ed-ico { margin-bottom: 0; }
.ed .ed-card p { font-size: 15px; color: var(--ed-muted); line-height: 1.65; }
.ed-card__foot { margin-top: auto; padding-top: 18px; }
.ed-card--accent { border-top: 4px solid var(--ed-gold); }
.ed-card--row { flex-direction: row; gap: 16px; align-items: flex-start; }
.ed-card--row .ed-ico { margin-bottom: 0; }

/* Liste à puces cochées */
.ed-check { margin: 0; padding: 0; list-style: none; }
.ed-check li { position: relative; margin: 0 0 12px; padding-left: 34px; line-height: 1.6; }
.ed-check li:last-child { margin-bottom: 0; }
.ed-check li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--ed-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f51b5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Spécialités */
.ed-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.ed-chips li {
	display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--ed-line); border-radius: 14px; background: #fff;
	color: var(--ed-ink); font-size: 14.5px; font-weight: 700; line-height: 1.3; box-shadow: 0 2px 8px rgba(14, 42, 68, .04);
}
.ed-chips small { display: block; font-size: 12px; font-weight: 600; color: var(--ed-muted); }

/* ---------- Médias ---------- */
.ed-figure { margin: 0; }
.ed-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ed-radius-lg); box-shadow: 0 18px 44px rgba(14, 42, 68, .16); }
.ed-figure--wide img { aspect-ratio: 16 / 9; }
.ed-figure figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ed-muted); text-align: center; }
.ed-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--ed-radius-lg); overflow: hidden; background: var(--ed-night); box-shadow: 0 24px 60px rgba(14, 42, 68, .22); }
.ed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ed-video--frame { max-width: 960px; margin-inline: auto; border: 6px solid #fff; }

/* Mosaïque de photos */
.ed-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.ed-mosaic figure { position: relative; margin: 0; border-radius: var(--ed-radius); overflow: hidden; background: var(--ed-tint); box-shadow: var(--ed-shadow); }
.ed-mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
.ed-mosaic img, #eb .ed-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ed-mosaic a:hover img { transform: scale(1.04); }
.ed-mosaic figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35;
	background: linear-gradient(180deg, transparent, rgba(12, 18, 48, .85));
}
.ed .ed-mosaic a { display: block; height: 100%; color: #fff; text-decoration: none; }

/* ---------- Citation / engagement ---------- */
.ed-quote {
	position: relative; max-width: 900px; margin: 0 auto; padding: 48px 48px 40px; border-radius: var(--ed-radius-lg); background: #fff;
	border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); text-align: center;
}
.ed-quote::before {
	content: "\201C"; position: absolute; top: -32px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%;
	background: var(--ed-gold); color: var(--ed-night); font-family: var(--ed-serif); font-size: 58px; line-height: 88px; text-align: center;
}
.ed .ed-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--ed-serif); font-size: clamp(20px, 2.1vw, 26px); font-style: italic; line-height: 1.5; color: var(--ed-night); }
.ed .ed-quote blockquote p { margin: 0; font: inherit; color: inherit; }
.ed .ed-quote .ed-quote__by { margin: 20px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-indigo); }

/* ---------- Bandeau d'appel à l'action ---------- */
.ed-cta {
	position: relative; overflow: hidden; padding: 56px 48px; border-radius: 24px; color: #fff; text-align: center;
	background: radial-gradient(600px 260px at 100% 0%, rgba(233, 162, 59, .22), transparent 60%), linear-gradient(135deg, var(--ed-night) 0%, #24307a 55%, var(--ed-indigo) 100%);
	box-shadow: 0 24px 60px rgba(14, 42, 68, .28);
}
.ed .ed-cta h2 { color: #fff; }
.ed .ed-cta p { color: rgba(255, 255, 255, .88); max-width: 680px; margin-inline: auto; }
.ed .ed-cta .ed-eyebrow { color: var(--ed-gold); }

/* ---------- Étapes ---------- */
.ed-steps { counter-reset: edstep; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.ed-steps > li {
	position: relative; counter-increment: edstep; margin: 0; padding: 30px 26px 26px; border: 1px solid var(--ed-line); border-radius: var(--ed-radius);
	background: #fff; box-shadow: var(--ed-shadow);
}
.ed-steps > li::before {
	content: counter(edstep); display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px;
	border-radius: 50%; background: var(--ed-night); color: var(--ed-gold); font-family: var(--ed-serif); font-size: 22px; font-weight: 700;
}
.ed .ed-steps > li p { font-size: 15px; color: var(--ed-muted); }
.ed-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Encadré ---------- */
.ed-note {
	display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid #f3dfa6; border-left: 4px solid var(--ed-gold);
	border-radius: 14px; background: #fffaf0; color: var(--ed-ink); font-size: 15px; line-height: 1.6;
}
.ed-note p { margin: 0; }
.ed-note .ed-ico { width: 40px; height: 40px; border-radius: 11px; }
.ed-note .ed-ico svg { width: 20px; height: 20px; }

/* ---------- Contact ---------- */
.ed .ed-role { margin: 0 0 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-indigo); }
.ed .ed-contact-card .ed-h3 { font-family: var(--ed-serif); font-size: 23px; }
.ed-contact-card .ed-for { min-height: 3.3em; }
.ed-lines { display: grid; align-content: start; gap: 10px; margin: auto 0 0; padding: 18px 0 0; list-style: none; }
.ed-lines li { margin: 0; }
.ed .ed-lines a {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--ed-bg); color: var(--ed-ink);
	font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere;
}
.ed .ed-lines a:hover, .ed .ed-lines a:focus-visible { background: var(--ed-indigo); color: #fff; }
.ed .ed-lines a:hover .ed-ico, .ed .ed-lines a:focus-visible .ed-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.ed .ed-lines .ed-ico { width: 36px; height: 36px; border-radius: 10px; background: #fff; }
.ed .ed-lines .ed-ico svg { width: 18px; height: 18px; }
.ed-lines span { min-width: 0; }
.ed .ed-lines .ed-nw, .ed .ed-nw { display: inline-block; }
.ed-lines small { display: block; font-size: 12px; font-weight: 600; color: var(--ed-muted); }
.ed .ed-lines a:hover small, .ed .ed-lines a:focus-visible small { color: rgba(255, 255, 255, .82); }

.ed-visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--ed-line); box-shadow: var(--ed-shadow); }
.ed-visit__info { padding: 40px; }
.ed-visit__map {
	position: relative; min-height: 440px;
	background: var(--ed-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f51b5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / 56px no-repeat;
}
.ed-visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ed-info { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 24px; }
.ed-info > div { min-width: 0; }
.ed .ed-info .ed-h3 { font-size: 16px; margin-bottom: 4px; }
.ed-info p, .ed-info address { margin: 0; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--ed-text); }
.ed-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 6px 0 0; font-size: 15px; }
.ed-hours dt { font-weight: 700; color: var(--ed-ink); }
.ed-hours dd { margin: 0; color: var(--ed-text); }

/* ---------- Liens et outils ---------- */
.ed-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ed-toc li { margin: 0; }
.ed .ed-toc a {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--ed-line); border-radius: 999px; background: #fff;
	color: var(--ed-night); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 6px rgba(14, 42, 68, .05);
}
.ed .ed-toc a:hover, .ed .ed-toc a:focus-visible { background: var(--ed-night); border-color: var(--ed-night); color: #fff; }
.ed .ed-toc svg { width: 16px; height: 16px; }
.ed-group { padding-block: 44px; scroll-margin-top: 110px; }
.ed-group + .ed-group { border-top: 1px solid var(--ed-line); }
.ed-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ed .ed-group__head h2 { font-family: var(--ed-serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.2; }
.ed .ed-group__head p { margin: 2px 0 0; font-size: 15px; color: var(--ed-muted); }
.ed-tool { padding: 24px; }
.ed-tool__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ed .ed-tool h3 { font-size: 17.5px; font-weight: 700; line-height: 1.3; }
.ed-tool__kind { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ed-muted); }
.ed .ed-tool p { font-size: 14.5px; }
.ed .ed-tool .ed-btn { width: 100%; gap: 8px; padding-inline: 12px; }
.ed-shortcuts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ed-shortcuts li { margin: 0; }
.ed .ed-shortcuts a {
	display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; padding: 20px 12px; border: 1px solid var(--ed-line); border-radius: 14px;
	background: #fff; color: var(--ed-night); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; box-shadow: var(--ed-shadow);
	transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ed .ed-shortcuts a:hover, .ed .ed-shortcuts a:focus-visible { border-color: var(--ed-indigo); transform: translateY(-2px); box-shadow: var(--ed-shadow-hover); }

/* ---------- Article (stage de seconde), affiché dans le gabarit des actualités ---------- */
.ed--article .ed-block { margin: 0 0 44px; }
.ed--article .ed-block:last-child { margin-bottom: 0; }
.ed-intro {
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-radius: 22px; overflow: hidden;
	background: radial-gradient(500px 240px at 100% 0%, rgba(233, 162, 59, .18), transparent 60%), linear-gradient(135deg, var(--ed-night) 0%, #24307a 60%, var(--ed-indigo) 100%);
	color: #fff; box-shadow: 0 22px 56px rgba(14, 42, 68, .25);
}
.ed-intro__text { padding: 40px; }
.ed .ed-intro__text .ed-eyebrow { color: var(--ed-gold); }
.ed .ed-intro__text h2 { color: #fff; font-family: var(--ed-serif); font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; margin-bottom: 14px; }
.ed .ed-intro__text p { color: rgba(255, 255, 255, .9); }
.ed .ed-intro__text strong { color: #fff; }
.ed-intro__facts { display: grid; align-content: center; gap: 12px; margin: 0; padding: 34px; list-style: none; background: rgba(255, 255, 255, .06); border-left: 1px solid rgba(255, 255, 255, .12); }
.ed-intro__facts li { display: flex; gap: 14px; align-items: center; margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 15px; line-height: 1.45; }
.ed-intro__facts b { display: block; color: var(--ed-gold); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ed .ed-intro__facts .ed-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(233, 162, 59, .16); color: var(--ed-gold); }
.ed .ed-intro__facts .ed-ico svg { width: 21px; height: 21px; }
.ed-convention {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 28px 30px; border-radius: 20px;
	background: #fff; border: 1px solid var(--ed-line); border-left: 5px solid var(--ed-gold); box-shadow: var(--ed-shadow);
}
.ed .ed-convention .ed-h3 { font-family: var(--ed-serif); font-size: 23px; margin-bottom: 4px; }
.ed .ed-convention p { color: var(--ed-muted); font-size: 15px; }
.ed-convention__btns { display: flex; flex-direction: column; gap: 10px; }
.ed-subhead { margin-bottom: 20px; }
.ed .ed-subhead h2 { font-family: var(--ed-serif); font-size: clamp(22px, 2.3vw, 28px); font-weight: 700; line-height: 1.25; }
.ed .ed-subhead p { margin-top: 6px; color: var(--ed-muted); }
.ed-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ed-videos .ed-video { border-radius: 16px; box-shadow: var(--ed-shadow); }

/* ---------- Formulaire de contact (app/views/contact_form.php) ---------- */
.ed-form-section { padding: 0 16px 72px; }
.ed-form-shell {
	display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); max-width: 1108px; margin: 0 auto; border-radius: 24px; overflow: hidden;
	background: #fff; border: 1px solid var(--ed-line); box-shadow: 0 24px 60px rgba(14, 42, 68, .12);
}
.ed-form-aside {
	position: relative; padding: 44px 40px; color: #fff;
	background: radial-gradient(500px 240px at 0% 100%, rgba(233, 162, 59, .2), transparent 60%), linear-gradient(160deg, var(--ed-night) 0%, #24307a 70%, var(--ed-indigo) 100%);
}
.ed .ed-form-aside h2 { color: #fff; font-family: var(--ed-serif); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin: 0 0 14px; }
.ed .ed-form-aside p { color: rgba(255, 255, 255, .88); font-size: 15.5px; }
.ed .ed-form-aside .ed-eyebrow { color: var(--ed-gold); }
.ed-form-aside ul { margin: 26px 0 0; padding: 0; list-style: none; }
.ed-form-aside li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.ed-form-aside li svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: var(--ed-gold); }
.ed .ed-form-aside a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(233, 162, 59, .8); }
.ed .ed-form-aside a:hover { color: var(--ed-gold); }
.ed-form-main { padding: 44px 44px 40px; }
.ed .ed-form-main .yi-form label { margin-bottom: 7px; font-size: 13.5px; font-weight: 700; color: var(--ed-night); }
.ed .ed-form-main .yi-form label span { color: #b3261e; }
.ed .ed-form-main .yi-form input, .ed .ed-form-main .yi-form select, .ed .ed-form-main .yi-form textarea {
	min-height: 50px; padding: 12px 15px; border: 1.5px solid #d6dbea; border-radius: 12px; background-color: #fbfcff; color: var(--ed-ink); font-family: var(--ed-sans); font-size: 15.5px;
	transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.ed .ed-form-main .yi-form select {
	appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
	background: #fbfcff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317204f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 15px center / 18px no-repeat;
}
.ed .ed-form-main .yi-form input:hover, .ed .ed-form-main .yi-form select:hover, .ed .ed-form-main .yi-form textarea:hover { border-color: #b9c1dc; }
.ed .ed-form-main .yi-form input:focus, .ed .ed-form-main .yi-form select:focus, .ed .ed-form-main .yi-form textarea:focus {
	border-color: var(--ed-indigo); background-color: #fff; outline: 0; box-shadow: 0 0 0 4px rgba(26, 95, 150, .14);
}
.ed .ed-form-main .yi-form textarea { min-height: 170px; }
.ed .ed-form-main .yi-form__row { gap: 18px; }
.ed .ed-form-main .yi-form__field { margin-bottom: 18px; }
.ed-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 6px; }
.ed .ed-form-foot .yi-form__note { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--ed-muted); }
.ed .ed-form-foot button.ed-btn { cursor: pointer; min-width: 220px; }
.ed .ed-form-main .yi-alert { border-radius: 14px; }
.ed .ed-form-main .yi-success { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; font-size: 15.5px; }
.ed .ed-form-main .yi-success svg { width: 24px; height: 24px; flex: 0 0 auto; color: #11603c; }
.ed-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ed .ed-form-main .yi-form__verif-row { display: flex; align-items: center; gap: 14px; }
.ed .ed-form-main .yi-form__verif input { flex: 0 0 120px; width: 120px; text-align: center; font-weight: 700; }
.ed .ed-form-main .yi-form__hint { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; line-height: 1.5; color: var(--ed-muted); }
@media (max-width: 480px) { .ed .ed-form-main .yi-form__verif-row { flex-direction: column; align-items: stretch; gap: 8px; } .ed .ed-form-main .yi-form__verif input { flex: none; width: 120px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ed-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.ed-section { padding-block: 52px; }
	.ed-split, .ed-hero .ed-split { grid-template-columns: 1fr; gap: 40px; }
	.ed-split--rev > :first-child { order: 0; }
	.ed-grid--3, .ed-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-stats li:nth-child(3) { border-left: 0; }
	.ed-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.ed-steps, .ed-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-visit, .ed-form-shell, .ed-intro { grid-template-columns: 1fr; }
	.ed-intro__facts { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
	.ed-visit__map { min-height: 340px; }
	.ed-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
	.ed-hero__media { max-width: 640px; margin-inline: auto; width: 100%; }
	.ed-convention { grid-template-columns: auto minmax(0, 1fr); }
	.ed-convention__btns { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 767px) {
	.ed { font-size: 15.5px; }
	.ed-section { padding-block: 44px; }
	.ed-hero { padding-block: 36px 80px; }
	.ed-head { margin-bottom: 28px; }
	.ed-grid--2, .ed-grid--3, .ed-grid--4, .ed-steps, .ed-steps--4, .ed-videos { grid-template-columns: 1fr; }
	.ed-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-card { padding: 22px; }
	.ed-cta { padding: 40px 20px; border-radius: 20px; }
	.ed-quote { padding: 46px 20px 30px; }
	.ed-visit__info, .ed-form-aside, .ed-form-main, .ed-intro__text { padding: 28px 20px; }
	.ed-intro__facts { padding: 20px; }
	.ed-convention { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; }
	.ed-convention__btns { flex-direction: column; }
	.ed-hero__media::before { inset: 14px -8px -14px 14px; border-radius: 20px; }
	.ed .ed-hero__badge { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 10px 14px; font-size: 13px; }
	.ed-mosaic { grid-auto-rows: 150px; gap: 10px; }
	.ed-mosaic figcaption { padding: 28px 10px 10px; font-size: 12.5px; }
	.ed-actions .ed-btn, .ed-convention__btns .ed-btn { width: 100%; }
	.ed .ed-form-foot button.ed-btn { width: 100%; min-width: 0; }
	.ed-form-section { padding-inline: 0; }
	.ed-form-shell { border-radius: 0; border-inline: 0; }
	.ed-contact-card .ed-for { min-height: 0; }
	.ed-group { padding-block: 34px; }
	.ed-group__head { align-items: flex-start; }
	.ed-visit__map { min-height: 300px; }
	.ed-visit { border-radius: 20px; }
	.ed-steps > li { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
	.ed-steps > li::before { grid-row: 1 / span 2; width: 42px; height: 42px; margin: 0; font-size: 20px; }
	.ed-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ed-chips li { padding: 10px; gap: 10px; font-size: 14px; }
	.ed-chips .ed-ico--sm { width: 34px; height: 34px; }
}
@media (max-width: 420px) {
	.ed-stats li { padding: 22px 10px; }
	.ed-stats span { font-size: 13px; }
	.ed .ed-toc a { font-size: 13px; padding: 8px 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.ed .ed-btn, .ed-card, .ed-mosaic img, .ed .ed-link svg, .ed .ed-shortcuts a { transition: none !important; }
	.ed .ed-btn:hover, .ed-card--hover:hover, .ed .ed-shortcuts a:hover { transform: none; }
}
@media print {
	.ed-hero__media::before, .ed-visit__map, .ed-video { display: none !important; }
	.ed-cta, .ed-stats, .ed-intro, .ed-form-aside { background: #fff !important; color: #000 !important; box-shadow: none !important; }
}

/* (08/11/2026) Espace sous la barre de titre : 30 à 40 px sur toutes les pages, au lieu de 100 à 230 px. */
body #sp-main-body { padding-top: 32px; }
body:has(#sp-component .ed) #sp-main-body { padding-top: 0; }
#sp-component .ed > section:first-child { padding-top: 40px; }
#sp-component .ed > section.ed-hero:first-child { padding-top: 40px; }
body:has(#sp-section-3) #sp-main-body { padding-top: 24px; }
body:has(#sp-component .yi-page) #sp-main-body { padding-top: 12px; }
@media (max-width: 640px) {
	body #sp-main-body { padding-top: 22px; }
	body:has(#sp-component .ed) #sp-main-body { padding-top: 0; }
	#sp-component .ed > section:first-child { padding-top: 28px; }
	body:has(#sp-section-3) #sp-main-body { padding-top: 16px; }
}
.ed-grid + .ed-note { margin-top: 18px; }

/* ==========================================================================
   (11/2026) Propositions de design 1, 2, 3, 6 et 7 — demandées par M. Benaroch
   1 : page d'une actualité (colonne de lecture, titre) · 2 : mêmes titres partout (Playfair Display, bleu nuit #0e2a44)
   3 : texte courant à 16 px · 6 : pied de page complet · 7 : nom du lycée dans l'en-tête
   ========================================================================== */

/* 3 — texte courant : 16 px dans le contenu des pages (l'en-tête, le menu et le pied gardent leurs tailles propres) */
#sp-main-body{font-size:16px}
@media (max-width:480px){:where(#sp-main-body) p{font-size:inherit}}   /* l'ancien gabarit passait tous les paragraphes à 13 px sur téléphone */
.sp-megamenu-parent{white-space:nowrap}

/* 7 — en-tête : nom du lycée, « You Imagine » en sous-titre */
#sp-header .logo a.yi-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap}
.yi-brand__i{width:40px;height:40px;flex:0 0 auto;display:block}
.yi-brand__t{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.yi-brand__t strong{font:600 21px/1.1 'Playfair Display',Georgia,serif;color:#0e2a44;letter-spacing:-.01em}
.yi-brand__t small{margin-top:4px;font:700 9.5px/1.2 'Open Sans',Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#5b6382}
@media (min-width:992px){
	#sp-header>.container>.row{flex-wrap:nowrap}
	#sp-header #sp-logo{flex:0 0 auto;width:auto;max-width:none}
	#sp-header #sp-menu{flex:1 1 0;width:auto;max-width:none;min-width:0}
}
@media (min-width:992px) and (max-width:1199px){.yi-brand__t strong{font-size:18px}.yi-brand__i{width:34px;height:34px}.yi-brand__t small{letter-spacing:.08em;font-size:9px}#sp-header .logo a.yi-brand{gap:8px}.sp-megamenu-parent>li>a{font-size:12px!important;padding:0 4px}.sp-megamenu-parent>li.sp-has-child>a:not(.espace)::after{margin-left:5px!important}}
@media (max-width:991px){
	#sp-header #sp-logo{flex:1 1 auto;width:auto;max-width:none;min-width:0}
	#sp-header #sp-menu{flex:0 0 auto;width:auto;max-width:none}
	.yi-brand__t strong{font-size:18px}.yi-brand__i{width:36px;height:36px}
}
@media (max-width:359px){.yi-brand__t small{display:none}}

/* 2 — bandeau de titre : même police et même bleu que le reste du site */
#sp-page-title .sp-page-title{background:linear-gradient(120deg,#0e2a44,#173a5c)!important}
#sp-page-title .sp-page-title::before{background:transparent!important}
#sp-page-title .sp-page-title :is(h1,h2){font-family:'Playfair Display',Georgia,serif!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}

/* 1 — page d'une actualité : colonne de lecture, galerie en pleine largeur */
.eb-view-entry .eb-entry{--yi-col:720px}
.eb-view-entry .eb-entry-tools,.eb-view-entry .eb-entry-head,.eb-view-entry .yi-tagshare,.eb-view-entry [data-blog-reading-container]>.yi-share--foot,.eb-view-entry .eb-entry-nav,.eb-view-entry .yi-album-lie{max-width:var(--yi-col);margin-left:auto;margin-right:auto}
.eb-view-entry .eb-entry-article>:is(p,h2,h3,h4,h5,h6,ul,ol,dl,blockquote,pre),
.eb-view-entry .eb-entry-article>.ebd-block:is([data-type=text],[data-type=links],[data-type=buttons],[data-type=file],[data-type=rule]){max-width:var(--yi-col);margin-left:auto;margin-right:auto}
.eb-view-entry .eb-entry-article>.ebd-block:is([data-type=image],[data-type=youtube],[data-type=video]){max-width:920px;margin-left:auto;margin-right:auto}
#eb.eb-view-entry .eb-entry-title{font-family:'Playfair Display',Georgia,serif;font-weight:600;font-size:clamp(28px,3.3vw,42px);line-height:1.15;letter-spacing:-.01em;color:#0e2a44}
#eb.eb-view-entry .eb-entry-article{font-size:17px;line-height:1.75;color:#1f2740}
#eb.eb-view-entry .eb-entry-article :is(p,li){font-size:inherit;line-height:inherit}
#eb.eb-view-entry .eb-entry-article :is(h2,h3,h4){font-family:'Playfair Display',Georgia,serif;font-weight:600;line-height:1.25}
/* la couleur bleu nuit seulement pour les intertitres du texte courant : un titre placé dans un bloc de couleur (page « Stage de seconde ») garde la sienne */
#eb.eb-view-entry .eb-entry-article>:is(h2,h3,h4),#eb.eb-view-entry .eb-entry-article>.ebd-block[data-type=text] :is(h2,h3,h4){color:#0e2a44}
#eb.eb-view-entry .eb-post-related .eb-section-heading{font-family:'Playfair Display',Georgia,serif;font-weight:600;color:#0e2a44}
#eb.eb-view-entry .eb-entry-meta{font-size:14px;margin:14px 0 10px}
.eb-view-entry .yi-share--head{position:static;margin:0 0 22px}
@media (max-width:600px){#eb.eb-view-entry .eb-entry-article{font-size:16px;line-height:1.7}}

/* 6 — pied de page : coordonnées, accès, liens utiles */
#sp-footer.yi-foot{padding:44px 0 0;text-align:left;background:#0e2a44;border-top:4px solid #e9a23b;color:rgba(255,255,255,.82);font-size:14.5px;line-height:1.6}
.yi-foot__cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px 40px;padding-bottom:34px}
.yi-foot__nom{display:flex;align-items:center;gap:11px;margin:0 0 12px;font:600 19px/1.2 'Playfair Display',Georgia,serif;color:#fff}
.yi-foot__nom img{width:36px;height:36px;padding:4px;border-radius:9px;background:#fff;flex:0 0 auto}
.yi-foot address{font-style:normal;margin:0 0 10px}
.yi-foot__ident p{margin:0 0 6px}
.yi-foot__ident p a{display:inline-flex;align-items:center;gap:8px}
.yi-foot svg{width:16px;height:16px;fill:none;stroke:#e9a23b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.yi-foot h2{margin:2px 0 12px;padding:0;font:700 12px/1.3 'Open Sans',Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#e9a23b}
.yi-foot ul{list-style:none;margin:0;padding:0}
.yi-foot li{margin:0 0 7px}
#sp-footer.yi-foot a{color:#fff;font-weight:400;text-decoration:none}
#sp-footer.yi-foot a:hover,#sp-footer.yi-foot a:focus-visible{color:#e9a23b;text-decoration:underline}
#sp-footer.yi-foot .yi-foot__tel{font-weight:700;font-size:16px}
.yi-foot__liens{border-top:1px solid rgba(255,255,255,.13);padding:14px 0;font-size:13.5px;text-align:center}
.yi-foot__liens p{margin:0}
.yi-foot__bas{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 22px;border-top:1px solid rgba(255,255,255,.13);padding:16px 0 20px;font-size:13px;color:rgba(255,255,255,.72)}
#sp-footer.yi-foot .yi-foot__bas .sp-copyright a{font-weight:700}
@media (max-width:991px){.yi-foot__cols{grid-template-columns:1fr 1fr 1fr}.yi-foot__ident{grid-column:1/-1}}
@media (max-width:600px){#sp-footer.yi-foot{padding-top:28px}.yi-foot__cols{grid-template-columns:1fr 1fr;gap:22px 22px;padding-bottom:24px}.yi-foot__cols>nav:nth-of-type(2){display:none}.yi-foot li{margin-bottom:5px}}   /* téléphone : la colonne « Élèves » est déjà dans la barre d'accès rapide du bas */
@media print{#sp-footer.yi-foot{display:none!important}}

/* (11/2026) Correction : sur téléphone, la barre des rubriques défile depuis la première pastille (« Toutes ») — centrée, son début était inatteignable */
@media (max-width:420px){.yi-cats{justify-content:flex-start!important}}

/* (11/2026) Couvertures par rubrique : dans une vignette étroite, le pictogramme seul (le nom de la rubrique est déjà écrit à côté) */
.hm-card--h .yi-cover__lbl{display:none}
@media (max-width:760px){.hm-card--v .yi-cover__lbl{display:none}}

/* (11/2026) Méga-menu « Cours et documents » : les documents du lycée dans un encadré, en première colonne (groupe de classe « yi-mega-doc » dans data/menu.json) */
.sp-dropdown-mega .sp-dropdown-inner>.row:has(>.yi-mega-box){display:grid;grid-template-columns:minmax(240px,1.1fr) repeat(3,1fr);column-gap:8px;align-items:start;white-space:normal;margin-left:0;margin-right:0}
.sp-dropdown-mega .sp-dropdown-inner>.row:has(>.yi-mega-box)>div{width:auto;max-width:none;flex:none;padding-left:0;padding-right:0;min-width:0}
.sp-dropdown-mega .yi-mega-box{grid-column:1;grid-row:1/span 8;margin:10px 14px 12px 12px;padding:6px 8px 8px!important;border:1.5px solid #e9a23b;border-radius:14px;background:#fff8e1}
.sp-dropdown-mega .yi-mega-box .sp-group-title{display:block!important;padding-left:28px!important;color:#0e2a44!important;font-weight:800!important;background:no-repeat 2px 12px/18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b07800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h4'/%3E%3C/svg%3E")}
.sp-dropdown-mega .yi-mega-box .sp-group-title::after{content:"Documents importants du lycée";display:block;margin-top:2px;font:600 11px/1.3 'Open Sans',Arial,sans-serif;letter-spacing:0;text-transform:none;color:#8a6200}
.sp-dropdown-mega .yi-mega-box .sp-dropdown-items>li>a{color:#0e2a44!important;font-weight:600}

/* (11/2026) Bandeau « Actualités » : champs de recherche et de rubrique assez larges pour lire leur texte ; le titre passe à gauche pour leur laisser la place */
@media (min-width:992px){
	#sp-page-title .sp-page-title .container:has(>form.yi-filters--banner){justify-content:flex-start!important}
	.yi-filters--banner .yi-filters__q{flex:0 0 240px!important}
	.yi-filters--banner .yi-filters__opt{flex:0 0 210px!important}
	.yi-filters--banner input,.yi-filters--banner select{font-size:13.5px}
}
@media (max-width:991px){form.yi-filters--banner,#eb form.yi-filters--banner{background:#0e2a44}}

/* (11/2026) Menu : « Cours » et « Documents » séparés (huit entrées) — un peu moins d'espace entre les entrées sur grand écran */
@media (min-width:1200px){.sp-megamenu-parent>li>a{padding:0 10px}}

/* (11/2026) Titre d'une actualité : sur grand écran il peut déborder à droite de la colonne de lecture (jusqu'à 960 px) pour tenir sur une ligne */
@media (min-width:1100px){#eb.eb-view-entry .eb-entry-title{margin-right:calc(-1 * min(240px, (100vw - 720px) / 2 - 28px));font-size:clamp(28px,2.7vw,38px)}}

/* (14/11/2026) Icônes du menu (app/lib/Menu.php, Menu::icone) : pastille de couleur propre à chaque menu, animée au survol ;
   icônes des sous-menus dans la teinte de leur menu. Sur les écrans de 992 à 1499 px, pas d'icône sur la barre (place), mais
   toujours dans les sous-menus. */
.yi-mi{--mc:#1a5f96;flex:none;display:inline-grid;place-items:center;width:24px;height:24px;margin:0 7px 0 0;border-radius:8px;vertical-align:middle;color:var(--mc);
  background:color-mix(in srgb,var(--mc) 13%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--mc) 22%,transparent);transition:background .22s ease,color .22s ease,transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .22s ease}
.yi-mi svg{width:15px;height:15px;display:block}
.sp-megamenu-parent>li>a .yi-mi{position:relative;top:-1px}
.sp-megamenu-parent>li:hover>a .yi-mi,.sp-megamenu-parent>li>a:focus-visible .yi-mi{background:var(--mc);color:#fff;box-shadow:0 6px 14px -6px var(--mc);transform:translateY(-2px) rotate(-6deg) scale(1.08)}
.sp-megamenu-parent>li:hover>a .yi-mi svg{animation:yiMiJeu .6s ease}
.sp-megamenu-parent>li.active>a .yi-mi{background:var(--mc);color:#fff}
@keyframes yiMiJeu{0%{transform:scale(1)}30%{transform:scale(1.22) rotate(-12deg)}55%{transform:scale(.95) rotate(8deg)}80%{transform:scale(1.06) rotate(-3deg)}100%{transform:scale(1) rotate(0)}}
/* animations propres à quelques icônes */
.sp-megamenu-parent>li:hover>a .yi-mi--actualites svg{animation:yiMiPage .7s ease}
@keyframes yiMiPage{0%,100%{transform:none}40%{transform:translateX(2px) rotate(6deg)}70%{transform:translateX(-1px) rotate(-3deg)}}
.sp-megamenu-parent>li:hover>a .yi-mi--oral svg{animation:yiMiOnde .9s ease}
@keyframes yiMiOnde{0%,100%{transform:none}25%{transform:translateY(-2px)}50%{transform:translateY(1px)}75%{transform:translateY(-1px)}}
.sp-megamenu-parent>li:hover>a .yi-mi--contact svg{animation:yiMiEnvol .7s ease}
@keyframes yiMiEnvol{0%,100%{transform:none}40%{transform:translate(3px,-3px) rotate(-10deg)}}
/* bouton « Scolarité » et « Inscriptions » : la pastille se fond dans le bouton */
.sp-megamenu-parent>li>a.espace .yi-mi,.sp-megamenu-parent>li>a.inscrire .yi-mi{background:rgba(255,255,255,.55);box-shadow:none;margin-right:2px}
.sp-megamenu-parent>li:hover>a.espace .yi-mi{background:#0e2a44;color:#e9a23b}
/* sous-menus */
.sp-dropdown .yi-mi--s{width:26px;height:26px;margin-right:10px;border-radius:8px}
.sp-dropdown .yi-mi--s svg{width:15px;height:15px}
.sp-dropdown li.sp-menu-item>a{display:flex!important;align-items:center}
.sp-dropdown li.sp-menu-item>a:hover .yi-mi--s,.sp-dropdown li.sp-menu-item>a:focus-visible .yi-mi--s,.sp-dropdown li.sp-menu-item.active>a .yi-mi--s{background:var(--mc);color:#fff;transform:scale(1.1) rotate(-6deg)}
.sp-dropdown li.sp-menu-item>a:hover .yi-mi--s svg{animation:yiMiJeu .55s ease}
.sp-dropdown li.sp-menu-item.current-item>a .yi-mi--s{background:#fff;color:var(--mc)}
.sp-mega-group .sp-group-title{display:flex!important;align-items:center}
.sp-mega-group .sp-group-title .yi-mi--s{width:24px;height:24px;margin-right:8px}
.sp-mega-group .sp-group-title:hover .yi-mi--s{background:var(--mc);color:#fff;transform:scale(1.1) rotate(-6deg)}
.yi-mi--point svg{width:8px;height:8px}
/* menu du téléphone */
.offcanvas-menu .nav.menu .yi-mi{width:28px;height:28px;margin-right:10px}
.offcanvas-menu .nav.menu ul .yi-mi{width:24px;height:24px;margin-right:9px}
.offcanvas-menu .nav.menu li>a{display:inline-flex;align-items:center}
/* place : icônes de la barre seulement sur grand écran (≥ 1500 px), où l'en-tête s'élargit un peu */
@media (min-width:1500px){#sp-header>.container{max-width:1440px}.sp-megamenu-parent>li>a{padding:0 8px}.sp-megamenu-parent>li>a .yi-mi{width:23px;height:23px;margin-right:6px}}
@media (min-width:992px) and (max-width:1499px){.sp-megamenu-parent>li>a>.yi-mi{display:none}}
@media (prefers-reduced-motion:reduce){.yi-mi,.yi-mi svg{transition:none!important;animation:none!important}}
