/* ==========================================================================
   FONDATION ÉLITES D'AFRIQUE : Système de design « Manuscrit d'or »
   Couleurs pilotées depuis l'administration (variables injectées dans <head>).
   ========================================================================== */

:root {
  --green: #0E3B2E;
  --gold: #C99A2E;
  --ivory: #F7F3EA;
  --night: #0B1A16;
  /* Valeurs de repli (navigateurs sans color-mix) */
  --green-2: #3A6458;
  --green-deep: #0A2920;
  --gold-soft: #EFE3C6;
  --gold-light: #D9B86D;
  --paper: #FCFAF5;
  --ink: #15201C;
  --ink-2: #3E4A45;
  --muted: #6B746F;
  --line: rgba(21, 32, 28, .12);
  --line-light: rgba(255, 255, 255, .14);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + .7vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.4vw, 3.9rem);
  --step-5: clamp(2.7rem, 1.9rem + 4vw, 5.6rem);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --shadow: 0 24px 60px -28px rgba(11, 26, 22, .35);
}

@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --green-2: color-mix(in srgb, var(--green) 82%, white);
    --green-deep: color-mix(in srgb, var(--green) 70%, black);
    --gold-soft: color-mix(in srgb, var(--gold) 22%, var(--ivory));
    --gold-light: color-mix(in srgb, var(--gold) 70%, white);
  }
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; overflow-x: clip; font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; font-variation-settings: "opsz" 96; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--night); }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--night); padding: .7rem 1.1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
.small { font-size: var(--step--1); }
.muted { color: var(--muted); }
.muted-light { color: rgba(255, 255, 255, .6); }

/* Typographie éditoriale --------------------------------------------------- */
.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--gold { color: var(--gold-light); }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: var(--step-4); max-width: 18ch; }
.section-head--center .section-title { margin-inline: auto; }
.section-title a { text-decoration: none; }
.section-title a:hover { color: var(--green-2); }
.section-lead { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; line-height: 1.6; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head-row .section-head { margin-bottom: 0; }
.big-num { display: block; font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: .9; color: var(--gold); font-weight: 300; font-style: italic; margin-bottom: .6rem; opacity: .85; }
.big-num--light { color: var(--gold-light); }
.h-rule { font-size: var(--step-2); display: flex; align-items: center; gap: 1rem; }
.h-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.prose { font-size: var(--step-0); color: var(--ink-2); }
.prose--lead > p:first-child { font-family: var(--serif); font-size: var(--step-2); line-height: 1.4; color: var(--ink); font-weight: 350; }
.prose h2 { font-size: var(--step-3); color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-2); color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 2em 0; padding: .2em 0 .2em 1.5em; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: var(--step-2); font-style: italic; color: var(--ink); }
.prose a { color: var(--green); }
.prose img { border-radius: var(--radius); margin: 2em 0; }
.prose--article { font-size: 1.12rem; line-height: 1.8; }
.prose--article > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .85; padding: .08em .1em 0 0; color: var(--green); }

/* Boutons ------------------------------------------------------------------ */
.btn {
  --bg: var(--green); --fg: #fff; --bd: var(--green);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.6rem; min-height: 48px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border-radius: 0; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--gold)); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--hover-fg, var(--night)); border-color: var(--hover, var(--gold)); }
.btn:active { transform: translateY(1px); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn small { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .7; }
.btn--primary { --bg: var(--green); --fg: #fff; --bd: var(--green); }
.btn--gold { --bg: var(--gold); --fg: var(--night); --bd: var(--gold); --hover: var(--ivory); }
.btn--outline { --bg: transparent; --fg: var(--green); --bd: color-mix(in srgb, var(--green) 40%, transparent); --hover: var(--green); --hover-fg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); --hover: #fff; --hover-fg: var(--night); }
.btn--sm { padding: .65rem 1.1rem; min-height: 40px; font-size: .74rem; }
.btn--lg { padding: 1.1rem 2rem; min-height: 56px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--green); }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .45s var(--ease); }
a:hover .link-arrow::after, .link-arrow:hover::after { width: 52px; }
.link-arrow--light { color: var(--gold-light); }
.link-arrow--lg { font-size: .9rem; }

/* Motifs ------------------------------------------------------------------- */
.pattern { position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image:
    linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%),
    linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%);
  background-size: 28px 28px; background-position: 0 0, 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%);
}
.pattern--hero { opacity: .09; -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 100%); mask-image: linear-gradient(105deg, transparent 35%, #000 100%); }
.pattern--soft { opacity: .05; }
.pattern--head { opacity: .08; }
.kente-rule { height: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 40px, var(--green) 40px 52px, var(--gold-light) 52px 60px, var(--night) 60px 72px); opacity: .9; }

/* Badges & états ----------------------------------------------------------- */
.badge-validate { display: inline-flex; vertical-align: middle; align-items: center; gap: .35rem; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .32rem .6rem; border: 1px dashed currentColor; color: #A4561B; background: #FFF4E5; line-height: 1; white-space: nowrap; }
.badge-validate::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.status { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .7rem; background: var(--ivory); color: var(--green); }
.status--en_cours { background: var(--gold); color: var(--night); }
.status--acheve { background: var(--green); color: #fff; }
.status--suspendu { background: #ddd; color: #444; }

.ph { position: relative; display: flex; align-items: flex-end; width: 100%; height: 100%; min-height: 220px; overflow: hidden;
  background: radial-gradient(120% 80% at 85% 10%, color-mix(in srgb, var(--gold) 35%, transparent), transparent 55%), linear-gradient(160deg, var(--green) 0%, var(--night) 100%); color: #fff; }
.ph__pattern { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%), linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%); background-size: 22px 22px; background-position: 0 0, 11px 11px; -webkit-mask-image: linear-gradient(to top, transparent, #000); mask-image: linear-gradient(to top, transparent, #000); }
.ph__label { position: relative; padding: 1.1rem 1.2rem; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); display: flex; flex-direction: column; gap: .3rem; }
.ph__label small { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.85); font-style: italic; }

.empty-state { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--paper)); max-width: 760px; margin-inline: auto; }
.empty-state p { font-family: var(--serif); font-size: var(--step-1); color: var(--ink-2); max-width: 48ch; margin: 0 auto 1.3rem; }
.empty-state__mark { display: inline-block; font-size: 1.4rem; color: var(--gold); margin-bottom: .8rem; }
.empty-state--dark { background: transparent; border-color: var(--line-light); }
.empty-state--dark p { color: rgba(255,255,255,.8); }

/* Annonce ------------------------------------------------------------------ */
.announce { background: var(--gold); color: var(--night); font-size: .82rem; font-weight: 500; text-align: center; padding: .55rem 0; }

