/* ======================================================================
   MIAGE TANGER — DESIGN SYSTEM
   Swiss-inspired editorial layout · blue/yellow identity · GSAP-driven
   ====================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --blue-950: #081226;
  --blue-900: #0b2545;
  --blue-800: #0f2f5c;
  --blue-700: #12335f;
  --blue-600: #1c4a86;
  --blue-500: #3169ac;
  --blue-100: #e8edf6;
  --blue-50: #f2f5fb;

  /* Muted brass/gold — reserved for CTAs and active states, never decorative. */
  --yellow-500: #a9812f;
  --yellow-400: #bd9a52;

  --white: #ffffff;
  --gray-25: #fbfbfc;
  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-200: #dde1e8;
  --gray-300: #c3c9d3;
  --gray-400: #98a1b0;
  --gray-600: #5b6472;
  --gray-800: #262b33;
  --ink: #0d1017;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --fs-hero: clamp(2.4rem, 3.6vw + 1rem, 4.75rem);
  --fs-h2: clamp(1.85rem, 2vw + 1rem, 2.85rem);
  --fs-h3: clamp(1.3rem, 1vw + 1rem, 1.65rem);
  --fs-lede: clamp(1.05rem, .6vw + .85rem, 1.3rem);
  --fs-num: clamp(2.75rem, 4vw + 1rem, 4.75rem);

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-14: 6rem;
  --space-16: 7rem;
  --space-20: 9rem;

  --container-w: 1360px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: .5s;
  --dur-2: .8s;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
}

/* ---------- 2. RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
dt,
figure,
blockquote {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

iframe {
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue-900);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 3. LAYOUT ---------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

section[id],
.c-programs__cycle[id] {
  scroll-margin-top: 84px;
}

/* ---------- 4. TYPE UTILITIES ---------- */
.c-eyebrow {
  font-family: var(--font-display);
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 600;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.c-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--yellow-500);
  display: inline-block;
}

.c-eyebrow--light {
  color: var(--yellow-400);
}

.c-eyebrow--light::before {
  background: var(--yellow-400);
}

.c-eyebrow--center {
  justify-content: center;
}

.c-h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--blue-900);
}

.c-h2--light {
  color: var(--white);
}

/* ---------- 5. BUTTONS ---------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  padding: 1rem 1.6rem;
  border-radius: 0;
  border: 1px solid transparent;
  transition: transform var(--dur-1) var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}

.c-btn svg {
  transition: transform .35s var(--ease-out);
}

.c-btn:hover svg {
  transform: translate(2px, -2px);
}

.c-btn:hover {
  transform: translateY(-2px);
}

.c-btn--primary {
  background: var(--blue-900);
  color: var(--white);
}

.c-btn--primary:hover {
  background: var(--blue-700);
}

.c-btn--ghost {
  border-color: var(--gray-300);
  color: var(--blue-900);
}

.c-btn--ghost:hover {
  border-color: var(--blue-900);
}

.c-btn--sm {
  padding: .7rem 1.2rem;
  font-size: .85rem;
}

/* ---------- 6. NAVBAR ---------- */
.c-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}

.c-nav.is-scrolled,
.c-nav--light {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  border-color: var(--gray-200);
}

.c-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height .4s var(--ease-out);
}

.c-nav.is-scrolled .c-nav__inner {
  height: 68px;
}

.c-nav__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.c-nav__mark-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 0;
  padding: .35rem .5rem;
  box-shadow: 0 1px 3px rgba(11, 37, 69, .12);
}

.c-nav__mark-wrap img {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.c-nav__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--blue-900);
  letter-spacing: -.01em;
}

.c-nav__word em {
  font-style: normal;
  color: var(--gray-600);
  font-weight: 500;
}

.c-nav.is-scrolled .c-nav__word,
.c-hero~* .c-nav__word {
  color: var(--blue-900);
}

.c-nav:not(.is-scrolled) .c-nav__word {
  color: #fff;
}

.c-nav:not(.is-scrolled) .c-nav__word em {
  color: rgba(255, 255, 255, .65);
}

.c-nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.c-nav__links>a {
  font-size: .87rem;
  font-weight: 500;
  position: relative;
  padding: .3rem 0;
  white-space: nowrap;
  transition: color .3s var(--ease-out);
}

.c-nav:not(.is-scrolled) .c-nav__links>a {
  color: rgba(255, 255, 255, .92);
}

.c-nav.is-scrolled .c-nav__links>a {
  color: var(--blue-900);
}

.c-nav__links>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease-out);
}

.c-nav__links>a:hover::after {
  right: 0;
}

.c-nav__links>a[aria-current="page"],
.c-nav__dropdown-trigger[aria-current="page"] {
  color: var(--yellow-500) !important;
}

.c-nav__links>a[aria-current="page"]::after {
  right: 0;
  background: var(--yellow-500);
}

.c-nav__mobile a[aria-current="page"] {
  color: var(--yellow-500);
}

.c-nav__dropdown {
  position: relative;
}

.c-nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .87rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .3s var(--ease-out);
}

.c-nav:not(.is-scrolled) .c-nav__dropdown-trigger {
  color: rgba(255, 255, 255, .92);
}

