/* ================================================================
   CARIA — Design System 2026
   Palette : Navy #1b2d6b · Teal #00b5ad · Blanc pur
   Polices  : Cormorant Garamond (titres) · Manrope (corps)
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --navy:          #1b2d6b;
  --navy-dark:     #0f1d47;
  --navy-mid:      #243580;
  --navy-soft:     #e8ecf8;
  --teal:          #00b5ad;
  --teal-dark:     #008c86;
  --teal-light:    #e0f7f6;
  --white:         #ffffff;
  --bg:            #f5f8fc;
  --text:          #1a2332;
  --muted:         #5a6a7e;
  --line:          #dde4f0;
  --shadow-sm:     0 2px 8px rgba(27,45,107,.08);
  --shadow-md:     0 8px 28px rgba(27,45,107,.12);
  --shadow-lg:     0 20px 56px rgba(27,45,107,.18);
  --r-xs:          4px;
  --r-sm:          8px;
  --r-md:          12px;
  --r-lg:          16px;
  --r-xl:          20px;
  --container:     min(1680px, calc(100vw - clamp(36px, 4vw, 88px)));
  --content-shell: min(100%, 1080px);
  --copy-measure:  62ch;
  --fn-display:    "Cormorant Garamond", Georgia, serif;
  --fn-body:       "Manrope", "Segoe UI", system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html   { scroll-behavior: smooth; }
body   { margin: 0; min-width: 320px; background: var(--white); color: var(--text); font-family: var(--fn-body); line-height: 1.68; -webkit-font-smoothing: antialiased; }
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
main   { display: block; }
p      { margin: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; }

.site-shell { position: relative; overflow: clip; }
.container  { width: var(--container); max-width: 100%; margin: 0 auto; }

/* ── Topbar masqué globalement ───────────────────────────────────── */
.topbar { display: none !important; }

/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

/* Transparent state — sur hero uniquement */
.site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-transparent .site-nav a {
  color: rgba(255,255,255,.88);
}

.site-header.is-transparent .site-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.site-header.is-transparent .site-nav a[aria-current="page"] {
  color: #fff;
}

.site-header.is-transparent .site-nav a[aria-current="page"]::after {
  background: var(--teal);
}

