/*
 * Charte logo OEFE :
 *   Bleu (lettres) → liens, titres, bande foncée, CTA navigation
 *   Magenta/fuchsia (contours livre, profil) → accent, slogan, boutons primaires
 * Noir / blanc logo → corps de texte + fonds
 */
:root {
  /* Littérales tirées du logo (lisibles à l'écran ; pas du #0000FF pur) */
  --oefe-bleu-marque: #3247de;
  --oefe-magenta-marque: #dc198a;

  /* Couleurs projet (rétrocompat des noms existants dans le fichier) */
  --couleur-primaire: var(--oefe-magenta-marque);
  --couleur-secondaire: var(--oefe-bleu-marque);
  --couleur-primary-rgb: 52, 72, 230;

  /* Alias utilitaires */
  --primary: var(--couleur-primaire);
  --primary-rgb: var(--couleur-primary-rgb);
  --secondary: var(--couleur-secondaire);

  /* Fonds carte / bandeaux : surtout blanc ; les sections utilisent --section-* */
  --fond-page: #ffffff;
  --fond-surface: #ffffff;
  --fond-band-alt: #ffffff;
  --fond-band-cta: #ffffff;
  --fond-band-photo: #ffffff;
  --fond-footer: #ffffff;

  --surface: #ffffff;
  --surface-warm: #ffffff;
  /* Légers teints pour mini-UI uniquement */
  --surface-tint-blue: #f5f7fe;
  --surface-tint-rose: #fdf4f9;

  /* Sections : alternance bleu très pâle / blanc (via .section-soft = blanc) */
  --section-bg: color-mix(in srgb, var(--oefe-bleu-marque) 2%, white);
  --section-bg-white: #ffffff;

  --blue-deep: color-mix(in srgb, var(--oefe-bleu-marque) 62%, rgb(16, 20, 48));
  --blue-strong: var(--couleur-secondaire);
  --blue-soft: rgb(var(--couleur-primary-rgb) / 0.32);

  --rose-deep: color-mix(in srgb, var(--oefe-magenta-marque) 68%, rgb(55, 8, 40));
  --rose-strong: var(--couleur-primaire);
  --magenta-accent-rgb: 220, 25, 138;
  --rose-soft: rgb(var(--magenta-accent-rgb) / 0.26);

  --border: rgb(var(--couleur-primary-rgb) / 0.16);
  --border-strong: rgb(var(--couleur-primary-rgb) / 0.34);

  --text-body: #1f2428;
  --text-heading: color-mix(in srgb, var(--oefe-bleu-marque) 44%, rgb(18, 22, 28));
  --text-muted: color-mix(in srgb, var(--oefe-bleu-marque) 14%, rgb(72, 80, 88));
  --text-caption: color-mix(in srgb, var(--oefe-bleu-marque) 18%, rgb(92, 100, 108));
  --text-on-dark: rgb(246 247 253);
  --text-inverse: #ffffff;

  --link: var(--couleur-secondaire);
  --link-hover: color-mix(in srgb, var(--oefe-bleu-marque) 72%, black);

  /* Alias rétrocompat */
  --ink: var(--text-body);
  --ink-muted: var(--text-muted);
  --text: var(--text-body);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 18px rgb(var(--primary-rgb) / 0.09);
  --shadow-md: 0 16px 40px rgb(var(--primary-rgb) / 0.14);
  --header-h: 72px;

  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.67;
  font-weight: 400;
  color: var(--text-body);
  background: var(--surface-warm);
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

main,
.site-header,
.site-footer {
  position: relative;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  text-decoration: none;
}

.logo:not(.logo--image):hover {
  color: var(--link-hover);
}

.logo--image {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  font-size: 0;
}

.logo--image img {
  display: block;
  height: clamp(42px, 5.2vw, 58px);
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
}

.logo--image:hover img {
  opacity: 0.9;
}

.logo-dot {
  color: var(--rose-strong);
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 0.35rem;
  row-gap: 0.35rem;
}

.nav a {
  display: inline-block;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.84rem;
}

.nav a:not(.nav-cta):hover {
  background: var(--surface-tint-blue);
  color: var(--text-heading);
}

.nav a[aria-current="page"] {
  font-weight: 600;
  color: var(--text-heading);
  background: var(--surface-tint-blue);
}

.nav a.nav-cta[aria-current="page"] {
  background: var(--blue-strong);
  color: var(--text-inverse) !important;
}

.nav-don {
  color: var(--rose-deep) !important;
  border: 2px solid var(--rose-soft);
  background: var(--surface-tint-rose);
}

.nav-don:hover {
  background: var(--surface);
  border-color: var(--rose-strong);
}

.nav-cta {
  background: var(--blue-strong);
  color: var(--text-inverse) !important;
  box-shadow: var(--shadow-sm);
  margin-left: 0.35rem;
  border: 2px solid var(--blue-deep);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--blue-deep);
  color: var(--text-inverse) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  color: inherit;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue-strong);
  outline-offset: 3px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  display: block;
  padding: clamp(3rem, 12vh, 6rem) clamp(1.25rem, 4vw, 3rem) 5rem;
  isolation: isolate;
  min-height: min(100vh, 900px);

  background-image:
    linear-gradient(
      115deg,
      rgb(52 72 230 / 0.52) 0%,
      rgb(12 16 42 / 0.88) 26%,
      rgb(6 9 26 / 0.72) 44%,
      rgb(220 25 138 / 0.22) 68%,
      rgb(8 11 34 / 0.28) 88%,
      transparent 98%
    ),
    linear-gradient(to bottom, transparent 0%, rgb(4 6 18 / 0.62) 100%),
    url("images/Hero-img.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose-deep);
  margin: 0 0 1rem;
}

