/* Maquette v2 — layout & composants */

:root,
[data-theme="light"] {
  --font-typewriter: "Special Elite", "Courier New", monospace;
  --accent-orange: #ff970e;
  --accent-green: #36ae67;
  --accent-blue: #84bed9;
  --accent-brown: #8b5a3c;
  --accent-sky: #7eb8da;
  --section-dark: #000000;
  --section-grey: #8f8f8f;
  --card-work: #c5cdd4;
}

.typewriter {
  font-family: var(--font-typewriter);
  font-weight: 400;
  line-height: 1.45;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, #d8dde3 0%, #b8c4ce 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-placeholder::before {
  content: "✕";
  position: absolute;
  font-size: clamp(3rem, 12vw, 6rem);
  opacity: 0.35;
  font-weight: 400;
}

.photo-placeholder {
  position: relative;
}

/* Dark header on black sections */
body.is-on-dark .site-header--fixed {
  background: var(--section-dark);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.is-on-dark .logo,
body.is-on-dark .header-section-title,
body.is-on-dark .site-header .site-nav a,
body.is-on-dark .menu-toggle,
body.is-on-dark .menu-toggle__bar {
  color: #ffffff;
}

body.is-on-dark .site-header .site-nav a:not([aria-current="true"]) {
  opacity: 0.5;
}

body.is-on-dark .site-header .site-nav a[aria-current="true"] {
  background: transparent;
  color: #ffffff;
  opacity: 1;
}

/* Light header on white sections */
body.is-on-light .site-header--fixed {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.is-on-light .logo,
body.is-on-light .header-section-title,
body.is-on-light .header-home,
body.is-on-light .site-header .site-nav a,
body.is-on-light .menu-toggle,
body.is-on-light .menu-toggle__bar {
  color: var(--ink);
}

body.is-on-light .site-header .site-nav a:not([aria-current="true"]) {
  opacity: 0.5;
}

body.is-on-light .site-header .site-nav a[aria-current="true"] {
  color: var(--ink);
  background: transparent;
  opacity: 1;
}

/* Hero v2 */
.hero-wrap {
  background: #000000;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero-wrap .hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: calc(var(--header-h) + 0.35rem) clamp(0.65rem, 2vw, 1.25rem)
    clamp(1.25rem, 3vw, 2rem);
  min-height: 0;
  position: relative;
}

.hero__visual {
  position: relative;
  flex: 1 1 auto;
  min-height: min(58vh, 560px);
  width: 100%;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

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

.hero-wrap .hero-intro {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  padding: clamp(1rem, 3vw, 2rem) clamp(0.75rem, 2.5vw, 2rem);
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

.hero-wrap .hero-name {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: right;
}

.hero-wrap .hero-lead {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: right;
  color: #ffffff;
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-wrap .hero-lead .strike {
  text-decoration: line-through;
  text-decoration-thickness: clamp(2px, 0.2vw, 4px);
}

.hero-wrap .hero-identity {
  margin: 0.7rem 0 0;
  max-width: min(38rem, 92%);
  color: #ffffff;
  font-size: clamp(0.88rem, 1.55vw, 1.08rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
  opacity: 0.92;
}

.hero-wrap .hero-link {
  margin-top: 0.85rem;
  align-self: flex-end;
  text-align: right;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.hero-wrap .hero-newsletter {
  position: static;
  flex: 0 0 auto;
  width: min(100%, 26rem);
  max-width: 100%;
  margin-top: clamp(0.85rem, 2vw, 1.25rem);
  margin-left: auto;
  margin-right: 0;
  align-self: flex-end;
  text-align: right;
}

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

.hero-newsletter__label,
.hero-newsletter__quote {
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
  margin: 0;
  color: rgba(245, 240, 232, 0.85);
}

.hero-newsletter__quote {
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
}

/* Section banner (initiatives title bar) */
.section-banner {
  background: var(--section-dark);
  color: #ffffff;
  padding: clamp(1rem, 2.5vw, 1.35rem) var(--gap);
}

.section-banner h2 {
  margin: 0;
  max-width: var(--max);
  margin-inline: auto;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section--dark {
  background: var(--section-dark);
  color: #ffffff;
  padding: 0;
}

.section--dark .section__inner {
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--gap);
}

.section--light {
  background: #ffffff;
  color: var(--ink);
}

/* Accent bars */
.accent-bar {
  display: flex;
  height: 4px;
  width: min(100%, 28rem);
  margin-top: 0.65rem;
  gap: 0;
}

.accent-bar span {
  display: block;
  height: 100%;
}

.accent-bar--accompagner span:nth-child(1) {
  flex: 13;
  background: #ff970e;
}
.accent-bar--accompagner span:nth-child(2) {
  flex: 3.5;
  background: #36ae67;
}
.accent-bar--accompagner span:nth-child(3) {
  flex: 3.5;
  background: #84bed9;
}

.accent-bar--rassembler span:nth-child(1) {
  flex: 13;
  background: #36ae67;
}
.accent-bar--rassembler span:nth-child(2) {
  flex: 3.5;
  background: #84bed9;
}
.accent-bar--rassembler span:nth-child(3) {
  flex: 3.5;
  background: #ff970e;
}

.accent-bar--faire span:nth-child(1) {
  flex: 13;
  background: #84bed9;
}
.accent-bar--faire span:nth-child(2) {
  flex: 3.5;
  background: #ff970e;
}
.accent-bar--faire span:nth-child(3) {
  flex: 3.5;
  background: #36ae67;
}

/* Full-page snap sections */
.section--initiatives-overview.snap-page,
.initiative-detail.snap-page,
.section--media-category.snap-page,
#intro.snap-page,
#methode.snap-page,
#bio.snap-page {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.section--initiatives-overview .initiatives-overview {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .section--initiatives-overview .initiatives-overview {
    overflow: hidden;
  }
}

@media (min-width: 769px) {
  .section--initiatives-overview .initiatives-overview {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: calc(var(--header-h) + clamp(0.75rem, 2vh, 1.25rem)) var(--gap)
      clamp(0.75rem, 2vh, 1.25rem);
  }

  .initiatives-overview__title {
    font-size: clamp(1.55rem, 3.2vh, 2.35rem);
  }

  .initiatives-overview .initiative-row {
    flex: 1 1 0;
    min-height: 0;
    padding: clamp(0.35rem, 1vh, 0.85rem) 0;
    gap: clamp(0.5rem, 1.2vh, 0.85rem);
  }

  .initiatives-overview .initiative-row__title {
    font-size: clamp(1.55rem, 3.8vh, 2.85rem);
    line-height: 1.05;
    font-weight: 700;
  }

  .initiatives-overview .initiative-row__tags {
    font-size: clamp(0.7rem, 1.2vh, 0.88rem);
    line-height: 1.35;
  }

  .initiatives-overview .accent-bar {
    margin-top: clamp(0.15rem, 0.5vh, 0.35rem);
  }

  .initiatives-overview .btn-pill--light {
    padding: clamp(0.35rem, 0.8vh, 0.45rem) clamp(0.65rem, 1.2vw, 0.85rem);
    font-size: clamp(0.68rem, 1.1vh, 0.78rem);
  }
}

.initiative-detail .section__inner,
.section--media-category .section__inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: calc(var(--header-h) + 0.65rem) var(--gap) 1rem;
}

.initiative-detail .section__inner {
  display: flex;
  flex-direction: column;
}

.initiative-detail .work-carousel-stack {
  flex: 1 1 auto;
  min-height: 0;
}

.initiative-detail .work-carousel {
  display: grid;
  flex: 1 1 0;
  min-height: 0;
}

.initiative-detail .newsletter-strip,
.section--media-category .newsletter-strip,
#bio .newsletter-strip {
  flex-shrink: 0;
}

#bio .section__inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  height: auto;
  max-height: none;
  padding: calc(var(--header-h) + 0.65rem) var(--gap) 1rem;
}

/* Initiatives overview */
.section--initiatives-overview {
  padding: 0;
  background: var(--section-dark);
}

.initiatives-overview {
  background: var(--section-dark);
  color: #ffffff;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.initiatives-overview__title {
  margin: 0 0 clamp(0.75rem, 2vh, 1.25rem);
  flex-shrink: 0;
  font-family: var(--font);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.initiative-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.55rem, 1.5vh, 0.85rem);
  padding: clamp(1rem, 2.5vh, 1.75rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.initiative-row:last-child {
  border-bottom: 0;
}

.initiative-row__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.initiative-row__tags {
  margin: 0;
  font-family: var(--font-typewriter);
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.initiatives-overview .accent-bar {
  width: min(100%, 42rem);
  max-width: 70%;
  margin-top: clamp(0.15rem, 0.5vh, 0.35rem);
}

.btn-pill--light {
  align-self: flex-end;
  background: #ffffff;
  color: #000000;
  text-transform: lowercase;
  border-radius: 4px;
}

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

/* Initiative detail */
.initiative-detail__parent {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.75;
  text-transform: lowercase;
}

.initiative-detail__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.initiative-detail__intro {
  margin: 1rem 0 0.5rem;
  max-width: 52rem;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.initiative-detail__tags {
  margin: 0 0 1rem;
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.85;
}

.initiative-detail__selection {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.initiative-detail__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 769px) {
  .initiative-detail .section__inner {
    overflow: hidden;
    padding: calc(var(--header-h) + 0.28rem) var(--gap) 0.35rem;
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.25fr);
    grid-template-rows: auto auto auto auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "parent intro"
      "title intro"
      "accent intro"
      "tags intro"
      "selection selection"
      "cards cards"
      "footer footer";
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    row-gap: 0.08rem;
    align-items: start;
  }

  .initiative-detail__parent {
    grid-area: parent;
    margin: 0;
    font-size: clamp(0.7rem, 1.3vh, 0.82rem);
  }

  .initiative-detail__title {
    grid-area: title;
    font-size: clamp(1.35rem, 4.2vh, 2.45rem);
    margin: 0;
  }

  .initiative-detail .accent-bar {
    grid-area: accent;
    margin: 0.2rem 0 0;
    width: min(100%, 14rem);
  }

  .initiative-detail__intro {
    grid-area: intro;
    margin: 0;
    align-self: center;
    max-width: none;
    font-size: clamp(0.78rem, 1.7vh, 0.98rem);
    line-height: 1.35;
  }

  .initiative-detail__tags {
    grid-area: tags;
    margin: 0.15rem 0 0;
    font-size: clamp(0.64rem, 1.25vh, 0.78rem);
  }

  .initiative-detail__selection {
    grid-area: selection;
    margin: 0.3rem 0 0.25rem;
    font-size: clamp(0.78rem, 1.5vh, 0.92rem);
  }

  .initiative-detail .work-carousel-stack {
    grid-area: cards;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    gap: clamp(0.35rem, 1vh, 0.55rem);
  }

  .initiative-detail .work-carousel {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
  }

  .initiative-detail .work-carousel__track {
    height: 100%;
    min-height: 0;
    align-items: stretch;
  }

  .initiative-detail__footer {
    grid-area: footer;
    margin-top: 0.4rem;
  }

  .initiative-detail .work-card {
    height: 100%;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    padding: clamp(0.38rem, 1vh, 0.7rem) clamp(0.65rem, 1.1vw, 0.95rem);
    gap: clamp(0.06rem, 0.35vh, 0.22rem);
  }

  .initiative-detail .work-card__type,
  .initiative-detail .work-card__for {
    font-size: clamp(0.62rem, 1.2vh, 0.72rem);
  }

  .initiative-detail .work-card__client {
    font-size: clamp(0.92rem, 2.15vh, 1.35rem);
  }

  .initiative-detail .work-card__zoom {
    font-size: clamp(0.64rem, 1.25vh, 0.72rem);
  }

  .initiative-detail .work-card__challenge,
  .initiative-detail .work-card__summary {
    font-size: clamp(0.58rem, 1.22vh, 0.7rem);
    line-height: 1.3;
  }
}

@media (min-width: 769px) and (max-height: 760px) {
  .initiative-detail .section__inner {
    padding-top: calc(var(--header-h) + 0.2rem);
    padding-bottom: 0.25rem;
    row-gap: 0.06rem;
  }

  .initiative-detail__intro {
    font-size: clamp(0.7rem, 1.5vh, 0.86rem);
  }

  .initiative-detail__selection {
    margin: 0.2rem 0 0.15rem;
  }

  .initiative-detail .work-card {
    padding: clamp(0.28rem, 0.8vh, 0.5rem) clamp(0.55rem, 1vw, 0.8rem);
  }

  .initiative-detail .work-card__challenge,
  .initiative-detail .work-card__summary {
    font-size: clamp(0.55rem, 1.15vh, 0.66rem);
  }
}

.contact-link {
  font-family: var(--font-typewriter);
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.95rem;
}

/* Work carousel */
.work-carousel-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 1vw, 0.75rem);
}

.work-carousel {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
  column-gap: 0.35rem;
  align-items: stretch;
  padding-inline: 0;
}

.work-carousel.is-fitted {
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
}

.work-carousel__track {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.work-carousel.is-fitted .work-carousel__track {
  grid-column: 1;
}

.work-carousel__track::-webkit-scrollbar {
  display: none;
}

.work-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--card-work);
  color: #161616;
  border-radius: 4px;
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 12.5rem;
  max-height: 100%;
  overflow-y: auto;
}

.work-card__type {
  margin: 0;
  font-family: var(--font-typewriter);
  font-size: 0.72rem;
  text-transform: capitalize;
}

.work-card__for {
  margin: 0;
  font-family: var(--font-typewriter);
  font-size: 0.72rem;
}

.work-card__client {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.work-card__challenge,
.work-card__summary {
  margin: 0;
  font-family: var(--font-typewriter);
  font-size: 0.68rem;
  line-height: 1.35;
  opacity: 0.9;
}

.initiative-detail .work-card {
  cursor: default;
}

.work-card__zoom {
  margin-top: auto;
  align-self: flex-end;
  border: 0;
  background: transparent;
  padding: 0.1rem 0;
  font-family: var(--font-typewriter);
  font-size: 0.75rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.work-card-zoom {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.work-card-zoom.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.work-card-zoom__panel {
  position: relative;
  width: min(38rem, 94vw);
  max-height: min(78vh, 42rem);
  overflow: auto;
  background: var(--card-work);
  color: #161616;
  border-radius: 6px;
  padding: clamp(1.15rem, 2.5vw, 1.75rem) clamp(1.2rem, 2.8vw, 1.85rem)
    clamp(1.25rem, 2.5vw, 1.8rem);
  transform: scale(0.94);
  transition: transform 0.18s ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.work-card-zoom.is-open .work-card-zoom__panel {
  transform: scale(1);
}

.work-card-zoom__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: #161616;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-zoom__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.work-card-zoom__body .work-card__type,
.work-card-zoom__body .work-card__for {
  font-size: 0.82rem;
}

.work-card-zoom__body .work-card__client {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.12;
}

.work-card-zoom__body .work-card__challenge,
.work-card-zoom__body .work-card__summary,
.work-card-zoom__body .work-card__detail,
.work-card-zoom__body .work-card__subtitle {
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  line-height: 1.45;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .work-card-zoom,
  .work-card-zoom__panel {
    transition: none;
  }

  .work-card-zoom__panel {
    transform: none;
  }
}

.work-card--wide {
  flex: 0 0 min(360px, 88vw);
}

.work-card__subtitle {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.work-card__detail {
  margin: 0;
  font-family: var(--font-typewriter);
  font-size: 0.72rem;
  line-height: 1.4;
}

.work-carousel__btn {
  grid-column: 3;
  grid-row: 1;
  place-self: center;
  position: static;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  transition: background 0.2s ease;
}

.work-carousel__btn[hidden] {
  display: none !important;
}

.work-carousel__btn-icon {
  width: 42%;
  height: 42%;
  display: block;
}

.work-carousel__btn--prev {
  grid-column: 1;
  right: auto;
  left: auto;
}

.work-carousel__btn:hover,
.work-carousel__btn:focus-visible {
  background: rgba(255, 255, 255, 0.55);
}

/* Newsletter strip */
.newsletter-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  background: var(--section-dark);
  color: #ffffff;
  padding: 0.85rem var(--gap);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-strip__label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: 1 1 12rem;
  min-width: 0;
  line-height: 1.3;
}

.subscribe--strip {
  flex: 1 1 16rem;
  max-width: 22rem;
}

.newsletter-strip__social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.newsletter-strip__social .social-icon {
  color: #ffffff;
}

/* Media v2 */
.media-card__photo {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 0.35rem;
  border-radius: 4px;
  overflow: hidden;
}

.media-card__photo .photo-placeholder {
  min-height: 100%;
}

#media .media-card__photo .btn-pill--voir {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  margin: 0;
  z-index: 2;
  align-self: auto;
}

.btn-pill--voir {
  align-self: flex-end;
  margin-top: 0.35rem;
  min-width: 5.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.media-card--tall .media-card__photo {
  min-height: 55%;
}

.media-card--tall .btn-pill--voir {
  align-self: center;
  min-width: min(100%, 12rem);
  margin-top: 0.5rem;
}

.media-category-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(0.65rem, 1.5vw, 0.85rem);
  align-items: start;
}

.media-category-card {
  background: var(--card-work);
  color: #161616;
  border-radius: 6px;
  padding: 0.65rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
}

.media-category-card .media-card__cat {
  font-family: var(--font-typewriter);
  font-size: 0.72rem;
  text-transform: lowercase;
  color: #161616;
}

.media-category-card h3 {
  margin: 0;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  color: #161616;
}

.media-category-card .media-card__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: clamp(120px, 22vh, 200px);
  margin-top: 0.15rem;
  border-radius: 2px;
  overflow: hidden;
}

.media-category-card--tall .media-card__photo {
  aspect-ratio: auto;
  min-height: clamp(280px, 48vh, 420px);
}

.media-category-card .media-card__photo .btn-pill--voir {
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  margin: 0;
  z-index: 1;
  min-width: 5.5rem;
  padding: 0.45rem 1.1rem;
}

.section--media-category {
  background: var(--section-dark);
  color: #ffffff;
}

.section--media-category.page--scrollable {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  overflow: visible;
}

.section--media-category.page--scrollable .section__inner {
  flex: 1 1 auto;
  overflow: visible;
  max-width: min(72rem, 100%);
  margin: 0 auto;
  width: 100%;
  padding-bottom: 1.5rem;
}

.section--media-category.page--scrollable .newsletter-strip {
  flex-shrink: 0;
  width: 100%;
}

.section--media-category .section__parent {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: lowercase;
  opacity: 0.75;
}

.section--media-category h2 {
  margin: 0 0 1rem;
  font-family: var(--font);
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
}

/* View router — une page visible à la fois */
body.is-page-view {
  overflow: hidden;
}

body.is-page-view.is-mobile-feed {
  overflow: visible;
  height: auto;
  min-height: 100%;
}

body.is-page-view.is-page-scrollable {
  overflow: auto;
}

/* Feed pager (smooth scroll + snap) — desktop & mobile */
html.is-mobile-feed {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

@media (min-width: 769px) {
  html.is-mobile-feed {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

html.is-mobile-feed .snap-page {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
}

html.is-mobile-feed .hero-wrap.snap-page {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
}

@media (prefers-reduced-motion: reduce) {
  html.is-mobile-feed {
    scroll-behavior: auto;
  }
}

body.is-page-view .snap-page[hidden] {
  display: none !important;
}

.snap-page.page--scrollable {
  height: auto;
  max-height: none;
  overflow: visible;
  min-height: 100dvh;
}

.snap-page.page--scrollable .section__inner {
  flex: none;
  min-height: auto;
  overflow: visible;
  padding-bottom: 1.5rem;
}

.header-home {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
}

.header-home svg {
  display: block;
}

body.is-on-dark .header-home {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}

/* Header — thème masqué ; sélecteur de langue visible */
.header-controls,
.mobile-menu__controls {
  display: none !important;
}

.lang-dropdown {
  display: block;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

body.is-on-dark .lang-dropdown__toggle {
  color: #ffffff;
}

body.is-on-light .lang-dropdown__toggle {
  color: var(--ink);
}

body.is-hero .lang-dropdown__toggle {
  color: #ffffff;
}

body.is-hero .lang-dropdown__menu,
body.is-on-dark .lang-dropdown__menu {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.12);
}

body.is-hero .lang-dropdown__option,
body.is-on-dark .lang-dropdown__option {
  color: #ffffff;
}

body.is-hero .lang-dropdown__option:hover,
body.is-hero .lang-dropdown__option:focus-visible,
body.is-on-dark .lang-dropdown__option:hover,
body.is-on-dark .lang-dropdown__option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

body.is-hero .lang-dropdown__option[aria-selected="true"],
body.is-on-dark .lang-dropdown__option[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

@media (max-width: 768px) {
  .site-header .lang-dropdown {
    display: none !important;
  }

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

  .mobile-menu__lang {
    margin-top: auto;
    padding-top: 1.75rem;
    border-top: 1px solid var(--header-border);
  }

  .mobile-menu__lang .lang-dropdown__toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 0;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .mobile-menu__lang .lang-dropdown__menu {
    left: 0;
    right: auto;
    bottom: calc(100% + 0.35rem);
    top: auto;
    min-width: 100%;
  }

  body.is-on-dark .mobile-menu,
  body.menu-open.is-on-dark .mobile-menu {
    background: var(--section-dark);
    color: #ffffff;
  }

  body.is-on-dark .mobile-menu__lang {
    border-top-color: rgba(255, 255, 255, 0.12);
  }
}

body.is-hero .site-header--fixed {
  background: #000000;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.is-hero .logo,
body.is-hero .site-header .site-nav a,
body.is-hero .menu-toggle,
body.is-hero .menu-toggle__bar {
  color: #ffffff;
}

body.is-hero .site-header .site-nav a:not([aria-current="true"]) {
  opacity: 0.5;
}

body.is-hero .site-header .site-nav a[aria-current="true"] {
  background: transparent;
  color: #ffffff;
  opacity: 1;
}

.logo__full {
  display: inline;
}

.logo__short {
  display: none;
}

@media (min-width: 769px) {
  .site-header__inner {
    max-width: none;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
    justify-content: flex-start;
  }

  .site-nav {
    margin-left: auto;
    flex-shrink: 0;
  }

  .lang-dropdown {
    order: 30;
    margin-left: clamp(0.75rem, 2vw, 1.25rem);
  }

  .site-header .site-nav ul {
    gap: clamp(2.5rem, 6vw, 5rem);
    justify-content: flex-end;
  }

  .site-header .site-nav a {
    padding: 0.2rem 0;
    font-size: clamp(1.1rem, 2.1vw, 1.6rem);
    font-weight: 700;
    background: transparent;
  }

  .site-header .site-nav a:hover,
  .site-header .site-nav a:focus-visible {
    background: transparent;
    opacity: 0.65;
  }

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

  .logo--home {
    display: block;
    flex-shrink: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: 700;
  }

  body.is-hero .header-home,
  body:not(.has-header-home) .header-home {
    display: none !important;
  }

  body.has-header-home .header-home {
    display: flex;
    order: 10;
    margin-left: auto;
    margin-right: clamp(1rem, 2.5vw, 2rem);
  }

  body.has-header-home .header-home[hidden] {
    display: none !important;
  }

  body.has-header-home .site-nav {
    order: 20;
    margin-left: 0;
  }

  /* Si le bouton home est masqué, le menu garde l’espace à droite */
  body.has-header-home:has(.header-home[hidden]) .site-nav {
    margin-left: auto;
  }

  .section--initiatives-overview.snap-page,
  .initiative-detail.snap-page,
  .section--media-category.snap-page {
    padding: 0;
  }
}

/* Bio v2 */
#bio.section--dark .bio-text h3,
#bio.section--dark .bio-text p,
#bio.section--dark .bio-text a {
  color: #ffffff;
}

#bio .bio-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  font-family: var(--font-typewriter);
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#bio .bio-text p {
  font-family: var(--font-typewriter);
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
}

#bio .bio-text h3 {
  font-family: var(--font-typewriter);
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: capitalize;
}

/* Testimonials v2 */
#temoignages.section--light {
  padding: 0;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  box-sizing: border-box;
}

#temoignages .section__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

#temoignages .temoignages-newsletter {
  flex: 0 0 auto;
  margin-top: auto;
}

#temoignages .section-title-large {
  margin: 0 0 clamp(0.35rem, 1vw, 0.75rem);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

#temoignages .temoignages-newsletter__label {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

#temoignages .temoignages-newsletter__quote {
  margin: 0 0 0.65rem;
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
}

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

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

#temoignages .testimonials-row--marquee.is-dragging {
  cursor: grabbing;
  user-select: none;
}

#temoignages .testimonials-row--marquee:not(.is-dragging) {
  cursor: grab;
}