.site-header.is-transparent .brand-title { color: #fff; }
.site-header.is-transparent .brand-eyebrow { color: var(--teal); }

/* Logo : couleur vs blanc */
.logo-color { display: block; }
.logo-white { display: none; }

.site-header.is-transparent .logo-color { display: none; }
.site-header.is-transparent .logo-white { display: block; }

/* Burger transparent */
.site-header.is-transparent .menu-toggle {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.site-header.is-transparent .menu-toggle::before,
.site-header.is-transparent .menu-toggle span,
.site-header.is-transparent .menu-toggle::after {
  background: #fff;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { width: 140px; height: auto; }

.brand-copy { display: flex; flex-direction: column; gap: 2px; }

.brand-eyebrow {
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-title {
  color: var(--navy);
  font-family: var(--fn-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transition: color .3s;
}

.nav-wrap   { display: flex; align-items: center; gap: 6px; }
.site-nav   { display: flex; align-items: center; gap: 2px; }

.site-nav a {
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}

.site-nav a:hover                 { color: var(--navy); background: var(--navy-soft); }
.site-nav a[aria-current="page"]  { color: var(--navy); font-weight: 800; }

.site-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--teal);
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ── Dropdown nav ────────────────────────────────────────────────── */
.nav-item { position: relative; }

.nav-item > .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
  cursor: default;
}

.nav-item > .nav-label::after {
  content: "";
  border: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  transition: transform .2s;
}

.nav-item > .nav-label:hover { color: var(--navy); background: var(--navy-soft); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index: 110;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover > .nav-label::after,
.nav-item.is-open > .nav-label::after {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: block;
  padding: 8px 20px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color .15s, background .15s;
}

.nav-dropdown a:hover { color: var(--navy); background: var(--navy-soft); }
.nav-dropdown a[aria-current="page"] { color: var(--navy); font-weight: 700; }

/* Transparent header — dropdown label */
.site-header.is-transparent .nav-label { color: rgba(255,255,255,.88); }
.site-header.is-transparent .nav-label:hover { color: #fff; background: rgba(255,255,255,.12); }

/* Transparent header — dropdown panel stays opaque */
.site-header.is-transparent .nav-dropdown { background: var(--white); }
.site-header.is-transparent .nav-dropdown a { color: var(--text); }
.site-header.is-transparent .nav-dropdown a:hover { color: var(--navy); background: var(--navy-soft); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.button, .button-secondary, .button-text, .button-ghost, .button-outline, .button-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--r-sm);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.button {
  padding: 13px 26px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,181,173,.3);
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,181,173,.35);
}

.button-white {
  padding: 12px 24px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.button-white:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
}

.button-secondary {
  padding: 12px 24px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27,45,107,.25);
}

.button-secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.button-outline {
  padding: 12px 24px;
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
}

.button-outline:hover {
  background: var(--teal);
  color: #fff;
}

.button-ghost {
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

.button-text {
  padding: 0;
  color: var(--teal);
  font-size: .88rem;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0,181,173,.4);
}

.button-text:hover {
  color: var(--teal-dark);
  text-decoration-color: var(--teal);
}

/* ── Eyebrow ─────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--teal);
  flex-shrink: 0;
  border-radius: 2px;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  /* Hero commence sous le header fixe transparent */
  padding-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  /* Image bien visible — overlay CSS gère le contraste */
  opacity: 1;
  filter: brightness(.7) saturate(.85);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Dégradé latéral léger : gauche plus sombre pour lisibilité du texte */
  background:
    linear-gradient(100deg,
      rgba(11,22,50,.82) 0%,
      rgba(11,22,50,.60) 48%,
      rgba(11,22,50,.28) 100%);
}

.hero-body {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  /* padding-top compense le header fixe (~72px) + espace visuel */
  padding: 160px 0 100px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-family: var(--fn-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 700;
  color: #fff;
  line-height: .93;
  letter-spacing: -.025em;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-lead {
  margin-top: 24px;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Hero side panel */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-panel-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  transition: background .25s, border-color .25s;
}

.hero-panel-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,181,173,.4);
}

.hero-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: rgba(0,181,173,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-panel-card strong { display: block; color: #fff; font-size: .97rem; }
.hero-panel-card span  { color: rgba(255,255,255,.62); font-size: .84rem; line-height: 1.5; }

/* ── Stats Strip ─────────────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 0;
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 40px 30px;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-item::after {
  content: "";
  position: absolute;
  bottom: 0; left: 30px; right: 30px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}

.stat-item:hover::after { transform: scaleX(1); }

.stat-number {
  display: block;
  font-family: var(--fn-display);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Sections ────────────────────────────────────────────────────── */
.section        { padding: 100px 0; }
.section-alt    { padding: 100px 0; background: var(--bg); }
.section-tight  { padding: 64px 0; }
.section-tight-alt { padding: 64px 0; background: var(--bg); }

.section-header { margin-bottom: 52px; }

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}

.section-header h2,
.section-header-split h2 {
  font-family: var(--fn-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: .96;
  letter-spacing: -.025em;
}

.section-header-split p {
  max-width: 44ch;
  color: var(--muted);
  font-size: .96rem;
}

/* ── Split Layout ────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-img {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.split-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.split:hover .split-img img { transform: scale(1.03); }

.split-body {
  padding: 56px 52px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-body h2 {
  font-family: var(--fn-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: .97;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  max-width: 14ch;
}

.split-body p {
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.72;
  max-width: var(--copy-measure);
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── Card Grid ───────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Content Cards ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: box-shadow .25s, transform .25s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card-img {
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body { padding: 24px 26px 28px; }

.meta {
  color: var(--teal-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--fn-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.news-card-body .card-title { margin-bottom: 10px; }

.news-card-body p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer { margin-top: 18px; }

#articles-grid.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 28px;
}

#articles-grid .news-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

#articles-grid .news-card-body {
  display: flex;
  flex-direction: column;
  min-height: 262px;
  padding: 28px 30px 30px;
}

#articles-grid .card-title {
  font-size: clamp(1.78rem, 2.2vw, 2.18rem);
  line-height: .98;
  max-width: 20ch;
}

#articles-grid .news-card-body p {
  font-size: .95rem;
  -webkit-line-clamp: 4;
}

#articles-grid .news-card-footer {
  margin-top: auto;
  padding-top: 18px;
}

/* ── Program Cards (Formation) ───────────────────────────────────── */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 420px;
  transition: transform .4s ease;
}

.program-card:hover { transform: translateY(-6px); }

.program-card > img,
.program-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.program-card > img,
.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.program-card:hover > img,
.program-card:hover .program-card-media img { transform: scale(1.06); }

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,29,71,.94) 0%, rgba(27,45,107,.65) 50%, rgba(27,45,107,.2) 100%);
  z-index: 1;
}

