@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-ext.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--navy: #001c3b;
	--navy-2: #0a2d57;
	--brick: #b33926;
	--brick-d: #8f2b1b;
	--sun: #f2b31b;
	--cobalt: #2a6fdb;
	--leaf: #1e9e78;
	--paper: #f4f6fa;
	--white: #fff;
	--muted: #4f6079;
	--line: #d9dfea;
	--radius: 14px;
	--radius-s: 8px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--shadow: 0 1px 2px rgb(0 28 59 / 8%), 0 8px 24px rgb(0 28 59 / 8%);
	--font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pa: #b33926;
	--pb: #001c3b;
	--pc: #f2b31b;
}

[data-tone="1"] { --pa: #b33926; --pb: #001c3b; --pc: #f2b31b; }
[data-tone="2"] { --pa: #2a6fdb; --pb: #001c3b; --pc: #f4f6fa; }
[data-tone="3"] { --pa: #1e9e78; --pb: #06302a; --pc: #f2b31b; }
[data-tone="4"] { --pa: #f2b31b; --pb: #3b1a05; --pc: #b33926; }
[data-tone="5"] { --pa: #e9eef7; --pb: #2a6fdb; --pc: #001c3b; }
[data-tone="6"] { --pa: #b33926; --pb: #f4d9a6; --pc: #001c3b; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	font: 400 1.0625rem/1.6 var(--font);
	color: var(--navy);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.screen-reader-text, .skip:not(:focus) {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; background: var(--sun); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 600; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Motifs ---------- */
.pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.media { position: relative; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 11; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--pattern { background: var(--pb); }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.4em; border: 2px solid transparent; border-radius: 999px;
	font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .94rem; }
.btn--lg { min-height: 56px; padding-inline: 2em; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }
.btn--brick { background: var(--brick); color: #fff; }
.btn--brick:hover { background: var(--brick-d); }
.btn--sun { background: var(--sun); color: var(--navy); }
.btn--sun:hover { background: #ffc43d; }
.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: #17846a; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--outline-light { border-color: rgb(255 255 255 / 55%); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brick); padding-bottom: 2px; white-space: nowrap; }
.link-arrow:hover { color: var(--brick); }

/* ---------- Bandeau et en-tête ---------- */
.banner { background: var(--sun); color: var(--navy); font-size: .93rem; font-weight: 500; }
.banner__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.banner p { margin: 0; }
.banner a { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .banner a { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(255 255 255 / 94%); backdrop-filter: blur(10px); }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px rgb(0 28 59 / 6%); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.04em; }
.brand__sub { font-size: .74rem; font-weight: 500; color: var(--muted); margin-top: 3px; letter-spacing: .01em; }
.brand--light .brand__sub { color: rgb(255 255 255 / 70%); }

.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--navy); cursor: pointer; }
.burger .icon { width: 24px; height: 24px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.nav { display: flex; align-items: center; align-self: stretch; gap: 24px; }
.nav__list { display: flex; align-items: stretch; align-self: stretch; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; padding: .6em .85em; border: 0; background: none; border-radius: 999px; font: 500 1rem var(--font); color: inherit; text-decoration: none; cursor: pointer; }
.nav__link:hover { background: var(--paper); }
.nav__item.is-current > .nav__link { font-weight: 700; box-shadow: inset 0 -3px 0 var(--brick); border-radius: 0; }
.nav__toggle { display: inline-flex; width: 28px; height: 28px; margin-left: -8px; align-items: center; justify-content: center; border: 0; background: none; border-radius: 50%; color: inherit; cursor: pointer; }
.nav__toggle:hover { background: var(--paper); }
.nav__toggle .icon, .nav__link--btn .icon { width: 16px; height: 16px; transition: transform .2s; }
[aria-expanded="true"] > .icon { transform: rotate(180deg); }
.nav__cta { display: flex; gap: 10px; white-space: nowrap; }

.sub { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sub a { display: block; padding: .6em .9em; border-radius: var(--radius-s); text-decoration: none; font-weight: 500; }
.sub a:hover { background: var(--paper); }

.mega { position: fixed; left: 0; right: 0; top: var(--hdr-bottom, 76px); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgb(0 28 59 / 14%); padding-block: 32px 36px; max-height: calc(100vh - var(--hdr-bottom, 76px)); max-height: calc(100dvh - var(--hdr-bottom, 76px)); overflow-y: auto; overscroll-behavior: contain; }
.nav__item.has-mega { position: static; }
.mega__grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 40px; }
.mega__title { font-weight: 700; margin-bottom: 14px; }
.mega__list { display: grid; gap: 4px; }
.mega__list--two { grid-template-columns: 1fr 1fr; }
.mega__list a { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; padding: 9px 12px; border-radius: var(--radius-s); text-decoration: none; }
.mega__list a:hover { background: var(--paper); }
.mega__chip { grid-row: span 2; align-self: start; margin-top: .4em; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--pa) 50%, var(--pc) 50%); }
.mega__name { font-weight: 600; }
.mega__meta { grid-column: 2; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.mega__aside { padding: 22px; border-radius: var(--radius); background: var(--navy); color: #fff; align-self: start; }
.mega__aside .mega__title { color: #fff; }
.mega__aside p { color: rgb(255 255 255 / 80%); font-size: .95rem; }

@media (max-width: 1199px) {
	.burger { display: inline-flex; }
	.nav { position: fixed; inset: var(--hdr-bottom, 76px) 0 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gutter) 40px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	body.nav-open .nav { transform: none; visibility: visible; }
	body.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__link { flex: 1; padding: 1em 0; font-size: 1.2rem; font-weight: 600; border-radius: 0; }
	.nav__link:hover { background: none; }
	.nav__item.is-current > .nav__link { box-shadow: none; color: var(--brick); }
	.nav__toggle { width: 44px; height: 44px; margin: 0; }
	.sub, .mega { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 12px; }
	.mega { padding-block: 4px 16px; }
	.mega__grid { grid-template-columns: 1fr; gap: 16px; }
	.mega__list--two { grid-template-columns: 1fr; }
	.nav__cta { flex-direction: column; }
	.nav__cta .btn { width: 100%; min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: end; padding-top: clamp(48px, 8vw, 104px); }
.hero__copy { padding-bottom: clamp(40px, 7vw, 96px); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero__lead { max-width: 52ch; font-size: 1.2rem; color: rgb(255 255 255 / 84%); margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__countdown { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .4em .7em; margin: 2em 0 0; padding: .6em 1.1em; border-left: 4px solid var(--sun); background: rgb(255 255 255 / 8%); font-size: .98rem; }
.hero__countdown strong { font-size: 1.15rem; }
.hero__countdown span:last-child { color: var(--sun); font-weight: 600; }

.stair { align-self: end; }
.stair__steps { display: grid; grid-template-columns: repeat(var(--steps), 1fr); align-items: end; gap: 6px; height: clamp(300px, 38vw, 480px); }
.stair__step { position: relative; height: calc(34% + var(--i) * (66% / max(var(--steps) - 1, 1))); min-height: 120px; }
.stair__step a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; border-radius: 12px 12px 0 0; text-decoration: none; color: #fff; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.stair__step a:hover, .stair__step a:focus-visible { transform: translateY(-10px); }
.stair__pattern { position: absolute; inset: 0; }
.stair__label { position: relative; z-index: 1; display: flex; max-width: calc(100% - 16px); flex-direction: column; gap: 2px; margin: 6px; padding: 7px 8px; border-radius: 8px; background: rgb(0 28 59 / 88%); line-height: 1.15; }
.stair__label strong { font-size: .82rem; overflow-wrap: anywhere; }
.stair__label small { font-size: .78rem; color: rgb(255 255 255 / 75%); }
@media (max-width: 900px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__copy { padding-bottom: 8px; }
	.stair__steps { height: 300px; gap: 4px; }
	.stair__step { min-height: 110px; }
	.stair__label { margin: 4px; padding: 6px; }
	.stair__label strong { font-size: .76rem; overflow-wrap: anywhere; }
	.stair__label small { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
	.stair__step { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
	@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
}

/* ---------- Chiffres ---------- */
.stats { background: var(--sun); color: var(--navy); }
.stats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 32px; margin: 0; padding: 28px 0; }
.stats__list > div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stats dt { font-size: .95rem; font-weight: 500; margin-top: 6px; }
.stats--inline { background: var(--paper); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section--navy .section-head p { color: rgb(255 255 255 / 75%); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 62ch; }
.section-head h2 { margin-bottom: .3em; }
.group-title { margin: 2em 0 .8em; font-size: 1.6rem; }
.group-title:first-child { margin-top: 0; }
.empty { padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

/* ---------- Fiches formations ---------- */
.fcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.fcard__link { display: block; height: 100%; text-decoration: none; }
.fcard__cycle { position: absolute; top: 12px; left: 12px; padding: .3em .8em; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; }
.fcard__body { padding: 18px 20px 20px; }
.fcard__title { font-size: 1.18rem; margin-bottom: .2em; }
.fcard__school { margin: 0 0 14px; color: var(--muted); font-size: .94rem; }
.fcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; }
.fcard__meta span { display: inline-flex; align-items: center; gap: .4em; color: var(--muted); }
.fcard__meta .fcard__price { color: var(--brick); font-weight: 700; }
.fcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--pa), var(--pc)); }

/* ---------- Finder ---------- */
.finder { padding-block: clamp(48px, 7vw, 88px); }
.finder__form { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; padding: 20px; margin-bottom: 28px; background: var(--paper); border-radius: var(--radius); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 190px; }
.field--grow { flex: 1 1 260px; }
.field label, .field > label { font-weight: 600; font-size: .92rem; }
.field input:not([type=checkbox]):not([type=range]), .field select, .field textarea, .field__box {
	width: 100%; min-height: 50px; padding: .65em .9em; border: 1.5px solid #b7c1d3; border-radius: var(--radius-s); background: #fff; font: 400 1rem var(--font); color: var(--navy);
}
.field textarea { resize: vertical; }
.field__box { display: flex; align-items: center; gap: 10px; padding-block: 0; }
.field__box:focus-within { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.field__box input { flex: 1; border: 0 !important; outline: 0 !important; padding: 0 !important; min-height: 46px !important; background: transparent !important; }
.field__box .icon { color: var(--muted); }
.field--range { min-width: 240px; }
.field--range input { accent-color: var(--brick); width: 100%; margin: 12px 0 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--brick); background: #fff6f4; }
.field__error { min-height: 0; margin: 0; color: var(--brick-d); font-size: .88rem; font-weight: 600; }
.field__error:empty { display: none; }
.finder__count { color: var(--muted); font-weight: 500; }
.finder__form .btn { min-height: 50px; }
[aria-busy="true"] { opacity: .5; transition: opacity .2s; }

/* ---------- Écoles ---------- */
.schools__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.school { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; }
.school__media { aspect-ratio: 16 / 9; }
.school__media img { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.school:hover .school__media img { transform: scale(1.05); }
.school__body { position: relative; padding: 20px 22px 22px; }
.school__body::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--pa) 33%, var(--pc) 33% 66%, transparent 66%); }
.school h3 { color: #fff; font-size: 1.4rem; margin-top: 6px; }
.school p { margin: 0 0 14px; color: rgb(255 255 255 / 78%); }
.school__count { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--sun); }
.school:hover .school__count .icon { transform: translateX(4px); }
.school__count .icon { transition: transform .2s; }

/* ---------- Engagements ---------- */
.why__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.why__list li { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.why__list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.why__list h3 { font-size: 1.35rem; position: relative; padding-top: 22px; }
.why__list h3::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 10px; background: linear-gradient(90deg, var(--pa) 50%, var(--pc) 50%); border-radius: 3px; }
.why__list p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .why__list li + li { padding-left: 0; border-left: 0; } }

/* ---------- Étapes ---------- */
.steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; counter-reset: s; }
.steps__list li { position: relative; padding-top: 18px; border-top: 2px solid rgb(255 255 255 / 25%); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--sun); color: var(--navy); font-weight: 800; font-size: 1.15rem; }
.steps__list p { color: rgb(255 255 255 / 78%); }
.steps__cta { margin: 40px 0 0; }

/* ---------- Événements ---------- */
.events__list { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 16px 22px 16px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; transition: border-color .2s, transform .2s; }
.event:hover { border-color: var(--navy); transform: translateX(4px); }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 12px; background: var(--navy); color: #fff; line-height: 1; }
.event__date strong { font-size: 2rem; font-weight: 800; }
.event__date span { font-size: .8rem; text-transform: capitalize; margin-top: 4px; color: var(--sun); }
.event h3 { margin: 0 0 .15em; font-size: 1.25rem; }
.event p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .event:hover { transform: none; } }

/* ---------- Témoignages ---------- */
.voices__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 18px; overflow-x: auto; padding: 4px 4px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.voice { margin: 0; padding: 26px; border-radius: var(--radius); background: #fff; border-top: 6px solid var(--pa); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; box-shadow: var(--shadow); }
.voice blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; font-weight: 500; }
.voice blockquote p { margin: 0; }
.voice figcaption { display: flex; gap: 14px; align-items: center; font-size: .93rem; color: var(--muted); line-height: 1.35; }
.voice figcaption strong { color: var(--navy); }
.voice__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--pa); color: #fff; font-weight: 700; flex: none; }
.voice__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Équipe ---------- */
.teachers__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px; }
.teachers__list img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; width: 100%; }
.teachers__list h3 { font-size: 1.05rem; margin: 0; }
.teachers__list p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Actualités ---------- */
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__link { display: block; text-decoration: none; height: 100%; }
.pcard__body { padding: 18px 20px 22px; }
.pcard__meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
.pcard__title { font-size: 1.2rem; }
.pcard__excerpt { margin: 0; color: var(--muted); font-size: .98rem; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Partenaires ---------- */
.partners { padding-block: 56px; border-top: 1px solid var(--line); }
.partners__title { font-size: 1.1rem; text-align: center; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 28px; }
.partners__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.partners__list img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partners__list a:hover img, .partners__list img:hover { filter: none; opacity: 1; }

/* ---------- Bandeau d'appel ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--pb); color: #fff; }
.cta-band__pattern { position: absolute; inset: 0; opacity: .22; }
.cta-band__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 7vw, 88px); }
.cta-band h2 { max-width: 20ch; margin: 0; color: #fff; }
.cta-band p { margin: .6em 0 0; color: rgb(255 255 255 / 80%); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Entêtes de pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--pb); color: #fff; }
.page-hero__pattern { position: absolute; inset: 0; opacity: .3; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--pb) 35%, transparent 100%); }
.page-hero__in { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 80px); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.4rem); color: #fff; margin-bottom: .3em; }
.page-hero__lead { max-width: 56ch; font-size: 1.15rem; color: rgb(255 255 255 / 85%); margin: 0; }
.crumbs { margin-bottom: 20px; font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { opacity: .85; }
.crumbs [aria-current] { opacity: .65; }

/* ---------- Fiches détail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.detail__img { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.detail__img img { width: 100%; }
.detail__aside { position: sticky; top: 100px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { padding: 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-size: .84rem; color: var(--muted); font-weight: 500; }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.block { margin-top: 44px; }
.block h2 { font-size: 1.6rem; }
.prose { max-width: 70ch; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { color: var(--brick); }
.prose img { border-radius: var(--radius); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chips li, .chip { padding: .5em 1em; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); font: 500 .96rem var(--font); color: var(--navy); }
button.chip { cursor: pointer; min-height: 44px; }
button.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.note { margin: 0 0 32px; padding: 22px 26px; border-left: 5px solid var(--sun); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.note h2, .note h3 { font-size: 1.15rem; margin-bottom: .3em; }
.note p { margin: 0; }

.apply { padding: 26px; border-radius: var(--radius); background: var(--navy); color: #fff; display: grid; gap: 12px; }
.apply__price { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.apply__price small { display: block; font-size: .9rem; font-weight: 500; color: rgb(255 255 255 / 70%); letter-spacing: 0; }
.apply .btn--ghost { border-color: rgb(255 255 255 / 50%); color: #fff; }
.apply .btn--ghost:hover { background: #fff; color: var(--navy); }
.apply__note, .apply__closed { margin: 0; font-size: .9rem; color: rgb(255 255 255 / 70%); }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail__aside { position: static; order: -1; } }

.pathway__list { display: flex; flex-wrap: wrap; gap: 0; }
.pathway__list li { flex: 1 1 160px; position: relative; }
.pathway__list a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 20px 16px 28px; background: var(--paper); text-decoration: none; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 14px 50%); margin-right: -6px; }
.pathway__list li:first-child a { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-left: 20px; }
.pathway__list li[aria-current] a { background: var(--pa); color: #fff; }
.pathway__list li[aria-current] a span { color: rgb(255 255 255 / 85%); }
.pathway__list a span { font-size: .88rem; color: var(--muted); }

/* ---------- Formulaires ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form { display: grid; gap: 22px; }
.form fieldset { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; }
.form legend { padding: 0; margin-bottom: 6px; font-size: 1.15rem; font-weight: 700; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form .field { min-width: 0; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brick); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { padding: 12px 16px; border-radius: var(--radius-s); background: #fdeceb; color: var(--brick-d); }
.success { text-align: center; padding: 24px 8px; }
.success:focus { outline: 0; }
.success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--leaf); color: #fff; margin-bottom: 14px; }
.success__icon .icon { width: 32px; height: 32px; stroke-width: 2.6; }
.success__ref { font-size: 1.15rem; }
.success__ref strong { display: inline-block; margin-left: .4em; padding: .15em .7em; border-radius: var(--radius-s); background: var(--paper); font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; user-select: all; }
.success__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form-aside { padding: 28px; border-radius: var(--radius); background: var(--paper); }
.form-aside h2 { font-size: 1.25rem; margin-bottom: .7em; }
.form-aside h2:not(:first-child) { margin-top: 1.8em; }
.mini-steps { display: grid; gap: 14px; counter-reset: m; }
.mini-steps li { position: relative; padding-left: 40px; display: grid; counter-increment: m; }
.mini-steps li::before { content: counter(m); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; }
.mini-steps span { color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: .2em; color: var(--sun); }
.contact-list--dark .icon { color: var(--brick); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.hours { margin: 18px 0 0; display: grid; gap: 6px; font-size: .95rem; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px dashed rgb(255 255 255 / 25%); }
.hours--dark > div { border-color: var(--line); }
.hours dd { margin: 0; font-weight: 600; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.85); }

/* ---------- Suivi ---------- */
.dossier { margin-top: 36px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 2px solid var(--navy); }
.dossier:focus { outline: 0; }
.dossier__ref { margin: 0; color: var(--muted); }
.dossier__head h2 { color: var(--brick); margin-bottom: .2em; }
.timeline { display: flex; margin: 26px 0 30px; gap: 0; }
.timeline li { position: relative; flex: 1; padding-top: 28px; text-align: center; font-size: .9rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--line); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.timeline li:first-child::after { display: none; }
.timeline .is-done, .timeline .is-current { color: var(--navy); font-weight: 600; }
.timeline .is-done::before, .timeline .is-current::before { background: var(--leaf); border-color: var(--leaf); }
.timeline .is-done::after, .timeline .is-current::after { background: var(--leaf); }
.timeline .is-current::before { background: var(--sun); border-color: var(--navy); box-shadow: 0 0 0 5px rgb(242 179 27 / 35%); }

/* ---------- Galerie ---------- */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery li { break-inside: avoid; margin-bottom: 16px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.gallery img { width: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.gallery a:hover img { transform: scale(1.04); }
.gallery__cap { position: absolute; inset: auto 0 0; padding: 36px 16px 14px; background: linear-gradient(transparent, rgb(0 28 59 / 85%)); color: #fff; font-weight: 600; font-size: .95rem; opacity: 0; transition: opacity .2s; }
.gallery a:hover .gallery__cap, .gallery a:focus-visible .gallery__cap { opacity: 1; }
.gallery__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: var(--brick); color: #fff; }
.lightbox { width: min(96vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--navy); color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgb(0 14 30 / 88%); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius) var(--radius) 0 0; }
.lightbox figcaption { padding: 14px 20px; font-weight: 500; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__close { top: -18px; right: -10px; z-index: 2; }
.lightbox__nav { top: 40%; }
.lightbox__nav--prev { left: -12px; }
.lightbox__nav--next { right: -12px; }

/* ---------- Recherche ---------- */
.searchbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.searchbar .field__box { flex: 1 1 280px; }
.results { display: grid; gap: 12px; }
.results a { display: grid; gap: 4px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.results a:hover { border-color: var(--navy); }
.results__type { font-size: .82rem; font-weight: 600; color: var(--brick); }
.results a span:last-child { color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; margin-top: 0; background: var(--navy); color: #fff; overflow: hidden; }
.site-footer__pattern { height: 14px; position: relative; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 40px; }
.site-footer__tag { margin: 18px 0 6px; font-size: 1.15rem; font-weight: 600; }
.site-footer__decree { color: rgb(255 255 255 / 65%); font-size: .86rem; max-width: 36ch; }
.site-footer__title { font-weight: 700; margin-bottom: 14px; }
.site-footer__col ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .hours dd { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 10%); }
.socials a:hover { background: var(--sun); color: var(--navy); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / 15%); font-size: .9rem; color: rgb(255 255 255 / 70%); }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; padding-block: 48px 28px; } }

.wa-float { position: fixed; z-index: 45; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--leaf); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgb(0 28 59 / 28%); }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { background: #17846a; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

@media print {
	.site-header, .site-footer, .wa-float, .banner, .cta-band { display: none; }
}

.finder__more { margin: 28px 0 0; text-align: center; }
@media (max-width: 640px) {
	.finder__form .field { width: 100%; min-width: 0; }
	.finder__form .btn { width: 100%; }
}

/* Barre d'administration WordPress : l'en-tête collant se place sous elle. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.nav__item > .sub { z-index: 2; }