#temoignages {
  --testimonial-card-w: min(280px, 28vw);
  --testimonial-card-h: clamp(11rem, 28vh, 15rem);
  --testimonial-card-gap: clamp(0.85rem, 1.8vw, 1.25rem);
  --testimonial-quincunce: calc(
    var(--testimonial-card-w) / 2 + var(--testimonial-card-gap) / 2
  );
}

/* Quinconce : lignes 1 & 3 alignées, ligne 2 décalée d’une demi-carte */
#temoignages .testimonials-row--offset {
  padding-left: var(--testimonial-quincunce);
  scroll-padding-inline-start: var(--testimonial-quincunce);
}

#temoignages .testimonials {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.35rem, 1vh, 0.65rem);
}

#temoignages .testimonials-lane {
  position: relative;
  flex: 0 0 auto;
  height: var(--testimonial-card-h);
  min-height: var(--testimonial-card-h);
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(2.35rem, 4.5vw, 2.85rem) minmax(0, 1fr) clamp(2.35rem, 4.5vw, 2.85rem);
  align-items: center;
  gap: 0.35rem;
  overflow: visible;
  padding-inline: 0;
}

#temoignages .testimonials-lane .testimonials-row {
  grid-column: 2;
  grid-row: 1;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  height: 100%;
  align-items: stretch;
  padding-inline: 0;
}

