:root,
[data-theme="light"] {
  color-scheme: light;
  --ink: #161616;
  --white: #ffffff;
  --hero-bg: #e8ecef;
  --card: #cbd6de;
  --olive: #262f07;
  --link-blue: #004aac;
  --highlight: #ffec00;
  --muted: #6b6f73;
  --surface: #ffffff;
  --header-bg: #ffffff;
  --header-bg-hero: #000000;
  --header-border: rgba(0, 0, 0, 0.06);
  --nav-hover-bg: rgba(0, 0, 0, 0.06);
  --pill-bg: #000000;
  --pill-fg: #ffffff;
  --input-bg: #ffffff;
  --input-border: #000000;
  --ring-border: #000000;
  --ring-label-text: #161616;
  --photo-border: #000000;
  --max: 64rem;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --radius-card: 16px;
  --radius-btn: 10px;
  --font: "Satoshi", "Segoe UI", system-ui, sans-serif;
  --header-h: 4.25rem;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ededed;
  --white: #111111;
  --hero-bg: #181a1c;
  --card: #2a3238;
  --olive: #4a5520;
  --link-blue: #6ba3ff;
  --highlight: #ffec00;
  --muted: #a0a5ab;
  --surface: #111111;
  --header-bg: #111111;
  --header-bg-hero: #181a1c;
  --header-border: rgba(255, 255, 255, 0.08);
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --pill-bg: #ffffff;
  --pill-fg: #000000;
  --input-bg: #1c1c1c;
  --input-border: #ededed;
  --ring-border: #ededed;
  --ring-label-text: #161616;
  --photo-border: #ededed;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--header-h);
  overscroll-behavior-y: none;
}

@media (min-width: 769px) {
  html {
    scroll-snap-type: none;
  }

  /* Sur desktop, la pagination molette est gérée en JS (scrollTo). */
  html.is-mobile-feed {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
    overscroll-behavior-y: auto;
  }
}

