/* ==========================================================================
   USSGB — Feuille de style principale
   Inspiration : hero immersif, navigation claire, boutons « pilule » bleu vif.
   Couleurs : bleu marine institutionnel + bleu ciel & orange du logo USSGB.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Couleurs de marque */
  --navy-950: #040d45;
  --navy-900: #06145e;
  --navy-800: #0b1f7c;
  --navy-700: #13309e;
  --blue-600: #2449f5;   /* action principale (boutons) */
  --blue-500: #3d63ff;
  --blue-50:  #eef2ff;
  --sky-500:  #3aa3dc;   /* bleu du logo */
  --sky-100:  #e3f3fb;
  --orange-500: #f07b1f; /* orange du logo */
  --orange-100: #fff1e5;

  /* Neutres */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --paper:   #f7f8fc;
  --white:   #ffffff;

  /* Typographie */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-hero: clamp(2.25rem, 1.2rem + 4.2vw, 4.25rem);

  /* Espacements & formes */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow:    0 10px 30px -12px rgba(6, 20, 94, .18);
  --shadow-lg: 0 30px 60px -20px rgba(6, 20, 94, .30);

  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy-900); color: var(--white);
  padding: .75rem 1.25rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }

/* ---------- 3. Composants ---------- */

/* Surtitre */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.eyebrow--light { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { font-size: var(--fs-md); color: var(--ink-500); margin: 0; }
.section-head--split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.6rem;
  border-radius: var(--pill); border: 2px solid transparent;
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px -8px rgba(36, 73, 245, .6); }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy-900); }
.btn--outline { border-color: var(--ink-200); color: var(--ink-900); background: var(--white); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--white { background: var(--white); color: var(--navy-900); }
.btn--white:hover { background: var(--orange-500); color: var(--white); transform: translateY(-2px); }

/* Lien texte souligné (le trait s'allonge au survol de la carte) */
.link-arrow {
  align-self: flex-start; padding-bottom: 3px;
  font-weight: 700; font-size: var(--fs-sm); color: var(--blue-600);
  background: linear-gradient(currentColor, currentColor) left bottom / 24px 2px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover, .school:hover .link-arrow, .news-card:hover .link-arrow { background-size: 100% 2px; }

/* Badges */
.badge {
  display: inline-block; padding: .3rem .75rem; border-radius: var(--pill);
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  background: var(--blue-50); color: var(--blue-600);
}
.badge--orange { background: var(--orange-100); color: #b4530c; }
.badge--sky { background: var(--sky-100); color: #1a6e9b; }

/* ---------- 4. Barre supérieure ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: var(--fs-xs); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__list { display: flex; gap: 1.75rem; }
.topbar__list a, .topbar__list span { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s; }
.topbar__list a:hover { color: var(--white); }
.topbar__label { margin-right: .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-500); }
.topbar__motto { font-weight: 600; letter-spacing: .06em; color: var(--white); }
.topbar__signup { flex-shrink: 0; padding: .3rem .85rem; border-radius: var(--pill); background: var(--orange-500); color: var(--white); font-weight: 700; white-space: nowrap; transition: background-color .2s; }
.topbar__signup:hover { background: #d96a12; }
.topbar__motto span { color: var(--orange-500); padding-inline: .35rem; }

/* ---------- 5. En-tête / navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(6, 20, 94, .25); border-color: var(--ink-100); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .85rem; }
.brand img { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.2rem; color: var(--navy-900); letter-spacing: .02em; }
.brand__sub { font-size: .7rem; color: var(--ink-500); font-weight: 500; max-width: 190px; }

.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative; display: block; padding: .6rem .9rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); white-space: nowrap;
  border-radius: var(--pill); transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--blue-600); background: var(--blue-50); }
.nav__link[aria-current="page"] { color: var(--blue-600); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px;
  transform: translateX(-50%); border-radius: 3px; background: var(--orange-500);
}

.header__actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--ink-200); background: var(--white); color: var(--navy-900);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.nav__cta-mobile { display: none; }

/* ---------- 6. Hero : carrousel des actualités à la une ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy-900); }

.carousel__track { display: grid; }
.carousel__slide {
  grid-area: 1 / 1; position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(760px, calc(100svh - var(--header-h) - 40px));
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.carousel__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.carousel__slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 13, 69, .94) 0%, rgba(6, 20, 94, .82) 34%, rgba(6, 20, 94, .35) 64%, rgba(6, 20, 94, .05) 100%),
    linear-gradient(0deg, rgba(4, 13, 69, .6) 0%, rgba(4, 13, 69, 0) 45%);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.08); transition: transform 9s linear; }
.carousel__slide.is-active .hero__media img { transform: scale(1); }

.hero__content { padding-block: clamp(4rem, 3rem + 5vw, 7rem) clamp(10rem, 9rem + 3vw, 12rem); max-width: 760px; }
/* Entrée progressive du texte de la diapositive active */
.carousel__slide .hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.carousel__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.carousel__slide.is-active .hero__content > :nth-child(1) { transition-delay: .25s; }
.carousel__slide.is-active .hero__content > :nth-child(2) { transition-delay: .35s; }
.carousel__slide.is-active .hero__content > :nth-child(3) { transition-delay: .45s; }
.carousel__slide.is-active .hero__content > :nth-child(4) { transition-delay: .55s; }

.hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.25rem; font-size: var(--fs-xs); font-weight: 600; color: rgba(255, 255, 255, .8); }
.hero__meta time { display: inline-flex; align-items: center; gap: .9rem; }
.hero__meta time::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange-500); }
.hero__tag { padding: .35rem .8rem; border-radius: var(--pill); background: var(--blue-600); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero__tag--orange { background: var(--orange-500); }
.hero__tag--sky { background: var(--sky-500); color: var(--navy-950); }
.hero__title { color: var(--white); font-size: clamp(2rem, 1.1rem + 3.3vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1.25rem; }
.hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255, 255, 255, .86); max-width: 580px; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Contrôles du carrousel */
.carousel__controls { position: absolute; left: 0; right: 0; bottom: clamp(6rem, 5.5rem + 1vw, 6.75rem); z-index: 3; }
.carousel__bar { display: flex; align-items: center; gap: .6rem; }
.carousel__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: var(--white);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .2s, color .2s, border-color .2s;
}
.carousel__btn:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.carousel__btn .icon { width: 18px; height: 18px; }
.carousel__btn .icon--flip { transform: rotate(180deg); }
.carousel__toggle .icon--play { display: none; }
.carousel.is-user-paused .carousel__toggle .icon--pause { display: none; }
.carousel.is-user-paused .carousel__toggle .icon--play { display: block; }

.carousel__dots { display: flex; align-items: center; gap: .2rem; margin-inline: .4rem; }
.carousel__dot { display: grid; align-items: center; width: 40px; height: 44px; padding: 0; background: none; border: 0; transition: width .4s var(--ease); }
.carousel__dot.is-active { width: 72px; }
.carousel__dot span { position: relative; display: block; height: 4px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.carousel__dot:hover span { background: rgba(255, 255, 255, .55); }
.carousel__dot span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--white); transform: scaleX(0); transform-origin: left; }
.carousel__dot.is-active span::after { animation: carousel-progress var(--carousel-interval, 7s) linear forwards; }
.carousel.is-paused .carousel__dot.is-active span::after { animation-play-state: paused; }
.carousel__count { margin: 0 .4rem 0 .2rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; }
.carousel__count strong { color: var(--white); }