/* En-tête ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(252,250,245,.94); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,.35); }
.site-header.is-hidden { transform: translateY(-100%); }
.is-home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.is-home .site-header { position: fixed; left: 0; right: 0; }

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: none; }
.brand__logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(201,154,46,.4); transition: transform .6s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__small { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.brand__name { font-family: var(--serif); font-size: 1.38rem; font-weight: 500; letter-spacing: -.01em; }
.brand--light { color: #fff; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: .6rem .75rem; font-size: .86rem; font-weight: 500; text-decoration: none; position: relative; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .3rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { background: none; border: 0; padding: .4rem .2rem; margin-left: -.5rem; opacity: .6; }
.nav__sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 260px; padding: .7rem 0; background: var(--paper); color: var(--ink); border-top: 2px solid var(--gold); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .55rem 1.3rem; font-size: .88rem; text-decoration: none; transition: background .25s, padding .3s var(--ease); }
.nav__sub a:hover { background: var(--gold-soft); padding-left: 1.6rem; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.lang-switch { display: flex; gap: .2rem; font-size: .75rem; font-weight: 600; }
.lang-switch a { padding: .3rem .45rem; text-decoration: none; opacity: .55; }
.lang-switch a.is-active { opacity: 1; border-bottom: 1px solid var(--gold); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); background: transparent; position: relative; }
.burger__bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger__bar:nth-of-type(2) { top: 18px; } .burger__bar:nth-of-type(3) { top: 26px; }
.burger[aria-expanded="true"] .burger__bar:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; padding-top: var(--header-h); overflow-y: auto; opacity: 0; transition: opacity .4s var(--ease); }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%), linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%); background-size: 28px 28px; background-position: 0 0, 14px 14px; pointer-events: none; }
.mobile-menu__inner { position: relative; padding: 1.5rem var(--gutter) 3rem; display: flex; flex-direction: column; min-height: 100%; }
.mobile-menu__list { list-style: none; }
.mobile-menu__item { border-bottom: 1px solid var(--line-light); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open .mobile-menu__item { opacity: 1; transform: none; }
.mobile-menu__item.is-button { border: 0; padding-top: 1.6rem; }
.mobile-menu__link { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: 1rem 0; background: none; border: 0; text-align: left; font-family: var(--serif); font-size: 1.7rem; text-decoration: none; color: #fff; }
.mobile-menu__num { font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; color: var(--gold); }
.mobile-menu__plus { margin-left: auto; width: 14px; height: 14px; position: relative; align-self: center; }
.mobile-menu__plus::before, .mobile-menu__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold); transition: transform .35s var(--ease); }
.mobile-menu__plus::after { transform: rotate(90deg); }
[aria-expanded="true"] .mobile-menu__plus::after { transform: rotate(0); }
.mobile-menu__sub { list-style: none; padding: 0 0 1rem 2.2rem; }
.mobile-menu__sub a { display: block; padding: .5rem 0; color: rgba(255,255,255,.78); text-decoration: none; }
.mobile-menu__foot { margin-top: auto; padding-top: 2.5rem; }
.mobile-menu__motto { font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 1.2rem; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--night) !important; color: #fff; border-color: transparent; }

/* Réseaux ------------------------------------------------------------------ */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 50%; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--night); border-color: var(--gold); transform: translateY(-2px); }

/* Sections ----------------------------------------------------------------- */
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--alt { background: var(--ivory); }
.section--dark, .section--night { background: var(--green); color: #fff; overflow: hidden; }
.section--night { background: var(--night); }
.section--dark .section-lead, .section--night .section-lead { color: rgba(255,255,255,.75); }
.section--dark .eyebrow, .section--night .eyebrow { color: var(--gold-light); }
.section--center { text-align: center; }
.section--center .section-title { margin-inline: auto; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: var(--night); color: #fff; overflow: hidden; padding-top: calc(var(--header-h) + 3rem); }
.hero__bg { position: absolute; inset: 0; }
.hero__media { position: absolute; inset: -8% 0 0; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.hero--image .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,26,22,.94) 0%, rgba(11,26,22,.7) 45%, rgba(14,59,46,.35) 100%); }
.hero__glow { position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 28%, transparent) 0%, transparent 60%); filter: blur(10px); }
.hero:not(.hero--image) .hero__bg { background: radial-gradient(90% 90% at 0% 100%, color-mix(in srgb, var(--green) 85%, transparent) 0%, transparent 60%), linear-gradient(160deg, var(--night) 0%, var(--green-deep) 100%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); align-items: center; gap: 3rem; padding-bottom: 8rem; }
.hero--image .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero__kicker .rule { display: none; }
.hero__title { font-size: var(--step-5); line-height: 1.02; font-weight: 350; letter-spacing: -.025em; margin-bottom: 1.8rem; max-width: 15ch; }
.hero__line { display: block; }
.hero__line--accent { font-style: italic; color: var(--gold-light); font-weight: 300; }
.hero__lead { font-size: var(--step-1); max-width: 52ch; color: rgba(255,255,255,.82); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__seal { position: relative; aspect-ratio: 1; width: min(100%, 440px); justify-self: end; color: var(--gold); }
.hero__orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.hero__logo { position: absolute; inset: 22%; width: 56%; height: 56%; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.04), 0 0 0 1px rgba(201,154,46,.5), 0 40px 80px -20px rgba(0,0,0,.6); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__axes { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid var(--line-light); background: rgba(11, 26, 22, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__axes-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hero__axis { display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.5rem 1.4rem 0; text-decoration: none; border-right: 1px solid var(--line-light); transition: background .4s var(--ease); }
.hero__axis + .hero__axis { padding-left: 1.5rem; }
.hero__axis:last-child { border-right: 0; }
.hero__axis:hover { background: rgba(255,255,255,.04); }
.hero__axis-num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); min-width: 2.2rem; }
.hero__axis strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.hero__axis small { display: block; font-size: .78rem; color: rgba(255,255,255,.6); }

/* En-tête de page ----------------------------------------------------------- */
.page-head { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.page-head::after { content: ""; position: absolute; right: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(201,154,46,.25); box-shadow: 0 0 0 60px rgba(201,154,46,.03), 0 0 0 120px rgba(201,154,46,.02); pointer-events: none; }
.page-head--image { background: var(--night); }
.page-head__media { position: absolute; inset: 0; }
.page-head__img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.3); }
.page-head__inner { position: relative; z-index: 1; }
.page-head__title { font-size: var(--step-5); font-weight: 350; letter-spacing: -.02em; max-width: 16ch; margin-bottom: 1.4rem; }
.page-head__intro { font-size: var(--step-1); color: rgba(255,255,255,.8); max-width: 58ch; margin-bottom: 0; }

