/* ==========================================================================
   ESMC Business School - main stylesheet
   Palette: navy (brand), deep navy, one red (logo + the pre-registration button)
   Type: Sora (headings, menu) + Source Sans 3 (text)
   ========================================================================== */

:root {
	--navy: #282f6c;
	--navy-deep: #1b2050;
	--red: #e63633;
	--red-btn: #d42a27;
	--red-btn-hover: #b3201e;
	--ink: #1c1f3a;
	--muted: #565b7a;
	--line: #dcdeea;
	--tint: #f3f4f9;
	--white: #fff;

	/* platform colours (WhatsApp green is a touch deeper so white icons stay readable) */
	--c-wa: #1da851;
	--c-fb: #1877f2;
	--c-ig: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%);
	--c-tt: #010101;
	--c-yt: #ff0000;

	--f-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: 24px;
	--bar-h: 86px;
	--tab-drop: 28px;
	--topbar-h: 46px;
	--cta-w: 200px;
	--logo-w: 166px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	overflow-x: clip;
}

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

h1, h2, h3, h4 {
	font-family: var(--f-head);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 600;
}

a { color: var(--navy); }
a:hover, a:focus, a:active, a:visited { color: var(--navy); }

:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 3px;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Short pages still fill the screen, so the footer stays below the fold */
.site-main { min-height: calc(100vh - 170px); }

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--navy);
	color: var(--white) !important;
	font-family: var(--f-head);
	font-size: .9rem;
	border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 4px;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
}
.btn--cta,
.btn--cta:visited { background: var(--red-btn); color: var(--white) !important; }
.btn--cta:hover,
.btn--cta:focus,
.btn--cta:active { background: var(--red-btn-hover); color: var(--white) !important; }
.btn--cta:focus-visible { outline-color: var(--navy); }

/* Top bar: contact on the left, icon links on the right ---------------- */
.topbar {
	height: var(--topbar-h);
	background: var(--white);
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: .875rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--topbar-h);
}
.topbar ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.topbar__contact { gap: 28px; }
.topbar__contact a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
}
.topbar__contact .icon { color: var(--navy); }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__social { gap: 6px; }

.topbar a,
.topbar a:visited { color: var(--ink); text-decoration: none; }
.topbar a:hover,
.topbar a:focus,
.topbar a:active { color: var(--navy); }
.topbar__contact a:hover span,
.topbar__contact a:focus span { text-decoration: underline; text-underline-offset: 3px; }

.topbar .topbar__contact-link,
.topbar .topbar__contact-link:visited {
	padding-right: 22px;
	border-right: 1px solid var(--line);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .8125rem;
	line-height: 24px;
	color: var(--navy);
}
.topbar .topbar__contact-link:hover,
.topbar .topbar__contact-link:focus { text-decoration: underline; text-underline-offset: 4px; }

.topbar .topbar__social a {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--navy);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.topbar .topbar__social a:hover,
.topbar .topbar__social a:focus,
.topbar .topbar__social a:active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.site-header .topbar :focus-visible { outline-color: var(--navy); }

/* Header: navy band + logo on a slanted white crest -------------------- */
.site-header {
	position: sticky;
	top: calc(var(--topbar-h) * -1);
	z-index: 100;
	background: var(--navy);
}
/* The top strip is not touched by the red block: normal container width */
.site-header .topbar .wrap { padding-right: calc(max(0px, (100vw - 1288px) / 2) + var(--gutter)); }

/* Logged-in editors: keep the sticky header below the WordPress admin bar */
body.admin-bar .site-header { top: calc(32px - var(--topbar-h)); }
@media (max-width: 782px) { body.admin-bar .site-header { top: calc(46px - var(--topbar-h)); } }
@media (max-width: 600px) { body.admin-bar .site-header { top: calc(0px - var(--topbar-h)); } }
.site-header.is-stuck { --bar-h: 68px; --tab-drop: 14px; --logo-w: 138px; }

/* Header rows start at the container's left edge and stop before the red block */
.site-header .wrap {
	max-width: none;
	margin-inline: 0;
	padding-left: calc(max(0px, (100vw - 1288px) / 2) + var(--gutter));
	padding-right: calc(var(--cta-w) + 16px);
}

.bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	height: var(--bar-h);
	transition: height .22s ease;
}

.brand {
	flex: none;
	align-self: flex-start;
	z-index: 2;
	display: flex;
	align-items: center;
	height: calc(var(--bar-h) + var(--tab-drop));
	margin-left: calc(var(--gutter) * -1);
	padding: 0 46px 0 var(--gutter);
	background: var(--white);
	box-shadow: inset 0 -4px 0 var(--red);
	clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
	transition: height .22s ease;
}
.brand img {
	width: var(--logo-w);
	height: auto;
	margin-top: calc(var(--tab-drop) * -1);
	transition: width .22s ease;
}

.primary-nav { flex: 1 1 auto; align-self: stretch; }
.primary-nav .menu {
	display: flex;
	align-items: stretch;
	height: 100%;
	margin: 0; padding: 0;
	list-style: none;
}
.primary-nav .menu > li {
	position: relative;
	display: flex;
	align-items: stretch;
}
.primary-nav .menu > li:has(.sub-menu .sub-menu) { position: static; }

.primary-nav a {
	text-decoration: none;
	font-family: var(--f-head);
	font-weight: 500;
	font-size: .90625rem;
}
.primary-nav .menu > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	white-space: nowrap;
	color: var(--white);
	border-bottom: 3px solid transparent;
}
.primary-nav .menu > li > a:visited { color: var(--white); }

/* chevron on items that open a submenu */
.primary-nav .menu > li.menu-item-has-children > a::after {
	content: "";
	width: 6px; height: 6px;
	border-right: 1.75px solid currentColor;
	border-bottom: 1.75px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px);
	opacity: .7;
	transition: transform .18s ease, opacity .18s ease;
}
.primary-nav .menu > li.menu-item-has-children:hover > a::after,
.primary-nav .menu > li.menu-item-has-children:focus-within > a::after {
	transform: rotate(-135deg) translate(-1px, -1px);
	opacity: 1;
}

.primary-nav .menu > li:hover > a,
.primary-nav .menu > li:focus-within > a,
.primary-nav .menu > li > a:focus,
.primary-nav .menu > li > a:active,
.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current-menu-ancestor > a {
	color: var(--white);
	border-bottom-color: var(--white);
}

/* Panels: stay in the layout, fade in; a short close delay forgives a wobbly mouse */
.primary-nav .sub-menu {
	list-style: none;
	margin: 0; padding: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 0;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .16s ease, visibility 0s linear .16s;
}
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0s;
}

/* Small dropdown (2 levels) */
.primary-nav .menu > li > .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 300px;
	padding: 12px 0 14px;
}
.primary-nav .sub-menu a {
	display: block;
	padding: 10px 26px;
	color: var(--ink);
	font-weight: 500;
	font-size: .9375rem;
}
.primary-nav .sub-menu a:visited { color: var(--ink); }
.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus,
.primary-nav .sub-menu a:active {
	color: var(--navy);
	background: var(--tint);
	box-shadow: inset 3px 0 0 var(--navy);
}

/* Wide panel (3 levels): enrolment | BAC +3 | BAC +5 | double diplôme */
.primary-nav .menu > li.has-mega > .sub-menu {
	left: max(0px, calc((100vw - 1288px) / 2));
	right: var(--cta-w);
	min-width: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 300px 1fr 1fr;
	grid-template-rows: auto auto 1fr;
}
.primary-nav .menu > li.has-mega:has(> .sub-menu > li:not(.menu-item-has-children):not(.mega-feature)) > .sub-menu { grid-template-columns: 300px 1fr 1fr 240px; }
.primary-nav .menu > li.has-mega > .sub-menu > li { grid-column: 4; padding: 0 28px; }

.primary-nav .sub-menu .mega-feature {
	grid-column: 1 !important;
	grid-row: 1 / span 3;
	padding: 44px 32px 36px !important;
	background: var(--tint);
	border-right: 1px solid var(--line);
}
.primary-nav .sub-menu .mega-feature__title {
	margin: 0 0 18px;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.3;
	color: var(--navy);
}
.primary-nav .sub-menu .mega-feature a.btn {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 0 22px;
	color: var(--white) !important;
	font-size: .9375rem;
	background: var(--red-btn);
	box-shadow: none;
}
.primary-nav .sub-menu .mega-feature a.btn:hover,
.primary-nav .sub-menu .mega-feature a.btn:focus { background: var(--red-btn-hover); box-shadow: none; }
.primary-nav .sub-menu .mega-feature a.mega-feature__link {
	display: inline-block;
	margin-top: 18px;
	padding: 0;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 4px;
	background: none;
	box-shadow: none;
}
.primary-nav .sub-menu .mega-feature__tel { margin: 28px 0 0; font-size: .9375rem; color: var(--muted); }
.primary-nav .sub-menu .mega-feature__tel a {
	display: inline;
	padding: 0;
	color: var(--navy);
	font-family: var(--f-body);
	font-weight: 600;
	background: none;
	box-shadow: none;
}

.primary-nav .menu > li.has-mega > .sub-menu > li.menu-item-has-children { grid-row: 1 / span 3; padding: 44px 28px 36px; }
.primary-nav .menu > li.has-mega > .sub-menu > li.mega-feature + li.menu-item-has-children { grid-column: 2; }
.primary-nav .menu > li.has-mega > .sub-menu > li.menu-item-has-children + li.menu-item-has-children { grid-column: 3; }
.primary-nav .menu > li.has-mega > .sub-menu > li.menu-item-has-children + li.menu-item-has-children + li { padding-top: 44px; }

.primary-nav .sub-menu .menu-item-has-children > a,
.primary-nav .menu > li.has-mega > .sub-menu > li:not(.menu-item-has-children):not(.mega-feature) > a {
	display: block;
	margin-bottom: 8px;
	padding: 0 0 12px;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--navy);
	background: none;
	border-bottom: 1px solid var(--line);
	box-shadow: none;
}
.primary-nav .menu > li.has-mega > .sub-menu > li:not(.menu-item-has-children):not(.mega-feature) > a { font-size: .9375rem; margin-bottom: 4px; padding: 10px 0; }
.primary-nav .sub-menu .menu-item-has-children > a:hover,
.primary-nav .menu > li.has-mega > .sub-menu > li:not(.menu-item-has-children):not(.mega-feature) > a:hover {
	background: none;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 5px;
}
/* Compact panel (3 levels, no enrolment block): "Formation continue" = Licence professionnelle (with its specializations) | Master professionnel, MBA. Wide screens only: on phones the menu is an accordion. */
@media (min-width: 1281px) {
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) { position: relative; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) > .sub-menu {
		min-width: 640px;
		padding: 32px 36px 28px;
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		column-gap: 48px;
		align-items: start;
	}
	/* left: the first group (Licence professionnelle); right: the second group (Master professionnel), then the single entries (MBA) below it */
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) > .sub-menu > li.menu-item-has-children { grid-column: 1; grid-row: 1 / span 2; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) > .sub-menu > li.menu-item-has-children ~ li.menu-item-has-children { grid-column: 2; grid-row: 1; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) > .sub-menu > li:not(.menu-item-has-children) { grid-column: 2; grid-row: 2; margin-top: 18px; align-self: start; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) > .sub-menu > li > a { padding-left: 0; padding-right: 0; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) > .sub-menu > li:not(.menu-item-has-children) > a {
		margin-bottom: 8px;
		padding: 0 0 12px;
		font-family: var(--f-head);
		font-weight: 600;
		font-size: 1.0625rem;
		color: var(--navy);
		background: none;
		border-bottom: 1px solid var(--line);
		box-shadow: none;
	}
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) > .sub-menu > li:not(.menu-item-has-children) > a:hover { background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 5px; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu):not(.has-mega) .sub-menu .sub-menu a { padding: 9px 0; }
}

.primary-nav .sub-menu .sub-menu {
	/* follow the parent panel: hidden and not hoverable while it is closed */
	visibility: inherit;
	opacity: 1;
	pointer-events: inherit;
	border: 0;
	background: none;
	transition: none;
}
.primary-nav .sub-menu .sub-menu a {
	padding: 7px 0;
	font-family: var(--f-body);
	font-weight: 400;
	font-size: 1rem;
	box-shadow: none;
	background: none;
}
.primary-nav .sub-menu .sub-menu a:hover { background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }

.sub-toggle { display: none; }
.drawer-extra { display: none; }

/* Mobile toggle button */
.nav-toggle {
	display: none;
	flex: none;
	width: 46px; height: 46px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	position: relative;
}
.nav-toggle:focus-visible { outline-color: var(--white); }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 11px; right: 11px;
	height: 2px;
	background: var(--white);
	transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { top: -7px; left: 0; right: 0; }
.nav-toggle__bars::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Pre-registration: a plain red block, full height of the menu band, flush with the right edge */
.bar__cta {
	position: absolute;
	top: var(--topbar-h); right: 0; bottom: 0;
	z-index: 3;
	width: var(--cta-w);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 0 12px;
	background: var(--red-btn);
	text-align: center;
	text-decoration: none;
	transition: background-color .15s ease;
}
.bar__cta,
.bar__cta:visited { color: var(--white); }
.bar__cta:hover,
.bar__cta:focus,
.bar__cta:active { background: var(--red-btn-hover); color: var(--white); }
.bar__cta:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }
.bar__cta-year {
	font-family: var(--f-body);
	font-weight: 600;
	font-size: .875rem;
	line-height: 1.2;
	opacity: .92;
}
.bar__cta-label {
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.2;
	white-space: nowrap;
}
.bar__cta:hover .bar__cta-label,
.bar__cta:focus .bar__cta-label { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-header :focus-visible { outline-color: var(--white); }
.brand:focus-visible,
.primary-nav .sub-menu :focus-visible,
.mega-feature :focus-visible { outline-color: var(--navy); }

/* Page heads & content ------------------------------------------------ */
.page-head {
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	padding: 56px 0 48px;
}
.page-head h1 {
	margin: 0;
	max-width: 22ch;
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	font-weight: 700;
	letter-spacing: -.01em;
}
.page-head__lead { margin: 14px 0 0; color: var(--muted); font-size: 1.125rem; }
.page-head__meta { margin: 0 0 10px; color: var(--muted); font-size: .9375rem; }

.section { padding-block: 56px 80px; }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose a { text-underline-offset: 3px; }
.prose__cover { margin: 0 0 2em; }

/* Blog list */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; max-width: 860px; }
.post-item { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.post-item:not(:has(.post-item__img)) { grid-template-columns: 1fr; }
.post-item__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-item__date { margin: 0 0 6px; color: var(--muted); font-size: .9375rem; }
.post-item h2 { font-size: 1.35rem; margin: 0 0 .5em; }
.post-item h2 a { text-decoration: none; }
.post-item h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-item p:last-child { margin: 0; }
.navigation.pagination { margin-top: 40px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.navigation.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; font-family: var(--f-head); font-size: .9rem; }
.navigation.pagination .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Home: hero --------------------------------------------------------------
   Three photo panels (one open at a time) + the school's presentation.
   The photos end in a slanted edge, like the logo tab. */
.hero {
	--slant: 44px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(390px, 32vw, 480px);
	min-height: clamp(540px, calc(100vh - 132px), 720px);
	background: var(--white);
}

.hero__stage {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	z-index: 1;
	margin-right: calc(var(--slant) * -1);
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
	background: var(--white);
}
.hero__panels { display: flex; gap: 4px; height: 100%; }

.hero__panel {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	background: var(--navy-deep) var(--img) var(--pos, center) / cover no-repeat;
	cursor: pointer;
	transition: flex-grow .5s cubic-bezier(.22, .8, .2, 1);
}
.hero__panel.is-active { flex-grow: 2.7; cursor: default; }
/* tint on closed panels, shade under their title */
.hero__panel::before,
.hero__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	transition: opacity .4s ease;
}
.hero__panel::before { background: rgba(27, 32, 80, .3); }
.hero__panel::after { background: linear-gradient(to top, rgba(27, 32, 80, .88) 0, rgba(27, 32, 80, 0) 55%); }
.hero__panel.is-active::before,
.hero__panel.is-active::after { opacity: 0; }

