/* ==========================================================================
   Roots Without Borders — feuille de style principale
   Direction : interface moderne et lumineuse. Fond blanc, surfaces gris clair,
   vert forêt profond, accents vert tendre, grandes cartes arrondies.
   Thème clair uniquement.
   ========================================================================== */

:root {
  --white:       #FFFFFF;
  --page:        #FFFFFF;
  --surface:     #F4F5F2;
  --surface-2:   #EDEFE9;
  --surface-3:   #E3E8DD;

  --forest:      #12321F;
  --forest-700:  #1B4A2E;
  --forest-500:  #2E6B44;
  --mint:        #CDEBB4;
  --mint-soft:   #E4F4D6;
  --mint-line:   #C3DFAB;

  --ink:         #10201A;
  --ink-soft:    #4A5750;
  --ink-mute:    #7A857E;
  --line:        #E2E6DE;
  --line-strong: #CFD6C9;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap:      1200px;
  --wrap-text: 720px;

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 26, .04), 0 8px 24px rgba(16, 32, 26, .05);
  --shadow-md: 0 2px 6px rgba(16, 32, 26, .06), 0 20px 48px rgba(16, 32, 26, .08);
  --shadow-lg: 0 4px 10px rgba(16, 32, 26, .07), 0 36px 90px rgba(16, 32, 26, .12);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--forest-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 .6em;
}

p { margin: 0 0 1.15em; }

::selection { background: var(--mint); color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--forest-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  z-index: 10000;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  width: min(100% - 2.4rem, var(--wrap));
  margin-inline: auto;
}

/* ---------- Éléments typographiques ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--forest-500);
  background: var(--mint-soft);
  border-radius: var(--r-pill);
  padding: .42rem .95rem;
  margin-bottom: 1.3rem;
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-500);
}
.kicker--plain { background: transparent; padding-inline: 0; }

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  max-width: 20ch;
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section { padding-block: clamp(3.4rem, 6.5vw, 6.4rem); position: relative; }
.section--tint { background: var(--surface); }
.section--ink  { background: var(--forest); color: #D6E2D6; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lede { color: #B9CCBB; }
.section--ink .kicker { background: rgba(255,255,255,.1); color: var(--mint); }
.section--ink .kicker::before { background: var(--mint); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem 2rem;
  margin-bottom: 2.6rem;
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .section-title { max-width: 22ch; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: .92rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn--primary { --btn-bg: var(--forest); }
.btn--primary:hover { --btn-bg: var(--forest-700); }
.btn--mint { --btn-bg: var(--mint); --btn-fg: var(--forest); }
.btn--mint:hover { --btn-bg: #BFE4A2; --btn-fg: var(--forest); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }
.btn--link {
  --btn-bg: transparent;
  --btn-fg: var(--ink-mute);
  padding-inline: .5rem;
  text-decoration: underline;
  font-weight: 500;
}
.btn--link:hover { --btn-fg: var(--ink); box-shadow: none; transform: none; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest);
  white-space: nowrap;
  transition: gap .25s var(--ease), color .2s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform .25s var(--ease); }
.arrow-link:hover { gap: .7rem; color: var(--forest-500); }

/* ==========================================================================
   En-tête — barre flottante vert forêt
   ========================================================================== */
.header-strip {
  background: var(--white);
  color: var(--ink-mute);
  font-size: .8rem;
  border-bottom: 1px solid var(--line);
}
.header-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: .6rem;
}
.header-strip__link {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}
.header-strip__link:hover { color: var(--forest-500); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  padding-block: .9rem;
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 26px rgba(16, 32, 26, .07); padding-block: .55rem; }
.site-header.is-scrolled .header-strip { display: none; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  background: var(--forest);
  border-radius: var(--r-pill);
  padding: .55rem .7rem .55rem 1.5rem;
  position: relative;
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 34px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #fff;
}
.brand__tag {
  font-size: .64rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 1.1rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  display: inline-block;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,.82);
  padding: .55rem .9rem;
  border-radius: var(--r-pill);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__list a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav__list a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }

.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__actions a {
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  padding: .68rem 1.3rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav__ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.nav__ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav__solid { background: var(--mint); color: var(--forest); }
.nav__solid:hover { background: #fff; color: var(--forest); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  padding: 12px 11px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-block: clamp(2.6rem, 5.5vw, 5rem) clamp(2.4rem, 4vw, 3.6rem);
  text-align: center;
}
.hero__inner { max-width: 940px; margin-inline: auto; }
.hero__title {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin-bottom: 1.4rem;
}
.hero__title em { font-style: normal; color: var(--forest-500); }
.hero .lede { margin-inline: auto; font-size: clamp(1.05rem, 1.5vw, 1.26rem); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 2.2rem;
}

.hero__figure { margin: clamp(2.4rem, 4.5vw, 3.6rem) 0 0; position: relative; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.hero__caption {
  margin-top: 1rem;
  font-size: .86rem;
  color: var(--ink-mute);
  max-width: 60ch;
  margin-inline: auto;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}
.stat {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  text-align: left;
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--forest);
  margin-bottom: .4rem;
}
.stat span { font-size: .88rem; color: var(--ink-soft); }

/* Bandeau défilant */
.marquee {
  background: var(--forest);
  color: #fff;
  overflow: hidden;
  padding-block: .95rem;
}
.marquee__track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: marquee 44s linear infinite;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 2.6rem; }
.marquee__track span::after { content: "●"; color: var(--mint); font-size: .5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   Cartes d'article
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
}
.card-grid--two { grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: var(--surface-2); }

.card__media { position: relative; overflow: hidden; padding: .55rem .55rem 0; }
.card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-md);
  transition: transform .8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.035); }

.card__cat {
  position: absolute;
  left: 1.1rem;
  bottom: .9rem;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  color: var(--forest);
  font-size: .74rem;
  font-weight: 600;
  padding: .34rem .8rem;
  border-radius: var(--r-pill);
  text-decoration: none;
}
.card__cat:hover { background: var(--forest); color: #fff; }

.card__body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.24rem; line-height: 1.24; margin-bottom: .55rem; letter-spacing: -.03em; }
.card__title a { color: inherit; text-decoration: none; }
.card:hover .card__title a { color: var(--forest-500); }
.card__excerpt { font-size: .94rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  font-size: .82rem;
  color: var(--ink-mute);
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

/* Carte « une » — texte à gauche, visuel à droite, façon panneau produit */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: clamp(1.2rem, 2.2vw, 1.8rem);
}
.feature__body { padding: clamp(1.8rem, 3.4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.feature__title { font-size: clamp(1.7rem, 2.9vw, 2.4rem); line-height: 1.08; }
.feature__title a { color: inherit; text-decoration: none; }
.feature__title a:hover { color: var(--forest-500); }
.feature__media { padding: .6rem .6rem .6rem 0; }
.feature__media img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; border-radius: var(--r-lg); }

/* Engagements — cartes translucides sur fond vert */
.pledge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.pledge {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.9rem 2rem;
  transition: background-color .3s var(--ease);
}
.pledge:hover { background: rgba(255, 255, 255, .1); }
.pledge__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.pledge h3 { font-size: 1.26rem; letter-spacing: -.03em; margin-bottom: .6rem; }
.pledge p { font-size: .95rem; color: #B9CCBB; margin-bottom: 0; }

.section--ink .arrow-link { color: var(--mint); }
.section--ink .arrow-link:hover { color: #fff; }

/* Liste numérotée */
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.ranked li::before {
  content: counter(rank, decimal-leading-zero);
  font-size: .84rem;
  font-weight: 700;
  color: var(--forest-500);
  padding-top: .25rem;
}
.ranked a { font-size: 1.06rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.ranked a:hover { color: var(--forest-500); }
.ranked small { display: block; font-size: .82rem; color: var(--ink-mute); margin-top: .25rem; font-weight: 400; }

/* ==========================================================================
   Rubriques
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1rem, 1.8vw, 1.4rem); }
.cat-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.8rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.cat-card:hover { background: var(--mint-soft); transform: translateY(-4px); }
.cat-card__num {
  font-size: .78rem;
  font-weight: 700;
  color: var(--forest-500);
  background: var(--white);
  border-radius: var(--r-pill);
  padding: .3rem .75rem;
  align-self: flex-start;
  margin-bottom: .5rem;
}
.cat-card__name { font-size: 1.32rem; font-weight: 700; line-height: 1.18; letter-spacing: -.03em; color: var(--ink); }
.cat-card__desc { font-size: .92rem; color: var(--ink-soft); }
.cat-card__count { margin-top: auto; padding-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--forest-500); }

/* ==========================================================================
   Formulaires
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--forest-500); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 4px rgba(46, 107, 68, .12);
}
.field__hint { font-size: .82rem; color: var(--ink-mute); }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--forest); flex: none; }

.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

.form-note { font-size: .82rem; color: var(--ink-mute); line-height: 1.5; }

.alert {
  border-radius: var(--r-md);
  background: #FDECE7;
  border: 1px solid #F3CFC5;
  color: #7C2D14;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  font-size: .94rem;
}
.alert--ok { background: var(--mint-soft); border-color: var(--mint-line); color: var(--forest); }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* Bloc lead */
.lead-block {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: start;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 3.6vw, 3.2rem);
}
.lead-block__aside ul { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .8rem; }
.lead-block__aside li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-size: .93rem; color: var(--ink-soft); }
.lead-block__aside li::before {
  content: "✓";
  color: var(--forest);
  background: var(--mint);
  border-radius: 50%;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 700;
  margin-top: 2px;
}
.lead-block__form { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.6vw, 2rem); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: .8rem; }
.faq details {
  background: var(--surface);
  border-radius: var(--r-md);
  transition: background-color .25s var(--ease);
}
.faq details[open] { background: var(--mint-soft); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3.4rem 1.25rem 1.6rem;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.4;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--forest-500);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 2.4rem 1.5rem 1.6rem; color: var(--ink-soft); font-size: .96rem; max-width: 82ch; }