.breadcrumb { margin-bottom: 2.2rem; font-size: .78rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .45; }
.breadcrumb a { text-decoration: none; opacity: .7; }
.breadcrumb a:hover { opacity: 1; color: var(--gold-light); }
.page-head .breadcrumb, .breadcrumb--light { color: rgba(255,255,255,.85); }
.article__head .breadcrumb { color: var(--muted); }

/* Filtres --------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem 1rem; font-size: .8rem; font-weight: 500; text-decoration: none; border: 1px solid rgba(255,255,255,.3); color: #fff; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--gold); color: var(--night); border-color: var(--gold); }
.chip--ghost { border-style: dashed; }
.chips__sep { width: 1px; height: 22px; background: rgba(255,255,255,.25); margin-inline: .4rem; }
.chips--light { margin: 0 0 2.5rem; }
.chips--light .chip { color: var(--ink); border-color: var(--line); }
.chips--light .chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; max-width: 900px; }
.filters input, .filters select { min-height: 44px; padding: .6rem 1rem; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .9rem; }
.filters input { flex: 1 1 260px; }
.filters input::placeholder { color: rgba(255,255,255,.55); }
.filters select option { color: var(--ink); }

/* Split (image + texte) ------------------------------------------------------ */
.split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.split--left .split__media { order: -1; }
.split:not(.split--left) .split__media { order: 2; }
.split__media { position: relative; }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.frame > img, .frame > .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover > img { transform: scale(1.04); }
.frame--gold::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(232, 201, 130, .55); pointer-events: none; }
.split__ornament { position: absolute; width: 38%; aspect-ratio: 1; bottom: -2.2rem; right: -2.2rem; z-index: -1; background-image: radial-gradient(var(--gold) 1.2px, transparent 1.4px); background-size: 14px 14px; opacity: .55; }
.split--left .split__ornament { right: auto; left: -2.2rem; }

/* Manifeste ------------------------------------------------------------------ */
.manifesto { background: var(--ivory); text-align: center; overflow: hidden; }
.manifesto__quote { margin: 0; }
.manifesto__quote p { font-family: var(--serif); font-size: var(--step-4); line-height: 1.15; font-weight: 300; font-style: italic; color: var(--green); }
.manifesto__quote footer { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.manifesto .eyebrow { justify-content: center; }

/* Cartes ---------------------------------------------------------------------- */
.cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card-item { position: relative; display: block; padding: clamp(1.8rem, 3vw, 2.6rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: transparent; transition: background .5s var(--ease); }
a.card-item:hover, .cards--grid .card-item:hover { background: #fff; }
.card-item::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .6s var(--ease); }
.card-item:hover::before { width: 100%; }
.card-item__num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); margin-bottom: 1.4rem; }
.card-item__title { font-size: var(--step-2); margin-bottom: .6rem; }
.card-item__text { color: var(--ink-2); margin-bottom: 1rem; }
.cards--duo .cards__grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-color: var(--line-light); }
.cards--duo .card-item { border-color: var(--line-light); padding: clamp(2.2rem, 5vw, 4rem); }
.cards--duo .card-item:hover { background: rgba(255,255,255,.03); }
.cards--duo .card-item__num { display: none; }
.cards--duo .card-item__title { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.6rem; display: flex; align-items: center; gap: .8rem; }
.cards--duo .card-item__title::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.cards--duo .card-item__text { font-family: var(--serif); font-size: var(--step-3); line-height: 1.2; color: #fff; font-weight: 300; margin: 0; }
.cards--numbered .cards__grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards--numbered .card-item__num { font-size: 3rem; font-weight: 300; line-height: 1; }
.cards--links .card-item { min-height: 240px; display: flex; flex-direction: column; }
.cards--links .card-item .link-arrow { margin-top: auto; }

/* Chiffres -------------------------------------------------------------------- */
.figures__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin: 0; }
.figure { display: flex; flex-direction: column-reverse; border-top: 1px solid var(--line-light); padding-top: 1.5rem; }
.figure__value { margin: 0; font-family: var(--serif); font-size: var(--step-5); font-weight: 300; color: var(--gold-light); line-height: 1; }
.figure__label { color: rgba(255,255,255,.75); margin-top: .8rem; }

/* Axes ------------------------------------------------------------------------ */
.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.domain-grid--2, .domain-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.domain-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.domain-card__link:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.domain-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.domain-card__img, .domain-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.domain-card__link:hover .domain-card__img { transform: scale(1.06); }
.domain-card__body { position: relative; padding: 2rem 1.8rem 2.2rem; display: flex; flex-direction: column; flex: 1; }
.domain-card__num { position: absolute; right: 1.6rem; top: -1.8rem; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; background: var(--green); color: var(--gold-light); font-family: var(--serif); font-style: italic; font-size: 1.3rem; border-radius: 50%; box-shadow: 0 0 0 6px #fff; }
.domain-card__title { font-size: var(--step-3); margin-bottom: .7rem; }
.domain-card__text { color: var(--ink-2); flex: 1; }

.domain-rows { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 8rem); }
.domain-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.domain-row--rev .domain-row__media { order: 2; }
.domain-row__media .frame { aspect-ratio: 5 / 4; }
.check-list { list-style: none; margin: 0 0 2rem; }
.check-list li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 12px; height: 1px; background: var(--gold); }

.axis-nav { background: var(--night); color: #fff; }
.axis-nav__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.axis-nav__item { display: flex; align-items: center; gap: 1.3rem; padding: 2.2rem 1rem; text-decoration: none; border-right: 1px solid var(--line-light); transition: background .4s; }
.axis-nav__item:last-child { border-right: 0; }
.axis-nav__item:hover { background: rgba(255,255,255,.04); }
.axis-nav__num { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--gold); }
.axis-nav__item small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.axis-nav__item strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }

/* Détail (hero image) ---------------------------------------------------------- */
.detail-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.detail-hero__media { position: absolute; inset: 0; }
.detail-hero__img, .detail-hero__media .ph { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__media .ph__label { display: none; }
.detail-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,22,.2) 0%, rgba(11,26,22,.55) 45%, rgba(11,26,22,.95) 100%); }
.detail-hero__inner { position: relative; padding-block: 6rem 4.5rem; }
.detail-hero__title { font-size: var(--step-5); font-weight: 350; max-width: 16ch; letter-spacing: -.02em; }
.detail-hero__lead { font-size: var(--step-1); max-width: 60ch; color: rgba(255,255,255,.82); margin: 0; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.detail-sections > section + section { margin-top: 3.2rem; }
.aside-card { background: var(--ivory); padding: clamp(1.8rem, 3vw, 2.6rem); border-top: 3px solid var(--gold); }
.aside-card--sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card__title { font-size: var(--step-2); }
.num-list { list-style: none; counter-reset: n; }
.num-list li { counter-increment: n; position: relative; padding: .9rem 0 .9rem 3rem; border-bottom: 1px solid var(--line); }
.num-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .85rem; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15rem; }
.facts { margin: 0 0 1.8rem; }
.facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.progress { height: 4px; background: var(--line); position: relative; overflow: hidden; }
.progress span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--green), var(--gold)); }
.progress-block { margin-bottom: 1.8rem; }
.progress-block__head { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .6rem; }

/* Programmes ------------------------------------------------------------------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.program-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.program-card__link:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.program-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.program-card__img, .program-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.program-card__link:hover .program-card__img { transform: scale(1.05); }
.program-card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; gap: .2rem; }
.program-card__body .eyebrow { margin-bottom: .7rem; }
.program-card__title { font-size: var(--step-2); margin-bottom: .5rem; }
.program-card__body p { color: var(--ink-2); font-size: .95rem; }
.program-card .progress { margin-top: auto; }
.meta-line { display: flex; align-items: center; gap: .4rem; font-size: .82rem !important; color: var(--muted) !important; }

/* Élites ----------------------------------------------------------------------- */
.elite-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.elite-grid--index { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.elite-card--large { grid-column: span 2; grid-row: span 2; }
.elite-card__link { display: block; position: relative; text-decoration: none; overflow: hidden; height: 100%; }
.elite-card__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--green-deep); height: 100%; }
.elite-card__img, .elite-card__media .ph { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.elite-card__link:hover .elite-card__img { filter: grayscale(0); transform: scale(1.04); }
.elite-card__body { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.4rem 1.4rem; color: #fff; background: linear-gradient(transparent, rgba(11,26,22,.92) 45%); }
.elite-card__body .eyebrow { margin-bottom: .5rem; font-size: .64rem; }
.elite-card__name { font-size: var(--step-2); margin: 0 0 .2rem; }
.elite-card--large .elite-card__name { font-size: var(--step-3); }
.elite-card__role { font-size: .85rem; color: rgba(255,255,255,.75); margin: 0; }
.elite-card__link::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(232,201,130,0); transition: border-color .6s var(--ease); pointer-events: none; }
.elite-card__link:hover::after { border-color: rgba(232,201,130,.7); }

.portrait__hero { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0; }
.portrait__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.portrait__photo .frame { aspect-ratio: 4 / 5; }
.portrait__img { filter: grayscale(.2); }
.portrait__name { font-size: var(--step-5); font-weight: 350; letter-spacing: -.02em; margin-bottom: .4rem; }
.portrait__role { font-family: var(--serif); font-style: italic; font-size: var(--step-2); color: var(--gold-light); }
.portrait__quote { margin: 2rem 0; padding-left: 1.4rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: var(--step-2); font-weight: 300; line-height: 1.35; }
.portrait__short { color: rgba(255,255,255,.78); font-size: var(--step-1); }
.timeline { list-style: none; }
.timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }

.tabs__list { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.tabs__list button { background: none; border: 0; padding: 1rem 1.3rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); position: relative; }
.tabs__list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs__list button[aria-selected="true"] { color: var(--green); }
.tabs__list button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Actualités -------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
.post-grid--home .post-card--feature, .post-grid--magazine .post-card--feature { grid-column: span 2; grid-row: span 2; }
.post-grid--home:has(> :only-child) .post-card--feature { grid-column: 1 / -1; }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1.3rem; }
.post-card--feature .post-card__media { aspect-ratio: 16 / 10; }
.post-card__img, .post-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card__link:hover .post-card__img { transform: scale(1.05); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.post-card__title { font-size: var(--step-2); margin-bottom: .6rem; transition: color .3s; }
.post-card--feature .post-card__title { font-size: var(--step-3); }
.post-card__link:hover .post-card__title { color: var(--green-2); }
.post-card__excerpt { color: var(--ink-2); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; }
.post-grid--home:has(> :only-child) .post-card__link { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.post-grid--home:has(> :only-child) .post-card__media { margin: 0; }

.event-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.event a { display: flex; gap: 1.2rem; align-items: center; padding: 1rem; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
.event a:hover { border-color: var(--gold); }
.event__date { display: grid; place-items: center; min-width: 64px; padding: .5rem; background: var(--green); color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.event__date strong { font-family: var(--serif); font-size: 1.8rem; line-height: 1; letter-spacing: 0; }
.event__title { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.event small { color: var(--muted); }

.article__head { padding: clamp(3rem, 7vw, 5.5rem) 0 2.5rem; }
.article__title { font-size: var(--step-4); letter-spacing: -.02em; }
.article__lead { font-family: var(--serif); font-size: var(--step-2); font-weight: 300; color: var(--ink-2); line-height: 1.4; }
.article__cover { margin: 0 auto 3.5rem; }
.article__img { width: 100%; max-height: 72vh; object-fit: cover; }
.event-box { display: flex; flex-wrap: wrap; gap: 2.5rem; padding: 1.3rem 1.6rem; background: var(--ivory); border-left: 3px solid var(--gold); margin: 1.5rem 0 0; }
.event-box dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.event-box dd { margin: 0; font-weight: 500; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; padding: 2rem 0 0; margin-top: 3rem; border-top: 1px solid var(--line); }
.share .eyebrow { margin: 0; }
.share a { font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--green); }
.share a:hover { color: var(--gold); }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 4rem; }
.pagination a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); text-decoration: none; }
.pagination a.is-active { background: var(--green); color: #fff; border-color: var(--green); }

/* Galerie & vidéos -------------------------------------------------------------- */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery__item { position: relative; display: block; break-inside: avoid; margin-bottom: 1rem; overflow: hidden; }
.gallery__img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.gallery__item:hover .gallery__img { transform: scale(1.04); }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem .9rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 15, 12, .96); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox img { max-height: 82vh; width: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__cap { color: rgba(255,255,255,.8); text-align: center; margin-top: 1rem; font-size: .9rem; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 50px; height: 50px; font-size: 1.3rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; } .lightbox__next { right: 1rem; top: 50%; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--night); margin: 2.5rem 0; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; border: 0; padding: 0; background: var(--night); width: 100%; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform 1s var(--ease); }
.video__poster:hover img { opacity: .95; transform: scale(1.03); }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold); }
.video__play::after { content: ""; position: absolute; left: 31px; top: 25px; border-left: 20px solid var(--night); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }
.video-card { margin: 0; } .video-card .video { margin: 0 0 1rem; }
.video-card figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.video-card figcaption span { color: var(--muted); font-size: .9rem; }