.snap-page {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (min-width: 769px) {
  .snap-page {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}

.section.snap-page,
.site-footer.snap-page {
  min-height: 100vh;
  min-height: 100dvh;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--surface);
  transition: background 0.25s ease, color 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Pill buttons (black) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.6rem 1.6rem;
  background: var(--pill-bg);
  color: var(--pill-fg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  border: 0;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-pill:hover,
.btn-pill:focus-visible {
  opacity: 0.85;
}

/* ===== Hero ===== */
.hero-wrap {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--hero-bg);
}

.site-header {
  flex: 0 0 auto;
}

.site-header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background 0.25s ease, border-color 0.25s ease;
}

body.is-hero .site-header--fixed {
  background: var(--header-bg-hero);
  border-bottom-color: transparent;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.logo {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo__short {
  display: none;
}

.header-section-title {
  display: none;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--ink);
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 95;
  background: var(--surface);
  padding: 1.25rem var(--gap) 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu__nav a {
  display: block;
  padding: 0.65rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__nav a[aria-current="true"] {
  color: var(--link-blue);
}

.mobile-menu__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--header-border);
}

.mobile-menu__lang {
  margin-top: auto;
  padding-top: 1.5rem;
  position: relative;
}

.site-header .site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(0.35rem, 1vw, 0.65rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header .site-nav a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible {
  background: var(--nav-hover-bg);
}

.site-header .site-nav a[aria-current="true"] {
  background: transparent;
  color: inherit;
  opacity: 1;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--nav-hover-bg);
}

.theme-toggle__icon {
  grid-area: 1 / 1;
}

.theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: block;
}

.lang-dropdown {
  position: relative;
  flex-shrink: 0;
  margin-left: 0.35rem;
}

.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-dropdown__toggle:hover,
.lang-dropdown__toggle:focus-visible {
  background: var(--nav-hover-bg);
}

.lang-dropdown__chevron {
  display: block;
  transition: transform 0.2s ease;
}

.lang-dropdown.is-open .lang-dropdown__chevron {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 40;
  min-width: 8.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: var(--radius-btn);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.lang-flag-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.lang-flag {
  display: block;
  flex-shrink: 0;
  width: 1.125rem;
  height: 0.75rem;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.lang-flag[hidden] {
  display: none;
}

.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-radius: calc(var(--radius-btn) - 2px);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-dropdown__option:hover,
.lang-dropdown__option:focus-visible {
  background: var(--nav-hover-bg);
}

.lang-dropdown__option[aria-selected="true"] {
  background: var(--pill-bg);
  color: var(--pill-fg);
}

.lang-switch {
  display: flex;
  gap: 0.2rem;
  flex-shrink: 0;
}

.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  background: var(--nav-hover-bg);
}

.lang-switch__btn[aria-pressed="true"] {
  background: var(--pill-bg);
  color: var(--pill-fg);
}

.hero {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--header-h) var(--gap) clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  place-items: center;
}

.hero-intro {
  text-align: right;
  max-width: min(36rem, 100%);
}

.hero-lead {
  margin: 0;
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero-lead .strike {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.hero-br--main {
  display: inline;
}

.hero-link {
  margin-top: 1rem;
  color: var(--link-blue);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-newsletter {
  position: absolute;
  right: var(--gap);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  width: min(420px, calc(100% - 2 * var(--gap)));
}

.hero-newsletter__label {
  margin: 0;
  font-size: 0.95rem;
}

.hero-newsletter__quote {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.95rem;
}

/* Subscribe form (hero + footer) */
.subscribe {
  display: flex;
  width: 100%;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--ink);
  border-radius: 0;
}

.subscribe button {
  padding: 0.7rem 1.4rem;
  border: 0;
  background: var(--olive);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.subscribe button:hover,
.subscribe button:focus-visible {
  opacity: 0.9;
}

/* ===== Sections ===== */
.section {
  padding: clamp(3rem, 7vw, 5rem) var(--gap);
}

.section:first-of-type {
  padding-top: clamp(3.5rem, 8vw, 6rem);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.section h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}

/* Grey card (shared) */
.card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.card__lead {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.card__meta {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.3;
}

.card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.card ul {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.card li {
  margin-bottom: 0.15rem;
}

.card__note {
  font-size: 0.8rem;
  color: var(--muted);
}

.card .btn-pill {
  margin-top: auto;
}

/* Initiatives diagram */
.diagram {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    ".          accompagner ."
    "rassembler ring        faire";
  gap: 1.5rem;
  align-items: center;
}

.card--accompagner {
  grid-area: accompagner;
}
.card--rassembler {
  grid-area: rassembler;
}
.card--faire {
  grid-area: faire;
}

.ring--mobile {
  display: none;
}

.ring--desktop {
  display: block;
}

.ring,
.ring--mobile,
.ring--desktop {
  grid-area: ring;
  position: relative;
  width: min(220px, 70%);
  aspect-ratio: 228 / 232;
  margin: 0 auto;
  overflow: visible;
}

.ring__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring__circle {
  fill: none;
  stroke: var(--ring-border);
  stroke-width: 2;
}

[data-theme="dark"] .ring__circle {
  stroke: #ffffff;
  stroke-width: 2.5;
}

.ring__label-bg {
  fill: none;
  stroke: var(--highlight);
  stroke-width: 15;
  stroke-linecap: round;
}

.ring__label-text {
  fill: var(--ring-label-text);
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.initiatives-ring-stage {
  display: none;
}

.site-footer--embedded {
  display: none;
}

@media (max-width: 768px) {
  #initiatives .diagram {
    grid-template-columns: 1fr;
    grid-template-areas:
      "accompagner"
      "rassembler"
      "faire";
    gap: 0.75rem;
  }

  #initiatives .ring--desktop {
    display: none;
  }

  #initiatives h2 {
    display: none;
  }

  #initiatives .card {
    padding: 1rem 1.1rem;
  }

  #initiatives .card .btn-pill {
    align-self: flex-end;
  }

  #initiatives .section__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  #initiatives .initiatives-ring-stage {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    padding-inline: clamp(1.75rem, 8vw, 2.75rem);
    padding-bottom: 0.35rem;
    box-sizing: border-box;
    overflow: visible;
  }

  #initiatives .ring--mobile {
    display: block;
    width: min(220px, 56vw);
    margin: 0 auto;
    flex-shrink: 0;
  }

  #initiatives .diagram {
    flex: 1;
    min-height: 0;
    align-content: start;
  }

  #initiatives .card h3 {
    font-size: 1.05rem;
  }

  #initiatives .card__lead {
    font-size: 0.76rem;
    line-height: 1.28;
    margin-bottom: 0.35rem;
    font-weight: 700;
  }

  #initiatives .card__meta {
    font-size: 0.76rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
  }

  #initiatives .card__note {
    font-weight: 400;
  }

  #initiatives .card li {
    font-weight: 700;
  }

  #initiatives .card p,
  #initiatives .card ul {
    font-size: 0.85rem;
  }
}