.c-nav.is-scrolled .c-nav__dropdown-trigger {
  color: var(--blue-900);
}

.c-nav__dropdown-trigger svg {
  transition: transform .3s var(--ease-out);
}

.c-nav__dropdown:hover .c-nav__dropdown-trigger svg,
.c-nav__dropdown.is-open .c-nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.c-nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}

.c-nav__dropdown:hover .c-nav__dropdown-panel,
.c-nav__dropdown:focus-within .c-nav__dropdown-panel,
.c-nav__dropdown.is-open .c-nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 6b. MEGA MENU (plain grouped-links "Formations" panel) ---------- */
.c-mega {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: .2rem .85rem;
  width: min(780px, 90vw);
  background: var(--white);
  border: 1px solid rgba(11, 37, 69, .09);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(11, 37, 69, .12);
  padding: .9rem .9rem .7rem;
}

.c-mega__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.c-mega__col+.c-mega__col {
  border-left: 1px solid var(--gray-100);
  padding-left: .85rem;
}

.c-mega__label {
  padding-bottom: .45rem;
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
}

.c-mega .c-mega__item {
  padding: .34rem 0;
  color: var(--blue-900);
  font-size: .82rem;
  line-height: 1.35;
  transition: color .2s var(--ease-out);
}

.c-mega .c-mega__item:hover {
  color: var(--yellow-500);
}

.c-mega__item[aria-current="page"] {
  color: var(--yellow-500);
  font-weight: 600;
}

.c-mega__label--mobile {
  padding-top: var(--space-4);
  display: block;
}

.c-nav__actions {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.c-nav:not(.is-scrolled) .c-nav__actions .c-btn--primary {
  background: #fff;
  color: var(--blue-900);
}

.c-nav__burger {
  display: none;
}

.c-nav:not(.is-scrolled) .c-nav__burger {
  color: #fff;
}

.c-nav.is-scrolled .c-nav__burger {
  color: var(--blue-900);
}

/* Pages whose hero has a light background (not the dark photo/gradient hero) need
   dark nav text from the first frame, not only once .is-scrolled is toggled on scroll.
   Placed after the :not(.is-scrolled) rules above so equal-specificity ties resolve here. */
.c-nav.c-nav--light .c-nav__word {
  color: var(--blue-900);
}

.c-nav.c-nav--light .c-nav__word em {
  color: var(--gray-600);
}

.c-nav.c-nav--light .c-nav__links>a,
.c-nav.c-nav--light .c-nav__dropdown-trigger {
  color: var(--blue-900);
}

.c-nav.c-nav--light .c-nav__burger {
  color: var(--blue-900);
}

.c-nav.c-nav--light .c-nav__actions .c-btn--primary {
  background: var(--blue-900);
  color: #fff;
}

.c-nav__mobile {
  display: none;
  flex-direction: column;
  gap: .2rem;
  background: var(--white);
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem) 2rem;
  border-top: 1px solid var(--gray-200);
}

.c-nav__mobile a {
  padding: .9rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue-900);
  border-bottom: 1px solid var(--gray-100);
}

.c-nav__mobile .c-btn {
  margin-top: 1rem;
  justify-content: center;
}

/* Mobile nav category groups (École, Formations…) collapse behind a toggle —
   with 6 dropdowns' worth of links flattened into one mobile panel, an
   always-open list would mean an unreasonable amount of scrolling. */
.c-nav__mobile-group {
  border-bottom: 1px solid var(--gray-100);
}

.c-nav__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .9rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue-900);
  text-align: left;
}

.c-nav__mobile-toggle svg {
  flex-shrink: 0;
  transition: transform .3s var(--ease-out);
}

.c-nav__mobile-group.is-open .c-nav__mobile-toggle svg {
  transform: rotate(180deg);
}

.c-nav__mobile-panel {
  display: none;
  flex-direction: column;
  padding-bottom: .5rem;
}

.c-nav__mobile-group.is-open .c-nav__mobile-panel {
  display: flex;
}

.c-nav__mobile-panel .c-mega__item {
  padding: .6rem 0 .6rem .75rem;
  border-left: 2px solid var(--gray-100);
  font-size: .96rem;
}

.c-nav.is-open .c-nav__mobile {
  display: flex;
}

.c-nav.is-open {
  background: var(--white);
  border-color: var(--gray-200);
}

.c-nav.is-open .c-nav__word {
  color: var(--blue-900) !important;
}

.c-nav.is-open .c-nav__word em {
  color: var(--gray-600) !important;
}

.c-nav.is-open .c-nav__links>a,
.c-nav.is-open .c-nav__dropdown-trigger {
  color: var(--blue-900) !important;
}

.c-nav.is-open .c-nav__burger {
  color: var(--blue-900);
}

.c-nav.is-open .c-nav__actions .c-btn--primary {
  background: var(--blue-900);
  color: #fff;
}

/* ---------- 7. HERO ---------- */
.c-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(120% 100% at 15% 0%, var(--blue-700) 0%, var(--blue-900) 48%, var(--blue-950) 100%);
  color: #fff;
  overflow: hidden;
  padding-top: 84px;
}