@keyframes carousel-progress { to { transform: scaleX(1); } }

/* ---------- 7. Chiffres clés ---------- */
.stats { position: relative; z-index: 2; margin-top: clamp(-5rem, -4rem - 2vw, -4rem); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
.stat { display: flex; flex-direction: column; padding: clamp(1.4rem, 1.1rem + 1vw, 2.1rem) clamp(1.25rem, 1rem + 1vw, 2rem); }
.stat + .stat { border-left: 1px solid var(--ink-100); }
.stat::before { content: ""; width: 28px; height: 3px; margin-bottom: .9rem; border-radius: 3px; background: var(--orange-500); }
.stat:nth-child(2)::before { background: var(--blue-600); }
.stat:nth-child(3)::before { background: var(--sky-500); }
.stat:nth-child(4)::before { background: var(--navy-900); }
.stat__value { display: block; font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.6rem); font-weight: 800; color: var(--navy-900); line-height: 1; letter-spacing: -.03em; margin-bottom: .45rem; }
.stat__label { display: block; font-size: var(--fs-xs); color: var(--ink-500); font-weight: 500; line-height: 1.45; }

/* ---------- 8. Présentation ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__media-card {
  position: absolute; right: clamp(-1.5rem, -2vw, -1rem); bottom: -2rem; max-width: 260px;
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem;
  border-radius: var(--radius); background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-lg);
}
.about__media-card strong { display: block; font-size: 1.6rem; line-height: 1; font-weight: 800; color: var(--orange-500); }
.about__media-card span { font-size: var(--fs-xs); color: rgba(255, 255, 255, .8); line-height: 1.4; }
.about__deco { position: absolute; left: -1.25rem; top: -1.25rem; width: 120px; height: 120px; z-index: -1; border-radius: var(--radius); background-image: radial-gradient(var(--sky-500) 1.6px, transparent 1.6px); background-size: 14px 14px; opacity: .55; }
.about__body h2 { font-size: var(--fs-2xl); }
.about__body > p { color: var(--ink-500); }
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin: 2rem 0 2.25rem; }
.pillar { padding: 1.1rem 1rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--ink-100); }
.pillar__num { display: block; margin-bottom: .5rem; font-size: 1.35rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--orange-500); }
.pillar h3 { font-size: var(--fs-sm); margin-bottom: .25rem; }
.pillar p { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; line-height: 1.5; }

/* ---------- 9. Établissements ---------- */
.schools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.school {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.school::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-500)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.school:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.school:hover::before { transform: scaleX(1); }
.school__logo { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--white); border: 1px solid var(--ink-100); overflow: hidden; }
.school__logo img { width: 100%; height: 100%; object-fit: contain; }
.school__logo--round img { border-radius: 50%; }
.school__logo--wide { width: 150px; border-radius: 16px; }
.school__logo--wide img { padding: .35rem .25rem; }
.school__acronym { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; color: var(--orange-500); margin-bottom: .35rem; }
.school h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: .75rem; }
.school p { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; }
.school__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 1.25rem; padding-top: .5rem; }
.school__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.doctoral {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.5rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: rgba(255, 255, 255, .85);
}
.doctoral__main { display: flex; align-items: center; gap: 1.1rem; }
.doctoral__main { gap: 1.5rem; }
.doctoral__level { flex-shrink: 0; padding-right: 1.5rem; border-right: 1px solid rgba(255, 255, 255, .2); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--orange-500); }
.doctoral h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .2rem; }
.doctoral p { margin: 0; font-size: var(--fs-sm); }