/* Partenaires, équipe, documents ------------------------------------------------- */
.partner-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 3rem; }
.partner { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.partner a { display: grid; place-items: center; width: 100%; height: 100%; }
.partner__logo { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.partner:hover .partner__logo { filter: none; opacity: 1; }
.partner__name { font-family: var(--serif); font-size: 1.1rem; text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2.4rem 1.6rem; }
.member__media { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.2rem; }
.member__img, .member__media .ph { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: filter .6s; }
.member:hover .member__img { filter: none; }
.member .eyebrow { font-size: .62rem; margin-bottom: .5rem; }
.member__name { font-size: var(--step-1); margin-bottom: .2rem; }
.member__role { color: var(--green); font-weight: 500; font-size: .92rem; margin-bottom: .6rem; }
.member__bio { font-size: .9rem; color: var(--ink-2); }
.doc-list { list-style: none; border-top: 1px solid var(--line); }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.doc__type { display: grid; place-items: center; width: 58px; height: 72px; background: var(--green); color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .08em; clip-path: polygon(0 0, 75% 0, 100% 20%, 100% 100%, 0 100%); }
.doc__title { font-size: var(--step-1); margin: 0 0 .3rem; }
.doc .eyebrow { margin-bottom: .4rem; font-size: .64rem; }
.doc p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* CTA band ----------------------------------------------------------------------- */
.cta-band { background: var(--night); color: #fff; text-align: center; overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band .eyebrow { justify-content: center; }
.cta-band__title { font-size: var(--step-4); max-width: 20ch; margin: 0 auto 1.3rem; font-weight: 350; }
.cta-band__lead { font-size: var(--step-1); color: rgba(255,255,255,.75); max-width: 56ch; margin: 0 auto 2.4rem; }
.cta-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* Newsletter ---------------------------------------------------------------------- */
.newsletter-block { background: var(--gold-soft); }
.newsletter-block__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.newsletter-block .section-title { font-size: var(--step-3); }
.newsletter-form__row { display: flex; border: 1px solid var(--green); background: #fff; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 1rem 1.2rem; font: inherit; color: var(--ink); }
.newsletter-form input:focus { outline: none; }
.newsletter-form__row:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent); }
.newsletter-form--compact .newsletter-form__row { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
.newsletter-form--compact input { color: #fff; padding: .8rem 1rem; font-size: .9rem; }
.newsletter-form--compact input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form--compact .btn { padding-inline: 1rem; font-size: .7rem; }
.form-note { margin: .8rem 0 0; font-size: .9rem; }
.form-note.is-ok { color: var(--green); } .form-note.is-error { color: #A42B1B; }

/* Formulaires ----------------------------------------------------------------------- */
.form-block__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.form-block + .form-block { border-top: 1px solid var(--line); }
.form-block__form { background: #fff; padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(11,26,22,.4); }
.form-block__form--light { color: var(--ink); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .8rem 1rem; border: 1px solid rgba(21,32,28,.2); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--paper); font: inherit; color: var(--ink); border-radius: 0; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.field input[type="file"] { padding: .7rem; background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__error { margin: 0; color: #B3261E; font-size: .82rem; }
.field__help { margin: 0; color: var(--muted); font-size: .8rem; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .8rem; margin: 1.6rem 0; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: .2rem; accent-color: var(--green); flex: none; }
.field--check label { flex: 1; font-weight: 400; font-size: .85rem; color: var(--ink-2); letter-spacing: 0; }
.field--check .field__error { flex-basis: 100%; }
.req { color: #B3261E; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; justify-content: space-between; }
.form__actions p { margin: 0; }
.form-alert { padding: .9rem 1.1rem; background: #FDECEA; color: #8A1C14; border-left: 3px solid #B3261E; font-size: .9rem; margin-bottom: 1.5rem; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success__mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--gold-light); font-size: 1.6rem; margin-bottom: 1.2rem; }
.form-success p { font-family: var(--serif); font-size: var(--step-1); max-width: 40ch; margin: 0 auto; }

/* Contact --------------------------------------------------------------------------- */
.contact-info__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: stretch; }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: .2rem; }
.contact-list dd { margin: 0; font-size: 1.05rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--green-2); }
.contact-list .socials a { color: var(--green); }
.contact-info__map { min-height: 380px; position: relative; }
.contact-info__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4); }
.map-placeholder { position: relative; height: 100%; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.2rem; background: var(--green); color: #fff; overflow: hidden; }
.map-placeholder__city { font-family: var(--serif); font-size: var(--step-5); font-weight: 300; line-height: 1; margin-bottom: 1rem; }
.map-placeholder .small { color: rgba(255,255,255,.7); max-width: 40ch; margin: 0; }

/* 404 ------------------------------------------------------------------------------- */
.notfound { overflow: hidden; }
.notfound__code { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--gold); font-weight: 300; margin-bottom: 0; }

/* Pied de page ----------------------------------------------------------------------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.78); font-size: .93rem; }
.site-footer__statement { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line-light); }
.site-footer__slogan { font-family: var(--serif); font-size: var(--step-4); font-weight: 300; color: #fff; line-height: 1.1; max-width: 22ch; margin: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.site-footer__about .brand { margin-bottom: 1.4rem; }
.site-footer__about .brand__logo { width: 64px; height: 64px; }
.site-footer__title { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.3rem; }
.site-footer ul:not(.socials) { list-style: none; }
.site-footer__col li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer address { font-style: normal; margin-bottom: 1.2rem; }
.site-footer address p { margin-bottom: .4rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--line-light); font-size: .8rem; color: rgba(255,255,255,.5); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 1.5rem; }

/* Animations au défilement ------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .nav__link { padding-inline: .55rem; font-size: .82rem; }
  .site-header__inner { gap: 1.2rem; }
}
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .elite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid--home .post-card--feature, .post-grid--magazine .post-card--feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 1.15rem; }
  .hero__grid { padding-bottom: 2rem; }
  .hero__seal { order: -1; width: min(62vw, 260px); justify-self: start; margin-bottom: -.5rem; }
  .hero__axes { position: relative; background: rgba(0,0,0,.2); }
  .hero__axes-inner { grid-template-columns: 1fr; padding-inline: 0; }
  .hero__axis, .hero__axis + .hero__axis { padding: 1.1rem var(--gutter); border-right: 0; border-bottom: 1px solid var(--line-light); }
  .split__grid, .domain-row, .detail-grid, .portrait__grid, .form-block__grid, .contact-info__grid, .newsletter-block__inner, .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .split .split__media, .split--left .split__media, .domain-row--rev .domain-row__media { order: 0; }
  .split__ornament { display: none; }
  .frame { aspect-ratio: 4 / 3; }
  .portrait__photo .frame { aspect-ratio: 1; }
  .domain-grid, .domain-grid--2, .domain-grid--4 { grid-template-columns: 1fr; }
  .aside-card--sticky { position: static; }
  .post-grid--home:has(> :only-child) .post-card__link { grid-template-columns: 1fr; gap: 0; }
  .post-grid--home:has(> :only-child) .post-card__media { margin-bottom: 1.3rem; }
}
@media (max-width: 640px) {
  .form__grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .elite-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .elite-card--large { grid-column: 1 / -1; grid-row: auto; }
  .elite-card__body { padding: 1rem .9rem .9rem; }
  .elite-card__name { font-size: 1.1rem; }
  .elite-card__role { font-size: .75rem; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: auto 1fr; }
  .doc .btn { grid-column: 1 / -1; }
  .contact-list > div { grid-template-columns: 1fr; gap: .3rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .chips__sep { display: none; }
  .axis-nav__item { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .brand__small { letter-spacing: .24em; }
}

@media print {
  .site-header, .mobile-menu, .site-footer, .hero__axes, .share { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   COUCHE « EXPERIENCE » : cartes, images et transitions
   Uniquement transform / opacity / clip-path (accéléré GPU), respect de
   prefers-reduced-motion (voir bloc final).
   ========================================================================== */
:root {
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in-quart: cubic-bezier(.5, 0, .75, 0);
  --r-card: 18px;
  --r-media: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 22, .06), 0 2px 8px -2px rgba(11, 26, 22, .08);
  --shadow-lg: 0 2px 4px rgba(11, 26, 22, .04), 0 18px 40px -12px rgba(11, 26, 22, .22), 0 40px 80px -40px rgba(14, 59, 46, .35);
  --glass: rgba(255, 255, 255, .14);
}

/* ---------- Transitions entre pages (View Transitions, navigateurs récents) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .32s var(--ease-in-quart) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-expo) .08s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px) scale(.995); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }
::view-transition-group(site-header) { animation-duration: .5s; }
::view-transition-group(vt-media) { animation-duration: .8s; animation-timing-function: cubic-bezier(.7, 0, .15, 1); z-index: 50; }
::view-transition-old(vt-media), ::view-transition-new(vt-media) { height: 100%; width: 100%; object-fit: cover; overflow: clip; animation-duration: .8s; }
.vt-morph #vt-hero img, .vt-active .detail-hero__img, .vt-active .page-head__img { animation: none !important; }

/* Barre de progression dorée */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 300; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Titres : révélation mot par mot ---------- */
.js [data-split]:not(.is-split) { visibility: hidden; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .03em .16em; margin: -.02em -.03em -.16em; }
[data-split] .w > span { display: inline-block; will-change: transform; }
.js [data-split].is-split .w > span { transform: translate3d(0, 112%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.15s var(--ease-expo); transition-delay: calc(var(--d, 0s) + var(--w, 0) * 42ms); }
.js [data-split].is-in .w > span, .js .is-in [data-split] .w > span { transform: none; }
.js [data-reveal][data-split] { opacity: 1; transform: none; }
.hero__title { --d: .25s; }
.page-head__title, .detail-hero__title, .portrait__name, .article__title { --d: .1s; }

/* Apparitions générales : plus amples, courbe expo */
.js [data-reveal] { transform: translate3d(0, 38px, 0); transition: opacity 1.1s var(--ease-expo), transform 1.2s var(--ease-expo); transition-delay: calc(var(--i, 0) * 85ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero__kicker { --i: 0; } .hero__lead { --i: 6; } .hero__actions { --i: 8; }

/* Filet doré des sur-titres qui se dessine */
.js .eyebrow::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease-expo) .25s; }
.js .is-in .eyebrow::before, .js .eyebrow.is-in::before, .js .hero .eyebrow::before, .js .page-head .eyebrow::before { transform: scaleX(1); }

/* Filet de sécurité si le script ne s'exécute pas */
.reveal-failsafe:not(.js-ready) [data-reveal], .reveal-failsafe:not(.js-ready) [data-split] { opacity: 1 !important; transform: none !important; visibility: visible !important; }

/* ---------- Images : rideau + dézoom ---------- */
.js .reveal-media { overflow: hidden; clip-path: inset(100% 0 0 0 round var(--r-media)); transition: clip-path 1.25s var(--ease-expo); transition-delay: calc(var(--i, 0) * 90ms + .05s); }
.js .reveal-media > img, .js .reveal-media > .ph { transform: scale(1.22); transition: transform 1.9s var(--ease-expo) !important; transition-delay: calc(var(--i, 0) * 90ms + .05s) !important; }
.js .reveal-media.is-in { clip-path: inset(0 0 0 0 round var(--r-media)); }
.js .reveal-media.is-in > img, .js .reveal-media.is-in > .ph { transform: scale(1); }

/* En-têtes : léger dézoom d'arrivée, Ken Burns sur le hero */
.page-head__img, .detail-hero__img { animation: head-zoom 2.4s var(--ease-expo) both; }
@keyframes head-zoom { from { transform: scale(1.14); } }
.hero--image .hero__img { animation: ken-burns 28s ease-in-out infinite alternate; }
@keyframes ken-burns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero__seal { animation: seal-in 1.8s var(--ease-expo) .2s both; }
@keyframes seal-in { from { opacity: 0; transform: scale(.82) rotate(-14deg); } }
.hero__logo { animation: logo-float 7s ease-in-out 2s infinite alternate; }
@keyframes logo-float { to { transform: translateY(-8px); } }
.hero__glow { animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.12) translate3d(-3%, 3%, 0); } }
.hero__axes { animation: axes-up 1.2s var(--ease-expo) 1s both; }
@keyframes axes-up { from { transform: translateY(100%); opacity: 0; } }
.hero__axis { position: relative; overflow: hidden; }
.hero__axis::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--ease-expo); }
.hero__axis:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.hero__axis-num { transition: transform .6s var(--ease-expo); }
.hero__axis:hover .hero__axis-num { transform: translateX(6px) scale(1.12); }

/* ---------- Système de cartes modernes ---------- */
.card-arrow { position: absolute; right: 14px; top: 14px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--night); background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .55s var(--ease-expo), opacity .35s ease, background .3s ease; }
.card-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 45%); transition: opacity .4s ease; mix-blend-mode: soft-light; }
.media-chip { position: absolute; left: 14px; top: 14px; z-index: 3; padding: .42rem .8rem; border-radius: 999px; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(11, 26, 22, .38); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); }

