/* ==========================================================================
   CDR BFC — maquette de la page d'accueil
   Palette et typographie issues de la charte des documents CDR BFC (v1.1)
   ========================================================================== */

:root {
  --ardoise: #3B4455;
  --ardoise-fonce: #2C3340;
  --gris-vert: #BBC7C5;
  --papier: #EEF1F1;
  --encre: #1F2328;
  --encre-douce: #2C3340;
  --gris-lecture: #5E6463;
  --gris-pale: #8C9594;
  --filet: #DDE3E2;
  --blanc: #FFFFFF;

  --font-titre: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-texte: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: 24px;
  --radius: 18px;
  --header-h: 96px;

  --shadow-sm: 0 1px 2px rgba(31, 35, 40, .04), 0 8px 24px rgba(31, 35, 40, .05);
  --shadow-md: 0 18px 44px rgba(31, 35, 40, .09);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-titre);
  color: var(--ardoise);
  text-wrap: balance;
}

p {
  margin-top: 0;
}

a {
  color: var(--ardoise);
  text-underline-offset: 3px;
}

ul {
  margin-top: 0;
}

::selection {
  background: var(--gris-vert);
  color: var(--ardoise-fonce);
}

:focus-visible {
  outline: 3px solid var(--ardoise);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ardoise);
  color: var(--blanc);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Boutons, liens, surtitres
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-texte);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}

.btn--primary {
  background: var(--ardoise);
  color: var(--blanc);
  box-shadow: 0 6px 16px rgba(59, 68, 85, .18);
}

.btn--primary:hover {
  background: var(--ardoise-fonce);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(59, 68, 85, .22);
}

.btn--ghost {
  background: transparent;
  color: var(--ardoise);
  border-color: var(--gris-vert);
}

.btn--ghost:hover {
  background: var(--blanc);
  border-color: var(--ardoise);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--blanc);
  color: var(--ardoise);
}

.btn--light:hover {
  background: var(--papier);
  transform: translateY(-1px);
}

.btn--outline-light {
  color: var(--blanc);
  border-color: rgba(255, 255, 255, .55);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--blanc);
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-texte);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gris-lecture);
}

.eyebrow--light {
  color: var(--gris-vert);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ardoise);
  text-decoration: none;
  border-bottom: 1px solid var(--gris-vert);
  align-self: flex-start;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .2s var(--ease);
}

.link-arrow:hover {
  color: var(--ardoise-fonce);
  border-color: var(--ardoise);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--filet);
  box-shadow: 0 8px 30px rgba(31, 35, 40, .06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  color: var(--encre-douce);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  background: var(--ardoise);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current] {
  color: var(--ardoise);
}

.nav__link:hover::after,
.nav__link[aria-current]::after {
  transform: scaleX(1);
}


/* Bouton burger — masqué sur grand écran */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--filet);
  border-radius: 50%;
  background: var(--blanc);
  color: var(--ardoise);
  cursor: pointer;
}

.burger__icon {
  display: grid;
  gap: 5px;
  width: 18px;
}

.burger__icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.burger[aria-expanded="true"] .burger__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__icon span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 124px;
  background:
    radial-gradient(90% 110% at 8% 8%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #F7F8F8 0%, var(--papier) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}

.hero__content {
  max-width: 660px;
}

.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(2.45rem, 4.7vw, 4rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.028em;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  font-size: .46em;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--gris-lecture);
}

.hero__lead {
  max-width: 56ch;
  margin: 0 0 32px;
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.7;
  color: var(--gris-lecture);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: .84rem;
  color: var(--gris-lecture);
}

.hero__note a {
  color: var(--ardoise);
  font-weight: 600;
}

.dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gris-vert);
  box-shadow: 0 0 0 4px rgba(187, 199, 197, .28);
}

.hero__figure {
  margin: 0;
  min-width: 0;
}

.hero__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(31, 35, 40, .18);
}

.hero__figure figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--gris-lecture);
}

.hero__quote {
  font-style: italic;
}

.hero__source {
  flex: 0 0 auto;
  color: var(--gris-lecture);
  font-size: .74rem;
}