/* ===== Media ===== */
#media {
  --media-gap: 0.14rem;
  --media-pad-block: 0.12rem;
  --media-pad-inline: 0.7rem;
  --media-inner-gap: 0.06rem;
}

#media .section__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#media.section h2 {
  flex-shrink: 0;
  margin-bottom: clamp(0.35rem, 0.9vh, 0.6rem);
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.95fr);
  grid-template-rows: minmax(0, 1fr);
  gap: var(--media-gap);
  flex: 1;
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}

.media-card--tall {
  grid-row: 1 / -1;
  min-height: 0;
}

.media-col {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--media-gap);
  min-height: 0;
  overflow: hidden;
}

.media-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: var(--media-pad-block) var(--media-pad-inline);
  display: flex;
  flex-direction: column;
  gap: var(--media-inner-gap);
  min-height: 0;
  overflow: hidden;
}

.media-col .media-card {
  flex: 1;
  min-height: 0;
}

.media-card__cat {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  flex-shrink: 0;
}

.media-card h3 {
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.media-card .btn-pill {
  flex-shrink: 0;
  margin-top: auto;
  align-self: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
}

.media-card--tall .btn-pill {
  min-width: min(100%, 12rem);
  padding-inline: 2.5rem;
}

.media-col .media-card .btn-pill {
  min-width: 7.5rem;
  padding-inline: 1.75rem;
}

.media-filters {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--media-gap);
  min-height: 0;
  overflow: hidden;
}

.filter-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--media-pad-block) var(--media-pad-inline);
  background: var(--pill-bg);
  color: var(--pill-fg);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.62rem, 0.85vw, 0.78rem);
  line-height: 1.2;
  border-radius: 12px;
  min-height: 0;
  transition: opacity 0.15s;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  opacity: 0.85;
}

/* ===== Bio ===== */
.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.bio-photo {
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--photo-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--input-bg);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.bio-text h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
}

.bio-text p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .bio-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== Témoignages ===== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.testimonials-row {
  display: contents;
}

.testimonial {
  flex: 0 1 calc((100% - 3rem) / 3);
  min-width: 240px;
  margin: 0;
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial blockquote {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial__photo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--input-bg);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--muted);
}

.testimonial cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  #temoignages .section__inner {
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .testimonials {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-height: 0;
    min-width: 0;
    margin-inline: 0;
    overflow: visible;
    padding-block: 0;
  }

  #temoignages .testimonials-lane {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr) 2.15rem;
    align-items: center;
    gap: 0.15rem;
    overflow: hidden;
    padding-inline: 0;
  }

  #temoignages .testimonials-lane .testimonials-row {
    grid-column: 2;
    grid-row: 1;
    flex: none;
    margin-inline: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
  }

  #temoignages .testimonials-lane__btn {
    position: static;
    transform: none;
    justify-self: center;
  }

  #temoignages .testimonials-lane__btn--prev {
    grid-column: 1;
    grid-row: 1;
  }

  #temoignages .testimonials-lane__btn--next {
    grid-column: 3;
    grid-row: 1;
  }

  #temoignages .testimonials-lane__btn[hidden] {
    visibility: hidden;
    pointer-events: none;
  }

  .testimonials-lane {
    position: relative;
    flex: 0 0 auto;
    min-height: 0;
    min-width: 0;
  }

  .testimonials-row {
    display: flex;
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    padding-inline: 0;
    cursor: grab;
  }

  .testimonials-row.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  #temoignages .testimonials-row.testimonials-row--marquee {
    scroll-snap-type: none;
  }

  #temoignages .testimonials-row--marquee .testimonial {
    scroll-snap-align: none;
  }

  .testimonials-row.is-dragging .testimonial {
    pointer-events: none;
  }

  .testimonials-row::-webkit-scrollbar {
    display: none;
  }

  .testimonials-row--2 {
    scroll-padding-inline: var(--gap);
  }

  .testimonials-row--2 .testimonial {
    flex: 0 0 var(--testimonial-card-w, min(80vw, 18.5rem));
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: clamp(8.25rem, 24vh, 10.5rem);
    height: 100%;
  }

  .testimonial {
    flex-shrink: 0;
    min-width: auto;
    width: auto;
    padding: 0.9rem 1rem;
    gap: 0.7rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .testimonial blockquote {
    font-size: clamp(0.74rem, 3.25vw, 0.92rem);
    font-weight: 700;
    line-height: 1.28;
    flex: 1 1 auto;
  }

  .testimonial figcaption {
    gap: 0.5rem;
    margin-top: auto;
    flex-shrink: 0;
  }

  .testimonial__photo {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.54rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  [data-theme="dark"] .testimonial__photo {
    background: var(--surface);
    border-color: var(--header-border);
  }

  .testimonial cite {
    font-size: clamp(0.56rem, 2.45vw, 0.66rem);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
  }

  .testimonials-row--2:last-child {
    padding-right: var(--gap);
  }

  #temoignages .temoignages-newsletter {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.25rem var(--gap) 0.65rem;
    align-self: stretch;
    text-align: right;
    box-sizing: border-box;
  }

  #temoignages .temoignages-newsletter__quote {
    display: none;
  }

  #temoignages .temoignages-newsletter__row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
  }

  #temoignages .temoignages-newsletter__row .subscribe {
    margin-left: auto;
    max-width: 100%;
    width: 100%;
  }

  #temoignages .temoignages-newsletter__social {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
    margin-top: 0;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--surface);
  padding: clamp(2rem, 5vw, 3.5rem) var(--gap) 2rem;
  box-sizing: border-box;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  text-align: right;
}