.program-card-logo {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  max-width: calc(100% - 44px);
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(244,248,252,.95);
  box-shadow: 0 18px 30px rgba(7,22,60,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.program-card-logo img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.program-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 32px 28px;
}

.program-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--teal);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--r-xs);
  margin-bottom: 12px;
}

.program-body h3 {
  font-family: var(--fn-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.program-body p {
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ── Research Axes Grid ──────────────────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.research-axis {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid rgba(20, 44, 107, .08);
  border-radius: var(--r-lg);
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.research-axis:hover {
  border-color: rgba(0,181,173,.24);
  box-shadow: 0 22px 34px rgba(15,29,71,.12);
  transform: translateY(-6px);
}

.research-axis::after {
  content: "";
  position: absolute;
  inset: auto -32px -52px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,181,173,.14), rgba(0,181,173,0));
  pointer-events: none;
}

.research-grid-intro {
  max-width: 58ch;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.research-axis-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.research-axis-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15,29,71,.06);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.research-axis-icon {
  width: 50px; height: 50px;
  border-radius: var(--r-sm);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.research-axis-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.research-axis h3 {
  font-family: var(--fn-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.03;
  margin-bottom: 12px;
}

.research-axis p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.68;
}

.research-axis .button-text {
  margin-top: auto !important;
  padding-top: 16px;
}

/* ── Research Detail Alternating ─────────────────────────────────── */
.research-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.research-section:last-child { border-bottom: none; }

.research-section.reverse { direction: rtl; }
.research-section.reverse > * { direction: ltr; }

.research-section-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.research-section-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.research-section-body h3 {
  font-family: var(--fn-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
  max-width: 16ch;
}

.research-section-body p {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.72;
  max-width: var(--copy-measure);
}

/* ── Tech Village ────────────────────────────────────────────────── */
.tv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tv-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-top-color .25s;
}

.tv-card:hover {
  border-top-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tv-card-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-xs);
  margin-bottom: 14px;
}

.tv-card h3 {
  font-family: var(--fn-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.02;
  margin-bottom: 12px;
}

.tv-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.tv-card-img {
  margin: -32px -28px 24px;
  overflow: hidden;
  border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0;
}

.tv-card-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.tv-card:hover .tv-card-img img {
  transform: scale(1.04);
}

.tv-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px 10px;
  background: rgba(0,181,173,.1);
  color: var(--teal-dark);
  font-size: .72rem;
  font-weight: 700;
  border-radius: 99px;
}

.tv-objectives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tv-obj {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--navy);
  border-radius: var(--r-lg);
  color: #fff;
}

.tv-obj-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(0,181,173,.2);
  display: flex; align-items: center; justify-content: center;
}

.tv-obj-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--teal);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.tv-obj strong { font-size: 1rem; font-weight: 700; }
.tv-obj p      { color: rgba(255,255,255,.65); font-size: .85rem; line-height: 1.5; }

/* ── Values Cards ────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  padding: 32px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
}

.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.value-number {
  font-family: var(--fn-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-soft);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -.03em;
}

.value-tag {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.value-card h3 {
  font-family: var(--fn-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.02;
  margin-bottom: 12px;
}

.value-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* Team Section */
.team-section {
  background:
    radial-gradient(circle at top left, rgba(0,181,173,.08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f7fbfc 100%);
}

.team-section .container {
  display: grid;
  gap: 34px;
}

.team-section-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.team-section-header h2 {
  max-width: 14ch;
  margin: 0 auto;
}

.team-section-header p {
  max-width: 62ch;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.72;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 26px;
}

.team-card {
  padding: 8px 18px 0;
  text-align: center;
  transition: transform .25s ease;
}

.team-card:hover { transform: translateY(-4px); }

.team-portrait {
  width: min(100%, 208px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,181,173,.95), rgba(0,181,173,.48));
  box-shadow: 0 20px 36px rgba(15,29,71,.1);
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #fff;
}