/* --------------------------------------------------------------------------
   Chiffres clés
   -------------------------------------------------------------------------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -66px;
}

.stats__card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 40px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.stat {
  padding: 4px 34px;
  border-left: 1px solid var(--filet);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat__value {
  margin: 0 0 8px;
  font-family: var(--font-titre);
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ardoise);
}

.stat__label {
  margin: 0;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--gris-lecture);
}

.stats__source {
  margin: 14px 4px 0;
  font-size: .71rem;
  line-height: 1.5;
  text-align: right;
  color: var(--gris-lecture);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(72px, 8.5vw, 112px) 0;
}

.section--papier {
  background: var(--papier);
}

.section__head {
  max-width: 740px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.022em;
}

.section__intro {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: 1.02rem;
  color: var(--gris-lecture);
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section__head--row .link-arrow {
  align-self: flex-end;
  margin-bottom: 6px;
}

/* Objectifs */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gris-vert);
  box-shadow: var(--shadow-md);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--papier);
  color: var(--ardoise);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__num {
  font-family: var(--font-titre);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--gris-lecture);
}

.card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.card p {
  flex: 1;
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--gris-lecture);
}

/* Association */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.split__text h2 {
  margin: 0 0 22px;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.022em;
}

.split__text p {
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--gris-lecture);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: .96rem;
  line-height: 1.55;
  color: var(--encre-douce);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: .38em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gris-vert);
  box-shadow: inset 0 0 0 4px var(--papier);
}

.quote-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
  background: var(--ardoise);
  border-radius: 22px;
  color: var(--blanc);
}

.quote-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 34px solid var(--gris-vert);
  border-radius: 50%;
  opacity: .14;
  pointer-events: none;
}

.quote-card__mark {
  margin: 0 0 10px;
  font-family: var(--font-titre);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: .6;
  color: var(--gris-vert);
}

.quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-titre);
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.quote-card__source {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--gris-vert);
}

.quote-card__source a {
  color: var(--blanc);
}

/* Actualités */
.news {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: 20px;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.news:hover {
  border-color: var(--gris-vert);
  box-shadow: var(--shadow-md);
}

.news + .news {
  margin-top: 24px;
}

.news__media {
  position: relative;
  display: block;
  min-height: 350px;
  overflow: hidden;
  background: var(--papier);
}

.news__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.news:hover .news__media img {
  transform: scale(1.03);
}

.news__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: clamp(28px, 4vw, 48px);
}

.news__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: .76rem;
  color: var(--gris-lecture);
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--papier);
  color: var(--ardoise);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.news h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.018em;
}

.news h3 a {
  color: var(--ardoise);
  text-decoration: none;
}

.news h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.news__body > p {
  margin: 0;
  color: var(--gris-lecture);
  font-size: .96rem;
}

.news__body .link-arrow {
  margin-top: auto;
  padding-top: 2px;
}

/* Nous rejoindre */
.join {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--encre-douce);
  color: var(--blanc);
}

.join__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 48px;
}

.join h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.022em;
  color: var(--blanc);
}

.join__text p {
  max-width: 58ch;
  margin: 0;
  font-size: 1rem;
  color: var(--gris-vert);
}

.join__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}



.join :focus-visible,
.footer :focus-visible,
.quote-card :focus-visible {
  outline-color: var(--gris-vert);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.footer {
  padding: 72px 0 28px;
  background: var(--encre-douce);
  color: var(--gris-vert);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__logo {
  width: auto;
  height: 62px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  max-width: 34ch;
  margin: 0 0 18px;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--gris-vert);
}

.footer__title {
  margin: 0 0 16px;
  font-family: var(--font-texte);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blanc);
}

.footer__col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a {
  font-size: .88rem;
  color: var(--gris-vert);
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--blanc);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer address {
  margin: 0 0 12px;
  font-size: .88rem;
  font-style: normal;
  line-height: 1.7;
  color: var(--gris-vert);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(187, 199, 197, .2);
  font-size: .76rem;
  color: var(--gris-vert);
}

.footer__bottom p {
  margin: 0;
}

.footer__top {
  color: var(--gris-vert);
  text-decoration: none;
}

.footer__top:hover {
  color: var(--blanc);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .nav__link {
    padding-inline: 10px;
    font-size: .88rem;
  }

  .nav__link::after {
    right: 10px;
    left: 10px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 84px;
  }

  .brand__logo {
    height: 56px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 112px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__figure {
    max-width: 620px;
  }

  .split,
  .news,
  .join__inner {
    grid-template-columns: 1fr;
  }

  .news__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .join__actions {
    justify-content: flex-start;
  }


  .footer__grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 36px;
  }
}