/* Floating triangles + dot-grid retired — read as decorative "startup landing page"
   flourish rather than institutional restraint. Kept in the stylesheet (harmless,
   reversible) but the whole scene is switched off at the container. */
.c-hero__scene {
  display: none;
}

.c-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 60% 30%, #000 0%, transparent 75%);
}

.c-hero__shape {
  position: absolute;
  display: block;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: .85;
}

.c-hero__shape--1 {
  width: 220px;
  height: 200px;
  top: 14%;
  right: 12%;
  background: linear-gradient(160deg, var(--yellow-500), var(--yellow-400));
  animation: float-1 12s ease-in-out infinite;
}

.c-hero__shape--2 {
  width: 130px;
  height: 118px;
  top: 52%;
  right: 26%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  animation: float-2 10s ease-in-out infinite;
}

.c-hero__shape--3 {
  width: 90px;
  height: 82px;
  top: 22%;
  right: 34%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  transform: rotate(18deg);
  animation: float-3 14s ease-in-out infinite;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-26px) rotate(6deg);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(20px) rotate(-10deg);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translateY(0) rotate(18deg);
  }

  50% {
    transform: translateY(-14px) rotate(28deg);
  }
}

.c-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-10);
}

.c-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.02em;
  max-width: 15ch;
}

.c-hero__title em {
  font-style: normal;
  color: var(--yellow-500);
}

/* Sub-page heroes (every page but the homepage) run shorter, one-line
   titles — cap the fluid size lower than the homepage's --fs-hero so it
   doesn't dwarf the page's short lede. */
.c-hero--sub .c-hero__title {
  font-size: clamp(2.2rem, 4vw + 1rem, 4.5rem);
}

.c-hero--sub {
  padding-top: 84px; /* clears the fixed navbar; height itself varies per page with hero content */
}

.c-mask {
  display: block;
  overflow: hidden;
}

.c-mask__line {
  display: block;
  transform: translateY(115%);
  animation: mask-in 1s var(--ease-out) forwards;
  animation-delay: .2s;
}

.c-mask:nth-of-type(2) .c-mask__line {
  animation-delay: .32s;
}

.c-mask:nth-of-type(3) .c-mask__line {
  animation-delay: .44s;
}

@keyframes mask-in {
  to {
    transform: translateY(0);
  }
}

.c-hero [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up .7s var(--ease-out) forwards;
  animation-delay: .65s;
}

.c-hero__foot .c-hero__cta[data-reveal] {
  animation-delay: .8s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.c-hero__foot {
  margin-top: var(--space-8);
  max-width: 620px;
}

.c-hero__lede {
  font-size: var(--fs-lede);
  color: rgba(255, 255, 255, .78);
  font-weight: 400;
}

.c-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-6);
}

.c-hero__cta .c-btn--primary {
  background: #fff;
  color: var(--blue-900);
}

.c-hero__cta .c-btn--primary:hover {
  background: var(--yellow-500);
}

.c-hero__cta .c-btn--ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.c-hero__cta .c-btn--ghost:hover {
  border-color: #fff;
}

.c-hero__scroll {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: .8rem;
  z-index: 2;
}

.c-hero__scroll span {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, .3);
  position: relative;
  overflow: hidden;
}

.c-hero__scroll span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    top: -100%;
  }

  50% {
    top: 0;
  }

  100% {
    top: 100%;
  }
}

.c-hero__scroll p {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 7b. HERO — PHOTO VARIANT ---------- */
.c-hero--photo {
  background: var(--blue-950);
}

.c-hero--photo .c-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.c-hero--photo .c-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 18, 38, .55) 0%, rgba(8, 18, 38, .72) 55%, rgba(8, 18, 38, .94) 100%),
    linear-gradient(100deg, rgba(11, 37, 69, .92) 0%, rgba(11, 37, 69, .55) 42%, rgba(11, 37, 69, .25) 70%);
}

.c-hero--photo .c-hero__scene {
  z-index: 2;
}

.c-hero--photo .c-hero__inner {
  z-index: 3;
}

.c-hero--photo .c-hero__scroll {
  z-index: 3;
}

/* ---------- 7c0. SECTION BACKDROP (plain — glassmorphism retired) ---------- */
.c-glass-bg {
  background: var(--gray-50);
}

.c-glass .c-plist-mini h4 {
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.c-plist-mini__level {
  font-weight: 400;
  color: var(--gray-600);
}

.c-glass .c-plist-mini ul {
  margin-top: .7rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.c-glass .c-plist-mini li {
  font-size: .85rem;
  color: var(--gray-600);
  padding-left: 1rem;
  position: relative;
}

.c-glass .c-plist-mini li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 1px;
  background: var(--blue-600);
}

/* ---------- 7c. CARD (blur/transparency retired — plain bordered surface) ---------- */
.c-glass {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: 0 1px 2px rgba(11, 37, 69, .05);
  transition: box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}

.c-glass:hover {
  box-shadow: 0 4px 14px rgba(11, 37, 69, .08);
  border-color: var(--gray-300);
}

/* ---------- 7d. STAT CARDS ---------- */
.c-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.c-stat-card {
  padding: var(--space-6) var(--space-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}

.c-stat-card:hover {
  box-shadow: 0 2px 10px rgba(11, 37, 69, .06);
  border-color: var(--gray-300);
}

.c-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.c-stat-card dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.4vw + 1rem, 2.75rem);
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1;
}