.team-card h3 {
  font-family: var(--fn-sans);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  text-wrap: balance;
}

.team-role {
  max-width: 30ch;
  margin: 12px auto 0;
  color: var(--teal);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.team-metrics {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 36px;
  border-radius: var(--r-xl);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.team-metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,22,60,.78), rgba(15,29,71,.54));
  z-index: 1;
}

.team-metrics-bg {
  position: absolute;
  inset: 0;
}

.team-metrics-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
}

.team-metrics-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-metric-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px 14px;
  text-align: center;
}

.team-metric-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--metric-accent, var(--teal));
  background: rgba(9,15,37,.52);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.team-metric-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-metric-number {
  font-family: var(--fn-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
  color: #fff;
}

.team-metric-label {
  color: rgba(255,255,255,.86);
  font-size: .95rem;
  line-height: 1.3;
}

/* ── CTA Banner ──────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 90px 0;
  background: var(--navy);
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  opacity: .15;
}

.cta-banner-bg img { width: 100%; height: 100%; object-fit: cover; }

.cta-banner-body { position: relative; z-index: 1; max-width: 680px; }

.cta-banner h2 {
  font-family: var(--fn-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: .95;
  letter-spacing: -.025em;
  margin-bottom: 18px;
}

.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 1rem; max-width: 50ch; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Partners Carousel ───────────────────────────────────────────── */
.partners-section {
  padding: 72px 0;
  background: var(--bg);
  overflow: hidden;
}

.partners-header {
  text-align: center;
  margin-bottom: 44px;
}

.partners-header h2 {
  font-family: var(--fn-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 16px;
  margin: -12px 0 -16px;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: carousel-scroll 40s linear infinite;
}

.carousel-track:hover { animation-play-state: paused; }

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 90px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  flex-shrink: 0;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}

.partner-logo:hover {
  transform: translateY(-6px) scale(1.08);
  border-color: var(--teal);
  box-shadow: 0 20px 34px rgba(15,29,71,.18);
}

.partner-logo img {
  max-height: 50px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.6);
  transition: transform .25s ease, filter .3s;
}

.partner-logo:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

/* ── Compensation header fixe sur pages sans hero plein-écran ──── */
/* Les pages avec .page-hero compensent via padding interne */
.page-hero { margin-top: 0; }

/* Pages dont le main commence par autre chose que hero/page-hero */
main > .section:first-child,
main > .section-alt:first-child,
main > .section-tight:first-child {
  padding-top: calc(100px + 72px);
}

/* ── Page Hero (sub-pages) ───────────────────────────────────────── */
.page-hero {
  padding: calc(88px + 72px) 0 64px; /* 72px = hauteur header fixe */
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,181,173,.2), transparent 48%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: .18; }

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--fn-display);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: .95;
  letter-spacing: -.025em;
  max-width: 16ch;
  margin-top: 8px;
}

.page-hero.page-hero-article h1 {
  max-width: min(24ch, 100%);
}

.page-hero.page-hero-article p {
  max-width: 68ch;
}

.page-hero p {
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  max-width: 58ch;
  font-size: 1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.42);
  font-size: .82rem;
}

.breadcrumbs a { color: rgba(255,255,255,.62); }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs strong { color: rgba(255,255,255,.85); }

/* ── Rich Content ────────────────────────────────────────────────── */
.rich-content {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.rich-content h2, .rich-content h3 {
  font-family: var(--fn-display);
  color: var(--navy);
  letter-spacing: -.02em;
}

.rich-content h2 { font-size: 2.2rem; margin: 32px 0 12px; }
.rich-content h3 { font-size: 1.7rem; margin: 26px 0 10px; }

.rich-content p { color: var(--muted); margin-top: 12px; line-height: 1.75; }
.rich-content p:first-child { margin-top: 0; }

.rich-content ul, .rich-content ol {
  padding-left: 1.4rem;
  color: var(--muted);
}

.rich-content li { margin-top: 8px; line-height: 1.65; }

.rich-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--teal-light);
  color: var(--text);
}