/* ---------- 10. Mot du Recteur ---------- */
.rector { position: relative; overflow: hidden; background: var(--navy-900); color: rgba(255, 255, 255, .85); }
.rector::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 163, 220, .22), transparent 65%);
}
.rector__grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 2rem + 4vw, 5rem); align-items: center; }
.rector__photo { position: relative; max-width: 420px; }
.rector__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: var(--radius-lg); }
.rector__photo::after { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1; border-radius: var(--radius-lg); border: 2px solid var(--orange-500); }
.rector__photo { z-index: 0; }
.rector h2 { color: var(--white); font-size: var(--fs-2xl); }
.rector__quote { position: relative; margin: 0 0 2rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.7; color: rgba(255, 255, 255, .9); }
.rector__quote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; height: 2.2rem; color: var(--orange-500); font-family: Georgia, serif; }
.rector__sign { display: flex; align-items: center; gap: 1rem; }
.rector__sign-bar { width: 44px; height: 2px; background: var(--orange-500); }
.rector__sign strong { display: block; color: var(--white); font-size: var(--fs-md); }
.rector__sign span { font-size: var(--fs-xs); color: rgba(255, 255, 255, .65); }

/* ---------- 11. Recherche ---------- */
.research { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 2rem + 4vw, 5rem); align-items: center; }
.research__axes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 2.25rem; }
.axis { display: flex; gap: .9rem; align-items: baseline; padding: 1.1rem 1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--ink-100); transition: border-color .25s, box-shadow .25s; }
.axis:hover { border-color: var(--blue-50); box-shadow: var(--shadow); }
.axis__num { flex-shrink: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--blue-600); }
.axis h3 { font-size: var(--fs-sm); margin: 0; line-height: 1.4; }
.research__media { position: relative; }
.research__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 11; object-fit: cover; box-shadow: var(--shadow); }
.research__media-tag {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  padding: .8rem 1.1rem; border-radius: var(--radius-sm); border-left: 4px solid var(--orange-500);
  background: rgba(255, 255, 255, .96); box-shadow: var(--shadow);
  font-size: var(--fs-xs); font-weight: 600; color: var(--navy-900); max-width: 280px; line-height: 1.45;
}

/* ---------- 12. Actualités ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__media .badge { position: absolute; left: 1rem; top: 1rem; background: var(--white); box-shadow: var(--shadow-sm); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.news-card__date { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--ink-500); margin-bottom: .6rem; }
.news-card__date::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--orange-500); }
.news-card h3 { font-size: 1.1rem; line-height: 1.4; margin-bottom: .6rem; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card p { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; }
.news-card .link-arrow { margin-top: auto; }

/* ---------- 13. Vie universitaire ---------- */
.campus { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.campus-tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); background: var(--navy-900); }
.campus-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.campus-tile:hover img { transform: scale(1.06); }
.campus-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 13, 69, .88) 0%, rgba(4, 13, 69, .15) 55%, transparent 100%); }
.campus-tile__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem 1.5rem; }
.campus-tile__caption::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: .8rem; border-radius: 3px; background: var(--orange-500); transition: width .4s var(--ease); }
.campus-tile:hover .campus-tile__caption::before { width: 56px; }
.campus-tile h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .25rem; }
.campus-tile p { margin: 0; font-size: var(--fs-xs); color: rgba(255, 255, 255, .8); line-height: 1.5; }
.campus-tile--a { grid-column: span 7; grid-row: span 2; }
.campus-tile--b { grid-column: span 5; }
.campus-tile--c { grid-column: span 5; }
.campus-tile--d { grid-column: span 12; }
.campus-tile--e { grid-column: span 6; }

/* Vision, valeurs, mission */
.about__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.vvm { display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; gap: 1.25rem; align-items: start; }
.vvm__card { height: 100%; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); }
.vvm__num { display: block; margin-bottom: 1rem; font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--orange-500); }
.vvm__card:nth-child(2) .vvm__num { color: var(--blue-600); }
.vvm__card:nth-child(3) .vvm__num { color: var(--sky-500); }
.vvm__card h3 { font-size: var(--fs-lg); margin-bottom: .75rem; }
.vvm__card p { margin: 0; color: var(--ink-700); font-size: var(--fs-sm); line-height: 1.7; }
.vvm__intro { margin-bottom: .75rem !important; color: var(--ink-500) !important; }
.vvm__list { display: grid; gap: .5rem; }
.vvm__list li { position: relative; padding-left: 1.1rem; font-size: var(--fs-sm); color: var(--ink-900); line-height: 1.5; }
.vvm__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }

/* ---------- 14. Assurance qualité ---------- */
.quality { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow); }
.quality h2 { font-size: var(--fs-xl); }
.quality > div > p { color: var(--ink-500); margin: 0; }
.quality__steps { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; counter-reset: step; }
.quality__step { position: relative; padding: 1rem 1rem 1rem 3.4rem; border-radius: var(--radius); background: var(--paper); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); line-height: 1.45; }
.quality__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 1rem; top: 1rem; font-size: var(--fs-xs); font-weight: 800; color: var(--blue-600);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50);
}

/* ---------- 15. Appel à l'action ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2.25rem, 1.5rem + 3vw, 4rem); border-radius: var(--radius-lg);
  background: linear-gradient(115deg, var(--blue-600) 0%, var(--navy-800) 100%); color: rgba(255, 255, 255, .88);
}
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); }
.cta::before { width: 340px; height: 340px; right: -80px; top: -160px; }
.cta::after { width: 220px; height: 220px; right: 120px; bottom: -150px; border-color: rgba(240, 123, 31, .45); }
.cta h2 { color: var(--white); font-size: var(--fs-xl); margin-bottom: .5rem; }
.cta p { margin: 0; max-width: 540px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- 16. Pied de page ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: var(--fs-sm); padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-bottom: 3rem; }
.footer__brand img { height: 64px; width: auto; background: var(--white); border-radius: 12px; padding: .4rem .6rem; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 320px; line-height: 1.7; }
.footer__motto { display: inline-block; margin-top: .25rem; font-weight: 700; color: var(--white); letter-spacing: .04em; font-size: var(--fs-xs); }
.footer__motto span { color: var(--orange-500); padding-inline: .3rem; }
.footer h3 { color: var(--white); font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__links li + li { margin-top: .7rem; }
.footer__links a { transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: var(--white); padding-left: 4px; }
.footer__contact li { line-height: 1.55; }
.footer__contact li + li { margin-top: 1.1rem; }
.footer__label { display: block; margin-bottom: .15rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-500); }
.footer__contact a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); }
.footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */

/* ---------- Bandeau de page ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(6.5rem, 5.5rem + 4vw, 9rem);
  color: var(--white); background: var(--navy-900);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4, 13, 69, .95) 0%, rgba(6, 20, 94, .85) 45%, rgba(6, 20, 94, .45) 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 1rem; }
.page-hero__lead { max-width: 640px; margin: 0; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255, 255, 255, .86); }

.breadcrumb { margin-bottom: 1.5rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--orange-500); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Formations : cycles LMD ---------- */
.cycles-wrap { position: relative; z-index: 2; margin-top: clamp(-5rem, -4rem - 2vw, -4rem); }
.cycles {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none;
  background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.cycle { display: flex; flex-direction: column; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.cycle + .cycle { border-left: 1px solid var(--ink-100); }
.cycle__level { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--navy-900); }
.cycle__name { margin: .5rem 0 .6rem; font-size: var(--fs-md); font-weight: 700; color: var(--orange-500); }
.cycle:nth-child(2) .cycle__name { color: var(--blue-600); }
.cycle:nth-child(3) .cycle__name { color: var(--sky-500); }
.cycle__text { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.55; }
.cycles__note { max-width: 720px; margin: 1.5rem auto 0; text-align: center; font-size: var(--fs-sm); color: var(--ink-500); }

/* ---------- Formations : recherche ---------- */
.finder { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1rem; }
.finder__box {
  display: grid; grid-template-columns: 1fr auto; gap: 1.25rem 2rem; align-items: end;
  padding: 1.5rem; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--ink-100);
}
.finder__field label, .finder__label { display: block; margin-bottom: .5rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); }
.finder__field input {
  width: 100%; min-height: 50px; padding: .8rem 1.1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--ink-300); background: var(--white); color: var(--ink-900); font: inherit; font-size: var(--fs-md);
  transition: border-color .2s, box-shadow .2s;
}
.finder__field input::placeholder { color: var(--ink-500); }
.finder__field input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(36, 73, 245, .15); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--pill);
  border: 1px solid var(--ink-300); background: var(--white); color: var(--ink-700);
  font-size: var(--fs-sm); font-weight: 600; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip[aria-pressed="true"], .chip[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
a.chip { display: inline-flex; align-items: center; }

/* Pagination publique */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.pager__pages { display: flex; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.pager__pages a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: 12px; border: 1px solid var(--ink-200); background: var(--white); font-weight: 700; color: var(--ink-700); transition: border-color .2s, color .2s; }
.pager__pages a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.pager__pages a[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

/* Page d'erreur */
.error-page { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.error-page__code { margin: 0 0 .5rem; font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--orange-500); }
.error-page h1 { font-size: var(--fs-2xl); }
.error-page__text { max-width: 520px; margin: 0 auto 2rem; color: var(--ink-500); }
.error-page__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .85rem; }
.finder__count { margin: 1rem 0 0; font-size: var(--fs-sm); color: var(--ink-500); }
.finder__count strong { color: var(--navy-900); }
.finder__empty { padding-block: 3rem; text-align: center; font-size: var(--fs-md); color: var(--ink-500); }
.finder__empty[hidden] { display: none; }
.finder__reset { display: block; margin: 1rem auto 0; padding: 0; background: none; border: 0; font-weight: 700; color: var(--blue-600); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Sous-navigation collante ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255, 255, 255, .96); border-block: 1px solid var(--ink-100);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.subnav__list { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .5rem; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link {
  display: block; padding: .55rem 1rem; border-radius: var(--pill); white-space: nowrap;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); transition: background-color .2s, color .2s;
}
.subnav__link:hover { background: var(--blue-50); color: var(--blue-600); }
.subnav__link.is-active { background: var(--navy-900); color: var(--white); }

/* ---------- Sections des établissements ---------- */
.school-section { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); scroll-margin-top: calc(var(--header-h) + 60px); }
.school-section[hidden] { display: none; }
.school-section__head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem 2.25rem; align-items: center;
  padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--ink-200);
}
.school-section__logo { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm); }
.school-section__logo img { width: 100%; height: 100%; object-fit: contain; }
.school-section__logo--round img { border-radius: 50%; }
.school-section__logo--wide { width: 170px; border-radius: var(--radius); }
.school-section__logo--wide img { padding: .5rem; }
.school-section__acronym { margin-bottom: .35rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; color: var(--orange-500); }
.school-section__intro h2 { font-size: var(--fs-xl); margin-bottom: .6rem; }
.school-section__intro > p:not(.school-section__acronym) { margin: 0; max-width: 680px; color: var(--ink-500); font-size: var(--fs-sm); }
.school-section__evening { display: inline-block; margin-top: .85rem; padding: .35rem .85rem; border-radius: var(--pill); background: var(--orange-100); color: #b4530c; font-size: .78rem; font-weight: 700; transition: background-color .2s; }
.school-section__evening:hover { background: #ffe2c7; }
.school-section__stats { display: flex; gap: 2rem; margin: 0; }

/* Bandeau « Cours du soir » + « Inscriptions en ligne » (page Formations) */
.info-band { padding-bottom: 1.5rem; }
.info-band__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; }
.info-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); border-radius: var(--radius-lg); }
.info-card h2 { font-size: var(--fs-lg); margin-bottom: .6rem; }
.info-card p { font-size: var(--fs-sm); line-height: 1.65; }
.info-card__tag { margin-bottom: .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.info-card .btn, .info-card .link-arrow { margin-top: auto; }
.info-card--evening { background: var(--orange-100); border: 1px solid #fde0c4; }
.info-card--evening .info-card__tag { color: #b4530c; }
.info-card--evening p { color: var(--ink-700); }
.info-card--signup { background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); color: rgba(255, 255, 255, .88); }
.info-card--signup h2 { color: var(--white); }
.info-card--signup .info-card__tag { color: var(--sky-500); }
.info-card--signup strong { color: var(--white); }
@media (max-width: 1024px) { .info-band__grid { grid-template-columns: 1fr; } }
.school-section__stats div { display: flex; flex-direction: column-reverse; }
.school-section__stats dt { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500); white-space: nowrap; }
.school-section__stats dd { margin: 0; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--navy-900); }