.c-stat-card dd {
  margin-top: .5rem;
  color: var(--gray-600);
  font-size: .9rem;
}

/* ---------- 7e. ILLUSTRATION ---------- */
.c-illus {
  width: 100%;
  height: auto;
  display: block;
}

.c-illus-wrap {
  position: relative;
}

/* ---------- 7f. ILLUS / TEASER GRID ---------- */
.c-illus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.c-illus-grid__item {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}

.c-illus-grid__item:hover {
  box-shadow: 0 2px 10px rgba(11, 37, 69, .06);
  border-color: var(--gray-300);
}

.c-illus-grid__item svg {
  color: var(--yellow-500);
  margin-block: var(--space-3) var(--space-2);
}

.c-illus-grid__item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-top: var(--space-3);
}

.c-illus-grid__item p {
  margin-top: .6rem;
  color: var(--gray-600);
  font-size: .92rem;
}

/* ---------- 8. ABOUT ---------- */
.c-about {
  padding-block: var(--space-20);
  background: var(--white);
}

.c-about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--space-6);
  row-gap: var(--space-10);
}

.c-about__head {
  grid-column: 1 / 5;
}

.c-about__body {
  grid-column: 5 / 12;
  position: relative;
}

.c-about__lead {
  font-size: var(--fs-lede);
  color: var(--blue-900);
  font-weight: 500;
  max-width: 46ch;
}

.c-about__body p:not(.c-about__lead) {
  margin-top: var(--space-5);
  max-width: 52ch;
  color: var(--gray-600);
}

/* Decorative triangle motif retired — purely ornamental, no content lost. */
.c-about__figure {
  display: none;
}

.c-about__figure-tri {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 110px;
  height: 98px;
  background: linear-gradient(160deg, var(--yellow-500), var(--yellow-400));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.c-about__figure-tri::after {
  content: "";
  position: absolute;
  left: -46px;
  bottom: -14px;
  width: 70px;
  height: 62px;
  border: 1px solid var(--gray-200);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.c-about__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-200);
  margin-top: var(--space-6);
}

.c-about__stats>div {
  padding: var(--space-6) var(--space-4) 0 0;
  border-right: 1px solid var(--gray-200);
}

.c-about__stats>div:last-child {
  border-right: 0;
}

.c-about__stats dt {
  font-family: var(--font-display);
  font-size: var(--fs-num);
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1;
}

.c-about__stats dd {
  margin-top: .6rem;
  color: var(--gray-600);
  font-size: .9rem;
}

/* ---------- 8b. DOMAINES D'EXPERTISE ---------- */
.c-domains-x {
  padding-block: var(--space-20);
  background: var(--white);
}

.c-domains-x__head {
  max-width: 62ch;
  margin-bottom: var(--space-12);
}

.c-domains-x__intro {
  margin-top: var(--space-4);
  color: var(--gray-600);
  font-size: var(--fs-lede);
}

.c-domains-x__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--gray-200);
}

.c-domains-x__grid li {
  padding: var(--space-8) var(--space-6) var(--space-8) 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}

.c-domains-x__grid li:nth-child(odd) {
  padding-right: var(--space-8);
  border-right: 1px solid var(--gray-200);
}

.c-domains-x__grid li:nth-child(even) {
  padding-left: var(--space-8);
}

.c-domains-x__num {
  display: block;
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: var(--space-4);
}

.c-domains-x__grid li svg {
  color: var(--yellow-500);
  margin-bottom: var(--space-3);
}

.c-domains-x__grid h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-900);
}

.c-domains-x__grid p {
  margin-top: .5rem;
  color: var(--gray-600);
  font-size: .92rem;
  max-width: 42ch;
}

/* ---------- 9. PROGRAMS ---------- */
.c-programs {
  padding-block: var(--space-20) var(--space-16);
  background: var(--gray-50);
}

.c-programs__head {
  max-width: 60ch;
  margin-bottom: var(--space-12);
}

.c-programs__cycle {
  padding-block: var(--space-10);
}

.c-programs__cycle--alt {
  background: var(--white);
}

.c-programs__cycle-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.c-programs__cycle-index {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yellow-500);
  border: 1px solid var(--gray-300);
  border-radius: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
}

.c-programs__cycle-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-900);
}

.c-programs__cycle-head p {
  margin-top: .4rem;
  color: var(--gray-600);
  max-width: 56ch;
}

.c-plist__item {
  border-top: 1px solid var(--gray-200);
}

.c-plist__item:last-child {
  border-bottom: 1px solid var(--gray-200);
}

.c-plist__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto 40px;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  text-align: left;
  transition: padding .3s var(--ease-out);
}

.c-plist__trigger:hover {
  padding-left: var(--space-2);
}

.c-plist__num {
  font-family: var(--font-display);
  color: var(--gray-400);
  font-size: .9rem;
}