.footer-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.footer-row .subscribe {
  width: min(360px, 60vw);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: var(--olive);
  display: grid;
  place-items: center;
  border-radius: 4px;
}

.footer-meta {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== Scroll pagination ===== */
.page-index {
  position: fixed;
  right: clamp(0.65rem, 1.5vw, 1rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  pointer-events: none;
  max-height: calc(100dvh - 2rem);
}

.page-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-end;
}

.page-index a {
  pointer-events: auto;
  display: block;
  width: 1px;
  height: 1.1rem;
  background: var(--ink);
  opacity: 0.18;
  text-decoration: none;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.page-index a:hover,
.page-index a:focus-visible {
  opacity: 0.55;
}

.page-index a[aria-current="true"] {
  opacity: 1;
  width: 2px;
  height: 1.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .page-index {
    display: none;
  }
}

@media (min-width: 769px) {
  .logo__full {
    display: inline;
  }

  .logo__short {
    display: none;
  }

  .menu-toggle,
  .header-section-title,
  .mobile-menu {
    display: none !important;
  }

  .site-footer--embedded {
    display: none !important;
  }

  .site-footer--standalone {
    display: block;
  }

  .section.snap-page,
  .site-footer.snap-page {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding-block: clamp(2rem, 4vh, 3rem);
    padding-inline: var(--gap);
  }

  .section.snap-page > .section__inner,
  .site-footer.snap-page > .site-footer__inner {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    max-height: 100%;
    overflow-y: hidden;
    overscroll-behavior-y: none;
  }

  #initiatives .section h2 {
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
  }

  #initiatives .diagram {
    gap: clamp(0.75rem, 1.5vw, 1.15rem);
  }

  #initiatives .card {
    padding: clamp(1rem, 1.5vw, 1.3rem) clamp(1.1rem, 1.6vw, 1.45rem);
  }

  #initiatives .card h3 {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    margin-bottom: 0.3rem;
  }

  #initiatives .card__lead {
    font-size: clamp(0.74rem, 0.95vw, 0.82rem);
    margin-bottom: 0.35rem;
  }

  #initiatives .card ul {
    font-size: clamp(0.78rem, 0.95vw, 0.86rem);
    margin-bottom: 0.55rem;
  }

  #initiatives .card li {
    margin-bottom: 0;
  }

  #initiatives .card__note {
    margin-bottom: 0.25rem;
  }

  #initiatives .btn-pill {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }

  #media.section.snap-page {
    height: calc(100dvh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    padding-top: clamp(0.75rem, 2vh, 1.25rem);
    padding-bottom: clamp(1rem, 3vh, 2rem);
  }

  #media .media-card .btn-pill {
    margin-bottom: clamp(0.5rem, 1.4vh, 1rem);
  }

  #media {
    --media-gap: 0.1rem;
    --media-pad-block: 0.08rem;
    --media-inner-gap: 0.04rem;
  }

  #media.section h2 {
    margin-bottom: clamp(0.28rem, 0.7vh, 0.45rem);
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 0;
    scroll-snap-type: y mandatory;
  }

  body {
    overflow-x: hidden;
  }

  .snap-page {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  /* Pages avec newsletter en bas (hors section__inner) */
  #bio.snap-page > .section__inner,
  .initiative-detail.snap-page > .section__inner,
  .section--media-category.snap-page > .section__inner {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
  }

  #bio.snap-page > .newsletter-strip,
  .initiative-detail.snap-page > .newsletter-strip,
  .section--media-category.snap-page > .newsletter-strip {
    flex: 0 0 auto;
  }

  .page-index {
    display: block;
    right: 0.45rem;
    z-index: 90;
  }

  .page-index a {
    width: 2px;
    height: 0.85rem;
  }

  .page-index a[aria-current="true"] {
    width: 3px;
    height: 1.35rem;
  }

  /* Hero — accroche à droite, newsletter en bas à droite */
  .hero-wrap {
    height: 100dvh;
  }

  .hero {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: var(--header-h) var(--gap) clamp(1.25rem, 4vw, 2rem);
  }

  .hero-intro {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    text-align: right;
    max-width: none;
    min-height: 0;
    margin-bottom: clamp(1.25rem, 5vh, 2.5rem);
    padding-top: 0;
  }

  .hero-lead {
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: right;
    font-size: clamp(1.65rem, 8.2vw, 2.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .hero-link {
    margin-top: 0.85rem;
    align-self: flex-end;
    text-align: right;
  }

  .hero-newsletter {
    flex-shrink: 0;
    position: static;
    width: 100%;
    max-width: none;
    align-self: flex-end;
    text-align: right;
  }

  .hero-newsletter .subscribe {
    margin-left: auto;
    max-width: 100%;
  }

  /* Header mobile — accueil vs sections internes */
  :root {
    --header-h: 3.75rem;
  }

  .site-header--fixed {
    height: auto;
    min-height: var(--header-h);
    padding-block: 0.85rem 0.75rem;
  }

  .site-header__inner {
    flex-wrap: nowrap;
    height: auto;
    align-items: center;
    gap: 0.75rem;
  }

  .logo__full {
    display: none;
  }

  .logo__short {
    display: inline;
  }

  .logo--home {
    display: block;
    flex-shrink: 0;
  }

  .site-header .site-nav,
  .header-section-title,
  body.is-hero .header-section-title,
  body:not(.is-hero) .header-section-title {
    display: none !important;
  }

  body.is-hero .site-nav,
  body:not(.is-hero) .site-nav {
    display: none !important;
  }

  body.is-hero .header-controls,
  body:not(.is-hero) .header-controls {
    display: none;
  }

  body.is-hero .menu-toggle,
  body:not(.is-hero) .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header .site-nav a[aria-current="true"] {
    background: transparent;
    color: var(--ink);
    text-decoration: none;
  }

  /* Footer embarqué dans témoignages */
  .site-footer--embedded {
    display: block;
    flex-shrink: 0;
    margin-top: 1.25rem;
    padding-top: 1rem;
    background: transparent;
  }

  .site-footer--embedded .site-footer__inner,
  .site-footer--embedded {
    max-width: none;
    margin: 0;
    align-items: stretch;
    text-align: left;
    gap: 0.65rem;
  }

  .site-footer--embedded .footer-label {
    display: none;
  }

  .site-footer--embedded .footer-row {
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
  }

  .site-footer--embedded .footer-row .subscribe {
    flex: 1;
    min-width: 0;
    width: auto;
  }

  .site-footer--embedded .footer-meta {
    display: none;
  }

  .site-footer--standalone {
    display: none;
  }

  .site-footer--embedded .footer-social .social-icon {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--ink);
  }

  .site-footer--embedded .footer-social .social-icon svg {
    stroke: currentColor;
    fill: currentColor;
  }

  .site-footer--embedded .footer-social .social-icon svg[fill="none"] {
    fill: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .page-index__item--newsletter {
    display: none;
  }

  #media .media-card .btn-pill {
    align-self: flex-end;
    text-transform: uppercase;
  }

  /* Bio mobile — une page, sans scroll interne */
  #bio.snap-page > .section__inner {
    height: auto;
    max-height: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 0;
  }

  #bio .bio-layout {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 360px) 1fr;
    gap: 0.85rem;
    overflow: hidden;
  }

  #bio .bio-layout.is-expanded {
    grid-template-columns: 1fr;
  }

  #bio .bio-photo {
    flex: 0 0 auto;
    width: min(100%, 220px);
    aspect-ratio: 1 / 1;
    max-height: min(34vh, 220px);
    height: auto;
    margin-inline: auto;
  }

  #bio .bio-text {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #bio .bio-prose-wrap {
    flex: 1 1 auto;
    min-height: 0;
  }

  #bio .bio-prose {
    padding-bottom: 1.75rem;
  }

  #bio.snap-page > .newsletter-strip {
    flex: 0 0 auto;
    display: flex;
  }

  #bio .bio-text h3 {
    margin-bottom: 0.55rem;
    font-size: clamp(1rem, 4.2vw, 1.2rem);
  }

  /* Sections — une page = un écran, défilement interne si besoin */
  .section.snap-page,
  .site-footer.snap-page {
    padding: 0;
  }

  .section__inner,
  .site-footer__inner {
    height: 100%;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  #bio.snap-page > .section__inner,
  #intro.snap-page > .section__inner,
  #methode.snap-page > .section__inner,
  .initiative-detail.snap-page > .section__inner,
  .section--media-category.snap-page > .section__inner {
    height: auto;
    max-height: none;
    overflow: hidden;
  }

  .section__inner {
    padding: calc(var(--header-h) + 0.85rem) var(--gap) clamp(2rem, 5vh, 3rem);
  }

  #initiatives .section__inner,
  #media .section__inner,
  #bio .section__inner,
  #temoignages .section__inner {
    padding-top: calc(var(--header-h) + 0.65rem);
  }

  .section h2 {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
  }

  #media.section h2,
  #bio.section h2,
  #temoignages.section h2 {
    display: none;
  }

  .site-footer__inner {
    padding: calc(var(--header-h) + 1rem) var(--gap)
      max(1.5rem, env(safe-area-inset-bottom, 0px));
    width: 100%;
    align-items: stretch;
    text-align: left;
  }

  /* Media — colonne verticale plein écran */
  #media {
    --media-gap: 0.16rem;
    --media-pad-block: 0.16rem;
    --media-inner-gap: 0.08rem;
  }

  #media .section__inner {
    overflow-y: hidden;
  }

  #media.section h2 {
    margin-bottom: clamp(0.35rem, 1vh, 0.55rem);
  }

  #media .media-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }

  #media .media-card--tall {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
  }

  #media .media-col {
    display: contents;
  }

  #media .media-col .media-card {
    grid-column: 1;
    width: 100%;
  }

  #media .media-filters {
    flex: 0 0 auto;
    grid-row: 4;
    grid-column: 1;
    width: 100%;
    align-self: stretch;
  }

  #media .media-card .btn-pill {
    margin-bottom: 0;
  }

  #media .section__inner {
    padding-bottom: clamp(0.35rem, 1.5vh, 0.6rem);
  }
}