.rich-content img {
  margin: 24px auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.rich-content figure { margin: 28px 0; }

.rich-content .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  margin: 28px 0;
}

.rich-content .video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.rich-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.rich-content th, .rich-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.rich-content th { background: var(--bg); color: var(--navy); font-weight: 700; }

/* Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 48px 0;
  width: var(--content-shell);
  margin: 0 auto;
}

.content-layout.with-aside {
  grid-template-columns: 1fr 280px;
  width: 100%;
}

.aside-stack { display: flex; flex-direction: column; gap: 18px; }

.aside-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.aside-card h3 {
  font-family: var(--fn-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.aside-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aside-card li a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.aside-card li a:hover { color: var(--teal); }

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  padding: 48px 0;
}

.contact-info {
  padding: 36px;
  background: var(--navy);
  border-radius: var(--r-xl);
  color: #fff;
}

.contact-info h2 {
  font-family: var(--fn-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact-item:last-child { border-bottom: none; }

.contact-item strong {
  display: block;
  color: var(--teal);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.contact-item span, .contact-item a { color: rgba(255,255,255,.8); font-size: .92rem; }
.contact-item a:hover { color: var(--teal); }

.form-card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-family: var(--fn-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-card > p { color: var(--muted); margin-bottom: 28px; }

.contact-form { display: grid; gap: 16px; }

.form-group label {
  display: block;
  color: var(--text);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  font-size: .94rem;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--teal); background: #fff; }

.contact-form textarea { min-height: 150px; resize: vertical; }

/* ── Governance ──────────────────────────────────────────────────── */
.person-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.person-card-img img { width: 240px; height: 100%; object-fit: cover; }

.person-card-body {
  padding: 44px 44px;
  background: #fff;
}

.person-card-body .eyebrow { margin-bottom: 8px; }

.person-card-body h2 {
  font-family: var(--fn-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.person-card-body .sub { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }

.person-card-body p { color: var(--muted); margin-top: 14px; line-height: 1.75; }

/* ── Metric / Stat Card ──────────────────────────────────────────── */
.metric-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.metric-card strong {
  display: block;
  font-family: var(--fn-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.metric-card span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Info/List card ──────────────────────────────────────────────── */
.info-panel, .list-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* ── Search / filter bar (actualites) ─────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.filter-search {
  position: relative;
  flex: 1 1 280px;
  max-width: 420px;
}

.filter-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-family: var(--fn-body);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}

.filter-search input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,181,173,.12);
}

.filter-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
}

.filter-tag:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-tag.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.filter-tag .filter-count {
  font-size: 0.72rem;
  background: rgba(0,0,0,.08);
  padding: 1px 7px;
  border-radius: 100px;
  font-weight: 700;
}

.filter-tag.is-active .filter-count {
  background: rgba(255,255,255,.2);
}

.filter-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  color: var(--muted);
}

.filter-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: .35;
}

.filter-empty p {
  font-size: 0.95rem;
  margin-top: 8px;
}

.content-card.is-hidden { display: none; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-brand img { width: 130px; height: auto; }

.footer-brand p { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.68; max-width: 40ch; }

.footer-socials { display: flex; gap: 8px; margin-top: 4px; }

.footer-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: border-color .2s, color .2s;
}

.footer-social:hover { border-color: var(--teal); color: var(--teal); }

