/* ==========================================================================
   GR-CI 2.0 : Design system
   Single source of truth for every page. Palette derives from the Ivorian
   flag: orange, white, green.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --green-900: #0B2E1D;
  --green-800: #12452B;
  --green-700: #1A5C39;
  --green-600: #22754A;
  --green-500: #2E8B57;
  --green-100: #E3F0E8;
  --green-050: #F1F8F4;

  --orange-700: #B4560F;
  --orange-600: #D2680F;
  --orange-500: #E8751A;
  --orange-400: #F28C3C;
  --orange-100: #FDEBDC;

  /* Neutrals */
  --ink:        #0C1A13;
  --ink-soft:   #33473D;
  --muted:      #5F7268;
  --line:       #E2E8E4;
  --line-soft:  #EEF2F0;
  --cream:      #FBF9F5;
  --surface:    #FFFFFF;

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.4vw, 2.5rem);
  --step-4:  clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);
  --step-5:  clamp(2.6rem, 1.7rem + 4.2vw, 5rem);

  /* Space */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* Form */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12,26,19,0.05), 0 1px 3px rgba(12,26,19,0.04);
  --shadow-md: 0 4px 12px rgba(12,26,19,0.06), 0 2px 4px rgba(12,26,19,0.04);
  --shadow-lg: 0 18px 45px rgba(12,26,19,0.10), 0 6px 14px rgba(12,26,19,0.05);
  --shadow-xl: 0 32px 70px rgba(12,26,19,0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
  --wrap: 1200px;
  --wrap-narrow: 760px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
}
p { margin: 0 0 var(--sp-4); }
:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--green-800); color: #fff;
  padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--r-md) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section--tint { background: var(--surface); }
.section--deep { background: var(--green-900); color: #CFE0D6; }
.section--deep h2, .section--deep h3 { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,245,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(251,249,245,0.94); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: var(--header-h);
  width: min(100% - 2.5rem, 1320px);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.brand__mark { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--green-800); letter-spacing: -0.01em;
}
.brand__tag {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; white-space: nowrap;
}
@media (max-width: 560px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.05rem; }
}

.nav { display: flex; align-items: center; gap: var(--sp-1); }
.nav a {
  position: relative;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm); transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: 2px;
  height: 2px; background: var(--orange-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav a:hover { color: var(--green-800); background: var(--green-050); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--green-800); font-weight: 600; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--r-md); cursor: pointer;
  transition: background 0.2s var(--ease);
}
.nav-toggle:hover { background: var(--green-050); }
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--green-800);
  border-radius: 2px; position: relative; transition: background 0.2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--green-800); border-radius: 2px; transition: transform 0.28s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: var(--sp-3) var(--sp-4) var(--sp-5);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a {
    padding: var(--sp-4) var(--sp-3); font-size: 1rem;
    border-bottom: 1px solid var(--line-soft); border-radius: 0; min-height: 48px;
    display: flex; align-items: center;
  }
  .nav a::after { display: none; }
  .nav a.active { background: var(--green-050); }
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative; isolation: isolate;
  min-height: clamp(340px, 52vh, 560px);
  display: grid; place-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0;
  background-color: var(--green-900);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,46,29,0.42) 0%, rgba(11,46,29,0.62) 55%, rgba(11,46,29,0.88) 100%),
    radial-gradient(120% 80% at 50% 0%, rgba(232,117,26,0.20) 0%, rgba(232,117,26,0) 60%);
}
.hero-content { position: relative; text-align: center; width: min(100% - 2.5rem, 900px); margin-inline: auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #FFD9B8; margin-bottom: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(255,255,255,0.28); border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08); backdrop-filter: blur(6px);
}
.hero-title {
  font-size: var(--step-4); color: #fff; margin: 0 0 var(--sp-4);
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-family: var(--font-sans); font-size: var(--step-1); color: rgba(255,255,255,0.92);
  max-width: 62ch; margin: 0 auto; font-weight: 400;
}
.hero--tall { min-height: clamp(420px, 68vh, 720px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  min-height: 48px; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--accent { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-md); }
.btn--accent:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--line); }
.btn--outline:hover { background: var(--green-050); border-color: var(--green-500); transform: translateY(-2px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange-600); margin-bottom: var(--sp-3);
}
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head p { color: var(--muted); font-size: var(--step-1); margin: 0; }
.section-title, .about-title, .mission-title, .action-title,
.methodology-title, .principles-title, .vision-title, .highlight-title, .news-title {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 0 var(--sp-5); text-align: center;
}
.rule {
  width: 56px; height: 3px; border-radius: 3px; margin: 0 auto var(--sp-5);
  background: var(--orange-500);
}

