/* ==========================================================================
   C2E-NYETAA — Centre d'Études pour l'Équité et l'Excellence
   Design system institutionnel — bleu profond & or
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #030D1A;
  --navy-900: #04121F;
  --navy-800: #061C33;
  --navy-700: #0A2440;
  --navy-600: #103457;
  --blue: #1D70B6;
  --blue-soft: #4C93CB;

  --gold: #BFA046;
  --gold-deep: #9C7F32;
  --gold-soft: #D8C285;
  --gold-wash: #F3EEDC;

  --ivory: #F8F5EF;
  --paper: #FFFDF9;
  --line: #E4DDCE;
  --line-dark: rgba(255, 255, 255, 0.14);

  --ink: #111820;
  --ink-soft: #33404E;
  --muted: #6A7684;

  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-soft); color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--navy-900);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- 3. Structure ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, 0.78); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--rule-top { border-top: 1px solid var(--line); }

/* ---------- 4. Eyebrow / section head ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 26px;
}
.eyebrow::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 64px;
  background: var(--gold);
  opacity: 0.55;
}
.section--navy .eyebrow { color: var(--gold-soft); }
.eyebrow__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  margin-bottom: 18px;
  line-height: 1.06;
}
.section-head h2 em { font-style: italic; color: var(--blue); }
.section--navy .section-head h2 em { color: var(--gold-soft); }
.section-head .lead { color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.section--navy .section-head .lead { color: rgba(255, 255, 255, 0.7); }

.lead { font-size: 19px; line-height: 1.7; color: var(--ink-soft); }
.serif-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--navy-800);
}

/* ---------- 5. Boutons ---------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { transition: transform 0.35s var(--ease); font-size: 14px; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-950); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); }

.btn--navy { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }
.btn--navy:hover { --btn-bg: var(--navy-600); --btn-bd: var(--navy-600); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  --btn-bd: rgba(6, 28, 51, 0.28);
}
.btn--ghost:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.34);
}
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }

.btn--sm { padding: 11px 18px; font-size: 11px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-800);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 15px; color: var(--blue); }

/* ---------- 6. Header ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-block: 6px;
}
.topbar__devise {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  font-size: 13px;
}
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar__meta a:hover { color: var(--gold-soft); }
.topbar__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.2); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-800) 0%, var(--blue) 42%, var(--gold) 100%);
}
.site-header.is-scrolled { box-shadow: 0 12px 34px -22px rgba(4, 18, 31, 0.55); }

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding-block: 10px;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.brand:hover img { opacity: 0.88; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  display: block;
  padding: 12px 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--navy-900); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy-900); font-weight: 600; }
.nav a.is-active::after { transform: scaleX(1); background: var(--gold); height: 2px; }

.header__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy-800);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(29, 112, 182, 0.34), transparent 62%),
    radial-gradient(700px 480px at 6% 96%, rgba(191, 160, 70, 0.16), transparent 60%),
    linear-gradient(160deg, #04121F 0%, #061C33 58%, #04121F 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 104px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 26px;
}
.hero__eyebrow i {
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  font-weight: 300;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero h1 .u {
  position: relative;
  white-space: nowrap;
}
.hero h1 .u::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(191, 160, 70, 0));
}

.hero__lead {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero__tags span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* carte latérale */
.hero__card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(6px);
  padding: 34px 30px 26px;
}
.hero__card::before,
.hero__card::after {
  content: "";
  position: absolute;
  background: var(--gold);
}
.hero__card::before { top: -1px; left: -1px; width: 46px; height: 1px; }
.hero__card::after { top: -1px; left: -1px; width: 1px; height: 46px; }