/* Navigation mobile */
@media (max-width: 1024px) {
  .burger {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px var(--gutter) 24px;
    background: var(--blanc);
    border-bottom: 1px solid var(--filet);
    box-shadow: 0 26px 40px rgba(31, 35, 40, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease),
                visibility .2s var(--ease);
  }

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

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 15px 10px;
    border-bottom: 1px solid var(--filet);
    border-radius: 0;
    font-size: .98rem;
  }

  .nav__link::after {
    display: none;
  }

}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .stats__card {
    padding: 24px 28px;
  }

  .stat {
    padding-inline: 22px;
  }
}

@media (max-width: 820px) {
  .stats {
    margin-top: -40px;
  }

  .stats__card {
    grid-template-columns: 1fr;
    padding: 8px 26px;
  }

  .stat {
    padding: 20px 0;
    border-top: 1px solid var(--filet);
    border-left: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .stats__source {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section__head--row .link-arrow {
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8.4vw, 3.1rem);
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
    --header-h: 76px;
  }

  .brand__logo {
    height: 52px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 104px;
  }

  .hero__figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .stats {
    margin-top: -36px;
  }

  .stats__card {
    padding-inline: 20px;
  }

  .card {
    padding: 26px 24px;
  }

  .news__body {
    padding: 26px 22px 30px;
  }

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

  .join__actions .btn {
    width: 100%;
  }


  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding-top: 58px;
  }
}

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(56px, 7vw, 88px) 0 clamp(36px, 5vw, 54px);
  background: var(--papier);
  border-bottom: 1px solid var(--filet);
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.page-hero__lead {
  max-width: 72ch;
  margin: 0;
  color: var(--gris-lecture);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
}

.page-hero--article {
  padding-bottom: clamp(28px, 4vw, 40px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-size: .78rem;
  color: var(--gris-lecture);
}

.breadcrumb a {
  color: var(--gris-lecture);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ardoise);
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: var(--ardoise);
  font-weight: 600;
}

.article__lead {
  max-width: 62ch;
  margin: 0 0 16px;
  font-family: var(--font-titre);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--gris-lecture);
}

.article__meta {
  margin: 0;
  font-size: .8rem;
  color: var(--gris-lecture);
}

.article__figure {
  max-width: 1000px;
  margin: 40px auto 0;
}

.article__figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.article__figure figcaption {
  margin-top: 10px;
  font-size: .76rem;
  color: var(--gris-lecture);
}

.article__body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(56px, 7vw, 80px);
}

.prose {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--encre);
}

.prose p {
  margin: 0 0 18px;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.018em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--ardoise);
}

.prose blockquote {
  margin: 30px 0;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--gris-vert);
  font-family: var(--font-titre);
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ardoise);
}

.prose blockquote p {
  margin: 0;
}

.prose blockquote footer {
  margin-top: 10px;
  font-family: var(--font-texte);
  font-size: .76rem;
  font-style: normal;
  color: var(--gris-lecture);
}

.prose .article__figure {
  max-width: 100%;
  margin: 32px 0 28px;
}

.article__intro {
  font-size: 1.08rem;
}

.article__source {
  margin-top: 30px;
  font-size: .74rem;
  color: var(--gris-lecture);
}

.article__cta {
  margin-top: 44px;
  padding: clamp(26px, 4vw, 38px);
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
}

.article__cta h2 {
  margin-top: 0;
}

.article__cta p {
  margin: 0 0 18px;
  color: var(--gris-lecture);
}

.article__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Formulaires */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card {
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: clamp(24px, 4vw, 38px);
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
}

.form-card h2 {
  margin: 0 0 24px;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.15;
}

.form {
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__field {
  display: grid;
  gap: 8px;
}

.form__field label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--encre-douce);
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--filet);
  border-radius: 10px;
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--gris-pale);
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--ardoise);
  box-shadow: 0 0 0 3px rgba(59, 68, 85, .12);
}

.form__field textarea {
  min-height: 150px;
  resize: vertical;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--gris-lecture);
}