.testimonials-lane__btn {
  position: static;
  top: auto;
  transform: none;
  width: clamp(2.35rem, 4.5vw, 2.85rem);
  height: clamp(2.35rem, 4.5vw, 2.85rem);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #b8b8b8;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  justify-self: center;
  align-self: center;
}

.testimonials-lane__btn--prev {
  grid-column: 1;
  grid-row: 1;
  left: auto;
}

.testimonials-lane__btn--next {
  grid-column: 3;
  grid-row: 1;
  right: auto;
}

.testimonials-lane__btn-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonials-lane__btn:hover,
.testimonials-lane__btn:focus-visible {
  background: transparent;
  color: #8f8f8f;
}

#temoignages .testimonials-row {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

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

@media (min-width: 769px) {
  #temoignages .section__inner {
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 0.5rem) var(--gap) 0.15rem;
    box-sizing: border-box;
    overflow: visible;
  }

  #temoignages .section-title-large {
    flex-shrink: 0;
    font-size: clamp(1.25rem, 2.8vw, 2rem);
    margin-bottom: clamp(0.2rem, 0.5vw, 0.45rem);
  }

  #temoignages .testimonials {
    display: flex;
    flex-direction: column;
    gap: clamp(0.35rem, 1vh, 0.65rem);
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }

  #temoignages .testimonials-lane {
    flex: 0 0 auto;
    height: var(--testimonial-card-h);
    min-height: var(--testimonial-card-h);
  }

  #temoignages .testimonials-row {
    display: flex;
    flex: 0 0 auto;
    height: 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: var(--testimonial-card-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    padding-inline: 0;
  }

  #temoignages .testimonials-row--offset {
    margin-top: clamp(-0.15rem, -0.4vw, -0.05rem);
  }

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

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

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

  #temoignages .testimonial {
    flex: 0 0 var(--testimonial-card-w);
    height: var(--testimonial-card-h);
    min-height: var(--testimonial-card-h);
    max-height: var(--testimonial-card-h);
    scroll-snap-align: start;
    min-width: 0;
    width: auto;
    margin: 0;
    background: var(--card);
    border-radius: var(--radius-card);
    padding: clamp(0.65rem, 1.2vh, 0.95rem) clamp(0.85rem, 1.5vw, 1.2rem);
    gap: clamp(0.4rem, 0.75vh, 0.6rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
  }

  #temoignages .testimonial blockquote {
    font-size: clamp(0.78rem, 1.15vw, 0.95rem);
    font-weight: 700;
    line-height: 1.25;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

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

  #temoignages .testimonial__photo {
    width: clamp(3.25rem, 7vh, 4.2rem);
    height: clamp(3.25rem, 7vh, 4.2rem);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.62rem;
  }

  #temoignages .testimonial cite {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1.35;
  }

  #temoignages .temoignages-newsletter {
    flex: 0 0 auto;
    width: min(100%, 34rem);
    max-width: calc(100% - 2 * var(--gap));
    margin-left: auto;
    margin-right: var(--gap);
    margin-top: auto;
    margin-bottom: clamp(0.45rem, 1vw, 0.75rem);
    padding-top: clamp(0.2rem, 0.45vw, 0.4rem);
    align-self: flex-end;
    text-align: right;
  }

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

  #temoignages .temoignages-newsletter__row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  #temoignages .temoignages-newsletter__row .subscribe {
    flex: 1 1 16rem;
    max-width: 22rem;
    width: auto;
    margin-left: 0;
  }

  #temoignages .temoignages-newsletter__social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
    flex-shrink: 0;
  }

  #temoignages .temoignages-newsletter__social .social-icon {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--ink);
    border-radius: 0;
  }

  #temoignages .temoignages-newsletter__social .social-icon svg {
    width: 22px;
    height: 22px;
  }
}

