/* =====================================================
   ACI FRANCE, AFTB · V3
   Fond clair dominant · Hanken Grotesk (display + texte)
   navy #2C2B57 · moutarde #FDC100 · rouge #EA4C5A · beige #F7F4EC
   Règle contraste : sur navy, texte BLANC PUR ou MOUTARDE, jamais gris
   Typo : grotesque unique (plus de serif), emphase par graisse, pas d'italique
   ===================================================== */

:root {
  --navy: #2C2B57;
  --navy-deep: #232250;
  --gold: #FDC100;
  --gold-deep: #E5AE00;
  --gold-wash: #FFF6D9;
  --red: #EA4C5A;
  --beige: #F7F4EC;
  --beige-2: #EFEADC;
  --paper: #FFFFFF;
  --ink: #23224A;
  --ink-2: #5B5A78;
  --rule: #E2DCCA;
  --white: #FFFFFF;

  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --header-h: 92px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold); color: var(--navy); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 44px; }

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.45em;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 740;
}
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h2 em, h1 em {
  font-style: normal;
  font-weight: 800;
  color: inherit;
}
h3 { font-size: 21px; font-weight: 680; line-height: 1.25; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--gold);
}
.eyebrow--gold { color: var(--gold); }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), box-shadow 0.3s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 15.5px; }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { box-shadow: 0 14px 32px rgba(44,43,87,0.3); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { box-shadow: 0 14px 32px rgba(253,193,0,0.4); }

.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }

.btn-line-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-line-light:hover { background: var(--white); color: var(--navy); }

/* =====================================================
   HEADER, clair, logo réel
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247,244,236,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, box-shadow 0.35s, height 0.35s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 8px 30px rgba(44,43,87,0.06);
  height: 76px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand img { height: 56px; width: auto; transition: height 0.35s; }
.site-header.is-scrolled .brand img { height: 46px; }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex; gap: 30px;
  list-style: none; margin: 0; padding: 0;
  justify-content: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 8px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(.2,.8,.3,1);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; gap: 20px; align-items: center; }
.header-member {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.header-member:hover { opacity: 1; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.nav-toggle span { display: block; height: 2px; width: 26px; background: var(--navy); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--beige);
  z-index: 99;
  padding: 40px 44px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}

/* Nav ancres latérale */
.anchor-nav {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
}
.anchor-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.anchor-badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px 0 13px;
  border-radius: 100px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(44,43,87,0.06);
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.anchor-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 9px;
  transition: background 0.25s;
}
.anchor-badge:hover, .anchor-badge.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateX(5px);
}
.anchor-badge.is-active::before { background: var(--red); }

/* =====================================================
   HERO, clair, globe doré
   ===================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-globe {
  position: absolute;
  width: min(46vw, 640px);
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  will-change: transform;
}
.hero-dot { position: absolute; border-radius: 50%; }
.hero-dot--red { width: 15px; height: 15px; background: var(--red); right: 24%; top: 22%; }
.hero-dot--navy { width: 10px; height: 10px; background: var(--navy); right: 9%; bottom: 20%; }
.hero-arc {
  position: absolute;
  width: 210px; height: 210px;
  border: 2px solid var(--red);
  border-radius: 50%;
  clip-path: inset(0 0 50% 50%);
  left: -84px; bottom: 60px;
  opacity: 0.5;
  transform: rotate(24deg);
}

.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow .tick { width: 34px; height: 2px; background: var(--red); display: inline-block; }

.hero-title {
  font-size: clamp(46px, 6.6vw, 88px);
  font-weight: 700;
  margin: 0 0 36px;
  line-height: 1.06;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-em {
  font-style: normal;
  font-weight: 800;
  color: var(--red);
}
.hero-year {
  font-family: var(--font-display);
  color: var(--navy);
  position: relative;
  padding: 0 6px;
}
.hero-year::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8%;
  height: 0.26em;
  background: var(--gold);
  z-index: -1;
  transform: skewX(-8deg);
}

.hero-text {
  font-size: 18px;
  line-height: 1.75;
  max-width: 620px;
  color: var(--ink-2);
  margin-bottom: 44px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* =====================================================
   RUBAN, moutarde
   ===================================================== */
.ticker {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 20px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 10px -10px 0;
}
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
}
.ticker-item { font-size: 15px; font-weight: 500; color: var(--white); }
.ticker-item strong {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 17px;
  color: var(--gold);
}
.ticker-sep { color: var(--gold); font-size: 15px; }

/* =====================================================
   CHIFFRES CLÉS, cartes en overlap
   ===================================================== */