/* ---------- Containers ---------- */
.about-container, .mission-container, .action-container,
.methodology-container, .contact-container, .news-container {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

/* ---------- Prose ---------- */
.about-text, .mission-text-lead, .action-content, .methodology-content, .vision-text {
  font-size: var(--step-1); line-height: 1.8; color: var(--ink-soft);
}
.about-text strong, .vision-text strong { color: var(--green-800); font-weight: 600; }

/* ---------- Grids ---------- */
.content-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 860px) { .content-grid { grid-template-columns: 1.15fr 1fr; } }
.features-section, .mission-grid, .action-grid, .principles-grid, .phases-grid {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Cards ---------- */
.feature-card, .mission-card, .action-card, .phase-card, .principle-item, .contact-item {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.feature-card::before, .mission-card::before, .action-card::before,
.phase-card::before, .principle-item::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--orange-500);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.feature-card:hover, .mission-card:hover, .action-card:hover,
.phase-card:hover, .principle-item:hover, .contact-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-100);
}
.feature-card:hover::before, .mission-card:hover::before, .action-card:hover::before,
.phase-card:hover::before, .principle-item:hover::before { transform: scaleX(1); }

.feature-icon, .mission-icon, .action-icon, .principle-icon, .contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: var(--r-md);
  background: var(--green-050); border: 1px solid var(--green-100);
  font-size: 1.6rem; line-height: 1; margin-bottom: var(--sp-4);
}
.feature-title, .action-card-title, .principle-name, .phase-title {
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 700;
  color: var(--ink); margin: 0 0 var(--sp-3); line-height: 1.25; letter-spacing: -0.01em;
}
.feature-desc, .mission-text, .action-text, .principle-desc, .phase-description, .phase-details {
  font-size: 0.97rem; line-height: 1.75; color: var(--muted); margin: 0;
}
.phase-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-800); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  margin-bottom: var(--sp-4);
}
.about-img, .about-logo, .contact-logo {
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%;
}
.about-logo, .contact-logo {
  width: clamp(120px, 18vw, 170px); margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  box-shadow: none; border-radius: 50%;
}
.logo-section { display: flex; justify-content: center; }