.c-plist__title {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.c-plist__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue-900);
}

.c-plist__level {
  font-size: .82rem;
  color: var(--gray-600);
}

.c-plist__meta {
  font-size: .85rem;
  color: var(--gray-600);
  white-space: nowrap;
}

.c-plist__icon {
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  transition: transform .4s var(--ease-out), background .3s, color .3s, border-color .3s;
}

.c-plist__item[aria-expanded="true"] .c-plist__icon,
.c-plist__trigger[aria-expanded="true"] .c-plist__icon {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: #fff;
  transform: rotate(45deg);
}

.c-plist__panel {
  height: 0;
  overflow: hidden;
}

.c-plist__panel-inner {
  padding: 0 0 var(--space-8) 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.c-plist__pitch {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  color: var(--blue-900);
  font-weight: 500;
  max-width: 72ch;
  padding-bottom: var(--space-2);
}

.c-plist__col h4 {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow-500);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.c-plist__col ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.c-plist__col li {
  font-size: .9rem;
  color: var(--gray-600);
  padding-left: 1rem;
  position: relative;
}

.c-plist__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 1px;
  background: var(--gray-400);
}

/* ---------- 10. WHY / TIMELINE ---------- */
.c-why {
  padding-block: var(--space-20);
  background: var(--white);
}

.c-why__head {
  max-width: 60ch;
}

.c-why__mission {
  margin-top: var(--space-4);
  font-size: var(--fs-lede);
  color: var(--gray-600);
  max-width: 52ch;
}

.c-timeline {
  position: relative;
}

.c-timeline::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gray-200);
}

.c-timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: flex-start;
  gap: var(--space-6);
  padding-block: var(--space-6);
}

.c-timeline__index {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--blue-900);
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-left: 26px;
}

.c-timeline__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-900);
}

.c-timeline__body p {
  margin-top: .4rem;
  color: var(--gray-600);
  max-width: 60ch;
}

.c-timeline li:nth-child(odd) .c-timeline__index {
  background: var(--blue-900);
}

.c-timeline li:nth-child(even) .c-timeline__index {
  background: var(--yellow-500);
  color: var(--blue-900);
}

/* ---------- 10b. FACULTY ---------- */
.c-faculty {
  padding-block: var(--space-16);
  background: var(--gray-50);
}

.c-faculty__grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

/* Plain, calm placeholder panel — ready for a real portrait/campus photo later.
   The previous triangle composition read as decorative flourish; retired. */
.c-faculty__figure {
  position: relative;
  height: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.c-faculty__tri {
  display: none;
}

.c-faculty__body p:not(.c-eyebrow) {
  margin-top: var(--space-4);
  color: var(--gray-600);
  max-width: 48ch;
}

/* ---------- 10c. DIRECTOR ---------- */
.c-director {
  padding-block: var(--space-20);
  background: var(--blue-950);
  color: #fff;
  overflow: hidden;
}

.c-director__grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: var(--space-10);
  align-items: center;
}

.c-director__body blockquote {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.85rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  max-width: 42ch;
}

.c-director__sign {
  margin-top: var(--space-5);
  color: var(--yellow-400);
  font-size: .9rem;
  letter-spacing: .02em;
}

/* Plain placeholder, ready for a real portrait — the diagonal stripe pattern
   and gold wash read as decorative flourish rather than institutional restraint. */
.c-director__figure {
  aspect-ratio: 3/3.6;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* ---------- 11. TESTIMONIALS ---------- */
.c-testimonials {
  padding-block: var(--space-20);
  background: var(--blue-50);
}

.c-testimonials .c-h2 {
  max-width: 50ch;
  margin-bottom: var(--space-12);
}

.c-testi {
  position: relative;
}

.c-testi__track {
  position: relative;
  min-height: 380px;
  transition: height .5s var(--ease-out);
}

.c-testi__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.c-testi__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.c-testi__quote {
  color: var(--yellow-500);
  margin-bottom: var(--space-5);
}

.c-testi__slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw + 1rem, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--blue-900);
  max-width: 34ch;
}

.c-testi__slide figcaption {
  margin-top: var(--space-5);
  color: var(--gray-600);
  font-size: .9rem;
}

.c-testi__controls {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.c-testi__controls button {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-900);
  transition: background .3s, color .3s, border-color .3s;
}

.c-testi__controls button:hover {
  background: var(--blue-900);
  color: #fff;
  border-color: var(--blue-900);
}

.c-testi__dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.c-testi__dots span {
  width: 8px;
  height: 3px;
  background: var(--gray-300);
  transition: background .3s, width .3s;
}

.c-testi__dots span.is-active {
  background: var(--yellow-500);
  width: 22px;
}

/* ---------- 12. PARTNERS / MARQUEE ---------- */
.c-partners {
  padding-block: var(--space-20) var(--space-12);
  background: var(--white);
  overflow: hidden;
}

.c-partners__head {
  max-width: 80ch;
}

.c-partners__intro {
  margin-top: var(--space-4);
  color: var(--gray-600);
}