.keyfigures { padding: 90px 0 30px; position: relative; }
.keyfigures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.kf {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), box-shadow 0.3s;
}
.kf:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(44,43,87,0.1); }
.kf--accent { background: var(--navy); border-color: var(--navy); }
.kf-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 620;
  color: var(--navy);
  line-height: 1;
  margin: 0 0 12px;
}
.kf-num sup { font-size: 0.5em; color: var(--red); }
.kf--accent .kf-num { color: var(--gold); }
.kf-label { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.kf--accent .kf-label { color: var(--white); }

/* =====================================================
   SECTIONS COMMUNES
   ===================================================== */
.section { padding: 104px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--ink-2); font-size: 17px; }
.section-foot { margin-top: 52px; text-align: center; }

/* =====================================================
   À LA UNE
   ===================================================== */
.section--news { padding-top: 70px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(44,43,87,0.1); }

.news-card--feature {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}
.news-visual {
  position: relative;
  aspect-ratio: 2 / 1.06;
  overflow: hidden;
}
.news-visual svg { width: 100%; height: 100%; }
.news-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 18px;
}
.news-play::before {
  content: "";
  position: absolute;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--gold);
  z-index: -0;
}
.news-play { z-index: 2; }
.news-play::before { z-index: -1; }
.news-body { padding: 26px 30px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.news-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--beige-2);
  color: var(--navy);
}
.news-tag--gold { background: var(--gold); }
.news-tag--red { background: var(--red); color: var(--white); }
.news-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }

.news-card h3 { margin-bottom: 0; }
.news-card--feature h3 { font-size: 25px; }
.news-card p { color: var(--ink-2); font-size: 15px; margin-bottom: 4px; }

.news-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  align-self: flex-start;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.25s;
}
.news-link::after { content: " →"; display: inline-block; transition: transform 0.25s; }
.news-link:hover { border-bottom-color: var(--red); }
.news-link:hover::after { transform: translateX(4px); }

/* =====================================================
   PILIERS, cartes claires, icônes custom
   ===================================================== */
.section--pillars { background: var(--paper); border-block: 1px solid var(--rule); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), background 0.3s;
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: "";
  position: absolute;
  right: -46px; top: -46px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--gold-wash);
  transition: transform 0.4s cubic-bezier(.2,.8,.3,1);
}
.pillar:hover { transform: translateY(-6px); }
.pillar:hover::after { transform: scale(1.6); }
.pillar > * { position: relative; z-index: 1; }

.pillar-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.pillar-icon svg { width: 32px; height: 32px; }
.pillar h3 { font-size: 20px; }
.pillar p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.pillar-link { font-weight: 700; font-size: 14px; color: var(--navy); }
.pillar-link::after { content: " →"; display: inline-block; transition: transform 0.25s; }
.pillar-link:hover::after { transform: translateX(4px); }

/* =====================================================
   GROUPES DE TRAVAIL, grille de tuiles denses (façon AFG)
   ===================================================== */
.section--gtiles { background: var(--paper); border-block: 1px solid var(--rule); }
.gtiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.gtile {
  padding: 44px 34px 38px;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}
.gtile:nth-child(3n) { border-right: none; }
.gtile:nth-last-child(-n+3) { border-bottom: none; }
.gtile:hover { background: var(--beige); }

.gtile-icon { color: var(--navy); }
.gtile-icon svg { width: 30px; height: 30px; }

.gtile-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 640;
  color: var(--navy);
  line-height: 1.25;
}

.gtile--accent { background: var(--gold); }
.gtile--accent:hover { background: var(--gold-deep); }

.gtile--cta { background: var(--navy); justify-content: flex-end; gap: 12px; }
.gtile--cta:hover { background: var(--navy-deep); }
.gtile-plus { font-family: var(--font-display); font-size: 46px; font-weight: 640; line-height: 1; color: var(--gold); }
.gtile-cta-text { font-size: 15px; color: var(--white); line-height: 1.55; }
.gtile-cta-link { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--gold); }
.gtile-cta-link::after { content: " →"; display: inline-block; transition: transform 0.25s; }
.gtile--cta:hover .gtile-cta-link::after { transform: translateX(4px); }

/* =====================================================
   QUI SOMMES-NOUS, gouvernance
   ===================================================== */
.who-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.who-text { color: var(--ink-2); font-size: 16.5px; margin-bottom: 32px; }

.who-cards { display: flex; flex-direction: column; gap: 18px; }
.member-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), box-shadow 0.3s;
}
.member-card:hover { transform: translateX(8px); box-shadow: 0 16px 36px rgba(44,43,87,0.09); }
.member-card:nth-child(2) { margin-left: 34px; }
.member-card:nth-child(3) { margin-left: 68px; }

.member-photo {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  flex-shrink: 0;
}
.member-photo--gold { background: var(--gold); color: var(--navy); }
.member-photo--red { background: var(--red); color: var(--white); }

.member-body h3 { font-size: 18px; margin-bottom: 2px; }
.member-role {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin: 0 0 6px;
}
.member-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}