.filter-pill[aria-current="true"] {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

#media h2,
#bio h2 {
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

#media.section--light {
  background: var(--surface);
  color: var(--ink);
}

.filter-pill--stacked {
  flex-direction: column;
  gap: 0.2rem;
}

.filter-pill__main,
.filter-pill__sub {
  display: block;
  width: 100%;
  text-align: center;
}

.filter-pill__sub {
  font-size: 0.72em;
  line-height: 1.15;
  font-weight: 500;
}

@media (min-width: 769px) {
  #media .media-layout {
    gap: clamp(0.45rem, 1vw, 0.65rem);
    flex: 1 1 0;
    min-height: 0;
    align-items: stretch;
  }

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

  #media.section h2 {
    flex-shrink: 0;
  }

  #media .media-filters {
    align-self: stretch;
    height: 100%;
    gap: clamp(0.35rem, 0.85vh, 0.55rem);
    justify-content: stretch;
    overflow: hidden;
  }

  #media .filter-pill {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    padding: clamp(0.35rem, 0.75vh, 0.55rem) clamp(0.45rem, 0.9vw, 0.65rem);
    font-size: clamp(0.58rem, 0.78vw, 0.72rem);
    line-height: 1.15;
    border-radius: 6px;
    background: #000000;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  #media .filter-pill--stacked {
    font-size: clamp(0.54rem, 0.72vw, 0.66rem);
    line-height: 1.12;
  }

  #media .filter-pill__sub {
    font-size: 0.68em;
    letter-spacing: 0.01em;
  }
}