.hero h1,
.hero-title-oefe {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.35vw, 2.35rem);
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin: 0 0 0.85rem;
}

.hero-quote {
  color: var(--text-heading);
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.85vw, 2rem);
  font-weight: 600;
  font-style: italic;
  font-optical-sizing: auto;
  margin: 0 0 0.5rem;
  color: var(--rose-strong);
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.55);
}

.hero-motto {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.hero-content-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-content {
  min-width: 0;
}

.hero-motto em {
  font-style: italic;
  color: var(--rose-deep);
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-body);
  max-width: 36ch;
}

.hero-subtitle em {
  font-style: normal;
  color: var(--rose-deep);
}

.lead {
  font-size: 1.13rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 2rem;
}

/* Lisibilité sur le dégradé du hero photo */
.hero .eyebrow {
  color: rgb(246 206 226);
}

.hero h1 {
  color: var(--text-on-dark);
  text-shadow: 0 2px 28px rgb(0 0 0 / 0.55);
}

.hero .hero-motto {
  color: rgb(230 235 250 / 0.95);
}

.hero .hero-motto em {
  color: rgb(252 174 218);
}

.hero .lead {
  color: rgb(230 235 250 / 0.92);
}

.hero .hero-slogan {
  color: rgb(253 232 246);
}

.hero .btn-ghost {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.45);
  color: var(--text-inverse);
}

.hero .btn-ghost:hover {
  background: rgb(255 255 255 / 0.2);
  border-color: rgb(255 255 255 / 0.75);
  color: var(--text-inverse);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--blue-strong);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--rose-strong);
  color: var(--text-inverse);
  border: 2px solid var(--rose-deep);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--rose-deep);
  color: var(--text-inverse);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-heading);
  border: 2px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--blue-strong);
  color: var(--text-heading);
  background: var(--surface-tint-blue);
}

.btn-block {
  width: 100%;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
}

.hero-photo {
  margin: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-md);
  background: var(--surface-tint-blue);
}

.hero-photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  vertical-align: middle;
  object-fit: contain;
}

.card-float {
  position: absolute;
  bottom: 8%;
  left: clamp(0.75rem, 3vw, 1.5rem);
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--blue-soft);
  max-width: min(260px, 92%);
}

.hero-card-accent {
  border-left: 5px solid var(--rose-strong);
}

.card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose-deep);
}

.card-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0;
  color: var(--text-heading);
}

.card-sub {
  font-size: 0.9rem;
  color: var(--text-caption);
}