.footer-social svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.footer-title {
  font-family: var(--fn-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer li a { color: rgba(255,255,255,.52); font-size: .9rem; transition: color .2s; }
.footer li a:hover { color: var(--teal); }

.footer li:not(:has(a)) { color: rgba(255,255,255,.52); font-size: .9rem; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.3);
  font-size: .82rem;
}

/* ── Utility ─────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Reveal Animation ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.22,.68,0,1.1), transform .55s cubic-bezier(.22,.68,0,1.1);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-body     { grid-template-columns: 1fr; }
  .hero-panel    { display: none; }
  .split         { grid-template-columns: 1fr; }
  .split-img     { min-height: 340px; }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .team-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid  { grid-template-columns: 1fr; }
  .tv-grid       { grid-template-columns: repeat(2, 1fr); }
  .tv-objectives { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .content-layout.with-aside { grid-template-columns: 1fr; }
  .person-card   { grid-template-columns: 1fr; }
  .research-section { grid-template-columns: 1fr; gap: 32px; }
  .research-section.reverse { direction: ltr; }
  .stat-grid     { grid-template-columns: repeat(2, 1fr); }
  #articles-grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header .container { padding: 12px 0; }
  .menu-toggle { display: flex; }

  .nav-wrap {
    position: fixed;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    z-index: 99;
  }

  body.nav-open .nav-wrap { display: flex; }

  .site-nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 11px 14px; }

  /* Mobile dropdowns */
  .nav-item { position: static; }
  .nav-item > .nav-label { padding: 11px 14px; width: 100%; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }
  .nav-item.is-open > .nav-dropdown { display: block; }
  .nav-item:hover > .nav-dropdown { opacity: 0; visibility: hidden; }
  .nav-item.is-open > .nav-dropdown { opacity: 1; visibility: visible; }
  .nav-dropdown a { padding: 8px 14px; }

  .section, .section-alt { padding: 72px 0; }
  .section-tight, .section-tight-alt { padding: 48px 0; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  #articles-grid.grid-3 { grid-template-columns: 1fr; }
  #articles-grid .news-card-body { min-height: 0; }
  .team-metrics { padding: 28px 22px; }
}

@media (max-width: 640px) {
  :root { --container: calc(100vw - 28px); }

  .grid-2, .grid-3, .grid-4,
  .stat-grid, .values-grid, .research-grid,
  .team-grid, .team-metrics-grid { grid-template-columns: 1fr; }

  .stats-strip .container { grid-template-columns: 1fr 1fr; }

  .stat-item { padding: 28px 20px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); }

  .section-header-split { flex-direction: column; align-items: flex-start; }

  .split-body { padding: 36px 24px; }
  .team-card { padding-inline: 0; }
  .team-portrait { width: min(100%, 188px); }

  .rich-content, .form-card, .contact-info, .aside-card { padding: 24px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .tv-objectives { grid-template-columns: 1fr; }

  .brand-copy { display: none; }

  .program-card { min-height: 320px; }
  .program-card-logo {
    top: 18px;
    right: 18px;
    height: 52px;
    max-width: calc(100% - 36px);
  }

  .hero-body { padding: 80px 0 72px; }
}

/* ── Carrousel À la une ─────────────────────────────────────────── */
.une-carousel {
  position: relative;
  border-radius: var(--r-lg);
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--navy-dark);
  min-height: 420px;
}

.une-slide {
  display: none;
  position: relative;
  width: 100%;
  min-height: 420px;
  align-items: flex-end;
}

.une-slide.active {
  display: flex;
  animation: uneFade .35s ease;
}

@keyframes uneFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.une-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.une-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,19,46,.9) 0%, rgba(11,19,46,.4) 50%, transparent 100%);
}

.une-body {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  color: var(--white);
  max-width: 680px;
}

.une-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.une-title {
  font-family: var(--fn-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.une-resume {
  font-size: .95rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 24px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.une-btn-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.une-btn-nav:hover { background: rgba(255,255,255,.35); }
.une-prev { left: 16px; }
.une-next { right: 16px; }

.une-dots {
  position: absolute;
  bottom: 16px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.une-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
}
.une-dot.active { background: var(--white); }

.une-carousel[data-single] .une-btn-nav,
.une-carousel[data-single] .une-dots { display: none; }

@media (max-width: 768px) {
  .une-slide { min-height: 300px; }
  .une-body { padding: 24px 20px; }
}
@media (max-width: 640px) {
  .une-slide { min-height: 240px; }
}

/* ── Editorial Redesign Pages ───────────────────────────────────────────── */
.page-hero-editorial {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 76px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0,181,173,.25), transparent 28%),
    linear-gradient(135deg, #091537 0%, #152563 56%, #0b163a 100%);
}

.page-hero-editorial .page-hero-bg img {
  opacity: .24;
  filter: saturate(.95) contrast(1.06);
}

.page-hero-editorial h1 {
  max-width: 22ch;
  font-size: clamp(3rem, 6vw, 6rem);
}

.page-hero-editorial p {
  max-width: 74ch;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
}

.hero-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0,181,173,.18);
}