.form__checkbox input {
  margin-top: .3em;
  accent-color: var(--ardoise);
}

.form__checkbox a {
  color: var(--ardoise);
}

.form__feedback {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--papier);
  color: var(--ardoise);
  font-size: .9rem;
  line-height: 1.55;
}

.form__note {
  margin: 0;
  font-size: .72rem;
  line-height: 1.55;
  color: var(--gris-lecture);
}

.form__note a {
  color: var(--ardoise);
}

/* Colonnes des pages intérieures */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.sidebar {
  display: grid;
  gap: 18px;
}

.sidebar__card {
  padding: 24px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
}

.sidebar__card h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.sidebar__card p {
  margin: 0 0 16px;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--gris-lecture);
}

.sidebar__card .checklist {
  margin: 0;
}

.sidebar__card .btn {
  margin-top: 4px;
}

/* HelloAsso */
.helloasso-card {
  padding: clamp(18px, 3vw, 28px);
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
}

.helloasso-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 900;
}

.helloasso-card__intro {
  margin: 0 0 20px;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--gris-lecture);
}

.helloasso-card .btn {
  margin-top: 4px;
}

.helloasso-card .checklist {
  margin: 24px 0 8px;
}

.helloasso__note {
  margin: 6px 2px 0;
  font-size: .72rem;
  color: var(--gris-lecture);
}

/* Contact */
.contact-card {
  padding: clamp(24px, 4vw, 34px);
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
}

.contact-card h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-card address {
  margin-bottom: 14px;
  font-style: normal;
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--ardoise);
}

.contact-card hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--filet);
}

.contact-card p {
  color: var(--gris-lecture);
  font-size: .92rem;
}

.contact-card__note {
  margin: 18px 0 0;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--gris-lecture);
}

/* Grilles éditoriales */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.action-card {
  padding: 26px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}

.action-card::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--gris-vert);
}

.action-card:hover {
  transform: translateY(-3px);
  border-color: var(--gris-vert);
  box-shadow: var(--shadow-md);
}

.action-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.action-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--gris-lecture);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.mini-cta {
  padding: 26px;
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
}

.mini-cta h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.mini-cta p {
  margin: 0 0 16px;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--gris-lecture);
}

.cnr-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: var(--radius);
}

.cnr-block h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.cnr-block p {
  max-width: 72ch;
  margin: 0;
  color: var(--gris-lecture);
}

.cnr-block .btn {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Pages intérieures : adaptations
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .contact-layout,
  .join-layout {
    grid-template-columns: 1fr;
  }

  .cnr-block {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .actions-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    padding-top: 44px;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .article__figure {
    margin-top: 24px;
  }

  .article__figure img {
    border-radius: 14px;
  }

  .article__body {
    padding-top: 32px;
  }

  .breadcrumb {
    font-size: .72rem;
  }
}

@media (max-width: 600px) {
  .form-card,
  .sidebar__card,
  .contact-card {
    padding: 22px 20px;
  }

  .helloasso-card {
    padding: 14px;
  }

  .article__cta {
    padding: 22px 20px;
  }

  .article__cta-actions .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Accessibilité : mouvement réduit et impression
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .burger,
  .skip-link,
  .hero__figure,
  .join__actions,
  .footer__top {
    display: none !important;
  }

  body {
    color: #1F2328;
    background: #fff;
  }

  .hero,
  .section,
  .join,
  .footer,
  .stats__card {
    background: #fff !important;
    color: #1F2328 !important;
    box-shadow: none !important;
  }

  .hero {
    padding: 24px 0;
  }

  .stats {
    margin-top: 0;
  }

  .join h2,
  .footer__title {
    color: #1F2328 !important;
  }

  .card,
  .news,
  .quote-card {
    break-inside: avoid;
  }

  .quote-card {
    background: #fff !important;
    color: #1F2328 !important;
    border: 1px solid #DDE3E2;
  }

  .quote-card blockquote,
  .quote-card__source,
  .quote-card__mark,
  .join__text p,
  .join h2,
  .footer,
  .footer a,
  .footer address,
  .footer__brand p,
  .footer__bottom {
    color: #1F2328 !important;
  }

  .footer__logo {
    filter: none;
  }

  a {
    color: #1F2328;
    text-decoration: underline;
  }
}