/* Sections — alternance des fonds
 * Modificateurs :
 *   .section-soft     → fond blanc (--section-bg-white)
 *   .section seul     → fond teinté (--section-bg)
 *   .section-don      → par défaut teinté (identique au fond section)
 *   .section-don.section-soft → bande « Rejoindre » sur fond blanc (évite deux bandes teintées d’affilée)
 *   .programmes-home.section-soft → reste une bande « claire » (léger dégradé marque → blanc), pas le fond teinté plein
 * Accueil (après le hero) : Organisation (blanc) → Équipe (teinté) → Programmes (blanc / home) →
 *   Partenaires (teinté) → Rejoindre (blanc) → Chiffres (dégradé).
 */
.section {
  padding: clamp(4rem, 10vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--section-bg);
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 760px;
}

.section-soft {
  background: var(--section-bg-white);
}

/* Bloc « À propos » regroupant mission, axes, impact, objectifs */
.about-cluster {
  margin: 0;
  padding: 0;
}

.about-cluster-intro-head {
  margin-bottom: 1.75rem;
}

.about-cluster-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-cluster-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  background: var(--surface);
  border: 2px solid var(--border);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.about-cluster-nav a:hover {
  border-color: var(--blue-soft);
  color: var(--link);
  background: var(--surface-tint-blue);
}

.about-page-cta-inner {
  text-align: center;
}

.about-page-cta-lead {
  margin: 0 auto 1.25rem;
  max-width: 42rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head.align-left {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-head h1,
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.92rem, 3.6vw, 2.65rem);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--text-muted);
}

.section-head p a {
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.section-head p a:hover {
  text-decoration: underline;
}

.section-head.align-left p {
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tile {
  padding: 1.85rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-soft);
}

.tile-icon {
  font-size: 1.25rem;
  color: var(--link);
  margin-bottom: 0.75rem;
}

.tile-icon-alt {
  color: var(--rose-strong);
}

.tile h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--text-heading);
}

.tile p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.action-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.action-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-tint-rose);
  color: var(--rose-deep);
  border: 1px solid var(--rose-soft);
}

.action-item strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-heading);
}

.action-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.activity-card .action-meta {
  white-space: normal;
}

.activity-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.activity-desc {
  display: block;
  line-height: 1.55;
}

.activity-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-inverse);
  background: var(--blue-deep);
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  align-self: center;
  border: 2px solid var(--blue-strong);
}

.activity-cards .action-item {
  grid-template-columns: auto 1fr auto;
}

.link-doc {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.link-doc:hover {
  text-decoration: underline;
}

/* À propos */
.about-block .section-head {
  margin-bottom: 1.5rem;
}

.about-text {
  max-width: 65ch;
  margin: 0 auto;
}

.about-text > p:first-of-type {
  margin-top: 0;
}

.about-more {
  margin: 1rem 0 0;
}

.btn-text {
  margin-top: 1rem;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--link);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-text:hover {
  color: var(--link-hover);
}

/* Don / rejoindre */
.section-don {
  background: var(--section-bg);
}

.section-don.section-soft {
  background: var(--section-bg-white);
}

.don-inner {
  max-width: 900px;
  margin: 0 auto;
}

.don-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 1rem;
}

.don-copy p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.don-copy h3:not(.h3-inline) {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 0.65rem;
}

/* Contact liste */
.contact-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-methods li {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--border);
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose-deep);
  margin-bottom: 0.35rem;
}

.contact-methods a {
  font-weight: 600;
  text-decoration: none;
}

.contact-methods a:hover {
  text-decoration: underline;
}

.address-inline {
  font-style: normal;
  margin: 0;
  color: var(--text-body);
  font-weight: 500;
}

.stat-num--static {
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.section-gradient {
  color: var(--text-on-dark);
  border-block: 4px solid var(--rose-strong);
  background-color: var(--blue-deep);
}

/* Citation + chiffres : photo en fond (lisibilité assurée par le dégradé) */
#chiffres.section-gradient {
  background-image:
    linear-gradient(
      165deg,
      rgb(12 18 42 / 0.93) 0%,
      rgb(18 28 58 / 0.78) 48%,
      rgb(10 16 38 / 0.92) 100%
    ),
    url("images/oefe-presentation.jpg");
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
}

