/* Contenus éditoriaux : pages d'école, programmes, FAQ, page de l'institut. */

/* ---------- Page d'école ---------- */
.school-hero__kicker { margin: 0 0 .6em; font: 700 .85rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--pc); }
.school-hero h1 { max-width: 24ch; }
.school-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.school-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 28px; max-width: 760px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 25%); }
.school-figures > div { display: flex; flex-direction: column-reverse; }
.school-figures dd { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--pc); }
.school-figures dt { font-size: .95rem; color: rgb(255 255 255 / 85%); margin-top: 6px; }

.school-about__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.school-about__card { padding: 28px; border-radius: var(--radius); background: var(--paper); border-top: 6px solid var(--pa); box-shadow: var(--shadow); }
.school-about__card h3 { font-size: 1.2rem; margin-bottom: .8em; }
.cycle-about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; margin-bottom: 36px; }

.specialties { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.specialty { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--pa); box-shadow: var(--shadow); }
.specialty--core { background: var(--navy); border-color: var(--navy); border-top-color: var(--sun); color: #fff; }
.specialty--core h3, .specialty--core h4 { color: #fff; }
.specialty--core .chips li { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 25%); color: #fff; }
.specialty h3 { font-size: 1.3rem; margin-bottom: .5em; }
.specialty h4 { margin: 1.2em 0 .6em; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specialty--core h4 { color: rgb(255 255 255 / 70%); }
.specialty .ticks { font-size: .98rem; }
.specialty .chips { margin-bottom: 0; gap: 8px; }
.specialty .chips li { font-size: .9rem; padding: .35em .85em; }

.cycle-block { margin-bottom: clamp(36px, 5vw, 56px); }
.cycle-block__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 3px solid var(--pa); }
.cycle-block__head h3 { margin: 0; font-size: 1.6rem; }
.cycle-block__head a { text-decoration: none; }
.cycle-block__head a:hover { text-decoration: underline; }
.cycle-block__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }

/* ---------- Programme d'une formation ---------- */
.program { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.program__term { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.program__term h3 { font-size: 1rem; margin-bottom: .8em; padding-bottom: .6em; border-bottom: 2px solid var(--sun); }
.program__term .ticks { gap: 8px; font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq__group + .faq__group { margin-top: 36px; }
.faq__group h3 { margin-bottom: .7em; font-size: 1.2rem; color: var(--brick); }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); margin-bottom: 10px; }
.faq__item[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq__item summary { position: relative; padding: 16px 52px 16px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: var(--brick); transition: rotate .2s; }
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: var(--radius-s); }
.faq__item .prose { padding: 0 20px 18px; max-width: none; }
.faq__item .prose p:last-child { margin-bottom: 0; }
.faq-more { margin-top: 0; padding-bottom: 40px; }

/* ---------- Page de l'institut ---------- */
.about-mv__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.about-mv__card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--white); border-top: 6px solid var(--pa); box-shadow: var(--shadow); }
.about-mv__card h2 { font-size: 1.7rem; }
.about-mv__card .prose :last-child { margin-bottom: 0; }

.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.values li { position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.values__n { display: block; margin-bottom: 14px; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--pa); }
.values h3 { font-size: 1.25rem; }
.values p { margin: 0; color: var(--muted); }

.org { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.org li { padding: 22px 8px 22px 0; border-bottom: 1px solid var(--line); }
.org h3 { font-size: 1.15rem; margin-bottom: .3em; }
.org p { margin: 0; color: var(--muted); }

.incubator__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.incubator .prose { color: rgb(255 255 255 / 88%); }
.incubator__points { padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 20%); }

@media (max-width: 800px) {
	.school-about__in, .cycle-about, .incubator__in { grid-template-columns: 1fr; }
	.school-hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Programmes détaillés (unités d'enseignement) ---------- */
.modules li.modules__ue { counter-increment: none; padding-left: 18px; background: var(--paper); font-weight: 700; border-top: 1px solid var(--line); }
.modules li.modules__ue::before { content: none; }
.modules li.modules__ue .modules__h { font-weight: 600; }

/* ---------- Mention d'agrément ---------- */
.agrement-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: .5em 1em; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; }
.agrement-badge svg { width: 1.1em; height: 1.1em; stroke: var(--sun); fill: none; stroke-width: 2.4; }
.agrement-chip { display: inline-block; vertical-align: middle; margin-left: 8px; padding: .2em .7em; border-radius: 999px; background: var(--navy); color: #fff; font: 700 .72rem/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.callout--agrement { border-left-color: var(--sun); }
.school-group { margin: 2em 0 1em; font-size: 1.5rem; }
.school-group:first-of-type { margin-top: 0; }

/* ---------- Admission et vie étudiante ---------- */
.adm-cycles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.adm-cycles li { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--pa); }
.adm-cycles h3 { margin-bottom: .2em; font-size: 1.3rem; }
.adm-cycles p { margin: 0 0 .6em; color: var(--muted); }
.adm-cycles .adm-cycles__meta { font-weight: 600; color: var(--navy); }
.adm-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.timeline { margin: 0; border-left: 3px solid var(--sun); }
.timeline > div { position: relative; padding: 0 0 26px 28px; }
.timeline > div::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--navy); border: 3px solid var(--white); }
.timeline dt { font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.timeline dd { margin: 4px 0 0; color: var(--muted); }
.gallery--strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery--strip li { position: relative; overflow: hidden; border-radius: var(--radius-s); aspect-ratio: 4 / 3; }
.gallery--strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

.school-contact { margin: 1.4em 0 0; }