/* ---------- Highlight / vision bands ---------- */
.highlight-section, .vision-section, .principles-section {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem); box-shadow: var(--shadow-sm);
}
.vision-section {
  background: var(--green-900);
  border-color: transparent; color: rgba(255,255,255,0.9);
}
.vision-section .vision-title { color: #fff; }
.vision-section .vision-text { color: rgba(255,255,255,0.88); }
.vision-section .vision-text strong { color: #FFD9B8; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900); color: rgba(255,255,255,0.72);
  padding: clamp(3rem, 6vw, 4.5rem) 0 var(--sp-6); margin-top: 0;
  font-size: 0.92rem; text-align: left;
}
.footer__grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: var(--sp-6);
}
.footer__brand { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer__brand img { width: 46px; height: 46px; border-radius: 50%; }
.footer__brand span { font-family: var(--font-display); font-size: 1.15rem; color: #fff; font-weight: 700; }
.footer h3 {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #FFD9B8; margin-bottom: var(--sp-4); font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--sp-2); }
.footer a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s var(--ease); }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Contact page ---------- */
.contact-container {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 900px) { .contact-container { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info { display: grid; gap: var(--sp-4); }
.contact-info > a { text-decoration: none; color: inherit; display: block; }
.contact-item { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-5); }
.contact-icon { margin-bottom: 0; flex: none; width: 48px; height: 48px; font-size: 1.35rem; }
.contact-details h3 {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-600); margin: 0 0 var(--sp-2); font-weight: 700;
}
.contact-details p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; }

.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.contact-form .section-title { text-align: left; font-size: var(--step-2); margin-bottom: var(--sp-6); }
.form-group { margin-bottom: var(--sp-5); }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink);
  margin-bottom: var(--sp-2); letter-spacing: 0.02em;
}
.form-group input, .form-group textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0.85rem 1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; background: var(--surface);
  border-color: var(--green-500); box-shadow: 0 0 0 4px var(--green-050);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  color: #fff; background: var(--green-700); border: none; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.submit-btn:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.form-note { margin: var(--sp-4) 0 0; font-size: 0.92rem; line-height: 1.55; min-height: 1.2em; }
.form-note--error { color: #B3261E; font-weight: 600; }
.form-note--ok { color: var(--green-700); font-weight: 600; }
.form-note a { color: inherit; }

/* ---------- Country mosaic ---------- */
.mosaic {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r-lg); background: var(--green-900);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.mosaic figure:first-child { grid-column: span 2; aspect-ratio: 8 / 3; }
@media (max-width: 759px) { .mosaic figure:first-child { aspect-ratio: 16 / 9; } }
.mosaic img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease); will-change: transform;
}
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-5) var(--sp-4) var(--sp-3);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: #fff;
  background: linear-gradient(180deg, rgba(11,46,29,0) 0%, rgba(11,46,29,0.85) 100%);
}

/* ---------- Home: video hero ---------- */
.home-hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  background: var(--green-900);
}
.home-hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.home-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(11,46,29,0.60) 0%,
    rgba(11,46,29,0.16) 26%,
    rgba(11,46,29,0.16) 62%,
    rgba(11,46,29,0.82) 100%);
}
.home-hero__inner {
  position: relative; text-align: center; align-self: end;
  width: min(100% - 2.5rem, 880px);
  padding-bottom: clamp(7rem, 17vh, 10rem);
}
.home-hero__title {
  font-size: var(--step-5); color: #fff; margin: 0 0 var(--sp-4);
  letter-spacing: -0.02em; text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.home-hero__lead {
  font-family: var(--font-sans); font-size: var(--step-1);
  color: rgba(255,255,255,0.92); max-width: 56ch; margin: 0 auto; font-weight: 400;
}
.home-hero .site-header { position: absolute; background: transparent; border-bottom-color: rgba(255,255,255,0.14); }

.header--over {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.header--over .brand__name { color: #fff; }
.header--over .brand__tag { color: rgba(255,255,255,0.68); }
.header--over .nav a { color: rgba(255,255,255,0.88); }
.header--over .nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.header--over .nav a.active { color: #fff; }
.header--over .nav-toggle { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.header--over .nav-toggle span,
.header--over .nav-toggle span::before,
.header--over .nav-toggle span::after { background: #fff; }
.header--over.is-scrolled {
  position: fixed; background: rgba(251,249,245,0.94);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line-soft); box-shadow: var(--shadow-md);
}
.header--over.is-scrolled .brand__name { color: var(--green-800); }
.header--over.is-scrolled .brand__tag { color: var(--muted); }
.header--over.is-scrolled .nav a { color: var(--ink-soft); }
.header--over.is-scrolled .nav a:hover { color: var(--green-800); background: var(--green-050); }
.header--over.is-scrolled .nav a.active { color: var(--green-800); }
.header--over.is-scrolled .nav-toggle { background: var(--surface); border-color: var(--line); }
.header--over.is-scrolled .nav-toggle span,
.header--over.is-scrolled .nav-toggle span::before,
.header--over.is-scrolled .nav-toggle span::after { background: var(--green-800); }
@media (max-width: 1079px) {
  /* The open panel is light, so the over-video white text must be undone -
     including .active, which otherwise wins on specificity and goes invisible. */
  .header--over .nav { background: var(--surface); }
  .header--over .nav a { color: var(--ink-soft); }
  .header--over .nav a.active { color: var(--green-800); background: var(--green-050); }
  .header--over .nav a:hover { color: var(--green-800); background: var(--green-050); }
}

.sound-toggle {
  position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 5; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.sound-toggle:hover { background: rgba(255,255,255,0.26); transform: translateY(-2px); }
.sound-toggle svg { width: 22px; height: 22px; fill: #fff; }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2.5rem); transform: translateX(-50%);
  z-index: 5; color: rgba(255,255,255,0.75); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; display: grid; gap: var(--sp-2);
  justify-items: center; font-weight: 600;
}
.scroll-cue span:last-child {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0));
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity: 0.35; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Stats ---------- */
.stats {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat { text-align: center; padding: var(--sp-5) var(--sp-4); border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
@media (max-width: 700px) { .stat { border-left: none; border-top: 1px solid var(--line); } .stat:first-child { border-top: none; } }
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--step-3); color: var(--green-800); line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat__label { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green-900);
  color: #fff; text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.cta-band h2 { color: #fff; font-size: var(--step-3); margin-bottom: var(--sp-4); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 58ch; margin: 0 auto var(--sp-6); font-size: var(--step-1); }

/* ---------- News ---------- */
.news-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line);
}
.news-meta { display: flex; align-items: center; gap: var(--sp-3); font-size: 0.88rem; color: var(--muted); }
.news-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); flex: none; }
.news-dot--stale { background: var(--orange-500); }
.news-dot--live { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,139,87,0.5); } 50% { box-shadow: 0 0 0 6px rgba(46,139,87,0); } }