/* =====================================================
   INSTANCES DE PLACE, wordmarks
   ===================================================== */
.section--places { padding: 60px 0; background: var(--paper); border-block: 1px solid var(--rule); }
.places-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 34px;
}
.places-row {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  flex-wrap: wrap;
}
.place-mark {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 640;
  color: var(--navy);
  opacity: 0.55;
  transition: opacity 0.25s, transform 0.25s;
  cursor: default;
}
.place-mark span { font-weight: 400; font-style: italic; }
.place-mark:hover { opacity: 1; transform: translateY(-2px); }

/* =====================================================
   GLOBAL FX CODE, bande navy · texte blanc pur
   ===================================================== */
.section--fxcode { padding: 104px 0; }
.fxcode-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  overflow: hidden;
  position: relative;
}
.fxcode-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding: 90px 44px;
}
.fxcode-text h2 { color: var(--white); }
.fxcode-text h2 em { color: var(--gold); }
.fxcode-text p { color: var(--white); opacity: 0.92; font-size: 16.5px; }
.fxcode-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.fxcode-visual { display: grid; place-items: center; }
.fxcode-stamp {
  position: relative;
  width: 280px; height: 280px;
  display: grid;
  place-items: center;
}
.fxcode-stamp-text {
  position: absolute;
  inset: 0;
  animation: stamp-spin 30s linear infinite;
}
.fxcode-stamp-text text {
  font-family: var(--font-mono);
  font-size: 15.5px;
  letter-spacing: 0.32em;
  fill: var(--gold);
}
.fxcode-stamp-center {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 72px;
  font-weight: 640;
  color: var(--white);
  width: 148px; height: 148px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
@keyframes stamp-spin { to { transform: rotate(360deg); } }

/* =====================================================
   ELAC, carte claire en overlap sur la bande navy
   ===================================================== */
.section--elac { padding: 0 0 104px; margin-top: -60px; position: relative; z-index: 2; }
.elac-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(44,43,87,0.12);
}
.elac-left p:not(.eyebrow) { color: var(--ink-2); font-size: 16px; margin-bottom: 30px; }
.elac-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.elac-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  padding: 16px 20px;
  background: var(--beige);
  border-radius: 14px;
}
.elac-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =====================================================
   AGENDA
   ===================================================== */
.section--agenda { background: var(--paper); border-block: 1px solid var(--rule); }
.agenda-list { list-style: none; margin: 0; padding: 0; max-width: 900px; counter-reset: none; }
.agenda-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 28px 16px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s, padding-left 0.3s;
  border-radius: 12px;
}
.agenda-item:first-child { border-top: 1px solid var(--rule); }
.agenda-item:hover { background: var(--beige); padding-left: 28px; }

.agenda-date {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agenda-date--gold { background: var(--gold); color: var(--navy); }
.agenda-day { font-family: var(--font-display); font-size: 28px; font-weight: 640; line-height: 1; }
.agenda-month { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; }

.agenda-body { flex: 1; }
.agenda-body h3 { margin-bottom: 3px; font-size: 20px; }
.agenda-body p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.agenda-link { font-size: 26px; color: var(--red); transition: transform 0.25s; }
.agenda-item:hover .agenda-link { transform: translateX(8px); }

/* =====================================================
   DOCUMENTATION
   ===================================================== */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), box-shadow 0.3s;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(44,43,87,0.1); }
.doc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.doc-icon { width: 30px; height: 30px; color: var(--navy); }
.doc-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.doc-badge--public { background: var(--gold-wash); color: var(--gold-deep); border: 1px solid var(--gold); }
.doc-badge--membres { background: var(--navy); color: var(--gold); }
.doc-card h3 { font-size: 18px; }
.doc-card p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.doc-link { font-weight: 700; font-size: 14px; color: var(--red); }
.doc-link::after { content: " ↓"; display: inline-block; transition: transform 0.25s; }
.doc-card:hover .doc-link::after { transform: translateY(3px); }

/* =====================================================
   ADHÉSION, bande navy pleine largeur, texte blanc pur
   ===================================================== */