#chiffres.section-gradient .quote p,
#chiffres.section-gradient .quote footer,
#chiffres.section-gradient .stat-num,
#chiffres.section-gradient .stat-label {
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.28);
}

.quote {
  margin: 0 0 2.5rem;
  padding: 0;
  border: none;
  text-align: center;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  font-optical-sizing: auto;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.quote footer {
  font-size: 0.95rem;
  color: rgb(225 230 247 / 0.9);
}

.stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 8vw, 4rem);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
}

.stat-num::after {
  content: attr(data-suffix);
}

.stat-label {
  font-size: 0.92rem;
  color: rgb(222 226 246 / 0.85);
}

/* Partenaires — grille logos uniquement */
.partners-section .section-head {
  margin-bottom: 2.5rem;
}

.partners-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  justify-items: center;
}

.partner-logo-item {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  min-height: 4.5rem;
  padding: 0.5rem;
}

.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.partner-logo-link:focus-visible {
  outline: 2px solid var(--blue-strong);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.partner-logo-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: clamp(2.75rem, 8vw, 3.5rem);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.88;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.partner-logo-item:hover .partner-logo-img,
.partner-logo-link:hover .partner-logo-img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-1px);
}

.partners-footnote {
  margin: 2.25rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.partners-footnote a {
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.partners-footnote a:hover {
  text-decoration: underline;
}

/* Galerie photos (page dédiée) */
.gallery-page .section-head {
  margin-bottom: 2.25rem;
}

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

.gallery-tile {
  margin: 0;
}

.gallery-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.gallery-tile:hover .gallery-figure,
.gallery-tile:focus-within .gallery-figure {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gallery-albums {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

.gallery-album-card {
  margin: 0;
}

.gallery-album-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.gallery-album-link:hover,
.gallery-album-link:focus-visible {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-album-cover {
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--surface);
  overflow: hidden;
}

.gallery-album-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-album-cover-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 8rem;
  background: linear-gradient(135deg, var(--border), var(--surface));
}

.gallery-album-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.gallery-album-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.gallery-album-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.gallery-album-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.gallery-breadcrumb {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.gallery-breadcrumb a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.gallery-breadcrumb a:hover {
  text-decoration: underline;
}

.gallery-album-intro {
  max-width: 52rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.gallery-back-wrap {
  margin: 2rem 0 0;
}

.gallery-back {
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.gallery-back:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.address-block {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.address-block a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--surface);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose-strong);
  box-shadow: 0 0 0 4px rgb(var(--primary-rgb) / 0.22);
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--rose-deep);
}

/* —— OEFE : organisation, mission, axes, programmes —— */

.about-oefe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, min(52vw, 560px));
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.about-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.photo-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--surface-warm);
  box-shadow: var(--shadow-sm);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto;
}

.photo-strip-item {
  margin: 0;
  min-height: clamp(180px, 28vw, 260px);
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.photo-strip-item:last-child {
  border-right: none;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.programmes-photo.photo-frame-lg {
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--surface-warm);
  box-shadow: var(--shadow-sm);
}

figure.programmes-photo {
  margin-left: auto;
  margin-right: auto;
}

.programmes-photo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.photo-caption {
  padding: 0.65rem 1rem 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-caption);
  text-align: center;
  background: var(--surface);
}

.impact-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.rejoindre-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .impact-grid.impact-grid-photo {
    grid-template-columns: minmax(0, 1.15fr) minmax(200px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2rem);
  }
}

.hide-mobile {
  display: none;
}

@media (min-width: 860px) {
  .hide-mobile {
    display: block;
  }
}

.about-oefe-main p {
  color: var(--text-body);
  max-width: 62ch;
}

.about-oefe-main p + p {
  margin-top: 1rem;
}

.inline-quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--border);
  border-left: 5px solid var(--rose-strong);
}

.inline-quote p {
  margin: 0;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.6;
}

.card-aside {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card-aside h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
  margin: 0 0 0.5rem;
}

.card-aside h3:not(:first-child) {
  margin-top: 1.35rem;
}

.card-aside p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.mission-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mission-card {
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mission-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--link);
  margin: 0 0 0.65rem;
}

.mission-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.62;
}

.mission-card-accent {
  background: var(--surface-tint-blue);
  border-color: var(--rose-soft);
}