.domain-card__link, .program-card__link, .post-card__link { position: relative; border-radius: var(--r-card); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .7s var(--ease-expo), box-shadow .6s var(--ease-expo), border-color .4s ease; will-change: transform; }
.domain-card__link, .program-card__link { overflow: hidden; border: 1px solid rgba(14, 59, 46, .08); box-shadow: var(--shadow-sm); background: #fff; }
.domain-card__link:hover, .program-card__link:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(201, 154, 46, .45); }
.domain-card__link:hover .card-arrow, .program-card__link:hover .card-arrow, .post-card__link:hover .card-arrow, .domain-card__link:focus-visible .card-arrow, .program-card__link:focus-visible .card-arrow, .post-card__link:focus-visible .card-arrow { opacity: 1; transform: none; }
.domain-card__link:hover .card-glare, .program-card__link:hover .card-glare, .post-card__link:hover .card-glare, .elite-card__link:hover .card-glare { opacity: 1; }
.card-arrow:hover { background: var(--gold); }

/* Médias des cartes : coins arrondis, voile dégradé, zoom doux */
.domain-card__media, .program-card__media { position: relative; border-radius: 0; isolation: isolate; }
.domain-card__media::after, .program-card__media::after, .post-card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 26, 22, .28) 0%, transparent 32%, transparent 62%, rgba(11, 26, 22, .35) 100%); opacity: .85; transition: opacity .6s var(--ease-expo); }
.domain-card__link:hover .domain-card__media::after, .program-card__link:hover .program-card__media::after, .post-card__link:hover .post-card__media::after { opacity: .55; }
.domain-card__img, .program-card__img, .post-card__img { transition: transform 1.4s var(--ease-expo), filter .8s ease; }
.domain-card__link:hover .domain-card__img, .program-card__link:hover .program-card__img, .post-card__link:hover .post-card__img { transform: scale(1.07); filter: saturate(1.08) contrast(1.03); }