.section--join { padding: 0; }
.join-band {
  background: var(--navy);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.join-deco {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1.5px solid rgba(253,193,0,0.35);
  right: -180px; top: -180px;
}
.join-deco::after {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(234,76,90,0.4);
}
.join-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.join-inner h2 { color: var(--white); }
.join-inner h2 em { color: var(--gold); }
.join-inner p:not(.eyebrow) { color: var(--white); opacity: 0.92; font-size: 17px; max-width: 560px; }
.join-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* =====================================================
   FOOTER, navy, texte blanc
   ===================================================== */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 76px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer-logo {
  height: 58px; width: auto;
  background: var(--white);
  padding: 9px 14px;
  border-radius: 12px;
}
.footer-brand p { margin-top: 20px; font-size: 14.5px; line-height: 1.7; color: var(--white); opacity: 0.85; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-nav h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 11px; }
.footer-nav a { font-size: 14.5px; color: var(--white); opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.footer-nav a:hover { opacity: 1; color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  font-size: 13.5px;
  flex-wrap: wrap;
  color: var(--white);
}
.footer-bottom p { opacity: 0.8; margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; color: var(--white); }
.footer-aci { font-family: var(--font-mono); font-size: 12px; }
.footer-credit { font-family: var(--font-mono); font-size: 12px; }
.footer-credit a { color: var(--mustard); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) { .anchor-nav { display: none; } }

@media (max-width: 1040px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .hero-globe { opacity: 0.3; right: -26%; }
  .keyfigures-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--feature { grid-column: span 2; grid-row: auto; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .gtiles-grid { grid-template-columns: 1fr 1fr; }
  .gtile:nth-child(3n) { border-right: 1px solid var(--rule); }
  .gtile:nth-child(2n) { border-right: none; }
  .gtile:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .gtile:nth-last-child(-n+2) { border-bottom: none; }
  .who-grid { grid-template-columns: 1fr; gap: 44px; }
  .member-card:nth-child(2), .member-card:nth-child(3) { margin-left: 0; }
  .fxcode-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 36px; }
  .fxcode-visual { order: -1; }
  .elac-card { grid-template-columns: 1fr; gap: 36px; padding: 44px 36px; }
  .join-inner { grid-template-columns: 1fr; gap: 40px; }
  .join-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 680px) {
  .container { padding: 0 24px; }
  .section { padding: 74px 0; }
  .hero { padding-bottom: 80px; min-height: auto; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .keyfigures-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--feature { grid-column: auto; }
  .pillars-grid { grid-template-columns: 1fr; }
  .gtiles-grid { grid-template-columns: 1fr; }
  .gtile { min-height: 0; padding: 34px 28px; }
  .gtile:nth-child(n) { border-right: none; border-bottom: 1px solid var(--rule); }
  .gtile:last-child { border-bottom: none; }
  .docs-grid { grid-template-columns: 1fr; }
  .fxcode-band { margin: 0 12px; }
  .fxcode-stamp { width: 230px; height: 230px; }
  .fxcode-stamp-center { width: 120px; height: 120px; font-size: 54px; }
  .agenda-item { gap: 18px; }
  .agenda-date { width: 62px; height: 62px; }
  .footer-nav { grid-template-columns: 1fr; }
  .ticker { transform: none; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fxcode-stamp-text { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* =====================================================
   ASSOCIATION, page /association/
   ===================================================== */
.page-intro { padding-top: calc(var(--header-h) + 64px); padding-bottom: 48px; }
.page-intro .container { max-width: 760px; }
.page-intro h1 { font-size: clamp(34px, 5vw, 52px); }
.page-intro .lead { font-size: 18px; color: var(--ink-2); margin-bottom: 0; }

.section--prose .container { max-width: 900px; }
.prose-wrap { max-width: 760px; }
.prose h3 { margin-top: 1.6em; font-size: 19px; }
.prose p:last-child { margin-bottom: 1em; }
.prose-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); margin-top: 1.4em; }

.bureau-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.bureau-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), box-shadow 0.3s;
}
.bureau-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(44,43,87,0.09); }
.bureau-card h3 { font-size: 17px; margin-bottom: 4px; }
.bureau-card .member-role { font-size: 13.5px; color: var(--ink-2); margin: 0; }

.roster-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
}
.roster-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.roster-name { font-weight: 640; color: var(--navy); font-size: 14.5px; }
.roster-role { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); text-align: right; }

@media (max-width: 1024px) {
  .bureau-grid { grid-template-columns: repeat(2, 1fr); }
  .roster-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bureau-grid { grid-template-columns: 1fr; }
  .roster-list { grid-template-columns: 1fr; }
  .roster-item { flex-direction: column; gap: 2px; }
  .roster-role { text-align: left; }
}

/* Liste compacte (documentation, GT) : variante 1 colonne du roster avec badge */
.roster-list--rows { grid-template-columns: 1fr; max-width: 900px; }
.roster-meta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.roster-theme { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 640px) {
  .roster-list--rows .roster-item { flex-direction: row; flex-wrap: wrap; }
  .roster-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* FAQ, accordion natif <details> */
.faq-list { max-width: 760px; }
.faq-group { margin-bottom: 40px; }
.faq-group h3 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 640;
  color: var(--navy);
  padding: 14px 28px 14px 0;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 12px;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gold-deep);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-2); font-size: 15px; padding-bottom: 16px; margin: 0; }

/* Grille de cartes simples réutilisable (adhésion, contact) */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