/* Notre équipe · cartes membres */
.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(268px, 100%), 1fr));
  gap: clamp(1.35rem, 3.5vw, 2rem);
  margin: 0;
}

.team-member {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--radius-lg);
  border: none;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.22s ease;
}

.team-member:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-member-photo-wrap {
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--surface-tint-blue);
  overflow: hidden;
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member-body {
  flex: 1;
  padding: 1.15rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.team-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose-deep);
}

.team-member-name {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.team-member-name-pending span {
  color: var(--text-caption);
  font-style: italic;
  font-weight: 650;
}

.team-role {
  margin: 0 0 auto;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--link);
  line-height: 1.45;
}

.team-bio {
  margin: 0.75rem 0 0;
  font-size: 0.96rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.team-edit-hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-caption);
  font-style: italic;
}

.team-join-reminder {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.subhead-center {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1rem;
  color: var(--text-heading);
}

.values-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
}

.values-list li {
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--border);
  line-height: 1.55;
}

.values-list strong {
  color: var(--text-heading);
}

.axes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.axe-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border);
}

.axe-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--text-inverse);
  background: var(--rose-strong);
  padding: 0.45rem 0.58rem;
  border-radius: 10px;
  line-height: 1;
  border: 2px solid var(--rose-deep);
}

.axe-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text-heading);
}

.axe-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}


.programmes-home-inner {
  position: relative;
}

.programmes-home-head .programmes-home-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose-deep);
}

.programmes-home-head h2::after {
  content: "";
  display: block;
  width: 3.75rem;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--oefe-bleu-marque), var(--oefe-magenta-marque));
}

.programmes-home-more {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
}

.programmes-home-more-link {
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.programmes-home-more-link:hover {
  text-decoration: underline;
}

.programmes-home-grid {
  margin-top: 0.25rem;
}

.prog-lead {
  margin: 0 0 0.65rem;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.58;
}

.programme-expand {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-tint-blue);
  overflow: hidden;
}

.programme-expand summary {
  cursor: pointer;
  padding: 0.6rem 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--link);
  list-style: none;
  transition: background 0.2s ease;
}

.programme-expand summary::-webkit-details-marker {
  display: none;
}

.programme-expand summary:hover {
  background: rgb(var(--couleur-primary-rgb) / 0.06);
}

.programme-expand[open] summary {
  border-bottom: 1px solid var(--border);
  background: rgb(var(--couleur-primary-rgb) / 0.07);
}

.programme-expand-inner {
  padding: 0.9rem 1rem 1.15rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.programme-expand-inner > p:first-child {
  margin-top: 0;
}

.programme-expand-inner p {
  margin: 0 0 0.75rem;
}

.programme-expand-inner p:last-child {
  margin-bottom: 0;
}

.bullet-list--flat-top {
  margin-top: 0;
}

.programmes-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(17.5rem, 100%), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  align-items: stretch;
}

.programme-article {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.22s ease;
}

.programme-article:hover {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.programme-article-head {
  margin: 0;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border);
  background: var(--surface-tint-blue);
}

.programme-article-head h2,
.programme-article-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-heading);
}

.programme-card-title-link {
  color: inherit;
  text-decoration: none;
}

.programme-card-title-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.prog-body {
  flex: 1;
  padding: 1.15rem 1.35rem 1.4rem;
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.prog-body p {
  margin: 0 0 0.85rem;
}

.prog-body p:last-child {
  margin-bottom: 0;
}

.bullet-list {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.62;
}

.bullet-list.tight li + li {
  margin-top: 0.4rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.impact-grid h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--text-heading);
}

.impact-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.impact-targets .chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-list li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  background: var(--surface);
  border: 2px solid var(--rose-soft);
  color: var(--text-body);
}

.objectifs-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.objectif-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border);
}

.objectif-card-long {
  border-color: var(--rose-soft);
  background: var(--surface-tint-blue);
}

.objectif-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.85rem;
  color: var(--rose-deep);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 2.25rem;
}

.blog-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--surface-tint-blue);
  color: var(--text-heading);
  border: 2px solid var(--border);
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.blog-card {
  padding: 0 0 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-soft);
}