.c-marquee {
  margin-top: var(--space-12);
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.c-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.c-marquee:hover .c-marquee__track {
  animation-play-state: paused;
}

.c-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: var(--space-6) var(--space-8);
  color: var(--gray-600);
  white-space: nowrap;
  transition: color .3s;
  border-right: 1px solid var(--gray-200);
}

.c-marquee__item img {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .3s, opacity .3s;
}

.c-marquee__item:hover {
  color: var(--blue-900);
}

.c-marquee__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.c-marquee__item .c-partner-logo__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- 12b. PARTNER LOGOS ----------
   Image slot for a real partner logo (.png/.jpg), with a graceful text
   fallback so the page still reads correctly before real files are dropped
   into assets/images/partners/ — see assets/js/partners.js. */
.c-partner-logo__name {
  display: none;
}

.c-logo-slot.is-fallback img {
  display: none;
}

.c-logo-slot.is-fallback .c-partner-logo__name {
  display: block;
}

.c-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: var(--space-3);
  filter: grayscale(1);
  opacity: .55;
  transition: filter .35s var(--ease-out), opacity .35s var(--ease-out), transform .35s var(--ease-out);
}

.c-partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

.c-partner-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.c-partner-logo .c-partner-logo__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--blue-900);
  text-align: center;
}

.c-partner-logo.is-fallback {
  filter: none;
  opacity: 1;
}

/* ---------- 13. CAMPUS ---------- */
.c-campus {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--blue-950), var(--blue-900) 60%, var(--blue-950));
  overflow: hidden;
  color: #fff;
}

/* Floating triangle layers retired — same reasoning as .c-hero__scene above. */
.c-campus__scene {
  display: none;
}

.c-campus__layer {
  position: absolute;
  opacity: .5;
}

.c-campus__layer--1 {
  width: 520px;
  height: 460px;
  right: -120px;
  top: -80px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: linear-gradient(160deg, rgba(245, 183, 0, .35), rgba(245, 183, 0, 0));
}

.c-campus__layer--2 {
  width: 340px;
  height: 300px;
  left: -60px;
  bottom: -60px;
  border: 1px solid rgba(255, 255, 255, .12);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.c-campus__layer--3 {
  width: 220px;
  height: 200px;
  right: 18%;
  bottom: 10%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.c-campus__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-block: var(--space-16);
}

.c-campus__text {
  margin-top: var(--space-5);
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-lede);
  max-width: 52ch;
}

/* ---------- 14. CONTACT ---------- */
.c-contact {
  padding-block: var(--space-20);
  background: var(--white);
}

.c-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.c-contact__info p {
  color: var(--gray-600);
  margin-top: var(--space-4);
  max-width: 46ch;
}

.c-contact__list {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.c-contact__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--blue-900);
  font-size: .95rem;
}

.c-contact__list svg {
  color: var(--yellow-500);
  flex-shrink: 0;
}

.c-contact__info .c-btn {
  margin-top: var(--space-8);
}

.c-contact__map {
  aspect-ratio: 4/3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  filter: grayscale(.15);
}

.c-contact__map iframe {
  width: 100%;
  height: 100%;
}

/* ---------- 15. FOOTER ---------- */
.c-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, .7);
  padding-top: var(--space-16);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--blue-700), var(--yellow-500)) 1;
}

.c-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.c-footer__brand p {
  margin-top: var(--space-4);
  max-width: 32ch;
  font-size: .9rem;
}

.c-footer__social {
  display: flex;
  gap: .7rem;
  margin-top: var(--space-6);
}

.c-footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, border-color .3s;
}

.c-footer__social a:hover {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  color: var(--blue-950);
  transform: translateY(-2px);
}

.c-footer__col {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.c-footer__col h3 {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .4rem;
}

.c-footer__col a,
.c-footer__col span {
  font-size: .9rem;
  transition: color .25s, transform .25s;
}

.c-footer__col a:hover {
  color: var(--yellow-500);
  transform: translateX(3px);
}

.c-footer__col a[aria-current="page"] {
  color: var(--yellow-500);
}

.c-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-6);
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
}

.c-footer__bottom a {
  color: rgba(255, 255, 255, .6);
  transition: color .3s;
}

.c-footer__bottom a:hover {
  color: var(--yellow-500);
}

.c-nav__word--light,
.c-footer .c-nav__word {
  color: #fff !important;
}

.c-footer .c-nav__word em {
  color: rgba(255, 255, 255, .5) !important;
}

/* ---------- 15b. SHARED UTILITIES (extracted from repeated inline styles) ---------- */
.u-tc {
  text-align: center;
}

.u-py-16 {
  padding-block: var(--space-16);
}

.u-py-8 {
  padding-block: var(--space-8);
}

.u-bg-shaded {
  background: var(--gray-50);
}

.u-mt-6 {
  margin-top: var(--space-6);
}

.c-values-list {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.c-values-list__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-900);
  font-size: 1.1rem;
}

.c-values-list__dot {
  width: 8px;
  height: 8px;
  background: var(--yellow-500);
  flex-shrink: 0;
}

/* ---------- 16. SCROLL REVEAL BASE ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

/* ---------- 17. RESPONSIVE ---------- */
/* Nav switches to the burger menu earlier than the other components below:
   with 12 top-level items (6 dropdowns + 6 flat links) the links block needs
   much more room than the previous 7-item bar did, so it must drop to mobile
   well before the container itself gets tight, not only once truly narrow. */