@media (min-width: 769px) {
  #media.snap-page {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
  }

  #media.snap-page .section__inner {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: calc(var(--header-h) + 0.65rem) var(--gap) 1rem;
  }
}

@media (max-width: 768px) {
  #media.section h2,
  #bio.section h2,
  #temoignages .section-title-large {
    display: none;
  }

  .initiative-row {
    gap: 1rem;
  }

  .btn-pill--light {
    align-self: flex-end;
  }

  .hero__visual {
    min-height: min(50vh, 420px);
  }

  .hero-wrap .hero-lead {
    font-size: clamp(1.75rem, 8.5vw, 2.35rem);
    max-width: 100%;
  }

  .hero-wrap .hero-identity {
    font-size: clamp(0.8rem, 2.4vw, 0.95rem);
    max-width: min(34rem, 96%);
  }

  .hero-wrap .hero {
    flex: 1;
    min-height: 0;
    height: auto;
    justify-content: flex-start;
    align-items: stretch;
  }

  .hero-wrap .hero-intro {
    padding: 1rem 0.5rem 0.85rem;
    margin-bottom: 0;
    align-self: auto;
  }

  .hero-wrap .hero-newsletter {
    width: 100%;
    max-width: none;
    align-self: flex-end;
  }

  .work-carousel {
    padding-inline: 0;
    grid-template-columns: 2.1rem minmax(0, 1fr) 2.1rem;
  }

  .work-carousel.is-fitted {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-carousel__btn {
    width: 1.85rem;
    height: 1.85rem;
    right: auto;
    left: auto;
  }

  .work-carousel__btn--prev {
    left: auto;
  }

  .newsletter-strip {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

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

  .subscribe--strip {
    max-width: none;
  }

  .media-category-grid {
    grid-template-columns: 1fr;
  }

  .media-category-card--tall .media-card__photo {
    min-height: clamp(200px, 42vh, 320px);
  }

  #initiatives .initiatives-overview__title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .initiative-detail__title {
    font-size: 1.65rem;
  }

  #temoignages .section__inner {
    flex: 0 1 auto;
    min-height: 0;
  }

  #temoignages .testimonials {
    flex: 0 1 auto;
  }

  #temoignages .temoignages-newsletter {
    padding-inline: var(--gap);
  }
}