.btn--refresh {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.88rem; font-weight: 600; color: var(--green-800);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 0.6rem 1.2rem; min-height: 44px; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--refresh:hover { background: var(--green-050); border-color: var(--green-500); transform: translateY(-1px); }
.btn--refresh[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.btn--refresh svg { width: 15px; height: 15px; fill: currentColor; }
.btn--refresh[aria-busy="true"] svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.news-list {
  display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.news-card {
  display: flex; flex-direction: column; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.35rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  animation: cardIn 0.45s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .news-card { animation: none; } }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.news-card--lead { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .news-card--lead { padding: clamp(2rem, 3.5vw, 2.75rem); }
  .news-card--lead h3 { font-size: var(--step-2); }
}
.news-source {
  align-self: flex-start;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange-700); background: var(--orange-100);
  padding: 0.3rem 0.7rem; border-radius: var(--r-pill); margin-bottom: var(--sp-4);
}
.news-card h3 {
  font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3;
  margin: 0 0 var(--sp-3); letter-spacing: -0.01em;
}
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.news-card h3 a::after { content: ''; position: absolute; inset: 0; }
.news-summary { font-size: 0.94rem; line-height: 1.7; color: var(--muted); margin: 0 0 var(--sp-4); flex: 1; }
.news-date {
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em;
  margin: 0; padding-top: var(--sp-3); border-top: 1px solid var(--line-soft);
}

/* Skeletons: same shape as a real card so nothing shifts on swap */
.skeleton { pointer-events: none; }
.skeleton .sk {
  display: block; border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--line-soft) 25%, #F7FAF8 37%, var(--line-soft) 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton .sk { animation: none; } }
.skeleton .sk--tag { width: 84px; height: 20px; border-radius: var(--r-pill); margin-bottom: var(--sp-4); }
.skeleton .sk--line { height: 13px; margin-bottom: var(--sp-2); }
.skeleton .sk--title { height: 19px; margin-bottom: var(--sp-3); }

.news-empty {
  grid-column: 1 / -1; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(2.5rem, 5vw, 4rem);
}
.news-empty h3 { font-size: var(--step-2); margin-bottom: var(--sp-3); }
.news-empty p { color: var(--muted); margin-bottom: var(--sp-5); }

/* ==========================================================================
   Repositioning: think tank + network of expertise
   ========================================================================== */

/* ---------- Editorial split hero (keeps the film, no text over it) ---------- */
.hero-split { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); background: var(--surface); }
.hero-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: var(--sp-5);
  align-items: center;
  /* Mobile : le titre accroche, la vidéo montre, le texte explique. */
  grid-template-areas:
    "title"
    "media"
    "lead"
    "actions";
}
@media (min-width: 940px) {
  .hero-split__grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "title   media"
      "lead    media"
      "actions media";
    align-content: center;
  }
}
.hero-split__title { grid-area: title; }
.hero-split__lead  { grid-area: lead; }
.hero-split__actions {
  grid-area: actions;
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
}
.hero-split__media { grid-area: media; }