@media (max-width: 1560px) {
  .c-nav__links {
    display: none;
  }

  .c-nav__burger {
    display: flex;
  }
}

@media (max-width: 1080px) {
  .c-about__head {
    grid-column: 1 / -1;
  }

  .c-about__body {
    grid-column: 1 / -1;
  }

  .c-plist__trigger {
    grid-template-columns: 36px 1fr 34px;
  }

  .c-plist__meta {
    display: none;
  }

  .c-plist__panel-inner {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 44px;
  }

  .c-contact__grid {
    grid-template-columns: 1fr;
  }

  .c-contact__map {
    aspect-ratio: 16/9;
  }

  .c-footer__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-8);
  }

  .c-faculty__grid {
    grid-template-columns: 1fr;
  }

  .c-faculty__figure {
    height: 200px;
    order: 2;
  }

  .c-director__grid {
    grid-template-columns: 1fr;
  }

  .c-director__figure {
    order: -1;
    aspect-ratio: 16/9;
  }

  .c-stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .c-illus-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .c-about__stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-6);
  }

  .c-about__stats>div {
    border-right: 1px solid var(--gray-200);
  }

  .c-about__stats>div:nth-child(2n) {
    border-right: 0;
  }

  .c-plist__panel-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .c-plist__trigger {
    grid-template-columns: 30px 1fr 30px;
    gap: var(--space-3);
  }

  .c-plist__name {
    font-size: 1.05rem;
  }

  .c-timeline::before {
    left: 18px;
  }

  .c-timeline li {
    grid-template-columns: 54px 1fr;
    gap: var(--space-4);
  }

  .c-timeline__index {
    margin-left: 0;
    width: 32px;
    height: 32px;
    font-size: .85rem;
  }

  .c-footer__grid {
    grid-template-columns: 1fr;
  }

  .c-footer__bottom {
    flex-direction: column;
    gap: .5rem;
  }

  .c-hero__title {
    max-width: none;
  }

  .c-campus__inner {
    padding-block: var(--space-12);
  }

  .c-domains-x__grid {
    grid-template-columns: 1fr;
  }

  .c-domains-x__grid li:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .c-domains-x__grid li:nth-child(even) {
    padding-left: 0;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 1.1rem;
  }

  .c-btn {
    padding: .9rem 1.3rem;
    font-size: .88rem;
  }

  .c-about__stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   17. PHASE 2 — IMAGE PLACEHOLDERS, PHOTO GRIDS, SPLIT SECTIONS,
       PARTNER CARDS, RESPONSIVE TABLE
   Reuses existing tokens/patterns (c-illus-grid, c-stat-card, c-timeline,
   c-contact) rather than duplicating them — additive only.
   ========================================================================== */

/* ---------- 17a0. BREADCRUMB ---------- */
.c-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--space-6);
  font-size: .82rem;
  color: var(--gray-400);
}

.c-breadcrumb a {
  color: var(--gray-600);
  text-decoration: none;
}

.c-breadcrumb a:hover {
  color: var(--blue-900);
}

.c-breadcrumb span[aria-current] {
  color: var(--blue-900);
  font-weight: 500;
}

.c-breadcrumb--on-dark {
  color: rgba(255, 255, 255, .55);
}

.c-breadcrumb--on-dark a {
  color: rgba(255, 255, 255, .8);
}

.c-breadcrumb--on-dark a:hover {
  color: #fff;
}

.c-breadcrumb--on-dark span[aria-current] {
  color: #fff;
}

/* ---------- 17a. IMAGE PLACEHOLDER ----------
   Doubles as a (fake, href="#") link: every placeholder across the site is
   clickable so it's a one-line swap for the real photo/link later. */
.image-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  color: var(--gray-400);
  text-align: center;
  padding: var(--space-4);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}

a.image-placeholder:hover,
a.image-placeholder:focus-visible {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--blue-600);
}

a.image-placeholder:hover span:not(.image-placeholder-icon),
a.image-placeholder:focus-visible span:not(.image-placeholder-icon) {
  color: var(--blue-600);
}

a.image-placeholder:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.image-placeholder--4-3 {
  aspect-ratio: 4/3;
}

.image-placeholder--square {
  aspect-ratio: 1/1;
}

.image-placeholder--tall {
  aspect-ratio: 3/4;
}

.image-placeholder-icon {
  font-size: 1.7rem;
  line-height: 1;
  opacity: .7;
}

.image-placeholder span:not(.image-placeholder-icon) {
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: .01em;
}

/* Dark variant — for use on navy backgrounds (c-hero--sub, c-director-like sections) */
.image-placeholder--dark {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .5);
}

.image-placeholder--dark span:not(.image-placeholder-icon) {
  color: rgba(255, 255, 255, .5);
}

