/* =====================================================================
   Pages éditoriales (présentation, pré-inscription, contact, stage de
   seconde, liens et outils). Toutes les classes sont préfixées « ed- ».
   Charte : indigo #3f51b5, bleu nuit #17204f, or #ffc94e, 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: #3f51b5;
	--ed-night: #17204f;
	--ed-gold: #ffc94e;
	--ed-ink: #1d2340;
	--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(23, 32, 79, .05), 0 8px 24px rgba(23, 32, 79, .07);
	--ed-shadow-hover: 0 2px 4px rgba(23, 32, 79, .06), 0 18px 40px rgba(23, 32, 79, .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(63, 81, 181, .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(23, 32, 79, .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(63, 81, 181, .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(23, 32, 79, .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(23, 32, 79, .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(23, 32, 79, .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(23, 32, 79, .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(23, 32, 79, .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(23, 32, 79, .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(255, 201, 78, .22), transparent 60%), linear-gradient(135deg, var(--ed-night) 0%, #24307a 55%, var(--ed-indigo) 100%);
	box-shadow: 0 24px 60px rgba(23, 32, 79, .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(23, 32, 79, .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(255, 201, 78, .18), transparent 60%), linear-gradient(135deg, var(--ed-night) 0%, #24307a 60%, var(--ed-indigo) 100%);
	color: #fff; box-shadow: 0 22px 56px rgba(23, 32, 79, .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(255, 201, 78, .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(23, 32, 79, .12);
}
.ed-form-aside {
	position: relative; padding: 44px 40px; color: #fff;
	background: radial-gradient(500px 240px at 0% 100%, rgba(255, 201, 78, .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(255, 201, 78, .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(63, 81, 181, .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; }

/* ---------- 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; }
}