.program-group + .program-group { margin-top: 2.75rem; }
.program-group[hidden] { display: none; }
.program-group__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: 1.25rem; font-size: var(--fs-lg); }
.program-group__title span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-500); }

.programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.programs--compact { grid-template-columns: repeat(3, 1fr); }
.program {
  --accent: var(--blue-600);
  position: relative; padding: 1.25rem 1.4rem 1.3rem;
  border-radius: var(--radius); border: 1px solid var(--ink-100); border-left: 4px solid var(--accent);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.program:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.program[hidden] { display: none; }
.program[data-level="master"] { --accent: var(--orange-500); }
.program[data-level="dut"] { --accent: var(--sky-500); }
.program--wide { grid-column: 1 / -1; }
.program__type { margin-bottom: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.program[data-level="dut"] .program__type { color: #1a6e9b; }
.program[data-level="master"] .program__type { color: #b4530c; }
.program__name { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.program__options { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.program__options li { padding: .35rem .75rem; border-radius: var(--pill); background: var(--ink-100); font-size: .8rem; font-weight: 500; line-height: 1.35; color: var(--ink-700); }
.program__note { margin: .6rem 0 0; font-size: var(--fs-xs); color: var(--ink-500); }

/* Frais de scolarité (dépliable, en bas de chaque établissement) */
.fees { margin-top: 2.75rem; border: 1px solid var(--ink-100); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.fees__summary {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem;
  padding: 1.2rem 3.5rem 1.2rem 1.4rem; cursor: pointer; list-style: none;
}
.fees__summary::-webkit-details-marker { display: none; }
.fees__summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--orange-500); transition: transform .25s var(--ease); }
.fees[open] .fees__summary::after { transform: translateY(-50%) rotate(45deg); }
.fees__label { font-weight: 800; color: var(--navy-900); }
.fees__summary:hover .fees__label { color: var(--blue-600); }
.fees__range { font-size: var(--fs-sm); font-weight: 600; color: #b4530c; }
.fees__body { padding: 0 1.4rem 1.4rem; }
.fees__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--fs-sm); }
.fees__table thead th:first-child { width: 46%; }
.fees__table + .fees__table { margin-top: 1.75rem; }
.fees__table caption { padding-bottom: .6rem; text-align: left; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-500); }
.fees__table th, .fees__table td { padding: .7rem .75rem; border-bottom: 1px solid var(--ink-100); text-align: left; vertical-align: top; }
.fees__table thead th { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-500); background: var(--paper, #f5f7fb); }
.fees__table tbody th { font-weight: 600; color: var(--ink-900); }
.fees__table tbody th span { display: block; margin-top: .15rem; font-size: var(--fs-xs); font-weight: 500; color: var(--ink-500); }
.fees__table td { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-700); }
.fees__table td strong { color: var(--navy-900); }
.fees__notes { margin: 1.4rem 0 0; padding-left: 1.1rem; font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-500); }
.fees__notes li + li { margin-top: .3rem; }
@media (max-width: 720px) {
  .fees__table thead { display: none; }
  .fees__table, .fees__table tbody, .fees__table tr, .fees__table th, .fees__table td { display: block; }
  .fees__table tr { padding: .8rem 0; border-bottom: 1px solid var(--ink-100); }
  .fees__table th, .fees__table td { padding: .15rem 0; border: 0; }
  .fees__table td { display: flex; justify-content: space-between; gap: 1rem; }
  .fees__table td::before { content: attr(data-label); color: var(--ink-500); }
}
.program mark { background: rgba(240, 123, 31, .22); color: inherit; border-radius: 3px; padding: 0 .1em; }

/* École doctorale (fond sombre) */
.ed-section { background: var(--navy-900); color: rgba(255, 255, 255, .82); }
.ed-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
.ed-section h2 { color: var(--white); font-size: var(--fs-xl); }
.ed-section .program-group__title { color: var(--white); }
.ed-domains { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; counter-reset: ed; }
.ed-domain {
  display: flex; align-items: center; gap: 1.1rem; counter-increment: ed;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid var(--orange-500); box-shadow: none;
}
.ed-domain::before { content: counter(ed, decimal-leading-zero); font-size: 1.1rem; font-weight: 800; color: var(--orange-500); }
.ed-domain .program__name { color: var(--white); font-size: var(--fs-md); }
.ed-domain:hover { box-shadow: none; background: rgba(255, 255, 255, .1); }

/* Admission */
.admission { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
.admission__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.admission h2 { font-size: var(--fs-2xl); }
.admission > div > p { color: var(--ink-500); }
.admission__steps { display: grid; gap: .75rem; margin: 1.75rem 0 2rem; padding: 0; list-style: none; counter-reset: step; }
.admission__steps li { position: relative; padding: 1rem 1.1rem 1rem 3.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--ink-100); font-size: var(--fs-sm); counter-increment: step; }
.admission__steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1rem; font-weight: 800; color: var(--orange-500); }
.admission__steps strong { color: var(--ink-900); }
.admission__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Recherche & Innovation ---------- */
.cycles--4 { grid-template-columns: repeat(4, 1fr); }

.policy { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: center; }
.policy h2 { font-size: var(--fs-2xl); }
.policy p { color: var(--ink-500); }
.policy__quote {
  position: relative; margin: 0; padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white); overflow: hidden;
}
.policy__quote::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(240, 123, 31, .5); }
.policy__quote blockquote { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.policy__quote blockquote::before { content: "\201C"; display: block; height: 2.4rem; font-family: Georgia, serif; font-size: 5rem; line-height: .8; color: var(--orange-500); }
.policy__quote figcaption { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-500); }