@media (max-width: 560px) {
  .hero-lead {
    font-size: clamp(1.55rem, 7.8vw, 2rem);
  }

  .hero-link {
    font-size: 0.95rem;
  }

  .hero-newsletter__label,
  .hero-newsletter__quote {
    font-size: 0.85rem;
  }

  .site-header .site-nav a {
    padding: 0.3rem 0.45rem;
    font-size: 0.82rem;
  }

  #temoignages h2 {
    margin-bottom: 0.85rem;
  }

  .testimonial {
    padding: 0.6rem 0.7rem;
    gap: 0.5rem;
  }

  .testimonial blockquote {
    font-size: 0.62rem;
  }

  #initiatives .card {
    padding: 0.85rem 1rem;
  }

  #initiatives .card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
  }

  #initiatives .card__lead {
    font-size: 0.72rem;
    line-height: 1.25;
    margin-bottom: 0.3rem;
  }

  #initiatives .card p,
  #initiatives .card ul {
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
  }

  #initiatives .card ul {
    padding-left: 1rem;
  }

  #initiatives .btn-pill {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  #media {
    --media-gap: 0.1rem;
    --media-pad-block: 0.1rem;
    --media-inner-gap: 0.06rem;
  }

  #media.section h2 {
    margin-bottom: 0.35rem;
  }
}