.hero__card-title {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
  font-weight: 600;
}
.pillar-list { list-style: none; margin: 0; padding: 0; }
.pillar-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}
.pillar-list li:first-child { border-top: 0; padding-top: 0; }
.pillar-list li:last-child { padding-bottom: 0; }
.pillar-list b {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  font-weight: 400;
}
.pillar-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 3px;
}
.pillar-list small {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

.hero__mono {
  position: absolute;
  right: -10px;
  bottom: -30px;
  width: 200px;
  opacity: 0.07;
  pointer-events: none;
}

/* ---------- 8. Bandeau devise ---------- */
.devise-band {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.devise-band__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  flex-wrap: wrap;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.devise-band__in i {
  width: clamp(24px, 6vw, 80px);
  height: 1px;
  background: rgba(191, 160, 70, 0.45);
  display: block;
}

/* ---------- 9. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
}
.stat {
  padding: clamp(24px, 3vw, 38px) clamp(18px, 2.4vw, 30px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 300;
  line-height: 1;
  color: var(--navy-800);
  letter-spacing: -0.03em;
}
.stat b span { color: var(--gold); font-size: 0.62em; vertical-align: super; margin-left: 1px; }
.stat p {
  margin: 12px 0 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 500;
}

/* ---------- 10. Grilles & cartes ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); }
.split--wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 2.8vw, 36px);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}
.card:hover {
  border-color: #D3C9B4;
  transform: translateY(-3px);
  box-shadow: 0 26px 48px -34px rgba(4, 18, 31, 0.4);
}
.card:hover::after { width: calc(100% + 2px); }
.card--flat:hover { transform: none; box-shadow: none; }

.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 18px;
}
.card__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}
.card h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.24;
  margin-bottom: 12px;
}
.card p { font-size: 15px; line-height: 1.68; color: var(--ink-soft); }
.card__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* carte pleine hauteur sur fond navy */
.tile {
  padding: clamp(24px, 2.8vw, 34px);
  background: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.tile:hover { background: var(--navy-900); }
.tile:hover h3, .tile:hover .tile__num { color: #fff; }
.tile:hover p { color: rgba(255, 255, 255, 0.68); }
.tile__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 16px;
  transition: color 0.4s var(--ease);
}
.tile h3 { font-size: 19px; margin-bottom: 10px; transition: color 0.4s var(--ease); }
.tile p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); transition: color 0.4s var(--ease); }

/* ---------- 11. Listes éditoriales ---------- */
.editorial { list-style: none; margin: 0; padding: 0; }
.editorial li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.editorial li:last-child { border-bottom: 1px solid var(--line); }
.editorial__idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-deep);
  padding-top: 4px;
  letter-spacing: 0.1em;
}
.editorial h3,
.editorial strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.35;
}
.editorial p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0; }
.section--navy .editorial li { border-color: var(--line-dark); }
.section--navy .editorial h3, .section--navy .editorial strong { color: #fff; }
.section--navy .editorial p { color: rgba(255, 255, 255, 0.66); }

.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.section--navy .bullets li { color: rgba(255, 255, 255, 0.7); }

/* ---------- 12. Modules de formation ---------- */
.module {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 3.6vw, 44px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.module:last-of-type { border-bottom: 1px solid var(--line); }
.module__side { position: relative; }
.module__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.module__tag i { width: 22px; height: 1px; background: var(--gold); display: block; }
.module h3 {
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.module__meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: inline-block;
}
.module p { font-size: 16px; line-height: 1.72; color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- 13. Citation directrice ---------- */
.quote-block {
  position: relative;
  border-left: none;
  padding-left: 0;
}
.quote-block mark,
.quote-block .mark {
  display: block;
  font-family: var(--serif);
  font-size: 74px;
  line-height: 0.7;
  color: var(--gold);
  margin-bottom: 18px;
  background: none;
}
.quote-block blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.48;
  color: var(--navy-800);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.quote-block blockquote em { color: var(--blue); font-style: italic; }
.quote-block cite {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-block cite::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.quote-block cite strong { color: var(--navy-900); letter-spacing: 0.1em; font-weight: 600; }

/* Le bloc citation passe en fond sombre (section « mot de la Directrice ») */
.section--navy .quote-block blockquote { color: #fff; }
.section--navy .quote-block blockquote em { color: var(--gold-soft); }
.section--navy .quote-block cite { color: rgba(255, 255, 255, 0.6); }
.section--navy .quote-block cite strong { color: #fff; }

/* ---------- 13 bis. Figures éditoriales ---------- */
.portrait,
.editorial-figure { position: relative; margin: 0; }

.portrait__frame,
.editorial-figure__media {
  position: relative;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--paper);
}
.portrait__frame::before,
.editorial-figure__media::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 54px;
  height: 54px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}
.portrait__frame img,
.editorial-figure__media img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.96) contrast(1.02);
}

.portrait__caption,
.editorial-figure figcaption {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portrait__caption strong,
.editorial-figure figcaption strong {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.3;
}
.portrait__caption span,
.editorial-figure figcaption span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.55;
}

/* Variante pleine largeur, utilisée sur fond ivoire */
.editorial-figure--band .editorial-figure__media { padding: 0; border: 0; }
.editorial-figure--band .editorial-figure__media::before { top: 8px; left: 8px; }

/* ---------- 13 ter. Bande signature — le mot de la Directrice ---------- */
.split--signature {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}
.split--signature .portrait { max-width: 340px; }

/* Le portrait passe en fond sombre : cadre et filets adaptés */
.section--navy .portrait__frame {
  background: var(--navy-800);
  border-color: var(--line-dark);
}
.section--navy .portrait__caption { border-color: var(--line-dark); }
.section--navy .portrait__caption strong { color: #fff; }
.section--navy .portrait__caption span { color: rgba(255, 255, 255, 0.55); }

.signature-quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.9vw, 36px);
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: #fff;
  border-left: 2px solid var(--gold);
  padding-left: clamp(18px, 2.6vw, 32px);
}
.signature-quote em { color: var(--gold-soft); font-style: italic; }

/* ---------- 13 quater. Cartes « interlocuteurs » ---------- */
/* Grille sans fond ni gouttière de 1px : les cartes sont transparentes */
.grid-4--plain {
  gap: clamp(16px, 2.2vw, 28px);
  background: transparent;
  border: 0;
}
.card--flat {
  background: transparent;
  padding: clamp(18px, 2.2vw, 26px) 0 0;
  border-color: var(--line);
  border-width: 1px 0 0;
}
.card--flat:hover { border-color: var(--gold); transform: none; box-shadow: none; }
.card--flat h3 { font-size: clamp(18px, 1.7vw, 21px); }
.card__meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px !important;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted) !important;
  line-height: 1.6 !important;
}