.axes-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.axis-card {
  position: relative; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.axis-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.axis-card__num { display: block; margin-bottom: 1.25rem; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--blue-600); }
.axis-card:nth-child(2) .axis-card__num { color: var(--orange-500); }
.axis-card:nth-child(3) .axis-card__num { color: var(--sky-500); }
.axis-card:nth-child(4) .axis-card__num { color: var(--navy-900); }
.axis-card h3 { font-size: var(--fs-lg); margin-bottom: .6rem; }
.axis-card p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); }

.process { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
.process__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.process h2 { font-size: var(--fs-2xl); }
.process > div > p { color: var(--ink-500); }
.process__steps { position: relative; display: grid; gap: 0; margin: 1.75rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.process__steps li { position: relative; display: grid; gap: .15rem; padding: 0 0 1.5rem 3.5rem; counter-increment: step; }
.process__steps li:last-child { padding-bottom: 0; }
.process__steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -.1rem;
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy-900); color: var(--white); font-size: var(--fs-xs); font-weight: 800;
}
.process__steps li:last-child::before { background: var(--orange-500); }
.process__steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.5rem; bottom: .2rem; width: 2px; background: var(--ink-200); }
.process__steps strong { color: var(--ink-900); font-size: var(--fs-md); }
.process__steps span { font-size: var(--fs-sm); color: var(--ink-500); }

.training { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: stretch; }
.training__masters { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); }
.training__title { display: flex; align-items: baseline; gap: .75rem; font-size: var(--fs-lg); margin-bottom: 1.25rem; }
.training__title span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-500); }
.training__list li + li { border-top: 1px solid var(--ink-100); }
.training__list a { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; font-weight: 600; color: var(--ink-900); transition: color .2s, padding-left .25s var(--ease); }
.training__list a:hover { color: var(--blue-600); padding-left: .35rem; }
.training__school { flex-shrink: 0; width: 3rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--orange-500); }
.training__ed { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: rgba(255, 255, 255, .82); }
.training__ed-level { margin-bottom: .75rem; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--orange-500); }
.training__ed h3 { color: var(--white); font-size: var(--fs-lg); }
.training__ed p { font-size: var(--fs-sm); }
.training__ed .btn { margin-top: auto; }

.partners { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
.partners h2 { font-size: var(--fs-2xl); }
.partners > div > p { color: var(--ink-500); margin-bottom: 1.75rem; }
.partners__panel { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--ink-100); }
.partners__label { margin-bottom: 1.25rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); }
.partners__list { display: grid; gap: .75rem; }
.partners__list li { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--ink-100); }
.partners__list strong { flex-shrink: 0; width: 4.5rem; font-size: 1.05rem; font-weight: 800; color: var(--blue-600); letter-spacing: .02em; }
.partners__list li:first-child strong { color: var(--orange-500); }
.partners__list span { font-size: var(--fs-sm); color: var(--ink-700); line-height: 1.45; }
.partners__foot { margin: 1.25rem 0 0; font-size: var(--fs-sm); color: var(--ink-500); }
.section--paper .partners__panel { background: var(--white); }
.section--paper .partners__list li { background: var(--paper); }

/* Axes stratégiques */
.strat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; align-items: start; }
.strat__card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); border-top: 4px solid var(--blue-600); box-shadow: var(--shadow-sm); }
.strat__card:nth-child(2) { border-top-color: var(--orange-500); }
.strat__card:nth-child(3) { border-top-color: var(--sky-500); }
.strat__card:nth-child(4) { border-top-color: var(--navy-900); }
.strat__axis { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); }
.strat__axis span { padding: .25rem .7rem; border-radius: var(--pill); background: var(--paper); font-size: .72rem; letter-spacing: .04em; text-transform: none; color: var(--ink-500); font-weight: 700; }
.strat__card h3 { font-size: var(--fs-lg); line-height: 1.35; margin-bottom: 1.1rem; }
.strat__list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; counter-reset: obj; }
.strat__list li { position: relative; padding-left: 2.4rem; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-700); counter-increment: obj; }
.strat__list li::before { content: counter(obj, decimal-leading-zero); position: absolute; left: 0; top: .05rem; font-size: .8rem; font-weight: 800; color: var(--blue-600); }
@media (max-width: 1024px) { .strat { grid-template-columns: 1fr; } }