.hero__body {
	position: absolute;
	z-index: 2;
	left: 0; right: 0; bottom: 0;
	padding: 24px 22px;
	color: var(--white);
	transition: left .45s cubic-bezier(.22, .8, .2, 1), right .45s cubic-bezier(.22, .8, .2, 1), bottom .45s cubic-bezier(.22, .8, .2, 1), padding .45s cubic-bezier(.22, .8, .2, 1), background-color .3s ease;
}
.hero__panel.is-active .hero__body {
	left: 22px; right: 22px; bottom: 22px;
	padding: 28px 30px 30px;
	background: var(--white);
	color: var(--ink);
	border-top: 4px solid var(--red);
}
.hero__panel:last-child.is-active .hero__body { right: calc(var(--slant) + 22px); }
.hero__title { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: inherit; }
.hero__panel.is-active .hero__title { font-size: clamp(1.25rem, 1.7vw, 1.5rem); color: var(--navy); }
.hero__title button {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: inherit;
}
.hero__title button:focus-visible { outline: 3px solid var(--white); outline-offset: 6px; }
.hero__panel.is-active .hero__title button:focus-visible { outline-color: var(--navy); }

.hero__text { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.22, .8, .2, 1); }
.hero__text > p { min-height: 0; margin: 0; overflow: hidden; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.hero__panel.is-active .hero__text { grid-template-rows: 1fr; }
.hero__panel.is-active .hero__text > p { padding-top: 14px; }

/* presentation on the right */
.hero__info {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
	padding: 56px clamp(28px, 3vw, 52px) 56px calc(var(--slant) + clamp(26px, 2.6vw, 44px));
}
.hero__h1 {
	margin: 0;
	font-size: clamp(1.75rem, 2.5vw, 2.4rem);
	line-height: 1.15;
	letter-spacing: -.01em;
	font-weight: 700;
	color: var(--navy);
	text-wrap: balance;
}
.hero__quote { max-width: 34ch; margin: 0; }
.hero__quote-mark { display: block; margin-bottom: 14px; color: var(--red); }
.hero__quote blockquote { margin: 0; }
.hero__quote p { margin: 0; font-size: 1.25rem; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.hero__quote figcaption { margin-top: 12px; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.hero__quote figcaption::before { content: "— "; }

.hero__action { display: grid; gap: 12px; justify-items: start; }
.hero__open { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.hero__cta,
.hero__cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 38px;
	background: var(--red-btn);
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1.0625rem;
	text-decoration: none;
	transition: background-color .15s ease;
}
.hero__cta:hover,
.hero__cta:focus,
.hero__cta:active { background: var(--red-btn-hover); color: var(--white); }
.hero__cta:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* Phones and tablets: one big photo, a white card laid over it (title, quote, button),
   then the other two messages as a simple list with small photos. */
@media (max-width: 1024px) {
	.hero { position: relative; display: flow-root; min-height: 0; padding-bottom: 36px; background: var(--white); }
	.hero::before {
		content: "";
		position: absolute;
		top: 0; left: 0; right: 0;
		height: clamp(380px, 118vw, 560px);
		background: var(--navy-deep) var(--hero-img) center 18% / cover no-repeat;
	}

	.hero__info {
		position: relative;
		z-index: 1;
		display: block;
		max-width: 540px;
		margin: clamp(250px, 78vw, 400px) var(--gutter) 0;
		padding: 30px 24px 58px;
		background: var(--white);
		border-top: 4px solid var(--red);
		box-shadow: 0 20px 44px rgba(27, 32, 80, .16);
	}
	.hero__h1 { margin: 0 0 22px; font-size: clamp(1.5rem, 6.4vw, 2rem); }
	.hero__quote { max-width: none; margin: 0 0 24px; }
	.hero__quote-mark { width: 24px; height: auto; margin-bottom: 8px; }
	.hero__quote p { font-size: 1.0625rem; }
	.hero__quote figcaption { margin-top: 8px; }
	.hero__action { display: block; }
	.hero__open { margin: 0; }
	.hero__cta {
		position: absolute;
		left: 24px; right: 24px;
		bottom: -28px;
		width: auto;
	}

	.hero__stage { margin: 64px 0 0; clip-path: none; background: none; }
	.hero__panels { display: block; height: auto; padding: 0 var(--gutter); }

	/* the other messages: small photo, title, text */
	.hero__panel,
	.hero__panel.is-active {
		display: grid;
		grid-template-columns: 84px 1fr;
		column-gap: 16px;
		row-gap: 12px;
		align-items: center;
		flex: none;
		padding: 22px 0;
		overflow: visible;
		background: none;
		border-top: 1px solid var(--line);
		cursor: default;
		transition: none;
	}
	.hero__panel:last-child { border-bottom: 1px solid var(--line); }
	.hero__panel::before,
	.hero__panel.is-active::before {
		position: static;
		inset: auto;
		display: block;
		grid-column: 1;
		grid-row: 1;
		width: 84px;
		height: 84px;
		background: var(--navy-deep) var(--img) var(--mpos, center) / var(--msize, cover) no-repeat;
		opacity: 1;
	}
	.hero__panel::after,
	.hero__panel.is-active::after { display: none; }
	.hero__body,
	.hero__panel.is-active .hero__body { display: contents; }
	.hero__title,
	.hero__panel.is-active .hero__title { grid-column: 2; grid-row: 1; font-size: 1.125rem; color: var(--navy); }
	.hero__text,
	.hero__panel.is-active .hero__text { display: block; grid-column: 1 / -1; grid-row: 2; }
	.hero__text > p,
	.hero__panel.is-active .hero__text > p { padding: 0; font-size: 1rem; color: var(--ink); }
	.hero__title button:focus-visible,
	.hero__panel.is-active .hero__title button:focus-visible { outline-color: var(--navy); }
}

/* Home: "Une formation par l'expérience" ---------------------------------
   Navy section. Text on the left, the video on the right in a slanted frame with a red
   block behind it, then three student voices side by side (no cards, no carousel). */
.exp {
	background: var(--navy);
	color: var(--white);
	padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 8vw, 120px);
	overflow-x: clip;
}
.exp__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}
.exp__title {
	margin: 0 0 28px;
	color: var(--white);
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 700;
	text-wrap: balance;
}
.exp__text p {
	max-width: 50ch;
	margin: 0 0 1.1em;
	font-size: 1.1875rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, .92);
}
.exp__text p:last-child { margin-bottom: 0; }

/* video: poster in a slanted frame, red block offset behind it */
.exp__video { position: relative; margin: 0 20px 20px 0; }
.exp__video::before {
	content: "";
	position: absolute;
	inset: 20px -20px -20px 20px;
	background: var(--red-btn);
	clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%);
}
.exp__frame {
	position: relative;
	aspect-ratio: 540 / 310;
	background: var(--navy-deep);
	clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%);
}
.exp__frame img { width: 100%; height: 100%; object-fit: cover; }
.exp__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}
.exp__play-btn {
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	padding-left: 5px;
	border-radius: 50%;
	background: var(--white);
	color: var(--navy);
	transition: transform .25s ease-out, background-color .2s ease, color .2s ease;
}
.exp__play:hover .exp__play-btn,
.exp__play:focus-visible .exp__play-btn { transform: scale(1.1); background: var(--red-btn); color: var(--white); }
.exp__play:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }

/* the three voices: one thin line across, the photos sit on it */
.exp__voices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 72px);
	margin-top: clamp(80px, 8vw, 112px);
	border-top: 1px solid rgba(255, 255, 255, .3);
}
.exp__voice { margin: 0; }
.exp__avatar {
	display: block;
	width: 64px;
	height: 64px;
	margin: -32px 0 22px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--navy), 0 0 0 6px var(--white);
}
.exp__quote { margin: 0; }
.exp__qmark { display: block; margin-bottom: 10px; color: var(--red); }
.exp__quote p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: rgba(255, 255, 255, .94); }
.exp__name {
	margin-top: 16px;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .9375rem;
	color: rgba(255, 255, 255, .82);
}

/* video pop-up */
.vmodal {
	width: min(960px, 94vw);
	max-width: none;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}
.vmodal::backdrop { background: rgba(27, 32, 80, .9); }
.vmodal__box { aspect-ratio: 16 / 9; background: #000; }
.vmodal__box iframe { display: block; width: 100%; height: 100%; border: 0; }
.vmodal__close {
	position: absolute;
	top: -54px; right: 0;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--white);
	cursor: pointer;
}
.vmodal__close:hover { color: var(--red); }
.vmodal__close:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

@media (max-width: 1024px) {
	.exp__grid { grid-template-columns: 1fr; gap: 44px; }
	.exp__title { margin-bottom: 20px; }
	.exp__text p { font-size: 1.125rem; }
	.exp__video { margin: 0 14px 14px 0; }
	.exp__video::before { inset: 14px -14px -14px 14px; clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%); }
	.exp__frame { clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%); }
	.exp__play-btn { width: 72px; height: 72px; }

	/* voices stack: photo on the left, a thin line between them */
	.exp__voices { display: block; margin-top: 48px; border-top: 0; }
	.exp__voice {
		display: grid;
		grid-template-columns: 56px 1fr;
		column-gap: 18px;
		padding: 28px 0;
		border-top: 1px solid rgba(255, 255, 255, .22);
	}
	.exp__avatar { grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0; box-shadow: 0 0 0 3px var(--white); }
	.exp__name { margin-top: 12px; }
}

/* Home: "Nos formations" ---------------------------------------------------
   A row of formation cards (they come from the Formations menu of the dashboard).
   The photo of each card ends in a slanted edge, with a round icon sitting on it. */
.forms { background: var(--tint); padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.forms__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: clamp(32px, 4vw, 52px);
}
.forms__title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 700;
	color: var(--navy);
}
.forms__sub { max-width: 60ch; margin: 0; font-size: 1.1875rem; line-height: 1.5; color: var(--ink); text-wrap: balance; }

.forms__nav { display: flex; gap: 10px; }
.forms__nav[hidden] { display: none; }
.forms__btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1.5px solid var(--navy);
	border-radius: 50%;
	background: none;
	color: var(--navy);
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, opacity .18s ease;
	touch-action: manipulation;
}
.forms__btn:hover:not(:disabled),
.forms__btn:focus-visible { background: var(--navy); color: var(--white); }
.forms__btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.forms__btn:disabled { opacity: .3; cursor: default; }