.hero-split__title {
  font-size: var(--step-4); letter-spacing: -0.025em; margin: 0;
  max-width: 15ch;
}
.hero-split__lead {
  font-size: var(--step-1); color: var(--ink-soft); max-width: 52ch;
  margin: 0; line-height: 1.65;
}
/* Le cadre suit le format natif des vidéos (16:9) et « contain » garantit
   qu'aucune image n'est rognée, même si une source change de format. */
.hero-split__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--green-900); box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.hero-split__media video {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.hero-split__sound {
  position: absolute; right: var(--sp-4); bottom: var(--sp-4); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(11,46,29,0.55); border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease);
}
.hero-split__sound:hover { background: rgba(11,46,29,0.78); }
.hero-split__sound svg { width: 19px; height: 19px; fill: #fff; }

/* ---------- Equation band: Idées + Compétences + Débats + … ---------- */
.equation { background: var(--green-900); color: #fff; padding-block: clamp(2.5rem, 5vw, 4rem); }
.equation__inner { text-align: center; }
.equation__label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #FFD9B8; margin-bottom: var(--sp-5);
}
.equation__terms {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-3) var(--sp-4); margin: 0; padding: 0; list-style: none;
}
.equation__terms li {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-weight: 700; letter-spacing: -0.01em;
}
.equation__plus { color: var(--orange-400); font-weight: 400; }
.equation__note {
  margin: var(--sp-5) auto 0; max-width: 62ch;
  color: rgba(255,255,255,0.78); font-size: 0.98rem;
}

/* ---------- Axis cards (numbered, restrained) ---------- */
.axes-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.axis-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.8vw, 2rem);
  display: flex; flex-direction: column; gap: var(--sp-3);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.axis-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.axis-card__num {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--orange-600); letter-spacing: 0.08em;
}
.axis-card__title {
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 700;
  color: var(--ink); margin: 0; line-height: 1.25; letter-spacing: -0.01em;
}
.axis-card__desc { font-size: 0.96rem; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- Programme list ---------- */
.programme-grid {
  display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .programme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .programme-grid { grid-template-columns: repeat(4, 1fr); } }
.programme-item {
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft);
  transition: background 0.25s var(--ease);
}
.programme-item:hover { background: var(--green-050); }
.programme-item__icon { font-size: 1.35rem; line-height: 1; display: block; margin-bottom: var(--sp-3); }
.programme-item__title {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--ink);
  margin: 0 0 var(--sp-2); line-height: 1.3;
}
.programme-item__desc { font-size: 0.89rem; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---------- Entry cards (projects / publications / events) ---------- */
.collection-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center;
  justify-content: space-between; margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.filter-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.filter-chip {
  font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  color: var(--ink-soft); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 0.5rem 1.05rem; min-height: 40px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--green-500); background: var(--green-050); }