@media (max-width: 1024px) {
  .cycles--4 { grid-template-columns: repeat(2, 1fr); }
  .cycles--4 .cycle:nth-child(3) { border-left: 0; }
  .cycles--4 .cycle:nth-child(n+3) { border-top: 1px solid var(--ink-100); }
  .policy, .process, .training, .partners { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .axes-list { grid-template-columns: 1fr; }
  .cycles.cycles--4 { grid-template-columns: 1fr 1fr; }
  .cycles--4 .cycle.cycle { border-left: 0; }
  .cycles--4 .cycle.cycle:nth-child(even) { border-left: 1px solid var(--ink-100); }
  .cycles--4 .cycle.cycle:nth-child(2) { border-top: 0; }
  .cycles--4 .cycle__text { display: none; }
}

/* ---------- Contact ---------- */
.contact-wrap { position: relative; z-index: 2; margin-top: clamp(-5rem, -4rem - 2vw, -4rem); padding-bottom: var(--section-y); }
.contact { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.5rem; align-items: start; }
.contact__form-card { scroll-margin-top: calc(var(--header-h) + 1.5rem); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow-lg); }
.contact__form-card h2 { font-size: var(--fs-xl); margin-bottom: .35rem; }
.contact__intro { margin-bottom: 1.75rem; font-size: var(--fs-sm); color: var(--ink-500); }
.req { color: #c2410c; font-weight: 700; }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { margin-bottom: .45rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); }
.field__optional { font-weight: 500; color: var(--ink-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--ink-300); background: var(--white);
  font: inherit; font-size: var(--fs-md); color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);
  background-position: right 1.25rem center, right .9rem center; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(36, 73, 245, .15); }
.field [aria-invalid="true"] { border-color: #dc2626; background: #fffafa; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .15); }
.field__error { min-height: 0; margin: .4rem 0 0; font-size: var(--fs-xs); font-weight: 600; color: #b91c1c; }
.field__error:empty { display: none; }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; }
.field__count { margin: .4rem 0 0 auto; font-size: var(--fs-xs); color: var(--ink-500); font-variant-numeric: tabular-nums; }
.field__count.is-over { color: #b91c1c; font-weight: 700; }

.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); border-left: 4px solid #dc2626; background: #fef2f2; font-size: var(--fs-sm); font-weight: 600; color: #991b1b; }
.form__alert[hidden] { display: none; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; padding-top: .25rem; }
.form__privacy { flex: 1 1 260px; margin: 0; font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.5; }
.form__submit { min-width: 210px; }
.form__submit[disabled] { opacity: .7; cursor: progress; transform: none; }

.form__success { padding: 1rem 0; }
.form__success[hidden] { display: none; }
.form__success:focus { outline: none; }
.form__success-mark { display: inline-block; margin-bottom: 1rem; padding: .4rem .9rem; border-radius: var(--pill); background: #dcfce7; color: #166534; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form__success h3 { font-size: var(--fs-xl); }
.form__success p { color: var(--ink-500); margin-bottom: 1.5rem; }

.contact__info { display: grid; gap: 1.5rem; }
.contact__card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg); }
.contact__card h2 { color: var(--white); font-size: var(--fs-lg); margin-bottom: 1.5rem; }
.contact__list { display: grid; gap: 1.25rem; margin: 0 0 1.75rem; }
.contact__list dt { margin-bottom: .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-500); }
.contact__list dd { margin: 0; line-height: 1.6; }
.contact__list a { color: var(--white); font-weight: 600; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__map-btn { width: 100%; }
.contact__photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.contact__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.contact__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1.1rem; background: linear-gradient(0deg, rgba(4, 13, 69, .9), transparent); color: var(--white); font-size: var(--fs-sm); font-weight: 700; }

/* Questions fréquentes */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
.faq { display: grid; gap: .75rem; }
.faq__item { border-radius: var(--radius); background: var(--white); border: 1px solid var(--ink-100); transition: box-shadow .25s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  position: relative; padding: 1.2rem 3.5rem 1.2rem 1.4rem; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink-900); line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--orange-500); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--blue-600); }
.faq__body { padding: 0 1.4rem 1.3rem; }
.faq__body p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); }
.faq__body a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .contact, .faq-wrap { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .form__row, .contact__info { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
}

/* ---------- Actualités : liste ---------- */
.page-hero--compact { padding-bottom: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.news-page { padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.news-filters { margin-bottom: 2rem; }
.news-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; margin-bottom: 1.5rem; position: relative;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--ink-100); box-shadow: var(--shadow);
  transition: box-shadow .35s var(--ease);
}
.news-featured:hover { box-shadow: var(--shadow-lg); }
.news-featured__media { overflow: hidden; min-height: 280px; }
.news-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-featured:hover .news-featured__media img { transform: scale(1.04); }
.news-featured__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.news-featured__meta { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500); }
.news-featured h2 { font-size: var(--fs-xl); line-height: 1.25; margin-bottom: .85rem; }
.news-featured h2 a::after { content: ""; position: absolute; inset: 0; }
.news-featured p { color: var(--ink-500); }
.news-featured .link-arrow { margin-top: .5rem; }
.news-empty { padding: 3rem 0; text-align: center; color: var(--ink-500); }

/* ---------- Actualités : article ---------- */
.container--narrow { max-width: 860px; }
.article__head { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) clamp(2rem, 1.5rem + 2vw, 3rem); background: var(--paper); }
.breadcrumb--dark ol { color: var(--ink-500); }
.breadcrumb--dark a:hover, .breadcrumb--dark [aria-current] { color: var(--ink-900); }
.article__meta { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500); }
.article__head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 1rem; }
.article__lead { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-700); }
.article__cover-wrap { background: linear-gradient(var(--paper) 50%, var(--white) 50%); max-width: none; }
.article__cover { max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; }
.article__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 1120px; }
.article__aside { display: grid; gap: 1.25rem; align-content: start; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.article__foot { max-width: 1120px; padding-bottom: var(--section-y); }

/* Texte riche d'une actualité (sera produit par l'éditeur de l'espace admin) */
.prose { font-size: 1.075rem; line-height: 1.8; color: var(--ink-700); max-width: 70ch; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin-bottom: 0; }
.prose h2 { margin: 2em 0 0; font-size: var(--fs-lg); }
.prose h3 { margin: 1.75em 0 0; font-size: var(--fs-md); }
.prose a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--orange-500); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--orange-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--orange-100); font-weight: 600; color: var(--ink-900); }
.prose img { border-radius: var(--radius); }