.forms__rail {
	--gap: 28px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
	gap: var(--gap);
	margin-inline: -4px;
	padding: 4px 4px 4px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 4px;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.forms__rail::-webkit-scrollbar { display: none; }
.forms__rail:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.forms__all { margin: 28px 0 0; font-family: var(--f-head); font-weight: 600; }
.forms__all a { color: var(--navy); text-underline-offset: 5px; }
.forms__empty {
	padding: 28px 32px;
	border: 2px dashed var(--line);
	background: var(--white);
	color: var(--muted);
}
.forms__empty p { margin: 0; max-width: 70ch; }

/* the card */
.fcard {
	position: relative;
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
	background: var(--white);
	border: 1px solid var(--line);
	transition: border-color .2s ease;
}
.fcard:hover,
.fcard:focus-within { border-color: var(--navy); }
.fcard__media { position: relative; }
.fcard__photo {
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: var(--navy);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}
.fcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fcard:hover .fcard__img { transform: scale(1.05); }
.fcard__level {
	position: absolute;
	top: 0; left: 0;
	padding: 8px 14px;
	background: var(--white);
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .8125rem;
}
.fcard__badge {
	position: absolute;
	left: 24px;
	bottom: -28px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 0 0 4px var(--white);
}
.fcard__body { display: flex; flex: 1; flex-direction: column; padding: 44px 24px 26px; }
.fcard__title { margin: 0; font-size: 1.3125rem; line-height: 1.25; }
.fcard__title a { color: var(--navy); text-decoration: none; }
.fcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* the whole card is clickable */
.fcard__title a:hover,
.fcard__title a:focus,
.fcard__title a:active,
.fcard__title a:visited { color: var(--navy); }
.fcard__title a:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }
.fcard__rule { display: block; width: 40px; height: 3px; margin: 16px 0; background: var(--red); transition: width .3s ease; }
.fcard:hover .fcard__rule { width: 72px; }
.fcard__text { margin: 0 0 22px; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.fcard__more {
	margin-top: auto;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .9375rem;
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* lists (all formations / one level) */
.flist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

@media (max-width: 1024px) {
	.forms__rail { --gap: 18px; grid-auto-columns: min(80%, 380px); }
	.flist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.forms__btn { width: 48px; height: 48px; }
}
@media (max-width: 720px) {
	.forms__rail { grid-auto-columns: 84%; }
	.forms__head { gap: 20px; }
	.forms__sub { font-size: 1.0625rem; }
	.flist { grid-template-columns: 1fr; }
	.fcard__body { padding: 40px 20px 24px; }
}

/* Home: "Le modèle pédagogique" -------------------------------------------
   A wheel of five skills (real SVG, real text). Three tonal rings per skill: the skill, then its
   four sub-skills. Choose a skill and it swells a little while its text appears beside the wheel;
   hover a sub-skill in the list and its arc lights up on the wheel. */
.model { background: var(--white); padding: clamp(64px, 8vw, 112px) 0; }
.model__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	grid-template-areas: "title wheel" "panels wheel";
	grid-template-rows: auto 1fr;
	column-gap: clamp(40px, 6vw, 96px);
	row-gap: 36px;
	align-items: start;
}
.model__title {
	grid-area: title;
	margin: 0;
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 700;
	color: var(--navy);
	text-wrap: balance;
}

/* the text of the chosen skill (all five share one box, so nothing jumps) */
.model__panels { grid-area: panels; display: grid; }
.model__panel {
	grid-area: 1 / 1;
	visibility: hidden;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.model__panel.is-on { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.model__name { margin: 0 0 22px; font-size: clamp(1.625rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.01em; color: var(--c); }
.model__name::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 16px; background: var(--c); }
.model__panel p { max-width: 54ch; margin: 0 0 1em; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
.model__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 20px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.model__items li {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 6px 10px 6px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .9375rem;
	line-height: 1.3;
	color: var(--ink);
	transition: color .2s ease, border-color .2s ease;
}
.model__items li::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	background: var(--c);
	transition: transform .2s ease;
}
.model__items li:hover,
.model__items li.is-lit { color: var(--c); border-bottom-color: var(--c); }
.model__items li:hover::before,
.model__items li.is-lit::before { transform: scale(1.35); }

/* the wheel */
.model__wheel { grid-area: wheel; justify-self: center; width: 100%; max-width: 560px; }
.wheel { display: block; width: 100%; height: auto; overflow: visible; }
.wheel__sector {
	cursor: pointer;
	outline: none;
	transform-box: view-box;
	transform-origin: 50% 50%;
	transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), filter .3s ease;
}
.wheel__sector:hover { transform: scale(1.018); }
.wheel__sector.is-active { transform: scale(1.045); filter: drop-shadow(0 6px 9px rgba(27, 32, 80, .28)); }

.wheel__ring,
.wheel__arc { stroke: var(--white); stroke-width: 3; stroke-linejoin: round; transition: fill .25s ease; }
.wheel__ring { fill: var(--c); }
.wheel__arc--2 { fill: color-mix(in srgb, var(--c) 78%, #fff); }
.wheel__arc--3 { fill: color-mix(in srgb, var(--c) 84%, #000); }
.wheel__arc--2.is-lit { fill: color-mix(in srgb, var(--c) 45%, #fff); }
.wheel__arc--3.is-lit { fill: color-mix(in srgb, var(--c) 60%, #fff); }
.wheel__label {
	fill: var(--white);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: .01em;
	pointer-events: none;
}
.wheel__sector:focus-visible .wheel__ring { stroke: var(--navy-deep); stroke-width: 6; }

.wheel__halo { fill: var(--white); filter: drop-shadow(0 3px 8px rgba(27, 32, 80, .22)); }
.wheel__core { fill: #f6f7fb; stroke: var(--line); stroke-width: 1.5; }
.model__hint { margin: 22px 0 0; text-align: center; font-size: .9375rem; color: var(--muted); }

@media (max-width: 1024px) {
	.model__grid {
		grid-template-columns: 1fr;
		grid-template-areas: "title" "wheel" "panels";
		grid-template-rows: auto;
		row-gap: 28px;
	}
	.model__wheel { max-width: 420px; }
	.model__hint { margin-top: 14px; }
}
@media (max-width: 480px) {
	.model__items { grid-template-columns: 1fr; gap: 0; }
	.wheel__label { font-size: 17px; }
}

/* Home: "Double diplomation" ------------------------------------------------
   Navy section. The photo sits in a double frame (a red outline behind it) and a white label
   says "ESMC + ESCO Wesford": two schools, two diplomas. The two key facts of the text are pulled out. */
.dd {
	background: var(--navy);
	color: var(--white);
	padding: clamp(64px, 8vw, 112px) 0 clamp(80px, 9vw, 128px);
	overflow-x: clip;
}
.dd__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(48px, 8vw, 112px);
	align-items: center;
}
.dd__title {
	margin: 0 0 26px;
	color: var(--white);
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 700;
	text-wrap: balance;
}
.dd__lead { max-width: 52ch; margin: 0 0 36px; font-size: 1.1875rem; line-height: 1.65; color: rgba(255, 255, 255, .92); }

.dd__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 40px;
	border-top: 1px solid rgba(255, 255, 255, .3);
}
.dd__fact { padding: 24px 24px 0 0; }
.dd__fact + .dd__fact { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .3); }
.dd__fact dt {
	margin: 0;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(2rem, 3.4vw, 2.875rem);
	line-height: 1;
	letter-spacing: -.01em;
}
.dd__fact dd { max-width: 27ch; margin: 12px 0 0; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }

.dd__link,
.dd__link:visited {
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	padding: 0 30px;
	border: 2px solid var(--white);
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}
.dd__link:hover,
.dd__link:focus,
.dd__link:active { background: var(--white); color: var(--navy); }
.dd__link:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }

/* the double frame */
.dd__visual { position: relative; margin: 22px 22px 34px 34px; }
.dd__visual::before {
	content: "";
	position: absolute;
	inset: -22px -22px 22px 22px;
	border: 3px solid var(--red);
}
.dd__photo { position: relative; z-index: 1; aspect-ratio: 590 / 490; background: var(--navy-deep); }
.dd__photo img { width: 100%; height: 100%; object-fit: cover; }
.dd__eq {
	position: absolute;
	z-index: 2;
	left: -34px;
	bottom: -34px;
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 18px 26px 20px;
	background: var(--white);
	border-top: 4px solid var(--red);
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.125rem, 1.7vw, 1.5rem);
	line-height: 1;
}
.dd__plus { color: var(--red); font-size: 1.3em; }

@media (max-width: 1024px) {
	.dd__grid { grid-template-columns: 1fr; gap: 64px; }
	.dd__visual { margin: 18px 18px 30px 28px; }
	.dd__visual::before { inset: -18px -18px 18px 18px; }
	.dd__eq { left: -28px; bottom: -30px; padding: 16px 20px 18px; }
}
@media (max-width: 480px) {
	.dd__lead { font-size: 1.125rem; }
	.dd__fact { padding-right: 14px; }
	.dd__fact + .dd__fact { padding-left: 18px; }
	.dd__fact dd { font-size: .875rem; }
	.dd__fact dt { font-size: clamp(1.5rem, 7.2vw, 2rem); white-space: nowrap; }
	.dd__link { width: 100%; justify-content: center; }
}

/* Home: "Vie à l'ESMC" -----------------------------------------------------
   Text on the left. On the right a mosaic of three activity photos and a "Meet our people" tile;
   the right-hand column sits a little lower, so the mosaic does not look like a grid. */
.life { background: var(--tint); padding: clamp(64px, 8vw, 112px) 0 clamp(88px, 9vw, 128px); overflow-x: clip; }
.life__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.life__title {
	margin: 0 0 24px;
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 700;
	color: var(--navy);
	text-wrap: balance;
}
.life__text p { max-width: 46ch; margin: 0 0 34px; font-size: 1.1875rem; line-height: 1.65; color: var(--ink); }
.life__btn,
.life__btn:visited {
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	padding: 0 32px;
	background: var(--navy);
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color .18s ease;
}
.life__btn:hover,
.life__btn:focus,
.life__btn:active { background: var(--navy-deep); color: var(--white); }
.life__btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

.life__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 44px; }
.life__tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 394 / 295;
	background: var(--navy-deep);
}
.life__tile:nth-child(even) { transform: translateY(44px); }
.life__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.life__tile::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 5px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease;
}
.life__tile:hover img,
.life__tile:focus-visible img { transform: scale(1.06); }
.life__tile:hover::after,
.life__tile:focus-visible::after { transform: scaleX(1); }
.life__tile:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.life__tile:has(.life__caption)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(27, 32, 80, .82), rgba(27, 32, 80, 0) 62%);
}
.life__caption {
	position: absolute;
	z-index: 2;
	left: 18px; right: 18px; bottom: 20px;
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1.1875rem;
	line-height: 1.2;
}

.life__tile--people,
.life__tile--people:visited {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 22px 22px 20px;
	background: var(--navy);
	color: var(--white);
	text-decoration: none;
	transition: background-color .2s ease, transform 0s;
}
.life__tile--people:hover,
.life__tile--people:focus { background: var(--red-btn); color: var(--white); }
.life__people { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.2; }
.life__tile--people svg { align-self: flex-end; transition: transform .25s ease; }
.life__tile--people:hover svg,
.life__tile--people:focus-visible svg { transform: translateX(6px); }
.life__tile--people::after { display: none; }

.cta-red,
.cta-red:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 38px;
	background: var(--red-btn);
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1.0625rem;
	text-decoration: none;
	transition: background-color .15s ease;
}
.cta-red:hover,
.cta-red:focus,
.cta-red:active { background: var(--red-btn-hover); color: var(--white); }
.cta-red:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* Home: call to teachers --------------------------------------------------
   The photo is cut out, and her desk has the exact blue of the school, so she sits on the section. */
.team { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 0; overflow: hidden; }
.team__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: end;
}
.team__img { align-self: end; max-width: 470px; }
.team__img img { display: block; width: 100%; height: auto; }
.team__text { align-self: center; padding-bottom: clamp(56px, 7vw, 96px); }
.team__title {
	max-width: 24ch;
	margin: 0 0 36px;
	color: var(--white);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.2;
	letter-spacing: -.01em;
	font-weight: 700;
	text-wrap: balance;
}

/* Home: location, drawn as a tramway line with three stops -------------- */
.where { background: var(--white); padding: clamp(64px, 8vw, 112px) 0 clamp(64px, 8vw, 104px); }
.where__title {
	margin: 0;
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 700;
	color: var(--navy);
}
.where__route {
	--gap: clamp(32px, 5vw, 72px);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
	margin: clamp(48px, 6vw, 72px) 0 0;
	padding: 0;
	list-style: none;
}
.where__stop { position: relative; }
.where__dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border: 4px solid var(--navy);
	border-radius: 50%;
	background: var(--white);
	color: var(--navy);
}
.where__stop:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 28px;
	left: 60px;
	right: calc(var(--gap) * -1);
	height: 4px;
	background: var(--navy);
}
.where__stop--end .where__dot { border-color: var(--red-btn); background: var(--red-btn); color: var(--white); }
.where__stop h3 { margin: 24px 0 10px; font-size: 1.25rem; color: var(--navy); }
.where__stop p { max-width: 38ch; margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }

.where__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	margin-top: clamp(56px, 7vw, 88px);
	padding: 34px 0;
	border-top: 1px solid var(--line);
}
.where__cta-title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; color: var(--navy); }
.where__address { margin: 10px 0 0; font-size: 1rem; color: var(--muted); }
.where__address a { color: var(--navy); text-underline-offset: 4px; }
.where__btn,
.where__btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 38px;
	background: var(--navy);
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1.0625rem;
	text-decoration: none;
	transition: background-color .15s ease;
}
.where__btn:hover,
.where__btn:focus,
.where__btn:active { background: var(--navy-deep); color: var(--white); }
.where__btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.where__about { max-width: 92ch; margin: 8px 0 0; font-size: .9375rem; line-height: 1.7; color: var(--muted); }

@media (max-width: 1024px) {
	.life__grid { grid-template-columns: 1fr; gap: 48px; }
	.team__grid { grid-template-columns: 1fr; gap: 0; }
	.team__text { order: 1; padding-bottom: 44px; }
	.team__img { order: 2; justify-self: center; max-width: 360px; }
}
@media (max-width: 760px) {
	.where__route { grid-template-columns: 1fr; gap: 0; }
	.where__stop { min-height: 60px; padding: 0 0 40px 84px; }
	.where__stop:last-child { padding-bottom: 0; }
	.where__dot { position: absolute; top: 0; left: 0; }
	.where__stop:not(:last-child)::before { top: 60px; left: 28px; right: auto; width: 4px; height: calc(100% - 60px); }
	.where__stop h3 { margin-top: 10px; }
	.where__btn { width: 100%; }
}
@media (max-width: 560px) {
	.life__mosaic { grid-template-columns: 1fr; gap: 16px; padding-bottom: 0; }
	.life__tile:nth-child(even) { transform: none; }
	.life__btn { width: 100%; justify-content: center; }
}

/* Contact page -------------------------------------------------------------
   The graduates photo, with two cards laid over its lower edge: the details (navy) and the form (white). */
.cbanner { position: relative; height: clamp(220px, 30vw, 360px); overflow: hidden; background: var(--navy-deep); }
.cbanner img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.cbanner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 32, 80, .55), rgba(27, 32, 80, 0) 60%); }

.cgrid {
	--overlap: clamp(64px, 8vw, 120px);
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 28px;
	margin-top: calc(var(--overlap) * -1);
	margin-bottom: clamp(56px, 7vw, 96px);
	align-items: stretch;
}
.ccard { padding: clamp(28px, 3.4vw, 48px); background: var(--white); border-top: 4px solid var(--red); }