.filter-chip[aria-pressed="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.collection-count { font-size: 0.88rem; color: var(--muted); }

.entry-list {
  display: grid; gap: clamp(1.1rem, 2.2vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}
.entry-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.entry-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.entry-card__head { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-4); }
.entry-tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-800); background: var(--green-050);
  border: 1px solid var(--green-100); padding: 0.28rem 0.7rem; border-radius: var(--r-pill);
}
.entry-status {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.7rem; border-radius: var(--r-pill); border: 1px solid transparent;
}
.entry-status--en-preparation { color: var(--muted); background: var(--line-soft); border-color: var(--line); }
.entry-status--en-cours       { color: var(--orange-700); background: var(--orange-100); border-color: #F6D5B8; }
.entry-status--consultation   { color: #1B4F84; background: #E4EEF8; border-color: #CBDEF0; }
.entry-status--publie         { color: var(--green-800); background: var(--green-100); border-color: #C7E2D2; }
.entry-card__title {
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 700;
  color: var(--ink); margin: 0 0 var(--sp-3); line-height: 1.3; letter-spacing: -0.01em;
}
.entry-card__summary { font-size: 0.95rem; line-height: 1.7; color: var(--muted); margin: 0 0 var(--sp-4); }
.card-meta {
  margin: 0 0 var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4);
  font-size: 0.85rem;
}
.card-meta dt { color: var(--muted); font-weight: 600; }
.card-meta dd { margin: 0; color: var(--ink-soft); }
.entry-card__cta {
  margin-top: auto; align-self: flex-start; font-weight: 600; font-size: 0.9rem;
  color: var(--green-800); text-decoration: none;
  border-bottom: 2px solid var(--orange-500); padding-bottom: 2px;
}
.entry-card__cta:hover { color: var(--orange-600); }

/* ---------- Empty states ---------- */
.empty-state {
  grid-column: 1 / -1; text-align: center;
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--r-lg); padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
}
.empty-state h3 { font-size: var(--step-2); margin-bottom: var(--sp-3); }
.empty-state p { color: var(--muted); max-width: 56ch; margin: 0 auto var(--sp-5); }
.empty-inline { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: var(--sp-7) 0; }

/* ---------- Participation modes ---------- */
.modes-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.mode-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.8vw, 2rem);
  border-top: 3px solid var(--green-600);
}
.mode-card h3 {
  font-family: var(--font-display); font-size: var(--step-1); margin: 0 0 var(--sp-3);
}
.mode-card p { font-size: 0.94rem; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- Network band ---------- */
.network { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .network { grid-template-columns: 1fr 1.1fr; } }
.network__map { width: 100%; height: auto; display: block; }
.network__list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.network__list li { display: flex; gap: var(--sp-3); align-items: baseline; font-size: 0.96rem; color: var(--ink-soft); }
.network__list li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-500); flex: none; transform: translateY(-2px);
}

/* ---------- Positioning / independence note ---------- */
.statement {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--green-700);
  border-radius: var(--r-md); padding: clamp(1.75rem, 3.5vw, 2.75rem);
}
.statement h2 { font-size: var(--step-2); margin-bottom: var(--sp-4); }
.statement p { color: var(--ink-soft); max-width: 68ch; }
.statement p:last-child { margin-bottom: 0; }
.statement__split { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; margin: var(--sp-5) 0; }
@media (min-width: 720px) { .statement__split { grid-template-columns: 1fr 1fr; } }
.statement__half {
  background: var(--cream); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: var(--sp-5);
}
.statement__half h3 {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange-600); margin: 0 0 var(--sp-3); font-weight: 700;
}
.statement__half p { font-size: 0.94rem; margin: 0; color: var(--ink-soft); }

/* ---------- Principles list ---------- */
.principles-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.principles-list li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5);
  font-weight: 600; color: var(--ink); font-size: 0.96rem;
  display: flex; align-items: center;
}
/* Pas de tiret décoratif : le libellé se suffit à lui-même. */