/* ===== Intro (texte seul) + Méthode (diagramme pleine page) ===== */
#intro.section--dark,
#methode.section--dark {
  color: #ffffff;
}

#intro .section__inner,
#methode .section__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(0.75rem, 2vh, 1.35rem)) var(--gap)
    clamp(0.85rem, 2vh, 1.35rem);
  box-sizing: border-box;
}

#intro .intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1rem, 2.4vh, 1.75rem);
  flex: 1;
  min-height: 0;
  max-width: 72rem;
}

#intro .intro-question {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vh, 2.35rem);
  line-height: 1.22;
  max-width: 28ch;
}

#intro .intro-copy__text {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  min-height: 0;
}

#intro .intro-p {
  margin: 0;
  font-size: clamp(0.88rem, 1.7vh, 1.05rem);
  line-height: 1.5;
}

#intro .intro-p:not(.intro-p--lead) {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

#intro .intro-p--lead {
  grid-column: 1 / -1;
  max-width: none;
  font-family: var(--font-typewriter);
  font-size: clamp(1.1rem, 2.4vh, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
}

#methode .intro-schema {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vh, 1.75rem);
  align-items: stretch;
  justify-content: center;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
}

#methode .intro-schema__diagram {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  flex: 0 1 auto;
}

#methode .intro-schema__captions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: intro-caption;
}