.share, .aside-box { padding: 1.4rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--ink-100); }
.share__label, .aside-box__title { margin-bottom: .85rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); }
.share__links { display: grid; gap: .5rem; }
.share__link { display: block; width: 100%; padding: .7rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--ink-200); background: var(--white); text-align: left; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); transition: border-color .2s, color .2s; }
.share__link:hover { border-color: var(--blue-600); color: var(--blue-600); }
.share__status { margin: .6rem 0 0; font-size: var(--fs-xs); font-weight: 600; color: #166534; }
.share__status:empty { display: none; }
.aside-box__links li + li { border-top: 1px solid var(--ink-200); }
.aside-box__links a { display: block; padding: .7rem 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); }
.aside-box__links a:hover { color: var(--blue-600); }

@media (max-width: 1024px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured__media { aspect-ratio: 16 / 9; min-height: 0; }
  .article__layout { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .article__aside { grid-template-columns: 1fr; }
  .article__cover img { aspect-ratio: 4 / 3; }
}

@media (max-width: 1024px) {
  .school-section__head { grid-template-columns: auto 1fr; }
  .school-section__stats { grid-column: 1 / -1; }
  .programs--compact { grid-template-columns: repeat(2, 1fr); }
  .ed-section__grid, .admission { grid-template-columns: 1fr; }
  .admission__media { order: 1; }
}
@media (max-width: 720px) {
  .cycles { grid-template-columns: 1fr; }
  .cycle + .cycle { border-left: 0; border-top: 1px solid var(--ink-100); }
  .finder__box { grid-template-columns: 1fr; padding: 1.1rem; }
  .school-section__head { grid-template-columns: 1fr; gap: 1.25rem; }
  .school-section__logo { width: 80px; height: 80px; }
  .school-section__logo--wide { width: 140px; }
  .programs, .programs--compact { grid-template-columns: 1fr; }
  .admission__actions .btn { flex: 1 1 100%; }
}

/* ---------- 17. Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  /* Carrousel : pas de défilement automatique, navigation manuelle uniquement */
  .carousel__toggle { display: none; }
  .carousel__dot.is-active span::after { transform: none; }
  .hero__media img, .carousel__slide.is-active .hero__media img { transform: none; }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1280px) {
  .brand__sub { display: none; }
}

@media (max-width: 1180px) {
  .nav__link { padding: .55rem .6rem; }
  .schools { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; z-index: 99;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-top: 1px solid var(--ink-100); box-shadow: 0 20px 40px -20px rgba(6, 20, 94, .35);
    padding: 1rem var(--gutter) 1.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__link { padding: .9rem 1rem; font-size: var(--fs-md); border-radius: 12px; }
  .nav__link[aria-current="page"] { background: var(--blue-50); }
  .nav__link[aria-current="page"]::after { left: auto; right: 1rem; top: 50%; bottom: auto; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; }
  .nav__cta-mobile { display: flex; margin-top: 1rem; }
  .nav__cta-mobile .btn { width: 100%; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ink-100); }

  .about, .research, .rector__grid, .quality { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .research__media { order: -1; }
  .rector__photo { max-width: 340px; }
  .news { grid-template-columns: repeat(2, 1fr); }
  .news:not(.news--list) .news-card:nth-child(3) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .campus { grid-auto-rows: 200px; }
  .campus-tile--a { grid-column: span 12; }
  .campus-tile--b, .campus-tile--c, .campus-tile--e { grid-column: span 6; }
  .campus-tile--d { grid-column: span 12; }
  .vvm { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar__list li:not(:first-child) { display: none; }
  .brand__name { font-size: 1.05rem; }
  .carousel__slide { min-height: 0; align-items: flex-end; }
  .carousel__slide::before { background: linear-gradient(0deg, rgba(4, 13, 69, .97) 0%, rgba(6, 20, 94, .82) 55%, rgba(6, 20, 94, .4) 100%); }
  .hero__content { padding-top: 7rem; padding-bottom: 10.5rem; }
  .hero__lead { margin-bottom: 1.75rem; }
  .hero__actions .btn--primary { flex: 1 1 100%; }
  .hero__actions .btn--ghost-light { display: none; }
  .carousel__controls { bottom: 5.5rem; }
  .carousel__count { display: none; }
  .carousel__dots { margin-inline: auto; }
  .carousel__dot { width: 24px; }
  .carousel__dot.is-active { width: 48px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .about__pillars { grid-template-columns: 1fr; }
  .about__media-card { right: .75rem; bottom: -1.5rem; }
  .schools, .news, .research__axes, .quality__steps { grid-template-columns: 1fr; }
  .news-card:nth-child(3) { display: flex; }
  .campus { grid-auto-rows: 220px; }
  .campus-tile--a, .campus-tile--b, .campus-tile--c, .campus-tile--d, .campus-tile--e { grid-column: span 12; grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__actions, .cta__actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .topbar__motto { display: none; }
  .topbar__list { display: none; }
  .topbar__inner { justify-content: center; }
  .brand__text { display: none; }
}