/* ---------- Working philosophy ---------- */
.philosophy { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; margin-top: var(--sp-6); }
@media (min-width: 700px) { .philosophy { grid-template-columns: repeat(2, 1fr); } }
.philosophy__row {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); font-size: 0.96rem;
}
.philosophy__yes { font-weight: 700; color: var(--green-800); }
.philosophy__no { color: var(--muted); text-decoration: line-through; }
.philosophy__sep { color: var(--line); }

/* ---------- Join form ---------- */
.join-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .join-grid { grid-template-columns: 0.85fr 1.15fr; } }
.form-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group select {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0.85rem 1rem; min-height: 48px;
}
.form-group select:focus {
  outline: none; background: var(--surface); border-color: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-050);
}
.form-hint { font-size: 0.82rem; color: var(--muted); margin: var(--sp-2) 0 0; }
.choice-set { border: 0; margin: 0 0 var(--sp-5); padding: 0; }
.choice-set legend {
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
  margin-bottom: var(--sp-3); padding: 0; letter-spacing: 0.02em;
}
.choice-grid { display: grid; gap: var(--sp-2); grid-template-columns: 1fr; }
@media (min-width: 620px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
.choice {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-4); cursor: pointer; background: var(--cream);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.choice:hover { border-color: var(--green-500); background: var(--surface); }
.choice input { margin-top: 0.28rem; accent-color: var(--green-700); flex: none; }
.choice span { font-size: 0.94rem; }
.choice strong { display: block; color: var(--ink); font-size: 0.96rem; margin-bottom: 2px; }
.choice em { font-style: normal; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.choice:has(input:checked) { border-color: var(--green-700); background: var(--green-050); }

/* ---------- Utility ---------- */
.lede { font-size: var(--step-1); line-height: 1.7; color: var(--ink-soft); max-width: 68ch; }
.stack > * + * { margin-top: var(--sp-5); }
.text-center { text-align: center; }

/* ---------- Nav CTA ---------- */
.nav-cta {
  margin-left: var(--sp-2);
  background: var(--green-800); color: #fff !important;
  border-radius: var(--r-pill); padding: 0.6rem 1.15rem !important;
  font-weight: 600; white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-600); color: #fff !important; transform: translateY(-1px); }
@media (max-width: 1079px) {
  .nav-cta {
    margin: var(--sp-4) 0 0; text-align: center; justify-content: center;
    border-radius: var(--r-md) !important; border-bottom: none !important;
  }
  .nav-cta:hover { transform: none; }
}
@media (min-width: 1080px) {
  .nav a { padding: var(--sp-2) 0.6rem; font-size: 0.86rem; }
  .nav a::after { left: 0.6rem; right: 0.6rem; }
  .nav-cta { padding: 0.6rem 1rem !important; }
}
/* The brand tagline only appears where it genuinely fits beside the bar. */
@media (max-width: 1279px) {
  .brand__tag { display: none; }
}

/* ---------- Axis detail bullets ---------- */
.axis-detail {
  list-style: none; margin: var(--sp-2) 0 0; padding: var(--sp-4) 0 0;
  border-top: 1px solid var(--line-soft); display: grid; gap: var(--sp-2);
}
.axis-detail li {
  display: flex; gap: var(--sp-3); align-items: baseline;
  font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft);
}
.axis-detail li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange-500); flex: none; transform: translateY(-2px);
}

/* ---------- Grand logo en fin de page ---------- */
.page-endmark {
  display: flex; justify-content: center;
  padding: clamp(3rem, 7vw, 5.5rem) var(--sp-5) clamp(3rem, 7vw, 5rem);
  background: var(--cream);
}
.page-endmark img {
  width: clamp(132px, 17vw, 200px);
  height: auto;
  opacity: 0.92;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.page-endmark img:hover { opacity: 1; transform: scale(1.03); }
/* Sur fond clair déjà utilisé par la section précédente, éviter la double bande. */
.section--tint + .page-endmark,
.cta-band + .page-endmark { background: var(--surface); }