#methode .intro-schema__caption {
  counter-increment: intro-caption;
  margin: 0;
  font-size: clamp(0.72rem, 1.3vh, 0.9rem);
  line-height: 1.4;
  font-weight: 700;
}

#methode .intro-schema__caption::before {
  content: counter(intro-caption) ". ";
}

#methode .intro-schema__swiper {
  display: none;
}

@media (min-width: 769px) {
  #intro.snap-page .section__inner,
  #methode.snap-page .section__inner {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  #methode .intro-schema__caption {
    font-size: clamp(0.8rem, 1.4vh, 0.98rem);
  }
}

/* ===== Bio : une page, fade + Voir plus ===== */
#bio.snap-page > .section__inner {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#bio .bio-layout {
  flex: 1;
  min-height: 0;
  align-items: start;
  overflow: hidden;
}

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

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

#bio .bio-prose {
  overflow: hidden;
  max-height: 100%;
  padding-bottom: 1.65rem;
}

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

#bio .bio-layout.is-expanded .bio-prose {
  padding-bottom: 0;
}

#bio .bio-prose-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(3rem, 10vh, 4.5rem);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.72) 55%,
    #000000 100%
  );
}

#bio .bio-layout.is-expanded .bio-photo {
  display: none;
}

#bio .bio-layout.is-expanded .bio-prose-wrap::after {
  display: none;
}

#bio .bio-layout.is-expanded .bio-prose {
  overflow: visible;
}

#bio .bio-layout.is-expanded .bio-prose p {
  font-size: clamp(0.72rem, 1.25vh, 0.86rem);
  line-height: 1.42;
}

#bio .bio-prose p {
  margin: 0 0 0.85rem;
}

#bio .bio-prose p:last-child {
  margin-bottom: 0;
}

#bio .bio-view-more {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-typewriter);
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  z-index: 1;
}

#bio.section--dark .bio-view-more {
  color: #ffffff;
}

#bio .bio-contact {
  flex: 0 0 auto;
  margin-top: 0.5rem;
}

#bio .bio-layout:not(.is-expanded) .bio-contact {
  display: none;
}

#bio .bio-text > .social-icon {
  flex: 0 0 auto;
  margin-top: auto;
}