/* ---------- 14. Bandeau CTA ---------- */
.cta-band {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  padding: clamp(48px, 6vw, 84px) 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 88% 10%, rgba(191, 160, 70, 0.2), transparent 65%),
    radial-gradient(520px 300px at 2% 90%, rgba(29, 112, 182, 0.28), transparent 62%);
  pointer-events: none;
}
.cta-band__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.cta-band p { color: rgba(255, 255, 255, 0.7); font-size: 16px; max-width: 520px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- 15. Page header ---------- */
.page-head {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-head__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 420px at 82% 0%, rgba(29, 112, 182, 0.32), transparent 62%),
    linear-gradient(155deg, #04121F 0%, #061C33 100%);
}
.page-head__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.page-head__in {
  padding-block: clamp(44px, 6vw, 82px) clamp(44px, 6vw, 76px);
  max-width: 900px;
}
.page-head h1 {
  color: #fff;
  font-size: clamp(32px, 4.8vw, 62px);
  line-height: 1.04;
  font-weight: 300;
  margin-bottom: 20px;
}
.page-head h1 em { font-style: italic; color: var(--gold-soft); }
.page-head p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  max-width: 660px;
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { color: rgba(255, 255, 255, 0.24); }
.breadcrumb b { color: var(--gold-soft); font-weight: 500; }

/* ---------- 16. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); }

.info-block { border-top: 1px solid var(--line); padding: 22px 0; }
.info-block:last-child { border-bottom: 1px solid var(--line); }
.info-block dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.info-block dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy-900);
}
.info-block dd small {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: 0;
}
.info-block a { border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.info-block a:hover { border-color: var(--gold); color: var(--blue); }

.form { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field label abbr { color: var(--gold-deep); text-decoration: none; margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 126px; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 112, 182, 0.1);
}
.field input::placeholder,
.field textarea::placeholder { color: #A9B2BC; }

.form__note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 16px;
}
.form__status {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  border-left: 2px solid var(--gold);
  background: var(--gold-wash);
  color: var(--navy-800);
  display: none;
}
.form__status.is-visible { display: block; }
.form__status.is-error { border-color: #B4472F; background: #FBEEE9; color: #7C2D1B; }

/* ---------- 17. Réalisations / publications ---------- */
.pub {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(24px, 3vw, 34px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pub:last-child { border-bottom: 1px solid var(--line); }
.pub__date {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.7;
}
.pub__date span { display: block; color: var(--muted); font-weight: 400; letter-spacing: 0.1em; margin-top: 4px; }
.pub h3 { font-size: clamp(19px, 2.1vw, 24px); margin-bottom: 10px; line-height: 1.28; }
.pub p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; }
.pub ul { margin: 10px 0 0; }

/* ---------- 18. Note / encadré ---------- */
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  padding: 22px 24px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink-soft);
}
.note strong { color: var(--navy-900); }
.note--navy {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  border-left-color: var(--gold);
  color: rgba(255, 255, 255, 0.7);
}
.note--navy strong { color: #fff; }

/* ---------- 19. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.58);
  padding-block: clamp(48px, 6vw, 76px) 0;
  font-size: 14px;
  border-top: 1px solid rgba(191, 160, 70, 0.28);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.85fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 56px);
}
.footer__brand img { height: 66px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.94; }
.footer__brand p { font-size: 13.5px; line-height: 1.72; max-width: 330px; color: rgba(255, 255, 255, 0.52); }
.footer__devise {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255, 255, 255, 0.58); transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--gold-soft); }
.footer address { font-style: normal; line-height: 1.75; font-size: 13.5px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}
.footer__bottom a:hover { color: var(--gold-soft); }
.footer__legal { display: flex; gap: 18px; align-items: center; }

/* ---------- 20. Table de validation ---------- */
.doc-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); }
.doc-table caption {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 12px;
}
.doc-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  vertical-align: bottom;
}
.doc-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
  color: var(--ink-soft);
}
.doc-table td:first-child { color: var(--navy-900); font-weight: 500; }
.doc-table code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--navy-700);
  word-break: break-word;
}
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.tag--ok { background: #E4F0E8; color: #24603C; }
.tag--wait { background: #F7EDD6; color: #856013; }
.tag--no { background: #FBE9E4; color: #96351E; }
.tag--info { background: #E6EFF7; color: #14527F; }

/* ---------- 21. Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.nav__mobile-cta { display: none !important; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1140px) {
  .header__cta .btn--sm { display: none; }
  .nav a { padding: 12px 8px; letter-spacing: 0.06em; font-size: 11px; }
  .brand img { height: 48px !important; }
}

@media (max-width: 940px) {
  .topbar__meta { display: none; }
  .topbar__in { justify-content: center; }

  .hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero__card { max-width: 560px; }
  .hero h1 { font-size: clamp(34px, 8.4vw, 52px); }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__in { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .module { grid-template-columns: 1fr; gap: 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .pub { grid-template-columns: 1fr; gap: 10px; }

  /* navigation mobile */
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-950);
    padding: 92px 24px 32px;
    transform: translateX(101%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    z-index: 70;
    box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.nav-open .nav {
    transform: none;
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s;
  }
  .nav a {
    color: rgba(255, 255, 255, 0.8);
    padding: 16px 0;
    font-size: 13px;
    letter-spacing: 0.14em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--gold-soft); }
  .nav__mobile-cta { display: flex !important; margin-top: 26px; }
  body.nav-open .site-header { position: fixed; width: 100%; background: transparent; border-color: transparent; backdrop-filter: none; }
  body.nav-open .site-header::before { opacity: 0; }
  body.nav-open .brand img { filter: brightness(0) invert(1); }
  body.nav-open .burger { position: relative; z-index: 80; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
  body.nav-open .burger span { background: #fff; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 13, 26, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 65;
  }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand img { height: 42px !important; }
  .header__in { min-height: 68px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .form__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .editorial li { grid-template-columns: 32px 1fr; gap: 14px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .doc-table { font-size: 13px; }
  .doc-table th, .doc-table td { padding: 10px 8px; }
  .cta-band__actions .btn { width: 100%; }
  .page-head__in { padding-block: 36px 40px; }
}

/* ---------- 23. Impression ---------- */
@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-backdrop, .burger { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-head { padding: 18pt 0; }
  .page-head { background: none !important; color: #000; }
  .page-head h1 { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