/* Carte « axe » */
.domain-card__body { padding: 2.1rem 1.9rem 1.9rem; }
.domain-card__num { top: -1.9rem; box-shadow: 0 0 0 6px #fff, 0 10px 24px -8px rgba(14, 59, 46, .6); transition: transform .7s var(--ease-expo), background .4s ease; z-index: 4; }
.domain-card__link:hover .domain-card__num { transform: rotate(-12deg) scale(1.08); background: var(--gold); color: var(--night); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.card-foot .card-arrow { position: static; opacity: 1; transform: none; width: 40px; height: 40px; background: var(--ivory); color: var(--green); box-shadow: none; }
.domain-card__link:hover .card-foot .card-arrow { background: var(--green); color: var(--gold-light); transform: rotate(45deg); }
.domain-card__title { transition: color .3s ease; }
.domain-card__link:hover .domain-card__title { color: var(--green); }

/* Carte « programme » */
.program-card__media { aspect-ratio: 16 / 11; }
.program-card__body { padding: 1.5rem 1.6rem 1.7rem; }
.status { top: 14px; bottom: auto; left: 14px; border-radius: 999px; padding: .45rem .85rem; z-index: 3; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: .45rem; vertical-align: middle; }
.status--en_cours::before { animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .25; transform: scale(1.6); } }
.status--conception { background: rgba(247, 243, 234, .9); }
.progress { height: 6px; border-radius: 99px; background: rgba(14, 59, 46, .08); }
.progress span { border-radius: 99px; transform-origin: 0 50%; }
.js .program-card .progress span { transform: scaleX(0); transition: transform 1.6s var(--ease-expo) .4s; }
.js .program-card.is-in .progress span { transform: scaleX(1); }

/* Carte « actualité » : image arrondie flottante, texte aéré */
.post-card__link { padding: 10px; background: transparent; border: 1px solid transparent; transition: transform .7s var(--ease-expo), box-shadow .6s var(--ease-expo), background .5s ease, border-color .5s ease; }
.post-card__link:hover { background: #fff; border-color: rgba(14, 59, 46, .08); box-shadow: var(--shadow-lg); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.post-card__media { position: relative; border-radius: var(--r-media); overflow: hidden; isolation: isolate; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.post-card__body { padding: 0 .5rem .6rem; }
.post-card--feature .post-card__title { font-size: var(--step-3); }
.post-card__meta time { font-size: .78rem; letter-spacing: .04em; }

/* Carte « élite » : portrait arrondi, cadre doré, infos sur verre */
.elite-card__link { border-radius: var(--r-card); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-sm); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-expo), box-shadow .6s ease; }
.elite-card__link:hover { box-shadow: var(--shadow-lg); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.elite-card__media { position: relative; }
.elite-card__img { transition: filter 1s var(--ease-expo), transform 1.6s var(--ease-expo); }
.elite-card__link::after { inset: 10px; border-radius: calc(var(--r-card) - 6px); }
.elite-card__body { padding: 1.4rem 1.3rem 1.3rem; background: linear-gradient(180deg, transparent, rgba(11, 26, 22, .55) 30%, rgba(11, 26, 22, .92)); transform: translateY(10px); transition: transform .7s var(--ease-expo); }
.elite-card__link:hover .elite-card__body { transform: none; }
.elite-card__arrow { float: right; margin-left: .5rem; }
.elite-card__arrow .card-arrow { position: static; width: 38px; height: 38px; opacity: 0; transform: scale(.6) rotate(-45deg); background: var(--gold); }
.elite-card__link:hover .elite-card__arrow .card-arrow { opacity: 1; transform: none; }

/* Équipe, documents, partenaires */
.member__media { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.member__img { transition: filter .8s ease, transform 1.4s var(--ease-expo); }
.member:hover .member__img { transform: scale(1.05); }
.doc { padding: 1.4rem 1.2rem; border-radius: var(--r-media); border-bottom-color: transparent; transition: background .4s ease, box-shadow .5s var(--ease-expo), transform .5s var(--ease-expo); }
.doc-list { border-top: 0; display: grid; gap: .6rem; }
.doc:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateX(6px); }
.partner-grid { border: 0; gap: 1rem; }
.partner { border: 1px solid rgba(14, 59, 46, .08); border-radius: var(--r-media); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-expo), box-shadow .5s ease; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Cartes de contenu (valeurs, objectifs) */
.card-item { transition: background .5s ease, transform .6s var(--ease-expo); }
.cards--grid .card-item:hover, .cards--numbered .card-item:hover, a.card-item:hover { transform: translateY(-4px); }
.card-item__num { transition: transform .6s var(--ease-expo), color .3s ease; }
.card-item:hover .card-item__num { transform: translateX(6px); }

/* ---------- Images éditoriales ---------- */
.frame { border-radius: var(--r-card); isolation: isolate; box-shadow: var(--shadow-lg); }
.frame--gold::after { border-radius: calc(var(--r-card) - 6px); }
.split__ornament { border-radius: var(--r-card); }
.split__media::before { content: ""; position: absolute; z-index: -1; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 1px solid rgba(201, 154, 46, .5); border-radius: var(--r-card); transition: transform 1.2s var(--ease-expo); }
.split--left .split__media::before { inset: 1.4rem 1.4rem -1.4rem -1.4rem; }
.split__media:hover::before { transform: translate(-6px, -6px); }
.domain-row__media .frame { box-shadow: var(--shadow-lg); }
.article__cover img { border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.prose img { border-radius: var(--r-media); box-shadow: var(--shadow-sm); }
.portrait__photo .frame { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }

/* Galerie : mosaïque arrondie, voile et loupe au survol */
.gallery { column-gap: 1.1rem; }
.gallery__item { margin-bottom: 1.1rem; border-radius: var(--r-media); isolation: isolate; box-shadow: var(--shadow-sm); transition: box-shadow .6s ease, transform .7s var(--ease-expo); }
.gallery__item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(11, 26, 22, .65)); opacity: 0; transition: opacity .5s ease; }
.gallery__item::after { content: ""; position: absolute; z-index: 2; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230B1A16' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 18px no-repeat; transform: scale(.5); opacity: 0; transition: transform .5s var(--ease-expo), opacity .3s ease; }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__item:hover::before { opacity: 1; }
.gallery__item:hover::after { transform: none; opacity: 1; }
.gallery__cap { z-index: 2; background: none; }
.gallery__img { transition: transform 1.4s var(--ease-expo); }
.gallery__item:hover .gallery__img { transform: scale(1.06); }
.lightbox { background: rgba(6, 12, 10, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox img { border-radius: 10px; transform-origin: 0 0; }
.lightbox button { border-radius: 50%; transition: background .3s ease, transform .4s var(--ease-expo); }
.lightbox button:hover { background: rgba(255, 255, 255, .12); transform: scale(1.08); }

/* Vidéos */
.video { border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.video__play { transition: transform .5s var(--ease-expo), box-shadow .5s ease; box-shadow: 0 0 0 0 rgba(201, 154, 46, .5); }
.video__poster:hover .video__play { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(201, 154, 46, .2); }
.video__poster:not(:has(img)) { background: radial-gradient(120% 90% at 20% 10%, rgba(201, 154, 46, .25), transparent 55%), linear-gradient(160deg, var(--green), var(--night)); }

/* Visuels provisoires et cartes de carte (map) */
.ph { border-radius: inherit; }
.map-placeholder, .contact-info__map iframe { border-radius: var(--r-card); }
.form-block__form { border-radius: var(--r-card); }
.aside-card { border-radius: 0 0 var(--r-card) var(--r-card); }
.empty-state { border-radius: var(--r-card); }
.event a { border-radius: var(--r-media); transition: transform .5s var(--ease-expo), box-shadow .5s ease, border-color .3s ease; }
.event a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.event__date { border-radius: 10px; }
.newsletter-form__row { border-radius: 999px; overflow: hidden; padding: 4px; }
.newsletter-form__row .btn { border-radius: 999px; }

/* ---------- Navigation ---------- */
.nav__sub { border-radius: 0 0 14px 14px; overflow: hidden; }
.nav__item:hover .nav__sub li, .nav__item:focus-within .nav__sub li, .nav__item.is-open .nav__sub li { animation: sub-in .5s var(--ease-expo) both; }
.nav__sub li:nth-child(2) { animation-delay: 40ms !important; } .nav__sub li:nth-child(3) { animation-delay: 80ms !important; } .nav__sub li:nth-child(4) { animation-delay: 120ms !important; } .nav__sub li:nth-child(5) { animation-delay: 160ms !important; } .nav__sub li:nth-child(6) { animation-delay: 200ms !important; }
@keyframes sub-in { from { opacity: 0; transform: translateY(-6px); } }
.btn { will-change: transform; transition: color .45s var(--ease-expo), border-color .45s var(--ease-expo), transform .5s var(--ease-expo); }

/* Menu mobile : ouverture circulaire depuis le bouton */
.mobile-menu { opacity: 1; clip-path: circle(0 at calc(100% - 44px) 36px); transition: clip-path .75s var(--ease-expo); }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); }

/* Compteurs */
.figure__value { font-variant-numeric: tabular-nums; }
.figure { transition: border-color .6s ease; }
.figure.is-in { border-top-color: rgba(232, 201, 130, .5); }

/* ---------- Mouvement réduit : tout est instantané ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js [data-split]:not(.is-split) { visibility: visible; }
  .js [data-split].is-split .w > span, .js .reveal-media > img { transform: none !important; }
  .js .reveal-media { overflow: hidden; clip-path: none !important; }
  .hero__seal, .hero__logo, .hero__glow, .hero__axes, .page-head__img, .detail-hero__img, .hero--image .hero__img { animation: none !important; }
  .domain-card__link, .program-card__link, .post-card__link, .elite-card__link { transform: none !important; }
  .mobile-menu { clip-path: none; }
}
[data-split] .w { max-width: 100%; }
.site-footer__about, .site-footer__col { min-width: 0; }
@media (max-width: 720px) {
  .split__media::before { inset: .8rem -.7rem -.8rem .8rem; }
  .split--left .split__media::before { inset: .8rem .8rem -.8rem -.7rem; }
}

/* Légende nom / fonction posée sur une image (bloc Texte + image) */
figure.frame { margin: 0; }
.frame--captioned::before { content: ""; position: absolute; inset: 45% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(11, 26, 22, .55) 45%, rgba(11, 26, 22, .88)); }
.frame__caption { position: absolute; z-index: 2; left: clamp(1.2rem, 3vw, 2rem); right: clamp(1.2rem, 3vw, 2rem); bottom: clamp(1.2rem, 3vw, 1.9rem); display: flex; flex-direction: column; gap: .35rem; color: #fff; padding-left: 1rem; border-left: 2px solid var(--gold); }
.frame__caption-name { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.1; letter-spacing: .01em; }
.frame__caption-role { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.js .reveal-media .frame__caption { opacity: 0; transform: translateY(14px); transition: opacity .9s ease .6s, transform 1.1s var(--ease-expo) .6s; }
.js .reveal-media.is-in .frame__caption { opacity: 1; transform: none; }