.editorial-section {
  position: relative;
  background:
    linear-gradient(180deg, #f5f8fc 0%, #fff 46%),
    radial-gradient(circle at 8% 20%, rgba(0,181,173,.08), transparent 34%);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.editorial-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.side-nav-card,
.side-cta-card {
  padding: 22px;
  border: 1px solid rgba(27,45,107,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 48px rgba(27,45,107,.09);
  backdrop-filter: blur(14px);
}

.side-nav-card h2 {
  margin-bottom: 14px;
  font-family: var(--fn-display);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--navy);
}

.side-cta-card h2 {
  margin-bottom: 14px;
  font-family: var(--fn-display);
  font-size: 1.55rem;
  line-height: 1;
  color: #fff;
}

.side-nav-card a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.side-nav-card a:hover { color: var(--teal-dark); }

.side-nav-card a::after {
  content: "→";
  color: var(--teal);
}

.side-cta-card {
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-dark), var(--navy));
  color: #fff;
}

.side-cta-card p {
  margin-bottom: 18px;
  color: rgba(255,255,255,.75);
  font-size: .92rem;
}

.editorial-main {
  display: grid;
  gap: 26px;
}

.story-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(27,45,107,.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(27,45,107,.1);
}

.story-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
}

.story-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.story-panel h2 {
  margin-bottom: 16px;
  font-family: var(--fn-display);
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: .98;
  color: var(--navy);
  letter-spacing: -.025em;
}

.story-panel h3 {
  margin: 24px 0 10px;
  font-family: var(--fn-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  color: var(--navy);
}

.story-panel p {
  max-width: 78ch;
  color: var(--muted);
  line-height: 1.78;
}

.story-panel p + p { margin-top: 12px; }

.spotlight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.spotlight-panel img {
  width: 100%;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.insight-grid,
.collab-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-card,
.collab-card,
.legal-card,
.process-card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(27,45,107,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 44px rgba(27,45,107,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.insight-card:hover,
.collab-card:hover,
.legal-card:hover,
.process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,181,173,.4);
  box-shadow: 0 24px 62px rgba(27,45,107,.14);
}

.insight-card .card-index,
.process-card .card-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.insight-card h3,
.collab-card h3,
.legal-card h3,
.process-card h3 {
  margin-bottom: 10px;
  font-family: var(--fn-display);
  font-size: 1.72rem;
  line-height: 1.05;
  color: var(--navy);
}

.insight-card p,
.collab-card p,
.legal-card p,
.process-card p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.7;
}

.timeline-modern {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}

.timeline-item strong {
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.timeline-item p { margin: 0; }

.process-grid {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  counter-increment: step;
  padding-top: 54px;
}

.process-card::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 22px;
  color: rgba(27,45,107,.14);
  font-family: var(--fn-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.legal-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
}

.legal-card .legal-meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal-dark);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.registration-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(27,45,107,.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 26px 76px rgba(27,45,107,.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label,
.choice-group legend {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 900;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,181,173,.14);
}

.choice-group {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.choice-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
  color: var(--text);
  font-weight: 800;
}

.choice-card input {
  margin-top: 4px;
  accent-color: var(--teal);
}

.form-notice {
  padding: 18px;
  border-radius: 20px;
  background: var(--teal-light);
  color: var(--navy);
  font-size: .92rem;
}

.form-actions-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.registration-aside {
  display: grid;
  gap: 16px;
}

.mini-link-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #f4f8ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.mini-link-card h3 {
  margin-bottom: 6px;
  font-family: var(--fn-display);
  font-size: 1.75rem;
  color: var(--navy);
}

.mini-link-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .editorial-layout,
  .spotlight-panel,
  .registration-shell {
    grid-template-columns: 1fr;
  }

  .editorial-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .insight-grid,
  .collab-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-hero-editorial {
    min-height: 460px;
    padding: 132px 0 52px;
  }

  .editorial-aside,
  .process-grid,
  .insight-grid,
  .collab-grid,
  .legal-grid,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .story-panel,
  .registration-form {
    border-radius: 22px;
  }
}