.blog-card-visual {
  margin: 0 0 1rem;
  height: 150px;
  overflow: hidden;
  background: var(--surface-warm);
  border-bottom: 2px solid var(--border);
}

.blog-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
  padding: 0 1.35rem;
}

.blog-card h3,
.blog-card h4 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  margin: 0.45rem 0 0.5rem;
  padding: 0 1.35rem;
  color: var(--text-heading);
  line-height: 1.35;
}

.blog-card-title-link {
  color: inherit;
  text-decoration: none;
}

.blog-card-title-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.blog-card p {
  margin: 0 0 0.75rem;
  padding: 0 1.35rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.blog-card time {
  display: block;
  font-size: 0.8rem;
  color: var(--text-caption);
  padding: 0 1.35rem;
}

.blog-rhythm {
  margin: 2rem auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-rhythm a {
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.blog-rhythm a:hover {
  text-decoration: underline;
}

/* Article blog (page unique) */
.article-single-inner {
  max-width: 42rem;
  margin-inline: auto;
}

.article-back {
  margin: 0 0 1.5rem;
}

.article-back-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--link);
  text-decoration: none;
}

.article-back-link:hover {
  text-decoration: underline;
}

.article-single-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.article-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-single-cat {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: var(--rose-deep);
}

.article-single-date {
  color: var(--text-caption);
}

.article-single-pill {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-caption);
}

.article-single-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.article-single-lede {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.article-single-cover {
  margin: 0 auto 2rem;
  max-width: 100%;
}

.article-single-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.article-single-caption {
  margin-top: 0.5rem;
}

.article-single-body {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-body);
}

.article-single-body > p {
  margin: 0 0 1.1rem;
}

.article-single-body > p:last-child {
  margin-bottom: 0;
}

.article-single-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 1.75rem 0 0.75rem;
}

.article-single-body h2:first-of-type {
  margin-top: 1.25rem;
}

.article-single-body .bullet-list {
  margin: 0 0 1.25rem;
}

.article-single-quote {
  margin: 1.5rem 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--blue-strong);
  background: var(--surface-tint-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-single-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.article-single-body a {
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.article-single-body a:hover {
  text-decoration: underline;
}

.article-single-body > p.article-single-cta {
  margin-top: 2rem;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

@media (max-width: 600px) {
  .article-single-meta {
    flex-direction: column;
    gap: 0.35rem;
  }
}

.rejoindre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

.rejoindre-column {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  min-width: 0;
}

.rejoindre-photo {
  margin: 0;
  align-self: start;
}

.don-copy.rejoindre-intro > p:last-of-type {
  margin-bottom: 0;
}

.soutenir-box {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.soutenir-box p {
  margin-bottom: 1rem;
}

.soutenir-box .bullet-list {
  margin-bottom: 1.25rem;
}

.soutenir-box .btn-primary {
  margin-top: 0;
  align-self: flex-start;
}

@media (max-width: 820px) {
  .rejoindre-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .rejoindre-photo {
    max-width: min(100%, 440px);
    margin-inline: auto;
    width: 100%;
  }
}

.don-copy h3.h3-inline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
  color: var(--text-heading);
}

.footer-slogan {
  max-width: 42rem;
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-logo {
  font-size: 1.35rem;
}

.footer-top {
  font-weight: 600;
  text-decoration: none;
}

/* Réductions motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .programme-article:hover,
  .team-member:hover,
  .partner-logo-item:hover .partner-logo-img,
  .partner-logo-link:hover .partner-logo-img {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    text-align: center;
  }

  .hero-content-container {
    grid-template-columns: 1fr;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: min(420px, 100%);
    margin-inline: auto;
    order: -1;
  }

  .card-float {
    left: 50%;
    transform: translate(-50%, 0);
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: 200px;
  }

  .photo-strip-item:last-child {
    border-bottom: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .about-oefe-grid {
    grid-template-columns: 1fr;
  }

  .action-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .activity-cards .action-item {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .activity-badge {
    justify-self: start;
  }

  .action-meta {
    white-space: normal;
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1rem;
    border-bottom: 2px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .site-header.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .nav a {
    border-radius: var(--radius);
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-don {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .section-head.align-left {
    text-align: left;
  }
}