.ccard--info { background: var(--navy); color: var(--white); }
.ccard--info h1 {
	margin: 0 0 14px;
	color: var(--white);
	font-size: clamp(2rem, 3.4vw, 2.875rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 700;
}
.ccard__intro { margin: 0 0 30px; font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.cdetails { display: grid; margin: 0 0 30px; padding: 0; list-style: none; }
.cdetails li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .24);
}
.cdetails .icon { margin-top: 3px; opacity: .85; }
.cdetails__label { display: block; margin-bottom: 3px; font-size: .875rem; color: rgba(255, 255, 255, .72); }
.cdetails p { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.45; }
.ccard--info a,
.ccard--info a:visited { color: var(--white); text-underline-offset: 4px; }
.ccard--info a:hover,
.ccard--info a:focus { color: var(--white); text-decoration: underline; }
.ccard--info :focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.cdetails li > div > a { display: inline-block; margin-top: 6px; font-size: .9375rem; text-decoration: underline; }
.csocial { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.csocial a,
.csocial a:visited {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1.5px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.csocial a:hover,
.csocial a:focus { background: var(--white); border-color: var(--white); color: var(--navy); text-decoration: none; }

/* the form */
.ccard--form { border: 1px solid var(--line); border-top: 4px solid var(--red); }
.ccard--form h2 { margin: 0 0 28px; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--navy); }
.cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.cfield { margin-bottom: 22px; }
.cfield label { display: block; margin-bottom: 8px; font-family: var(--f-head); font-weight: 600; font-size: .9375rem; color: var(--navy); }
.cfield label span[aria-hidden] { color: var(--red-btn); }
.cfield input[type="text"],
.cfield input[type="email"],
.cfield input[type="tel"],
.cfield input[type="number"],
.cfield textarea {
	display: block;
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid #9aa0bf;
	border-radius: 0;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.cfield textarea { min-height: 150px; resize: vertical; }
.cfield input:focus,
.cfield textarea:focus { border-color: var(--navy); outline: 0; box-shadow: 0 0 0 3px rgba(40, 47, 108, .22); }
.cfield.has-error input,
.cfield.has-error textarea { border-color: var(--red-btn); }
.cfield__error { margin: 8px 0 0; font-size: .9375rem; font-weight: 600; color: #b3201e; }
.cfield--check label { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-family: var(--f-body); font-weight: 400; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.cfield--check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy); }
.cfield--check a { color: var(--navy); text-underline-offset: 3px; }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__submit { min-width: 220px; border: 0; cursor: pointer; }
.cform__submit:disabled { opacity: .7; cursor: wait; }

.cnotice { margin-bottom: 24px; padding: 20px 24px; border-left: 4px solid var(--navy); background: var(--tint); line-height: 1.55; }
.cnotice:focus { outline: 0; }
.cnotice--error { border-left-color: var(--red-btn); background: #fdeceb; color: #5c1210; }
.cnotice--ok { display: grid; justify-items: start; gap: 10px; padding: 32px; color: var(--navy); }
.cnotice--ok h3 { margin: 4px 0 0; font-size: 1.5rem; }
.cnotice--ok p { margin: 0 0 12px; color: var(--ink); }

/* map: loads from Google only when asked */
.cmapwrap { background: var(--white); padding: 0 0 clamp(64px, 8vw, 104px); }
.cmap { display: grid; place-items: center; min-height: 380px; border: 1px solid var(--line); background: var(--tint); text-align: center; }
.cmap.is-loaded { display: block; }
.cmap iframe { display: block; width: 100%; height: 440px; border: 0; }
.cmap__intro { max-width: 540px; padding: 40px 24px; color: var(--navy); }
.cmap__address { margin: 14px 0 22px; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.cmap__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.cmap__load { border: 0; cursor: pointer; }
.cmap__link { color: var(--navy); font-family: var(--f-head); font-weight: 600; text-underline-offset: 5px; }
.cmap__note { margin: 22px 0 0; font-size: .875rem; color: var(--muted); }

@media (max-width: 1024px) {
	.cgrid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
	.cform__row { grid-template-columns: 1fr; }
	.cform__submit { width: 100%; }
	.ccard { padding: 26px 22px; }
	.cmap iframe { height: 360px; }
}

/* Pre-registration: a guided form in three steps (shares the banner + cards of the contact page) */
.psteps { margin: 0 0 28px; padding: 0; list-style: none; }
.psteps li {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, .24);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, .68);
	transition: color .2s ease;
}
.psteps__n {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	font-size: .9375rem;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.psteps li.is-current,
.psteps li.is-done { color: var(--white); }
.psteps li.is-current .psteps__n { background: var(--white); border-color: var(--white); color: var(--navy); }
.psteps li.is-done .psteps__n { background: var(--red-btn); border-color: var(--red-btn); font-size: 0; }
.psteps li.is-done .psteps__n::after {
	content: "";
	width: 8px;
	height: 15px;
	border-right: 3px solid var(--white);
	border-bottom: 3px solid var(--white);
	transform: rotate(45deg) translate(-1px, -2px);
}
.phelp { padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .24); }
.phelp p { margin: 18px 0 12px; font-size: 1rem; color: rgba(255, 255, 255, .85); }
.phelp ul { margin: 0; padding: 0; list-style: none; }
.phelp li { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-family: var(--f-head); font-weight: 600; }

.pform { position: relative; }
.pprogress { display: none; gap: 6px; margin-bottom: 14px; }
.pprogress span { flex: 1; height: 5px; background: var(--line); transition: background-color .25s ease; }
.pprogress span.is-on { background: var(--navy); }
.pstepline { display: none; margin: 0 0 22px; font-family: var(--f-head); font-weight: 600; font-size: .9375rem; color: var(--muted); }
.pstep { min-width: 0; margin: 0 0 6px; padding: 0; border: 0; }
.pstep[hidden] { display: none; }
.pstep legend { margin: 0 0 22px; padding: 0; font-family: var(--f-head); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: var(--navy); }

.cfield__label { display: block; margin-bottom: 8px; font-family: var(--f-head); font-weight: 600; font-size: .9375rem; color: var(--navy); }
.cfield__label span[aria-hidden] { color: var(--red-btn); }
.pchoices { display: flex; flex-wrap: wrap; gap: 12px; }
.cfield .pchoice { position: relative; margin: 0; }
.pchoice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pchoice span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 52px;
	padding: 0 24px;
	border: 1.5px solid #9aa0bf;
	background: var(--white);
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pchoice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pchoice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; }
.cfield.has-error .pchoice span { border-color: var(--red-btn); }

.cfield select {
	display: block;
	width: 100%;
	padding: 14px 46px 14px 16px;
	border: 1.5px solid #9aa0bf;
	border-radius: 0;
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23282f6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
	text-overflow: ellipsis;
}
.cfield select:focus { border-color: var(--navy); outline: 0; box-shadow: 0 0 0 3px rgba(40, 47, 108, .22); }
.cfield select:disabled { background-color: var(--tint); color: var(--muted); cursor: not-allowed; }
.cfield.has-error select { border-color: var(--red-btn); }

.phone { display: grid; grid-template-columns: minmax(150px, 190px) minmax(0, 1fr); gap: 10px; }
.cfield--phone select { padding-right: 38px; }
@media (max-width: 480px) { .phone { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.plaw { margin: 4px 0 18px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.precap { display: grid; gap: 6px; margin: 0 0 22px; padding: 18px 20px; background: var(--tint); border-left: 4px solid var(--navy); }
.precap[hidden] { display: none; }
.precap div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.precap dt { min-width: 96px; font-weight: 600; color: var(--muted); }
.precap dd { margin: 0; color: var(--ink); }

.pnav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.pnav [hidden] { display: none; }
.pnav__back {
	min-height: 48px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: underline;
	text-underline-offset: 5px;
	cursor: pointer;
}
.pnav__next,
.pnav__send { min-width: 200px; margin-left: auto; border: 0; cursor: pointer; }
.pnav__send:disabled { opacity: .7; cursor: wait; }

@media (min-width: 1025px) {
	/* the numbered list on the navy card already shows the step: keep this line for screen readers only */
	.pform.is-js .pstepline { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1024px) {
	.psteps { display: none; }
	.pform.is-js .pprogress { display: flex; }
	.pform.is-js .pstepline { display: block; }
}
@media (max-width: 640px) {
	.phelp { display: none; }
	.pnav { flex-direction: column-reverse; align-items: stretch; }
	.pnav__next,
	.pnav__send { width: 100%; margin-left: 0; }
	.pnav__back { align-self: center; }
	.pchoice span { min-width: 0; }
	.pchoices { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Admission: three real steps on a vertical line */
.adm { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.adm__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.adm__head h1 { margin: 0 0 14px; font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.adm__head p { margin: 0; font-size: 1.1875rem; line-height: 1.55; color: var(--muted); }

.adm__steps { margin: 0; padding: 0; list-style: none; }
.adm__step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: clamp(16px, 3vw, 40px); padding-bottom: clamp(40px, 6vw, 64px); }
.adm__step::before { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 2px; background: var(--line); }
.adm__step--last { padding-bottom: 0; }
.adm__step--last::before { display: none; }
.adm__n {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	background: var(--navy);
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1.5rem;
}
.adm__step--last .adm__n { background: var(--red-btn); }
.adm__body { min-width: 0; padding-top: 8px; }
.adm__body h2 { margin: 0 0 24px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; color: var(--navy); }
.adm__body h3 { margin: 32px 0 16px; font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.adm__body h3:first-of-type { margin-top: 0; }

/* 1. choices */
.adm__choices { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.adm__choices a,
.adm__choices a:visited {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	height: 100%;
	min-height: 148px;
	padding: 24px;
	border: 1.5px solid var(--line);
	border-top: 4px solid var(--red);
	background: var(--white);
	color: var(--navy);
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}
.adm__choices a:hover,
.adm__choices a:focus-visible { border-color: var(--navy); border-top-color: var(--red); background: var(--tint); color: var(--navy); }
.adm__choices svg { margin-bottom: 14px; color: var(--navy); }
.adm__choice-name { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.adm__choice-sub { font-size: 1rem; color: var(--muted); }

/* 2. conditions as a table (wide screens) and as one list per track (phones) */
.adm__table { width: 100%; border-collapse: collapse; background: var(--white); }
.adm__table thead th { padding: 16px 12px; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 1rem; text-align: center; border-left: 1px solid rgba(255, 255, 255, .22); }
.adm__table thead td { background: var(--navy); }
.adm__table tbody th { padding: 16px 20px; font-weight: 500; font-size: 1.0625rem; line-height: 1.4; text-align: left; color: var(--ink); background: var(--tint); }
.adm__table tbody td { width: 18%; padding: 16px 12px; text-align: center; border-left: 1px solid var(--line); }
.adm__table tbody tr + tr > * { border-top: 1px solid var(--line); }
.adm__yes { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--red-btn); color: var(--white); }
.adm__no { color: #8a8fab; font-size: 1.25rem; }
.adm__tracks { display: none; }

/* documents */
.adm__docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.adm__doc,
.adm__track { padding: 24px 24px 20px; border: 1.5px solid var(--line); border-top: 4px solid var(--navy); background: var(--white); }
.adm__doc h4,
.adm__track h4 { margin: 0 0 14px; font-family: var(--f-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; color: var(--navy); }
.adm__doc ul,
.adm__track ul { margin: 0; padding: 0; list-style: none; }
.adm__doc li,
.adm__track li { position: relative; padding: 0 0 10px 22px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.adm__doc li::before,
.adm__track li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--red); }

/* 3. apply */
.adm__cta { display: inline-flex; min-width: 280px; padding: 12px 32px; text-align: center; }
.adm__cta:focus-visible { outline-color: var(--navy); }
.adm__help { margin: 20px 0 0; font-size: 1.0625rem; line-height: 1.55; color: var(--muted); }
.adm__help a { white-space: nowrap; font-family: var(--f-head); font-weight: 600; color: var(--navy); text-underline-offset: 4px; }

@media (max-width: 1024px) {
	.adm__choices { grid-template-columns: 1fr; }
	.adm__choices a { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
	.adm__choices svg { margin: 0; flex: none; }
	.adm__choice-sub { margin-left: auto; }
}
@media (max-width: 820px) {
	.adm__table { display: none; }
	.adm__tracks { display: grid; gap: 16px; }
	.adm__docs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.adm__step { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; }
	.adm__step::before { left: 19px; top: 48px; }
	.adm__n { width: 40px; height: 40px; font-size: 1.125rem; }
	.adm__body { padding-top: 2px; }
	.adm__cta { display: flex; min-width: 0; width: 100%; }
	.adm__doc,
	.adm__track { padding: 20px 18px 14px; }
	.adm__doc h4,
	.adm__track h4,
	.adm__doc li,
	.adm__track li { overflow-wrap: break-word; }
}

.cbanner--top img { object-position: center 0; }

/* Activités parascolaires ------------------------------------------------- */
.actintro { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.actintro h1 { margin: 0 0 clamp(20px, 3vw, 32px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.actintro__lead { max-width: 28em; margin: 0 0 clamp(36px, 5vw, 64px); font-family: var(--f-head); font-weight: 500; font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink); }
.actintro__lead strong { font-weight: 700; color: var(--navy); }
.actintro__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.actintro__text p { margin: 0 0 20px; font-size: 1.1875rem; line-height: 1.65; color: var(--ink); }
.actintro__text strong { font-weight: 700; color: var(--navy); }
.actintro__text .actintro__quote { margin-bottom: 28px; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 600; font-size: 1.3125rem; line-height: 1.45; color: var(--navy); }
.actintro__video { margin: 0; }
.actintro__video figcaption { margin-top: 28px; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: var(--navy); }

.actlist { padding-block: clamp(56px, 8vw, 104px); background: var(--tint); }
.actlist h2 { margin: 0 0 clamp(36px, 5vw, 64px); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--navy); }
.act { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.act:last-child { margin-bottom: 0; }
.act--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.act--flip .act__photo { order: 2; }
.act__photo { position: relative; aspect-ratio: var(--ratio, 3 / 2); overflow: hidden; background: var(--navy-deep); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
.act--flip .act__photo { clip-path: polygon(0 0, 100% 0, 100% 100%, 44px 100%); }
.act__photo a { display: block; width: 100%; height: 100%; }
.act__photo a[hidden] { display: none; }
.act__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.act__photo a:hover img,
.act__photo a:focus-visible img { transform: scale(1.04); }
.act__photo a:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }
.act__text h3 { margin: 0 0 16px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: var(--navy); }
.act__text p { margin: 0 0 28px; font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.act__more {
	min-height: 48px;
	padding: 0 26px;
	border: 1.5px solid var(--navy);
	background: transparent;
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.act__more:hover,
.act__more:focus-visible { background: var(--navy); color: var(--white); }
.act__more:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.actwall { padding-block: clamp(56px, 8vw, 104px) 0; }
.actwall .wrap { container-type: inline-size; }
.actwall__grid {
	--cols: 4;
	--gap: 10px;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols));
	grid-auto-flow: dense;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.actwall__grid li { position: relative; overflow: hidden; background: var(--navy-deep); }
.actwall__grid li.is-big { grid-column: span 2; grid-row: span 2; }
.actwall__grid a { position: absolute; inset: 0; display: block; }
.actwall__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.actwall__grid a:hover img,
.actwall__grid a:focus-visible img { transform: scale(1.05); }
.actwall__grid a:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }

.actcta { margin-top: clamp(56px, 8vw, 104px); padding-block: clamp(40px, 6vw, 72px); background: var(--tint); }
.actcta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.actcta h2 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; color: var(--navy); }
.actcta .cta-red { min-width: 240px; }

/* Photo viewer */
.lbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); overflow: hidden; }
.lbox[open] { display: grid; place-items: center; }
.lbox::backdrop { background: rgba(27, 32, 80, .97); }
.lbox__fig { display: grid; justify-items: center; gap: 16px; margin: 0; padding: 0 clamp(16px, 8vw, 120px); }
.lbox__img { display: block; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; background: var(--navy-deep); }
.lbox__cap { font-family: var(--f-head); font-weight: 600; font-size: 1rem; text-align: center; }
.lbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 0;
	background: var(--white);
	color: var(--navy);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.lbox__btn[hidden] { display: none; }
.lbox__btn:hover,
.lbox__btn:focus-visible { background: var(--red-btn); color: var(--white); }
.lbox__btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.lbox__close { top: 16px; right: 16px; }
.lbox__prev { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lbox__next { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
	.actintro__cols { grid-template-columns: 1fr; }
	.actintro__video { max-width: 560px; }
	.act,
	.act--flip { grid-template-columns: 1fr; gap: 24px; }
	.act--flip .act__photo { order: 0; }
}
@media (max-width: 640px) {
	.actwall__grid { --cols: 2; --gap: 8px; }
	.act__photo,
	.act--flip .act__photo { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
	.actcta .cta-red { width: 100%; }
	.lbox__prev,
	.lbox__next { top: auto; bottom: 20px; transform: none; }
	.lbox__prev { left: calc(50% - 64px); }
	.lbox__next { right: calc(50% - 64px); }
	.lbox__img { max-height: calc(100vh - 210px); }
	.lbox__fig { padding: 0 8px; }
}

/* Mot de la Direction: a letter ------------------------------------------- */
.cbanner--faces img { object-position: center 15%; }
.letter { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.letter__head { max-width: 920px; margin-bottom: clamp(48px, 7vw, 88px); }
.letter__head h1 { margin: 0 0 clamp(24px, 4vw, 40px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.letter__quote { margin: 0; padding-left: clamp(20px, 3vw, 32px); border-left: 6px solid var(--red); }
.letter__quote blockquote { margin: 0; }
.letter__quote p { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.625rem, 3.6vw, 2.75rem); line-height: 1.2; color: var(--navy); }
.letter__quote figcaption { margin-top: 20px; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: var(--muted); }

.letter__part { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.letter__part + .letter__part { margin-top: clamp(56px, 8vw, 112px); }
.letter__part--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.letter__part--flip .letter__side { order: -1; }
.letter__text { max-width: 40em; }
.letter__text p { margin: 0 0 24px; font-size: 1.1875rem; line-height: 1.75; color: var(--ink); }
.letter__text strong { font-weight: 700; color: var(--navy); }
.letter__text .letter__lead { margin: 36px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; color: var(--navy); }
.letter__text .letter__lead strong { color: inherit; }

.letter__side { position: sticky; top: 140px; }
.letter__photo { display: block; width: 100%; height: auto; aspect-ratio: 630 / 1000; object-fit: cover; background: var(--navy-deep); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
.letter__pair { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.letter__pair .letter__photo { clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
.letter__pair .letter__photo + .letter__photo { margin-top: 56px; }

.letter + .actcta { margin-top: 0; }

@media (max-width: 900px) {
	.letter__part,
	.letter__part--flip { grid-template-columns: 1fr; gap: 32px; }
	.letter__part--flip .letter__side { order: 0; }
	.letter__side { position: static; max-width: 420px; }
	.letter__pair { max-width: 520px; }
}
@media (max-width: 640px) {
	.letter__side:not(.letter__pair) { max-width: 300px; }
	.letter__photo { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
	.letter__pair .letter__photo { clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%); }
	.letter__pair .letter__photo + .letter__photo { margin-top: 32px; }
}

/* Le modèle ESMC ---------------------------------------------------------- */
.mintro { padding-block: clamp(40px, 6vw, 72px) 0; }
.mintro__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.mintro h1 { margin: 0 0 clamp(20px, 3vw, 32px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.mintro__lead { max-width: 28em; margin: 0 0 32px; padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.4; color: var(--navy); }
.mintro__text p { margin: 0 0 20px; max-width: 40em; font-size: 1.1875rem; line-height: 1.7; color: var(--ink); }
.mintro__text .mintro__lead { margin-bottom: 32px; }
.mintro__text strong { font-weight: 700; color: var(--navy); }
.mintro__photo { display: block; width: 100%; max-width: 340px; height: auto; margin-top: clamp(0px, 4vw, 56px); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
.mintro__design { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 88px); }
.mintro__design p { margin: 0; padding-top: 20px; border-top: 4px solid var(--navy); font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.mintro__group { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; margin-top: clamp(48px, 7vw, 88px); background: var(--navy-deep); }

.m360 { padding-block: clamp(56px, 8vw, 104px); background: var(--tint); }
.m360 h2,
.mcoach h2 { margin: 0 0 16px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--navy); }
.m360__intro { max-width: 40em; margin: 0 0 clamp(32px, 5vw, 56px); font-size: 1.1875rem; line-height: 1.6; color: var(--ink); }
.m360__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m360__box { padding: clamp(28px, 4vw, 48px); color: var(--white); background: var(--navy); }
.m360__box:nth-child(2),
.m360__box:nth-child(3) { background: var(--red-btn); }
.m360__box:nth-child(odd) { padding-right: clamp(56px, 6vw, 72px); }
.m360__box:nth-child(even) { padding-left: clamp(56px, 6vw, 72px); }
.m360__box h3 { margin: 0 0 6px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.15; color: var(--white); }
.m360__box p { margin: 0 0 16px; font-size: 1.0625rem; line-height: 1.6; color: var(--white); }
.m360__box .m360__name { margin-bottom: 14px; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.m360__box ul { margin: 20px 0 0; padding: 0; list-style: none; }
.m360__box li { position: relative; padding: 0 0 6px 18px; font-size: 1.0625rem; line-height: 1.45; font-weight: 600; }
.m360__box li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--white); }
.m360__core { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: 6px; width: 112px; padding: 16px 0 14px; transform: translate(-50%, -50%); background: var(--white); color: var(--navy); border: 3px solid var(--navy); }
.m360__core span { font-family: var(--f-head); font-weight: 700; font-size: 1rem; }

.mcoach { padding-block: clamp(56px, 8vw, 104px); }
.mcoach h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.msteps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.mstep { position: relative; padding-right: 24px; }
.mstep::before { content: ""; position: absolute; top: 26px; left: 56px; right: 0; height: 3px; background: var(--navy); }
.mstep--end::before { display: none; }
.mstep__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 1.375rem; }
.mstep--end .mstep__n { background: var(--red-btn); }
.mstep h3 { margin: 20px 0 10px; font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; line-height: 1.25; color: var(--navy); }
.mstep p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.mstep__loop { position: absolute; z-index: 2; top: 6px; left: calc(28px + 50%); display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--navy); transform: translateX(-50%); }
.mcoach__loop { display: flex; align-items: center; gap: 20px; max-width: 920px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 24px 28px; background: var(--navy); color: var(--white); font-size: 1.125rem; line-height: 1.6; }
.mcoach__loop svg { flex: none; }

@media (max-width: 1100px) {
	.msteps { grid-template-columns: 1fr; max-width: 720px; }
	.mstep { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 0 0 36px; }
	.mstep::before { top: 60px; bottom: 4px; left: 26px; right: auto; width: 3px; height: auto; }
	.mstep__n { grid-row: span 2; }
	.mstep h3 { margin: 4px 0 8px; }
	.mstep:nth-last-child(2) { padding-bottom: 72px; }
	.mstep__loop { top: auto; right: auto; bottom: 14px; left: 8px; transform: none; }
	.mstep--end { padding-bottom: 0; }
}
@media (max-width: 900px) {
	.mintro__top { grid-template-columns: 1fr; }
	.mintro__photo { max-width: 260px; margin-top: 0; }
	.mintro__design { grid-template-columns: 1fr; gap: 28px; }
	.m360__grid { grid-template-columns: 1fr; }
	.m360__box:nth-child(n) { padding: 32px 24px; }
	.m360__box:nth-child(2) { background: var(--red-btn); }
	.m360__box:nth-child(3) { background: var(--navy); }
	.m360__box:nth-child(4) { background: var(--red-btn); }
	.m360__core { display: none; }
}
@media (max-width: 640px) {
	.mintro__group { aspect-ratio: 4 / 3; }
	.mintro__photo { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
	.mstep { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
	.mstep__n { width: 44px; height: 44px; font-size: 1.125rem; }
	.mstep::before { left: 20px; top: 48px; }
	.mstep__loop { left: 0; }
	.mcoach__loop { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

/* Corps professoral ------------------------------------------------------- */
.fac { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.fac h1 { margin: 0 0 clamp(32px, 5vw, 56px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.fac__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.fac__card { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fac__photo { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #aab1de; clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
.fac__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
.fac__card:hover .fac__photo img,
.fac__card:focus-visible .fac__photo img { filter: none; mix-blend-mode: normal; }
.fac__card:focus-visible { outline: 3px solid var(--navy); outline-offset: 6px; }
.fac__name { display: block; margin-top: 20px; font-family: var(--f-head); font-weight: 700; font-size: 1.3125rem; line-height: 1.2; color: var(--navy); }
.fac__role { display: block; margin-top: 6px; font-size: 1.0625rem; line-height: 1.45; color: var(--muted); }
.fac__more { display: inline-block; margin-top: 12px; font-family: var(--f-head); font-weight: 600; font-size: .9375rem; color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.fac__card:hover .fac__more { text-decoration-color: var(--navy); }

.pbio { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 40px); margin: auto; padding: 0; border: 0; border-top: 6px solid var(--red); background: var(--white); color: var(--ink); overflow: auto; }
.pbio::backdrop { background: rgba(27, 32, 80, .92); }
.pbio__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pbio__img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 15%; background: var(--tint); }
.pbio__body { padding: clamp(28px, 4vw, 48px); }
.pbio__name { margin: 0 44px 8px 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; color: var(--navy); }
.pbio__role { margin: 0 0 24px; font-size: 1.125rem; line-height: 1.45; color: var(--muted); }
.pbio__text p { margin: 0 0 16px; font-size: 1.0625rem; line-height: 1.7; }
.pbio__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--white); color: var(--navy); cursor: pointer; }
.pbio__close:hover { background: var(--red-btn); color: var(--white); }
.pbio__close:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.join { padding-block: clamp(56px, 8vw, 104px); background: var(--tint); }
.join__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.join__intro h2 { margin: 0 0 32px; max-width: 14em; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.25; color: var(--navy); }
.join__intro img { display: block; width: 100%; max-width: 380px; height: auto; mix-blend-mode: multiply; }
.join__sub { margin: 0 0 24px; font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.join .ccard--form { margin: 0; }
.cfield--file input[type="file"] { display: block; width: 100%; padding: 12px; border: 1.5px dashed #9aa0bf; background: var(--tint); color: var(--ink); font: inherit; font-size: 1rem; cursor: pointer; }
.cfield--file input[type="file"]::file-selector-button { margin-right: 14px; padding: 10px 18px; border: 0; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: .9375rem; cursor: pointer; }
.cfield--file input[type="file"]:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(40, 47, 108, .22); }
.cfield--file.has-error input { border-color: var(--red-btn); }
.cfield__hint { margin: 8px 0 0; font-size: .9375rem; color: var(--muted); }

@media (min-width: 1025px) {
	.fac__item:nth-child(3n + 2) { margin-top: 48px; }
}
@media (max-width: 1024px) {
	.fac__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.join__grid { grid-template-columns: 1fr; }
	.join__intro { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 20px; align-items: end; }
	.join__intro h2 { margin: 0; }
	.pbio__grid { grid-template-columns: 1fr; }
	.pbio__img { min-height: 0; height: 280px; }
}
@media (max-width: 560px) {
	.fac__grid { gap: 28px 16px; }
	.fac__photo { clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%); }
	.fac__name { font-size: 1.0625rem; margin-top: 14px; }
	.fac__role { font-size: .9375rem; }
	.fac__more { font-size: .875rem; }
	.join__intro { grid-template-columns: 1fr; }
	.join__intro img { max-width: 220px; margin-top: 8px; }
}

/* Level pages (BAC +3 ...) ------------------------------------------------ */
.cbanner--mid img { object-position: center 38%; }
.lvl { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.lvl__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.lvl h1 { margin: 0 0 clamp(20px, 3vw, 32px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.lvl .lvl__lead { max-width: 28em; margin: 0 0 16px; padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.3; color: var(--navy); }
.lvl__lead2 { max-width: 34em; margin: 0 0 32px; padding-left: 26px; font-family: var(--f-head); font-weight: 500; font-size: 1.1875rem; line-height: 1.5; color: var(--ink); }
.lvl__text p { margin: 0 0 20px; max-width: 42em; font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
.lvl__text .lvl__lead2 { margin-bottom: 32px; }
.lvl__more { max-width: 42em; }
.lvl__more summary { display: inline-block; margin: 0 0 20px; font-family: var(--f-head); font-weight: 600; font-size: 1rem; color: var(--navy); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; list-style: none; }
.lvl__more summary::-webkit-details-marker { display: none; }
.lvl__more summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.lvl__more-close { display: none; }
.lvl__more[open] .lvl__more-open { display: none; }
.lvl__more[open] .lvl__more-close { display: inline; }
.lvl__more[open] summary { margin-top: 4px; }
.lvl__text .cta-red { padding: 12px 28px; text-align: center; }
.lvl__text .lvl__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin: 36px 0 0; }
.lvl__link,
.lvl__link:visited { font-family: var(--f-head); font-weight: 600; font-size: 1rem; color: var(--navy); text-underline-offset: 5px; }
.cbanner--lvl-bac-5 img { object-position: center 14%; }
.lvl__photo--bac-5 { object-position: 60% center; }
.lvl__photo--master-professionnel { object-position: 72% center; }
.lvl__photo { position: sticky; top: 140px; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 80% center; background: var(--tint); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }

.cbanner--lvl-licence-professionnelle img { object-position: center 55%; }
.lvl__cutout { position: sticky; top: 140px; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 5; background: var(--red-btn); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; }
.lvl__cutout img { display: block; width: auto; max-width: 78%; height: 92%; object-fit: contain; object-position: bottom center; }
.lvlforms { padding-block: clamp(56px, 8vw, 96px); background: var(--tint); }
.lvlforms h2,
.lvlcore h2,
.lvlwhy h2 { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 24em; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--navy); }
.lvlforms__list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.lvlrow,
.lvlrow:visited { display: grid; grid-template-columns: clamp(150px, 20vw, 240px) minmax(0, 1fr) 48px; gap: 8px clamp(18px, 3vw, 36px); align-items: center; padding: 22px 8px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .15s ease; }
.lvlrow:hover,
.lvlrow:focus-visible { background: var(--white); color: var(--ink); }
.lvlrow:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.lvlrow__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
.lvlrow__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.lvlrow:hover .lvlrow__photo img { transform: scale(1.04); }
.lvlrow__ico { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; }
.lvlrow__body { display: grid; gap: 6px; min-width: 0; }
.lvlrow__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.2; color: var(--navy); }
.lvlrow__text { max-width: 46em; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.lvlrow__go { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--navy); border-radius: 50%; color: var(--navy); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.lvlrow:hover .lvlrow__go,
.lvlrow:focus-visible .lvlrow__go { background: var(--red-btn); border-color: var(--red-btn); color: var(--white); }

.lvlcore { padding-block: clamp(56px, 8vw, 96px); }
.lvlcore__table { width: 100%; border-collapse: collapse; background: var(--white); }
.lvlcore__table thead th { padding: 16px 20px; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 1rem; text-align: left; border-left: 1px solid rgba(255, 255, 255, .22); }
.lvlcore__table thead td { background: var(--navy); }
.lvlcore__table tbody th { width: 28%; padding: 20px; vertical-align: top; background: var(--tint); font-family: var(--f-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; text-align: left; color: var(--navy); }
.lvlcore__table tbody td { padding: 20px; vertical-align: top; border-left: 1px solid var(--line); }
.lvlcore__table tbody tr + tr > * { border-top: 1px solid var(--line); }
.lvlcore__table ul { margin: 0; padding: 0; list-style: none; }
.lvlcore__table li { position: relative; padding: 0 0 8px 18px; font-size: 1.0625rem; line-height: 1.45; color: var(--ink); }
.lvlcore__table li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--red); }

.lvlwhy { padding-block: clamp(56px, 8vw, 96px); background: var(--navy); color: var(--white); }
.lvlwhy h2 { color: var(--white); }
.lvlwhy__cols { columns: 2; column-gap: clamp(40px, 6vw, 88px); }
.lvlwhy__cols p { margin: 0 0 22px; break-inside: avoid; font-size: 1.0625rem; line-height: 1.75; color: var(--white); }

@media (max-width: 900px) {
	.lvl__top { grid-template-columns: 1fr; }
	.lvl__photo { position: static; max-width: 420px; aspect-ratio: 3 / 2; }
	.lvl__cutout { position: static; max-width: 300px; }
	.lvlwhy__cols { columns: 1; }
	.lvlcore__table,
	.lvlcore__table tbody,
	.lvlcore__table tr,
	.lvlcore__table th,
	.lvlcore__table td { display: block; width: auto; }
	.lvlcore__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.lvlcore__table tbody tr { margin-bottom: 16px; border: 1.5px solid var(--line); border-top: 4px solid var(--navy); }
	.lvlcore__table tbody tr + tr > * { border-top: 0; }
	.lvlcore__table tbody th { width: auto; padding: 16px 18px; }
	.lvlcore__table tbody td { padding: 14px 18px 4px; border-left: 0; }
	.lvlcore__table tbody td:empty { display: none; }
	.lvlcore__table tbody td::before { content: attr(data-label); display: block; margin-bottom: 8px; font-family: var(--f-head); font-weight: 600; font-size: .9375rem; color: var(--muted); }
}
@media (max-width: 640px) {
	.lvlrow,
	.lvlrow:visited { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; }
	.lvlrow__photo { aspect-ratio: 16 / 9; clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
	.lvlrow__go { display: none; }
	.lvl__photo,
	.lvl__cutout { display: none; }
	.lvl__text .cta-red { width: 100%; }
}

/* Career centre ----------------------------------------------------------- */
.cbanner--cc img { object-position: center 40%; }
.ccintro { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.ccintro h1 { margin: 0 0 12px; max-width: 18em; font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.ccintro__sub { margin: 0 0 clamp(24px, 4vw, 40px); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.ccintro__lead { max-width: 30em; margin: 0; padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 500; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.4; color: var(--ink); }
.ccintro__lead strong { font-weight: 700; color: var(--navy); }

.ccfeat { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 88px); }
.ccfeat__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.ccfeat__panel { padding: clamp(32px, 5vw, 64px); padding-right: clamp(72px, 9vw, 120px); background: var(--navy); color: var(--white); }
.ccfeat__panel h2 { margin: 0 0 12px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--white); }
.ccfeat__panel p { margin: 0 0 20px; font-size: 1.1875rem; line-height: 1.6; color: var(--white); }
.ccfeat__panel ul { margin: 0; padding: 0; list-style: none; }
.ccfeat__panel li { position: relative; padding: 0 0 10px 24px; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.ccfeat__panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--red); }
.ccfeat__photo { position: relative; display: block; width: calc(100% + 72px); max-width: none; height: auto; margin-left: -72px; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }

.ccserv { padding-block: 0 clamp(48px, 7vw, 88px); }
.ccserv__list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.ccserv__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(32px, 6vw, 96px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.ccserv__row h2 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; color: var(--navy); }
.ccserv__text p { margin: 0; max-width: 40em; font-size: 1.1875rem; line-height: 1.7; color: var(--ink); }
.ccserv__text ul { margin: 0; padding: 0; max-width: 40em; list-style: none; }
.ccserv__text li { position: relative; padding: 0 0 12px 22px; font-size: 1.1875rem; line-height: 1.65; color: var(--ink); }
.ccserv__text li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--red); }

.ccphotos { padding-block: 0 clamp(56px, 8vw, 104px); }
.ccphotos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 32px); align-items: start; }
.ccphotos__grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ccphotos__grid img:nth-child(2) { margin-top: clamp(24px, 6vw, 72px); }
.ccphotos + .actcta { margin-top: 0; }

@media (max-width: 900px) {
	.ccfeat__grid { grid-template-columns: 1fr; }
	.ccfeat__panel { padding-right: clamp(32px, 5vw, 64px); }
	.ccfeat__photo { width: 100%; margin-left: 0; margin-top: -1px; }
	.ccserv__row { grid-template-columns: 1fr; }
}

/* Services aux étudiants -------------------------------------------------- */
.cbanner--sv img { object-position: center 45%; }
.svintro { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.svintro h1 { margin: 0 0 clamp(20px, 3vw, 32px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.svintro__lead { max-width: 30em; margin: 0; padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 500; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.4; color: var(--ink); }

.svloc { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 88px); }
.svloc h2,
.svhouse > .wrap > h2 { margin: 0 0 clamp(24px, 4vw, 40px); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--navy); }
.svloc__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.svloc__cols p { margin: 0; padding-top: 20px; border-top: 4px solid var(--navy); font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.svloc__cols strong { font-weight: 700; color: var(--navy); }

.svhouse { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); background: var(--tint); }
.hb { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.hb__head { position: sticky; top: 140px; }
.hb__head h3 { margin: 0 0 20px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; color: var(--navy); }
.hb__text { margin: 0 0 16px; font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.hb__text strong { font-weight: 700; color: var(--navy); }
.hb__note { margin: 0 0 8px; font-family: var(--f-head); font-weight: 600; font-size: 1rem; color: var(--muted); }
.hb__prices { margin: 0; }
.hb__prices > div { padding: 14px 0; border-top: 1px solid var(--line); }
.hb__prices dt { font-family: var(--f-head); font-weight: 600; font-size: 1rem; color: var(--muted); }
.hb__prices dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; }
.hb__value { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.1; color: var(--navy); }
.hb__detail { font-size: 1.0625rem; color: var(--muted); }

.hb__body { display: grid; gap: 32px; min-width: 0; }
.hb__sub { margin: 0 0 14px; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; color: var(--navy); }
.hb__equip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.hb__equip li,
.hb__good li { display: flex; align-items: center; gap: 14px; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); }
.hb__equip svg,
.hb__good svg { flex: none; color: var(--navy); }
.hb__photos { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.hb__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.hb__contact { margin: 0; }
.hb__contact > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.hb__contact dt { font-family: var(--f-head); font-weight: 600; color: var(--muted); }
.hb__contact dd { margin: 0; overflow-wrap: anywhere; }
.hb__contact a { color: var(--navy); font-weight: 600; text-underline-offset: 4px; }
.hb__route ul { margin: 0 0 18px; padding: 0; list-style: none; }
.hb__route li { position: relative; padding: 0 0 8px 20px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.hb__route li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--red); }
.hb__route li.is-first { font-family: var(--f-head); font-weight: 600; color: var(--navy); }
.hb__map,
.hb__map:visited { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--navy); color: var(--navy); font-family: var(--f-head); font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.hb__map:hover,
.hb__map:focus-visible { background: var(--navy); color: var(--white); }
.hb__map:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.hb__good { padding: clamp(24px, 3vw, 36px); background: var(--white); border-top: 4px solid var(--red); }
.hb__good h4 { margin: 0 0 6px; font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.hb__good p { margin: 0 0 16px; font-size: 1.0625rem; color: var(--ink); }
.hb__good ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.svhouse + .actcta { margin-top: 0; }

@media (max-width: 900px) {
	.svloc__cols { grid-template-columns: 1fr; gap: 24px; }
	.hb { grid-template-columns: 1fr; }
	.hb__head { position: static; }
}
@media (max-width: 640px) {
	.hb__equip,
	.hb__good ul { grid-template-columns: 1fr; }
	.hb__photos { --cols: 2 !important; }
	.hb__contact > div { grid-template-columns: 1fr; gap: 2px; }
	.hb__map { width: 100%; justify-content: center; }
}

/* Meet our People --------------------------------------------------------- */
.cbanner--mp img { object-position: center 30%; }
.mpintro { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.mpintro h1 { margin: 0 0 clamp(20px, 3vw, 32px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.mpintro__lead { max-width: 24em; margin: 0 0 16px; padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.25; color: var(--navy); }
.mpintro__text { max-width: 34em; margin: 0; padding-left: 26px; font-size: 1.1875rem; line-height: 1.6; color: var(--ink); }

.mpvoices { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.voice { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: center; margin: 0; padding-block: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); }
.voice--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.voice--flip .voice__photo { order: 2; }
.voice__photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--tint); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
.voice--flip .voice__photo { clip-path: polygon(0 0, 100% 0, 100% 100%, 44px 100%); }
.voice__mark { display: block; margin-bottom: 20px; color: var(--red); }
.voice blockquote { margin: 0; }
.voice blockquote p { margin: 0; max-width: 24em; font-family: var(--f-head); font-weight: 500; font-size: clamp(1.375rem, 2.5vw, 2rem); line-height: 1.4; color: var(--navy); }
.voice figcaption { margin-top: 24px; font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.voice figcaption::before { content: ""; display: inline-block; width: 32px; height: 3px; margin-right: 14px; vertical-align: middle; background: var(--red); }

.mpjoin { padding-block: clamp(48px, 7vw, 88px); background: var(--tint); }
.mpjoin__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: clamp(24px, 5vw, 72px); align-items: end; }
.mpjoin h2 { margin: 0 0 28px; max-width: 18em; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.25; color: var(--navy); }
.mpjoin img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }

@media (max-width: 900px) {
	.voice,
	.voice--flip { grid-template-columns: 1fr; gap: 24px; }
	.voice--flip .voice__photo { order: 0; }
	.voice__photo { max-width: 420px; }
}
@media (max-width: 640px) {
	.voice__photo,
	.voice--flip .voice__photo { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
	.mpjoin__inner { grid-template-columns: minmax(0, 1fr); }
	.mpjoin img { max-width: 180px; }
	.mpjoin .cta-red { width: 100%; padding: 12px 24px; text-align: center; }
}

/* One formation (specialization) ------------------------------------------ */
.fhero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.fhero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.fhero__crumb { margin: 0 0 20px; font-family: var(--f-head); font-weight: 600; font-size: 1rem; }
.fhero__crumb a { color: var(--red-btn); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fhero__crumb a:hover { color: var(--navy); }
.fhero h1 { margin: 0 0 clamp(24px, 4vw, 40px); font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.08; color: var(--navy); }
.fhero__sub { margin: 0 0 14px; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; color: var(--muted); }
.fhero__lead { max-width: 38em; padding-left: 22px; border-left: 4px solid var(--red); }
.fhero__lead p { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.65; color: var(--ink); }
.fhero__lead p:last-child { margin-bottom: 0; }
.fhero .fhero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin: 36px 0 0; }
.fhero .cta-red { padding: 12px 32px; text-align: center; }
.fhero__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; background: var(--tint); clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }

.fjobs { padding-block: clamp(48px, 7vw, 88px); background: var(--navy); color: var(--white); }
.fjobs__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.fjobs h2 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--white); }
.fjobs ul { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.fjobs li { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .28); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.1875rem, 2.2vw, 1.625rem); line-height: 1.25; color: var(--white); }

.fcur { padding-block: clamp(56px, 8vw, 104px); }
.fcur h2 { margin: 0 0 clamp(28px, 4vw, 48px); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--navy); }
.fyear { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 56px); padding: clamp(24px, 3.5vw, 40px) 0; border-top: 1px solid var(--line); }
.fyear__label { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: var(--red-btn); }
.fyear__sems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); }
.fsem h4 { margin: 0 0 14px; font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; color: var(--navy); }
.fsem ul { margin: 0; padding: 0; list-style: none; }
.fsem li { position: relative; padding: 0 0 9px 20px; font-size: 1.0625rem; line-height: 1.45; color: var(--ink); }
.fsem li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; background: var(--red); }
.fsem li.is-final { margin-top: 6px; padding: 10px 14px; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 600; }
.fsem li.is-final::before { display: none; }

.fhero__aud { max-width: 38em; margin: 0; padding: 0 0 0 22px; list-style: none; border-left: 4px solid var(--red); }
.fhero__aud li { margin: 0 0 14px; font-size: 1.1875rem; line-height: 1.6; color: var(--ink); }
.fhero__aud li:last-child { margin-bottom: 0; }
.fhero__aud strong { font-weight: 700; color: var(--navy); }
.fhero__grid:not(:has(.fhero__photo)) { grid-template-columns: minmax(0, 1fr); }
.fjobs ul.is-long { columns: 2; column-gap: clamp(24px, 4vw, 56px); border-bottom: 0; }
.fjobs ul.is-long li { break-inside: avoid; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); padding: 14px 0; }
.fcont__intro { max-width: 46em; margin: 0 0 20px; font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.fjobs__intro { margin: 0 0 18px; max-width: 40em; font-size: 1.125rem; line-height: 1.65; color: var(--white); }
.fcont { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.fcont h2 { margin: 0 0 clamp(24px, 4vw, 40px); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; color: var(--navy); }
.fcont__flat { columns: 2; column-gap: clamp(32px, 6vw, 88px); margin: 0; padding: 0; list-style: none; border-top: 4px solid var(--navy); padding-top: 24px; }
.fcont__flat li { position: relative; break-inside: avoid; padding: 0 0 12px 22px; font-size: 1.125rem; line-height: 1.5; color: var(--ink); }
.fcont__flat li::before,
.fgroup li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--red); }
.fcont__groups { columns: 2; column-gap: clamp(32px, 6vw, 88px); }
.fgroup { break-inside: avoid; margin: 0 0 32px; padding-top: 18px; border-top: 4px solid var(--navy); }
.fgroup h3 { margin: 0 0 14px; font-family: var(--f-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; color: var(--navy); }
.fgroup ul { margin: 0; padding: 0; list-style: none; }
.fgroup li { position: relative; padding: 0 0 9px 22px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.fcost { padding-block: 0 clamp(40px, 6vw, 72px); }
.fcost__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding-block: 28px; border-top: 4px solid var(--red); border-bottom: 1px solid var(--line); }
.fcost__label { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: var(--muted); }
.fcost__value { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--navy); }
.fperks { padding-block: 0 clamp(56px, 8vw, 96px); }
.fperks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.fperks__grid p { margin: 0; padding-top: 18px; border-top: 4px solid var(--red); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); line-height: 1.35; color: var(--navy); }
.fabout { padding-block: 0 clamp(56px, 8vw, 104px); }
.fabout .wrap { padding-top: clamp(32px, 5vw, 56px); border-top: 4px solid var(--navy); }
.fabout p { max-width: 46em; margin: 0 0 20px; font-size: 1.125rem; line-height: 1.8; color: var(--ink); }
.fothers h2 { margin-bottom: clamp(20px, 3vw, 32px); }

@media (max-width: 900px) {
	.fhero__grid { grid-template-columns: 1fr; }
	.fhero__photo { max-width: 420px; aspect-ratio: 3 / 2; }
	.fjobs__grid { grid-template-columns: 1fr; }
	.fyear { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.fcont__flat,
	.fcont__groups { columns: 1; }
	.fjobs ul.is-long { columns: 1; }
}
@media (max-width: 640px) {
	.fperks__grid { grid-template-columns: 1fr; gap: 16px; }
	.fyear__sems { grid-template-columns: 1fr; }
	.fhero .cta-red { width: 100%; }
	.fhero__photo { display: none; }
}

/* Blog ------------------------------------------------------------- */
.bhead { background: var(--tint); padding: clamp(36px, 5vw, 72px) 0; }
.bhead__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 32px 64px; align-items: end; }
.bhead h1 { margin: 0 0 10px; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; color: var(--navy); }
.bhead p { margin: 0; font-size: 1.125rem; color: var(--ink); }
.bsearch label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.bsearch__row { display: flex; }
.bsearch input[type="search"] { flex: 1; min-width: 0; padding: 13px 16px; border: 1.5px solid #9aa0bf; border-right: 0; border-radius: 0; background: var(--white); font: inherit; font-size: 1rem; color: var(--ink); }
.bsearch input[type="search"]:focus { outline: 3px solid var(--navy); outline-offset: -1px; }
.bsearch button { padding: 0 22px; border: 0; background: var(--navy); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bsearch button:hover { background: var(--navy-deep); }
.bsearch button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.blist { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.bfilter ul { display: flex; flex-wrap: wrap; gap: 4px 30px; margin: 0 0 22px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.bfilter a { display: block; padding: 12px 0 11px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--ink); text-decoration: none; font-weight: 600; }
.bfilter a span { margin-left: 4px; font-weight: 400; color: #6b7090; }
.bfilter a:hover { color: var(--navy); border-bottom-color: var(--line); }
.bfilter a[aria-current] { color: var(--navy); border-bottom-color: var(--red); }
.bfilter a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.blist__status { margin: 0 0 26px; color: #4b5170; font-size: .95rem; }
.blist__status a { margin-left: 14px; color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.bcard { position: relative; display: flex; flex-direction: column; }
.bcard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.bcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bcard--press .bcard__img { display: flex; align-items: center; justify-content: center; padding: 26px; background: #fff; border: 1px solid var(--line); }
.bcard--press .bcard__img img { width: auto; height: auto; max-width: 78%; max-height: 100%; object-fit: contain; }
.bcard--noimg .bcard__img { display: flex; align-items: center; justify-content: center; background: var(--navy); }
.bcard--noimg .bcard__img img.bcard__mark { width: 64px; height: 64px; object-fit: contain; }
.bcard__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.bcard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--red-btn); }
.bcard__src { color: #4b5170; font-weight: 400; }
.bcard h2 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
.bcard h2 a { color: inherit; text-decoration: none; }
.bcard h2 a::after { content: ""; position: absolute; inset: 0; }
.bcard:hover h2 a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bcard h2 a:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.bcard__excerpt { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.bcard__more { margin-top: auto; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); align-self: flex-start; padding-bottom: 2px; }

.bcard--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0 48px; align-items: center; padding-bottom: 8px; }
.bcard--featured .bcard__img { aspect-ratio: 3 / 2; clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
.bcard--featured .bcard__body { padding-top: 0; }
.bcard--featured h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.18; }
.bcard--featured .bcard__excerpt { font-size: 1.0625rem; }

.bpages { margin-top: 56px; }
.bpages ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.bpages a, .bpages span { display: inline-flex; min-width: 44px; height: 44px; padding: 0 14px; align-items: center; justify-content: center; border: 1.5px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.bpages a:hover { border-color: var(--navy); }
.bpages .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.bpages .dots { border-color: transparent; }
.bpages a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.bempty { padding: 48px 0; }
.bempty p { margin: 0 0 20px; font-size: 1.125rem; }

/* One article */
.art__head { background: var(--tint); padding: clamp(32px, 4.5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.art__head h1 { max-width: 24em; margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.14; color: var(--navy); }
.art__crumb { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 16px; font-size: .95rem; font-weight: 600; }
.art__crumb a { color: var(--navy); text-underline-offset: 3px; }
.art__crumb a + a { color: var(--red-btn); }
.art__coverwrap { margin-top: clamp(24px, 3vw, 40px); }
.art__cover { margin: 0; max-width: 960px; }
.art__cover img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%); }
.art__wrap { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(40px, 5vw, 72px); }
.art__source { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; max-width: 72ch; margin: 0 0 32px; padding: 16px 20px; border-left: 4px solid var(--red); background: var(--tint); }
.art__logo { width: 120px; flex: none; background: #fff; padding: 8px; }
.art__logo img { display: block; width: 100%; height: auto; }
.art__source p { margin: 0; flex: 1; min-width: 10em; font-family: var(--f-head); font-weight: 600; color: var(--navy); }
.art__btn { display: inline-block; padding: 12px 20px; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; text-decoration: none; }
.art__btn:hover { background: var(--navy); color: #fff; }
.art__btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.art__body { font-size: 1.0625rem; line-height: 1.75; }
.art__body h2 { margin-top: 1.8em; font-size: 1.45rem; color: var(--navy); }
.art__body ul, .art__body ol { padding-left: 1.3em; }
.art__body li + li { margin-top: .45em; }
.art__body[dir="rtl"] { font-size: 1.1875rem; line-height: 1.95; text-align: right; }
.art__body[dir="rtl"] ul, .art__body[dir="rtl"] ol { padding-left: 0; padding-right: 1.3em; }
.art__sign { color: #4b5170; }
.art__back { margin: 40px 0 0; }
.art__back a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
.arel { padding: clamp(36px, 5vw, 72px) 0; background: var(--tint); }
.arel h2 { margin: 0 0 28px; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy); }
.arel .bcard--press .bcard__img { background: #fff; }

@media (max-width: 980px) {
	.bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bcard--featured { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.bcard--featured .bcard__body { padding-top: 0; }
	.bhead__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 640px) {
	.bgrid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.bcard--featured .bcard__img { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
	.art__cover img { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); }
	.bfilter ul { gap: 0 22px; }
	.bsearch button { padding: 0 16px; }
}

/* Presentation page ------------------------------------------------ */
.pres { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 104px); }
.pres__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pres__text h1 { margin: 0 0 24px; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; color: var(--navy); }
.pres__lead { max-width: 28em; margin: 0 0 36px; padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; color: var(--navy); }
.pres__figure { display: flex; align-items: baseline; gap: 18px; margin: 0 0 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pres__num { font-family: var(--f-head); font-weight: 700; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--navy); }
.pres__label { font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.pres__text p:not(.pres__lead):not(.pres__figure) { max-width: 38em; margin: 0 0 1.1em; font-size: 1.0625rem; line-height: 1.7; }
.pres__text strong { color: var(--navy); }
.pres__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: 130px; }
.pres__photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.pres__photos img:nth-child(2) { margin-top: 36px; }
.pres__photos img:nth-child(3) { margin-top: -36px; }
.pres__photos img:nth-child(1) { clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 980px) {
	.pres__grid { grid-template-columns: minmax(0, 1fr); }
	.pres__photos { position: static; }
}
@media (max-width: 520px) {
	.pres__photos { gap: 10px; }
	.pres__photos img:nth-child(2) { margin-top: 20px; }
	.pres__photos img:nth-child(3) { margin-top: -20px; }
	.pres__photos img:nth-child(1) { clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
	.pres__figure { gap: 14px; }
	.pres { padding-bottom: 24px; }
}

/* Legal text with a summary ---------------------------------------- */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.legal__text { grid-column: 1; grid-row: 1; max-width: 74ch; }
.legal__text h2 { padding-top: 1.1em; border-top: 2px solid var(--line); scroll-margin-top: 130px; }
.legal__text h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal__toc { grid-column: 2; grid-row: 1; position: sticky; top: 130px; border-left: 3px solid var(--red); background: var(--tint); padding: 22px 24px; }
.legal__toc-title { margin: 0 0 12px; font-family: var(--font-head, 'Sora', sans-serif); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: lg; }
.legal__toc li { counter-increment: lg; }
.legal__toc a { display: block; padding: 7px 0; color: var(--navy); text-decoration: none; font-size: .95rem; line-height: 1.35; border-bottom: 1px solid var(--line); }
.legal__toc li:last-child a { border-bottom: 0; }
.legal__toc a:hover, .legal__toc a:focus-visible { color: var(--red-btn); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
	.legal { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.legal__toc, .legal__text { grid-column: 1; }
	.legal__toc { grid-row: 1; position: static; }
	.legal__text { grid-row: 2; }
}

/* Footer -------------------------------------------------------------- */
.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, .86);
	font-size: 1rem;
}
.site-footer a,
.site-footer a:visited { color: var(--white); text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--white); }

/* Enrolment band: same red as the header block, slanted like the logo tab */
.footer-cta {
	background: var(--red-btn);
	color: var(--white);
	padding: 52px 0 calc(52px + 40px);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}
.footer-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
}
.footer-cta__title {
	margin: 0;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	line-height: 1.15;
	color: var(--white);
}
.footer-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
}
.site-footer .footer-cta__btn,
.site-footer .footer-cta__btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 32px;
	background: var(--white);
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.site-footer .footer-cta__btn:hover,
.site-footer .footer-cta__btn:focus,
.site-footer .footer-cta__btn:active { background: var(--navy-deep); color: var(--white); text-decoration: none; }
.site-footer .footer-cta__link { font-family: var(--f-head); font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: 5px; }

/* Main area */
.footer-main { position: relative; overflow: hidden; }
.footer-main::after {
	content: "";
	position: absolute;
	right: 5%;
	bottom: -120px;
	width: 460px;
	aspect-ratio: 1;
	background: url("../images/mark-white.png") center / contain no-repeat;
	opacity: .06;
	pointer-events: none;
}
.footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(300px, 380px) 1fr;
	gap: 72px;
	padding-block: 28px 72px;
}
.footer__logo img { width: 184px; height: auto; }
.footer__tagline { margin: 22px 0 26px; max-width: 34ch; }

.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.site-footer .footer-social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1.5px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
	color: var(--white);
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus,
.site-footer .footer-social a:active { background: var(--white); border-color: var(--white); color: var(--navy); text-decoration: none; }

.footer-contact { display: grid; gap: 16px; font-style: normal; }
.footer-contact__row {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 14px;
	align-items: start;
	margin: 0;
}
.footer-contact .icon { margin-top: 3px; opacity: .72; }
.footer-contact a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.footer-contact a:hover { text-decoration-color: var(--white); }

/* Menus */
.footer-menu {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin: 0; padding: 0;
	list-style: none;
}
.footer-menu > li { position: relative; }
@media (min-width: 721px) {
	/* BAC +3, BAC +5, Licence and Master side by side; "Nous connaître" stays tall on the right */
	.footer-menu > li:last-child { grid-column: 3; grid-row: 1 / span 2; }
}
.footer-menu > li > a {
	display: block;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .28);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
}
.footer-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu .sub-menu li { margin: 0; }
.footer-menu .sub-menu a { display: block; padding: 5px 0; }
.footer-toggle { display: none; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .2); }
.footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 32px;
	padding-block: 22px;
	font-size: .9375rem;
}
.footer__bottom p { margin: 0; }

@media (max-width: 1100px) {
	.footer__grid { grid-template-columns: 1fr; gap: 48px; padding-block: 24px 56px; }
	.footer-main::after { width: 320px; right: -50px; bottom: -90px; opacity: .045; }
}

@media (max-width: 720px) {
	.footer-cta { padding: 44px 0 calc(40px + 28px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
	.footer-cta__inner { display: block; }
	.footer-cta__actions { display: grid; gap: 18px; margin-top: 24px; justify-items: start; }
	.site-footer .footer-cta__btn { width: 100%; }
	.footer__grid { gap: 40px; padding-bottom: 40px; }
	.footer__logo img { width: 168px; }

	.footer-menu { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
	.footer-menu > li { border-top: 1px solid rgba(255, 255, 255, .2); }
	.footer-menu > li > a { margin: 0; padding: 16px 52px 16px 0; border-bottom: 0; }
	.footer-menu .sub-menu { padding-bottom: 14px; }
	.footer-menu .sub-menu a { padding: 8px 0; }

	/* Sections fold up on phones (JS adds .has-acc; without JS everything stays open) */
	.has-acc .footer-toggle {
		display: block;
		position: absolute;
		top: 6px; right: 0;
		width: 44px; height: 44px;
		padding: 0;
		background: none;
		border: 0;
		cursor: pointer;
	}
	.has-acc .footer-toggle::before {
		content: "";
		position: absolute;
		left: 15px; top: 14px;
		width: 9px; height: 9px;
		border-right: 2px solid var(--white);
		border-bottom: 2px solid var(--white);
		transform: rotate(45deg);
		transition: transform .2s ease, top .2s ease;
	}
	.has-acc .footer-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); top: 19px; }
	.has-acc .footer-menu > li:not(.is-open) > .sub-menu { display: none; }
}

/* Contact dock ----------------------------------------------------------
   Desktop (wide screen + mouse): a slim white rail on the right edge. Hover or keyboard focus
   slides a small navy label out of an icon.  Phones/tablets: one round button that opens a list. */
.dock {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	gap: 12px;
	transition: transform .3s ease-out, opacity .25s ease-out, visibility 0s;
}
.dock.is-away {
	transform: translateY(24px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform .25s ease-in, opacity .2s ease-in, visibility 0s linear .25s;
}
body.nav-open .dock { opacity: 0; pointer-events: none; }
.dock__top { display: none; }

.dock-scrim {
	position: fixed;
	inset: 0;
	z-index: 89;
	background: rgba(27, 32, 80, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility 0s linear .25s;
}
.dock-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }

/* round button (phones, tablets) */
.dock__fab {
	position: relative;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--navy);
	cursor: pointer;
	box-shadow: 0 0 0 3px var(--white), 0 6px 18px rgba(27, 32, 80, .28);
	transition: background-color .2s ease;
	touch-action: manipulation;
}
.dock__fab:hover { background: var(--navy-deep); }
.dock__fab:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.dock__fab-star,
.dock__fab-x { grid-area: 1 / 1; transition: opacity .2s ease, transform .3s ease-out; }
.dock__fab-star { width: 26px; height: auto; }
.dock__fab-x { position: relative; width: 20px; height: 20px; opacity: 0; transform: rotate(-90deg) scale(.6); }
.dock__fab-x::before,
.dock__fab-x::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 9px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--white);
}
.dock__fab-x::before { transform: rotate(45deg); }
.dock__fab-x::after { transform: rotate(-45deg); }
.dock.is-open .dock__fab-star { opacity: 0; transform: rotate(90deg) scale(.5); }
.dock.is-open .dock__fab-x { opacity: 1; transform: none; }

/* pop-up list (phones, tablets) */
.dock__list {
	display: grid;
	gap: 8px;
	justify-items: end;
	margin: 0;
	padding: 4px 4px 4px 0;
	list-style: none;
	visibility: hidden;
	pointer-events: none;
	max-height: calc(100vh - 150px);
	max-height: calc(100dvh - 150px);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.dock.is-open .dock__list { visibility: visible; pointer-events: auto; }
.dock__item {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .15s ease-in, transform .15s ease-in;
}
.dock.is-open .dock__item {
	opacity: 1;
	transform: none;
	transition: opacity .22s ease-out, transform .25s ease-out;
	transition-delay: calc((var(--n) - 1 - var(--i)) * 35ms);
}
.dock__link,
.dock__link:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 5px 5px 5px 18px;
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	text-decoration: none;
	box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(27, 32, 80, .14);
	touch-action: manipulation;
}
.dock__link:hover,
.dock__link:focus,
.dock__link:active { color: var(--navy); background: var(--tint); }
.dock__link:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.dock__text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.dock__label { font-family: var(--f-head); font-weight: 600; font-size: .875rem; }
.dock__detail { font-size: .875rem; color: var(--muted); }
.dock__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--bg, var(--navy));
	color: var(--white);
}
.dock__icon svg { width: 18px; height: 18px; }

/* Desktop: floating colour bubbles on the right edge ------------------------ */
@media (min-width: 1200px) and (min-height: 560px) and (hover: hover) and (pointer: fine) {
	.dock {
		top: 50%;
		right: 14px;
		bottom: auto;
		flex-direction: column;
		align-items: flex-end;
		gap: 10px;
		transform: translateY(-50%);
	}
	.dock.is-away { transform: translate(calc(100% + 40px), -50%); }
	.dock__fab,
	.dock-scrim,
	.dock__item--mobile { display: none; }

	.dock__list {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 10px;
		padding: 0;
		max-height: none;
		overflow: visible;
		visibility: visible;
		pointer-events: auto;
	}
	.dock__item,
	.dock.is-open .dock__item {
		position: relative;
		width: 38px;
		height: 38px;
		opacity: 1;
		transform: translateX(var(--a, 0px));
		transition: none;
	}

	/* the link is a coloured circle; on hover it grows to the left into a pill with the label */
	.dock__link,
	.dock__link:visited {
		position: absolute;
		top: 0; right: 0; bottom: 0;
		display: grid;
		grid-template-columns: 0fr 38px;
		align-items: stretch;
		width: max-content;
		min-height: 0;
		padding: 0;
		gap: 0;
		overflow: hidden;
		border-radius: 999px;
		background: var(--bg, var(--navy));
		color: var(--white);
		box-shadow: 0 0 0 2px var(--white), 0 4px 12px rgba(27, 32, 80, .22);
		transform-origin: right center;
		transition: grid-template-columns .3s ease-out, transform .22s ease-out;
	}
	.dock__link:hover,
	.dock__link:focus-visible {
		grid-template-columns: 1fr 38px;
		z-index: 2;
		transform: scale(1.06);
		background: var(--bg, var(--navy));
		color: var(--white);
	}
	.dock__link:focus,
	.dock__link:active { color: var(--white); background: var(--bg, var(--navy)); }
	.dock__link:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

	/* the neighbours swell a little, like a dock */
	.dock__item:hover + .dock__item .dock__link,
	.dock__item:has(+ .dock__item:hover) .dock__link { transform: scale(1.14); }

	.dock__text {
		min-width: 0;
		overflow: hidden;
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}
	.dock__label,
	.dock__detail {
		white-space: nowrap;
		color: var(--white);
		font-size: .8125rem;
		opacity: 0;
		transition: opacity .15s ease;
	}
	.dock__label { padding-left: 16px; }
	.dock__detail { padding-right: 4px; font-family: var(--f-body); color: rgba(255, 255, 255, .9); }
	.dock__link:hover .dock__label,
	.dock__link:hover .dock__detail,
	.dock__link:focus-visible .dock__label,
	.dock__link:focus-visible .dock__detail { opacity: 1; transition-delay: .1s; }
	.dock__icon { width: 38px; height: 38px; border-radius: 0; background: none; color: inherit; }
	.dock__icon svg { width: 18px; height: 18px; }

	/* TikTok's signature glitch on hover */
	.dock__item--tiktok .dock__link:hover .dock__icon svg,
	.dock__item--tiktok .dock__link:focus-visible .dock__icon svg {
		filter: drop-shadow(-1.2px -1px 0 #25f4ee) drop-shadow(1.2px 1px 0 #fe2c55);
	}

	/* the bubbles pop in one after another when the dock arrives */
	.dock:not(.is-away) .dock__link { animation: dock-pop .5s cubic-bezier(.2, 1.3, .4, 1) backwards; animation-delay: calc(var(--i) * 60ms + 150ms); }

	/* scroll progress + back to top: the one special touch */
	.dock__top {
		position: relative;
		display: block;
		width: 38px;
		height: 38px;
		margin-top: 4px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--white);
		color: var(--navy);
		box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(27, 32, 80, .14);
		cursor: pointer;
		transition: background-color .18s ease;
	}
	.dock__top:hover,
	.dock__top:focus-visible { background: var(--tint); }
	.dock__top:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
	.dock__ring,
	.dock__arrow { position: absolute; top: 50%; left: 50%; }
	.dock__ring { width: 32px; height: 32px; transform: translate(-50%, -50%) rotate(-90deg); }
	.dock__arrow { transform: translate(-50%, -50%); }
	.dock__ring circle { fill: none; stroke-width: 4; }
	.dock__ring-track { stroke: var(--line); }
	.dock__ring-bar {
		stroke: var(--navy);
		stroke-linecap: round;
		stroke-dasharray: 131.95;
		stroke-dashoffset: 131.95;
	}
}

@keyframes dock-pop {
	from { opacity: 0; transform: scale(.3); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .dock__link { animation: none !important; } }

/* Platform colours: the dock uses them in full; small icons elsewhere use them on hover */
.dock__item--contact { --bg: var(--navy); }
.dock__item--phone { --bg: var(--navy-deep); }
.dock__item--whatsapp { --bg: var(--c-wa); }
.dock__item--facebook { --bg: var(--c-fb); }
.dock__item--instagram { --bg: var(--c-ig); }
.dock__item--tiktok { --bg: var(--c-tt); }
.dock__item--youtube { --bg: var(--c-yt); }

@media print { .dock, .dock-scrim { display: none; } }

/* Narrow laptops: tighter menu so everything fits */
@media (min-width: 1281px) and (max-width: 1440px) {
	:root { --logo-w: 150px; }
	.site-header.is-stuck { --logo-w: 126px; }
	.primary-nav .menu > li > a { padding: 0 10px; }
	.brand { padding-right: 42px; }
	:root { --cta-w: 180px; }
	.bar__cta-label { font-size: 1.125rem; }
}

/* Tablet & mobile ------------------------------------------------------ */
@media (max-width: 1280px) {
	:root { --bar-h: 70px; --tab-drop: 16px; --logo-w: 118px; }
	.site-header.is-stuck { --bar-h: 62px; --tab-drop: 10px; --logo-w: 104px; }

	.bar { gap: 12px; }
	.nav-toggle { display: block; order: 2; margin-left: auto; }
	:root { --cta-w: 176px; }
	.brand { order: 1; padding: 0 40px 0 var(--gutter); clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }

	.primary-nav {
		position: fixed;
		inset: var(--bar-h) 0 0 0;
		order: 4;
		display: none;
		overflow-y: auto;
		background: var(--white);
		padding: 8px var(--gutter) 40px;
		border-top: 1px solid var(--line);
	}
	.site-header.is-open .primary-nav { display: block; }
	body.nav-open { overflow: hidden; }

	.primary-nav .menu { display: block; height: auto; }
	.primary-nav .menu > li,
	.primary-nav .menu > li:has(.sub-menu .sub-menu) {
		position: relative;
		display: block;
		border-bottom: 1px solid var(--line);
	}
	.primary-nav .menu > li > a {
		display: block;
		padding: 16px 52px 16px 0;
		font-size: 1.0625rem;
		border-bottom: 0;
	}
	.primary-nav .menu > li.menu-item-has-children > a::after { display: none; }
	.primary-nav .menu > li > a,
	.primary-nav .menu > li > a:visited { color: var(--ink); }
	.primary-nav .menu > li:hover > a,
	.primary-nav .menu > li:focus-within > a,
	.primary-nav .menu > li > a:focus,
	.primary-nav .menu > li > a:active,
	.primary-nav .menu > li.current-menu-item > a,
	.primary-nav .menu > li.current-menu-ancestor > a { color: var(--navy); border-bottom: 0; }
	.primary-nav :focus-visible { outline-color: var(--navy); }

	.sub-toggle {
		display: block;
		position: absolute;
		top: 6px; right: 0;
		width: 44px; height: 44px;
		padding: 0;
		background: none;
		border: 0;
		cursor: pointer;
	}
	.sub-toggle::before {
		content: "";
		position: absolute;
		left: 15px; top: 14px;
		width: 9px; height: 9px;
		border-right: 2px solid var(--navy);
		border-bottom: 2px solid var(--navy);
		transform: rotate(45deg);
		transition: transform .2s ease, top .2s ease;
	}
	.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); top: 19px; }
	.sub-toggle:focus-visible { outline-color: var(--navy); }

	/* submenus: plain accordion on mobile, hover/focus no longer opens them */
	.primary-nav .menu > li > .sub-menu,
	.primary-nav .menu > li:has(.sub-menu .sub-menu) > .sub-menu {
		position: static;
		display: none;
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		min-width: 0;
		margin: 0;
		padding: 0 0 12px 14px;
		border: 0;
		transition: none;
	}
	.primary-nav .menu > li.is-expanded > .sub-menu,
	.primary-nav .menu > li.is-expanded:has(.sub-menu .sub-menu) > .sub-menu { display: block; }
	.primary-nav .sub-menu .mega-feature { display: none; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu) > .sub-menu > li { padding: 0; }

	.primary-nav .sub-menu a { padding: 10px 0; }
	.primary-nav .sub-menu .menu-item-has-children > a {
		padding: 10px 0 8px;
		margin: 10px 0 2px;
		border-bottom: 0;
		font-size: 1rem;
	}
	.primary-nav .menu > li:has(.sub-menu .sub-menu) > .sub-menu > li:not(.menu-item-has-children):not(.mega-feature) > a {
		margin: 10px 0 2px; padding: 10px 0 8px; border-bottom: 0; font-size: 1rem;
	}
	.primary-nav .menu > li:has(.sub-menu .sub-menu) > .sub-menu > li.menu-item-has-children { padding: 0; }
	.primary-nav .menu > li:has(.sub-menu .sub-menu) > .sub-menu > li.menu-item-has-children + li.menu-item-has-children + li { padding-top: 0; }
	.primary-nav .sub-menu .sub-menu { padding: 0 0 4px 14px; }
	.primary-nav .sub-menu .sub-menu a { padding: 8px 0; }

	.drawer-extra {
		display: grid;
		gap: 10px;
		margin-top: 28px;
	}
	.drawer-extra__link,
	.drawer-extra__link:visited {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 0 18px;
		border: 1px solid var(--line);
		border-radius: 4px;
		color: var(--navy);
		font-family: var(--f-head);
		font-weight: 600;
		font-size: .9375rem;
		text-decoration: none;
	}
	.drawer-extra__link:hover,
	.drawer-extra__link:focus,
	.drawer-extra__link:active { color: var(--navy); background: var(--tint); }
	.drawer-social { display: flex; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
	.drawer-social a,
	.drawer-social a:visited {
		display: grid;
		place-items: center;
		width: 46px; height: 46px;
		border: 1.5px solid var(--line);
		border-radius: 50%;
		color: var(--navy);
	}
	.drawer-social a:hover,
	.drawer-social a:focus,
	.drawer-social a:active { background: var(--navy); border-color: var(--navy); color: var(--white); }

}

@media (max-width: 1000px) {
	:root { --topbar-h: 0px; }
	.topbar { display: none; }
}

@media (max-width: 720px) {
	:root { --gutter: 20px; --bar-h: 64px; --tab-drop: 14px; --logo-w: 104px; --topbar-h: 0px; --cta-w: 148px; }
	.site-header.is-stuck { --bar-h: 58px; --tab-drop: 10px; --logo-w: 94px; }
	.topbar { display: none; }
	.bar__cta-label { font-size: 1rem; }
	.bar__cta-year { font-size: .8125rem; }

	.post-item { grid-template-columns: 1fr; gap: 16px; }
	.page-head { padding: 40px 0 36px; }
	.section { padding-block: 40px 56px; }
}

@media (max-width: 400px) {
	:root { --logo-w: 92px; }
	.site-header.is-stuck { --logo-w: 86px; }
	.bar { gap: 6px; }
	.brand { padding-right: 30px; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
	:root { --cta-w: 132px; }
	.bar__cta { padding-inline: 8px; }
	.bar__cta-label { font-size: .875rem; }
	.nav-toggle { width: 38px; margin-right: 0; }
	.nav-toggle__bars,
	.nav-toggle__bars::before,
	.nav-toggle__bars::after { left: 8px; right: 8px; }
	.nav-toggle__bars::before,
	.nav-toggle__bars::after { left: 0; right: 0; }
}

@media (max-width: 360px) {
	:root { --logo-w: 84px; }
	.site-header.is-stuck { --logo-w: 80px; }
	.brand { padding-right: 24px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
	.bar { gap: 2px; }
	:root { --cta-w: 118px; }
	.bar__cta-label { font-size: .8125rem; }
	.nav-toggle { width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}


/* Formation initiale (/filieres/): the two levels ---------------------------------- */
.fi { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px); }
.fi h1 { margin: 0 0 16px; font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; color: var(--navy); }
.fi__lead { max-width: 36em; font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.fi__lead p { margin: 0; }
.filevel { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.filevel__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.filevel--rev .filevel__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.filevel--rev .filevel__photo { order: 2; }
.filevel__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
.filevel h2 { margin: 0 0 14px; font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; color: var(--navy); }
.filevel__lead { max-width: 30em; margin: 0 0 20px; padding-left: 20px; border-left: 4px solid var(--red); font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; line-height: 1.5; color: var(--ink); }
.filevel__perks { margin: 0 0 20px; padding: 0; list-style: none; }
.filevel__perks li { position: relative; padding: 3px 0 3px 22px; color: var(--ink); font-weight: 600; }
.filevel__perks li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 8px; height: 8px; background: var(--red); }
.filevel__count { margin: 0 0 6px; color: var(--muted); font-weight: 600; }
.filevel__list { margin: 0 0 28px; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.filevel__list li { break-inside: avoid; border-top: 1px solid var(--line); }
.filevel__list a, .filevel__list a:visited { display: block; padding: 12px 0; color: var(--navy); font-weight: 600; line-height: 1.35; text-decoration: none; }
.filevel__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.filevel__list a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.filevel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 0; }
.filevel__link, .filevel__link:visited { color: var(--navy); font-family: var(--f-head); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.filevel__link:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
@media (max-width: 900px) {
	.filevel__grid, .filevel--rev .filevel__grid { grid-template-columns: minmax(0, 1fr); }
	.filevel--rev .filevel__photo { order: 0; }
	.filevel__list { columns: 1; }
}