/* ==========================================================================
   Page d'article
   ========================================================================== */
.article-hero { padding-block: clamp(2rem, 4vw, 3.4rem) 0; }
.breadcrumb { font-size: .86rem; color: var(--ink-mute); margin-bottom: 1.3rem; }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest-500); }
.breadcrumb span { margin-inline: .4rem; opacity: .5; }

.article-title { font-size: clamp(2.05rem, 4.4vw, 3.3rem); line-height: 1.05; letter-spacing: -.04em; max-width: 20ch; margin-bottom: 1rem; }
.article-standfirst { font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.58; color: var(--ink-soft); max-width: 64ch; }
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  margin-top: 1.7rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ink-mute);
}
.article-byline strong { color: var(--ink); font-weight: 600; }

.article-figure { margin: 0; }
.article-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-xl); }
.article-figure figcaption { font-size: .84rem; color: var(--ink-mute); margin-top: .8rem; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
  padding-block: clamp(2.4rem, 4.5vw, 4rem);
}

.prose { max-width: 72ch; font-size: 1.06rem; line-height: 1.78; color: #26312B; }
.prose h2 {
  font-size: clamp(1.5rem, 2.3vw, 1.92rem);
  letter-spacing: -.035em;
  margin-top: 2.6rem;
  margin-bottom: .8rem;
}
.prose h3 { font-size: 1.24rem; letter-spacing: -.03em; margin-top: 1.9rem; margin-bottom: .55rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .6rem; }
.prose ul li::marker { color: var(--forest-500); }
.prose ol li::marker { color: var(--forest-500); font-weight: 700; }
.prose blockquote {
  margin: 2.2rem 0;
  padding: 1.6rem 1.8rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  font-size: 1.16rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
}
.prose blockquote p:last-of-type { margin-bottom: 0; }
.prose blockquote cite { display: block; font-style: normal; font-size: .86rem; font-weight: 600; color: var(--forest-500); margin-top: .9rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .82rem; font-weight: 700; color: var(--ink); background: var(--surface); }
.prose thead th:first-child { border-top-left-radius: var(--r-sm); }
.prose thead th:last-child { border-top-right-radius: var(--r-sm); }
.prose .encadre {
  background: var(--mint-soft);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.7rem;
  margin: 2.2rem 0;
  font-size: .97rem;
}
.prose .encadre h3 { margin-top: 0; font-size: 1.1rem; color: var(--forest); }
.prose .encadre > *:last-child { margin-bottom: 0; }
.prose figure { margin: 2rem 0; }
.prose .article-figure { margin: 2.4rem 0; }
.prose .article-figure img { aspect-ratio: 3 / 2; border-radius: var(--r-lg); }

.table-scroll { overflow-x: auto; border-radius: var(--r-sm); }

.article-aside { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.aside-box { border-radius: var(--r-lg); padding: 1.5rem 1.6rem; background: var(--surface); }
.aside-box h2 { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }
.aside-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.aside-box li { font-size: .94rem; line-height: 1.4; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.aside-box li:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-box a { color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -.015em; }
.aside-box a:hover { color: var(--forest-500); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.4rem; }
.tag {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: .38rem .9rem;
  text-decoration: none;
}
.tag:hover { background: var(--forest); color: #fff; }

/* ==========================================================================
   Pages internes / juridiques
   ========================================================================== */
.page-hero { padding-block: clamp(2.4rem, 5vw, 4.2rem); }
.page-hero__title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -.04em; max-width: 24ch; }

.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; padding-block: clamp(2rem, 4vw, 3.4rem); }
.legal-toc { position: sticky; top: 110px; background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem 1.6rem; }
.legal-toc h2 { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .9rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: .5rem; }
.legal-toc li { counter-increment: toc; font-size: .89rem; line-height: 1.35; }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a::before { content: counter(toc) ". "; color: var(--forest-500); font-weight: 600; }
.legal-toc a:hover { color: var(--forest-500); }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  font-size: .86rem;
  color: var(--ink-mute);
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Filtres du catalogue
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: 1.4rem; }
.filters a {
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: .58rem 1.15rem;
  transition: all .2s var(--ease);
}
.filters a:hover { background: var(--surface-3); color: var(--ink); }
.filters a.is-active { background: var(--forest); color: #fff; }

.result-count { font-size: .9rem; color: var(--ink-mute); padding-bottom: 1.4rem; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer {
  background: var(--forest);
  color: #A9BDAE;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: clamp(2rem, 4vw, 3.4rem);
  padding-top: clamp(3rem, 5.5vw, 4.6rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.15fr;
  gap: clamp(1.8rem, 3.6vw, 3.2rem);
  padding-bottom: 3rem;
}
.footer-logo { width: 40px; margin-bottom: .9rem; }
.footer-brand-name { font-size: 1.24rem; font-weight: 700; letter-spacing: -.03em; color: #fff; margin-bottom: .6rem; }
.footer-about { font-size: .92rem; line-height: 1.6; max-width: 42ch; }
.footer-contact { font-size: .92rem; }
.footer-contact a { color: #DCE8DC; text-decoration: none; }
.footer-contact a:hover { color: var(--mint); }

.footer-heading { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .62rem; }
.footer-list a { font-size: .93rem; color: #A9BDAE; text-decoration: none; transition: color .2s var(--ease); }
.footer-list a:hover { color: var(--mint); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  padding-block: 1.5rem 2.2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  color: #82938612;
  color: #839386;
}
.footer-bottom p { margin: 0; }
.footer-bottom__note { max-width: 64ch; }

/* ==========================================================================
   Bandeau cookies
   ========================================================================== */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  transform: translateY(140%);
  width: min(100% - 2rem, 350px);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.25rem 1.25rem;
  z-index: 9999;
  transition: transform .5s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.cookie-banner__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: var(--mint-soft);
  color: var(--forest);
  border-radius: 50%;
}
.cookie-banner__title { font-size: 1rem; margin: 0; letter-spacing: -.02em; }
.cookie-banner__text { font-size: .83rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 .9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cookie-banner__actions .btn { font-size: .84rem; padding: .55rem 1.05rem; }
.cookie-banner__skip {
  width: 100%;
  background: none;
  border: 0;
  padding: .2rem 0 0;
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-banner__skip:hover { color: var(--ink); }

/* ==========================================================================
   Deux colonnes
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }

/* ==========================================================================
   Animations d'apparition
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .nav__list a { padding-inline: .68rem; font-size: .9rem; }
  .brand__tag { display: none; }
}

@media (max-width: 1040px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { padding: .6rem; order: -1; }
  .feature__media img { min-height: 230px; }
  .lead-block { grid-template-columns: 1fr; }
  .split, .split--even { grid-template-columns: 1fr; }
  .pledge-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .header-main { padding-left: 1.2rem; }
  .nav {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: calc(100% + .5rem);
    background: var(--forest);
    border-radius: var(--r-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav.is-open { max-height: 80vh; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; padding: 1rem; }
  .nav__list a { display: block; padding: .85rem 1rem; font-size: 1rem; }
  .nav__actions { padding: .5rem 1rem 1.2rem; flex-direction: column; align-items: stretch; }
  .nav__actions a { text-align: center; padding: .85rem; }
  .header-strip__item--hide { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 1.6rem, var(--wrap)); }
  .card-grid, .card-grid--two { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .stat { padding: 1.2rem 1.1rem; border-radius: var(--r-md); }
  .hero__figure img, .article-figure img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .header-strip__item:not(.header-strip__link) { display: none; }
  .header-strip__inner { justify-content: center; }
}