a.image-placeholder--dark:hover,
a.image-placeholder--dark:focus-visible {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

a.image-placeholder--dark:hover span:not(.image-placeholder-icon),
a.image-placeholder--dark:focus-visible span:not(.image-placeholder-icon) {
  color: #fff;
}

/* .c-director__figure already sets its own portrait aspect-ratio (tuned for
   a person's photo) — keep it winning over the generic 16/9 default. */
.c-director__figure.image-placeholder {
  aspect-ratio: 3/3.6;
}

@media (max-width: 1080px) {
  .c-director__figure.image-placeholder {
    aspect-ratio: 16/9;
  }
}

/* ---------- 17a1. TAG / CHIP ---------- */
.c-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.c-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--gray-200);
  color: var(--blue-900);
  font-size: .88rem;
  font-weight: 500;
  background: var(--white);
}

.c-tag--current {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: #fff;
}

/* ---------- 17b. PHOTO GRID ---------- */
.c-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.c-photo-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1080px) {
  .c-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .c-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 17c. SPLIT (image / text alternating) ---------- */
.c-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.c-split--reverse .c-split__media {
  order: 2;
}

.c-split__media .image-placeholder,
.c-split__media img {
  width: 100%;
  height: 100%;
}

.c-split__media img {
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}

.c-split__body p {
  margin-top: var(--space-4);
  color: var(--gray-600);
  max-width: 52ch;
}

@media (max-width: 1080px) {
  .c-split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .c-split--reverse .c-split__media {
    order: 0;
  }
}

/* ---------- 17d. PARTNER CARD (logo + text + CTA, richer than c-logo-slot) ---------- */
.c-partner-card {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}

.c-partner-card:hover {
  box-shadow: 0 2px 10px rgba(11, 37, 69, .06);
  border-color: var(--gray-300);
}

.c-partner-card__logo {
  height: 56px;
  display: flex;
  align-items: center;
}

.c-partner-card__logo img {
  max-height: 100%;
  max-width: 180px;
  object-fit: contain;
}

.c-partner-card__logo .c-partner-logo__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue-900);
}

.c-partner-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-900);
}

.c-partner-card p {
  color: var(--gray-600);
  font-size: .92rem;
  flex-grow: 1;
}

.c-partner-card .c-btn {
  align-self: flex-start;
}

/* ---------- 17e. STATUS / BADGE CARD (AUTORISÉ · QUALIFIÉ · ACCRÉDITÉ) ---------- */
.c-status-card {
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  text-align: center;
}

.c-status-card__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue-900);
  background: var(--blue-50);
  padding: var(--space-2) var(--space-5);
}

.c-status-card__num {
  margin-top: var(--space-4);
  color: var(--gray-600);
  font-size: .92rem;
}

/* ---------- 17f. HIGHLIGHTED QUOTE BLOCK ---------- */
.c-quote-block {
  padding: var(--space-10) var(--space-8);
  background: var(--blue-950);
  color: #fff;
}

.c-quote-block svg {
  color: var(--yellow-500);
}

.c-quote-block blockquote {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.85rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  max-width: 42ch;
}

.c-quote-block--light {
  background: var(--gray-50);
  color: var(--blue-900);
}

.c-quote-block--light blockquote {
  color: var(--blue-900);
}

/* ---------- 17g. RESPONSIVE TABLE ---------- */
.c-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
}

.c-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.c-table thead th {
  background: var(--blue-950);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  font-size: .88rem;
}

.c-table tbody td {
  padding: var(--space-5);
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: .9rem;
  vertical-align: top;
  line-height: 1.55;
}

.c-table tbody tr:nth-child(even) td {
  background: var(--gray-50);
}

.c-table tbody td:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-900);
  white-space: nowrap;
}

/* ---------- 17h. STAT CARD — 3-UP VARIANT (measurement indicators) ---------- */
.c-stat-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1080px) {
  .c-stat-cards--3 {
    grid-template-columns: 1fr;
  }

  .c-photo-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 17i. ILLUS GRID — 2 & 4 COLUMN VARIANTS (responsive) ---------- */
.c-illus-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.c-illus-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1080px) {
  .c-illus-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .c-illus-grid--2,
  .c-illus-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 17j. ILLUS GRID — CENTERED / LARGE-TYPE VARIANT ----------
   Used only on "Cinq valeurs qui nous animent" (notre-histoire-nos-valeurs.html)
   — centered content, larger type, rounded corners per the requested UI
   direction for containers touched in this update. Scoped to this modifier
   so the sharp-cornered card look used everywhere else is untouched. */
.c-illus-grid--centered .c-illus-grid__item {
  text-align: center;
  border-radius: 14px;
}

.c-illus-grid--centered .c-illus-grid__item svg {
  margin-inline: auto;
}

.c-illus-grid--centered .c-illus-grid__item h3 {
  font-size: 1.45rem;
  margin-top: var(--space-4);
}

.c-illus-grid--centered .c-illus-grid__item p {
  font-size: 1.05rem;
  margin-top: var(--space-3);
}

/* ---------- 17k. DIRECTOR MESSAGE — READING TYPEFACE ----------
   mot-de-la-directrice.html only: the director's message reads better set
   in a serif slab than the site's default sans body copy. */
.c-director__message p {
  font-family: 'Roboto Slab', serif;
  font-size: 1.08rem;
  line-height: 1.75;
}