@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=DM+Serif+Display:ital@0;1&display=swap');

/* Terravalys — carnet de terrain. Le bleu officiel des logos reste intact. */
:root {
  --navy: #103b79;
  --forest: #234b3c;
  --forest-deep: #17382d;
  --sage: #6b8b72;
  --forest-soft: #e3eadf;
  --paper: #f7f5ec;
  --paper-warm: #eeeadf;
  --mist: #e8ede3;
  --ochre: #b58e52;
  --ochre-ink: #7b5e30;
  --ink: #293c31;
  --muted: #58695c;
  --lagoon: #3f7c83;
  --border: #d4dccd;
  --white: #ffffff;
  --shadow: 0 16px 40px rgb(23 56 45 / 8%);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

/* Fondations et accessibilité */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, li, dd { overflow-wrap: break-word; }
[hidden] { display: none !important; }
section[id], article[id] { scroll-margin-top: 110px; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 4px; }
::selection { color: var(--white); background: var(--forest); }
.skip-link {
  position: fixed;
  z-index: 200;
  top: -5rem;
  left: 1rem;
  padding: .8rem 1rem;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: 3px;
}
.skip-link:focus { top: 1rem; }
.page-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 3px;
  background: rgb(35 75 60 / 10%);
}
.page-progress span { display: block; width: 0; height: 100%; background: var(--ochre); }

/* En-tête : le recadrage historique supprime uniquement le blanc du fichier logo. */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
  padding: 0 5.5vw;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.brand-lockup { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.official-wordmark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 240px;
  height: 61px;
  overflow: hidden;
}
.official-wordmark img { width: 240px; max-width: none; height: auto; transform: translateY(-54px); }
.brand-meta {
  max-width: 105px;
  padding-left: .8rem;
  color: var(--muted);
  border-left: 1px solid var(--ochre);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.top-nav { display: flex; align-items: center; gap: 1.25rem; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-size: .82rem; font-weight: 600; }
.top-nav a:hover { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: .4rem; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .65rem .85rem;
  color: var(--forest);
  border: 1px solid var(--sage);
  border-radius: 3px;
  font-size: .73rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover { color: var(--white); background: var(--forest); }

/* Ouverture */
.hero { padding: 5rem 5.5vw 0; background: linear-gradient(135deg, var(--paper), var(--mist)); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 4vw;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 3.5rem;
}
.hero-copy { min-width: 0; align-self: center; }
.hero-field { display: grid; gap: 1.25rem; min-width: 0; align-self: center; }
.eyebrow, .kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.3rem;
  color: var(--forest);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow span { flex: 0 0 28px; height: 1px; background: var(--ochre); }
.hero h1 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(3rem, 4.8vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.hero h1 em { color: var(--forest); font-style: italic; }
.hero-intro {
  max-width: 640px;
  margin: 1.8rem 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.6vw, 1.4rem);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.35rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 44px;
  padding: .9rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}
.button-primary { color: var(--white); background: var(--forest); }
.button-primary:hover { background: var(--forest-deep); }
.button-secondary { color: var(--forest); background: var(--paper); border-color: var(--sage); }
.button-secondary:hover { background: var(--forest-soft); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  color: var(--forest);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: .3rem;
}
.text-link:hover { color: var(--forest-deep); }
.hero-ledger {
  min-width: 0;
  margin: 0;
  padding: 1.2rem 1.4rem;
  color: var(--paper);
  background: var(--forest-deep);
  border-radius: 3px;
}
.ledger-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  padding-bottom: .75rem;
  color: var(--forest-soft);
  border-bottom: 1px solid rgb(247 245 236 / 22%);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.live-dot { display: inline-flex; align-items: center; gap: .45rem; color: #ead8ad; white-space: nowrap; }
.live-dot::before { width: 6px; height: 6px; border-radius: 50%; content: ''; background: var(--ochre); }
.ledger-statement { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: 1rem 0; }
.ledger-number { color: #ead8ad; font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.ledger-statement p { margin: 0; font-family: var(--serif); font-size: 1rem; line-height: 1.45; }
.ledger-system {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .3rem;
  padding: .7rem 0;
  border-top: 1px solid rgb(247 245 236 / 22%);
  border-bottom: 1px solid rgb(247 245 236 / 22%);
  color: var(--forest-soft);
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ledger-system i { flex: 1; height: 1px; background: var(--sage); }
.ledger-note { margin: .8rem 0 0; color: #d3dfcf; font-size: .75rem; line-height: 1.55; }
.hero-marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin: 0 -5.5vw;
  padding: 1.05rem 5.5vw;
  color: var(--forest);
  background: var(--forest-soft);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: .04em;
}
.hero-marquee b { color: var(--ochre-ink); font-family: var(--sans); }

/* Illustrations naturalistes : proportions intrinsèques, aucun recadrage. */
.nature-figure,
.hero-illustration,
.territory-illustration,
.domain-illustration,
.community-illustration,
.continuum-illustration,
.cutaway-illustration,
.carbon-illustration,
.method-illustration,
.process-illustration { min-width: 0; margin: 0; }
.nature-figure img,
.hero-illustration img,
.territory-illustration img,
.domain-illustration img,
.community-illustration img,
.continuum-illustration img,
.cutaway-illustration img,
.carbon-illustration img,
.method-illustration img,
.process-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.nature-figure figcaption,
.hero-illustration figcaption,
.territory-illustration figcaption,
.domain-illustration figcaption,
.community-illustration figcaption,
.continuum-illustration figcaption,
.cutaway-illustration figcaption,
.carbon-illustration figcaption,
.method-illustration figcaption,
.process-illustration figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.55;
}

/* Workspace et rythme éditorial */
.workspace-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  max-width: 1600px;
  margin: auto;
  padding: 5.5rem 5.5vw;
}
.workspace-rail { position: sticky; top: 110px; align-self: start; min-width: 0; }
.rail-label { margin: 0 0 1.1rem; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.rail-nav { display: grid; border-top: 1px solid var(--border); }
.rail-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .65rem .35rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: .76rem;
  font-weight: 600;
}
.rail-nav a span { color: var(--ochre-ink); font-size: .65rem; }
.rail-nav a:hover, .rail-nav a.is-active { color: var(--forest-deep); background: var(--forest-soft); }
.rail-seal { display: grid; gap: .7rem; margin-top: 1.8rem; padding-top: 1.3rem; border-top: 1px solid var(--ochre); }
.rail-seal img { width: 74px; height: auto; }
.rail-seal p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: .88rem; font-style: italic; line-height: 1.4; }
.workspace-content { min-width: 0; }
.section { min-width: 0; padding: 0 0 5.5rem; }
.section + .section { padding-top: 5.5rem; border-top: 1px solid var(--border); }
.section-heading { max-width: 850px; margin-bottom: 2.5rem; }
.section-heading h2,
.president-intro h2,
.community-content h2,
.carbon-copy h2,
.methods-layout h2,
.odd-intro h2,
.presentation-copy h2,
.guarantees-head h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(2.05rem, 3.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.heading-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); align-items: end; gap: 2rem; max-width: none; }
.heading-split > p { margin: 0 0 .25rem; color: var(--muted); font-size: .94rem; }
.vocation-columns { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 3vw, 3.5rem); }
.lead-copy { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; }
.vocation-facts { display: grid; gap: 1.2rem; }
.vocation-facts article { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .9rem; }
.fact-index { color: var(--ochre-ink); font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.vocation-facts p { margin: 0; color: var(--muted); font-size: .94rem; }
.vocation-facts strong { color: var(--forest); }

/* Parole associative */
.president-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 3vw, 3.5rem); }
.president-intro { position: relative; min-width: 0; padding: 1.8rem 0 0 1.8rem; }
.president-intro::before { position: absolute; top: 0; left: 0; width: 70px; height: 70px; border-top: 1px solid var(--ochre); border-left: 1px solid var(--ochre); content: ''; }
.president-intro h2 { font-size: clamp(1.9rem, 2.8vw, 3rem); }
.president-signature { display: flex; align-items: center; gap: .7rem; margin-top: 2rem; }
.signature-line { flex: 0 0 36px; height: 1px; background: var(--ochre); }
.president-signature p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.president-signature strong { color: var(--forest); }
.president-letter { min-width: 0; padding: 2rem; background: var(--paper-warm); border-left: 3px solid var(--forest); }
.president-letter p { margin: 0 0 1.1rem; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; }
.president-letter p:last-child { margin-bottom: 0; }
.president-letter .letter-closing { color: var(--forest); font-style: italic; }

/* Atlas territorial */
.territory-tabs { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 0 1rem; margin: 0 0 1.4rem; }
.territory-tab {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .68rem .78rem;
  color: var(--muted);
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 700;
}
.territory-tab span { color: var(--ochre-ink); font-family: var(--serif); font-size: 1.08rem; }
.territory-tab:hover, .territory-tab.is-selected, .territory-tab[aria-selected='true'] { color: var(--white); border-color: var(--forest); background: var(--forest); }
.territory-tab:hover span, .territory-tab.is-selected span, .territory-tab[aria-selected='true'] span { color: #ead8ad; }
.territory-panel { min-width: 0; animation: panel-in .3s ease both; }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.territory-status { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; text-transform: uppercase; }
.status-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; }
.status-amber { background: var(--ochre-ink); }
.status-blue { background: var(--lagoon); }
.status-violet { background: #725b87; }
.status-green { background: var(--forest); }
.territory-illustration { margin-bottom: 1.5rem; }
.territory-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.6rem 2rem; padding: 1.8rem; background: var(--mist); border-top: 2px solid var(--forest); }
.territory-place { margin: 0 0 .6rem; color: var(--ochre-ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.territory-layout h3 { margin: 0; color: var(--forest-deep); font-family: var(--serif); font-size: clamp(1.65rem, 2.2vw, 2.2rem); font-weight: 400; line-height: 1.15; }
.territory-layout > p { margin: 0; color: var(--ink); font-size: .94rem; }
.territory-layout ul { grid-column: 1 / -1; display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .87rem; }
.territory-layout li { position: relative; padding-left: 1rem; }
.territory-layout li::before { position: absolute; top: .65em; left: 0; width: 5px; height: 5px; border-radius: 50%; content: ''; background: var(--ochre-ink); }
.territory-participation { margin: 1.1rem 0 0; padding: 1rem 1.2rem; color: var(--forest-deep); background: var(--forest-soft); border-left: 3px solid var(--sage); font-size: .9rem; line-height: 1.65; }
.process-links, .process-shortcuts { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.2rem 0 0; }
.process-links a, .process-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .65rem .85rem;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid var(--sage);
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}
.process-links a:hover, .process-shortcuts a:hover { color: var(--forest-deep); background: var(--forest-soft); }

/* Domaines */
.domain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.domain-card { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1.1rem; align-content: start; min-width: 0; padding: 1.3rem; background: var(--paper-warm); border: 1px solid var(--border); border-radius: 3px; }
.domain-illustration { grid-column: 1 / -1; width: 100%; margin-bottom: .3rem; }
.domain-card > span { color: var(--ochre-ink); font-family: var(--serif); font-size: 2rem; line-height: 1.2; }
.domain-card h3 { margin: 0 0 .55rem; color: var(--forest); font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.2; }
.domain-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Décision locale, légendes comprises */
.section.communities-section { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2rem; padding: 3rem; color: var(--paper); background: var(--forest); border: 0; border-radius: 3px; }
.community-marker { display: flex; flex-direction: column; gap: 1.3rem; color: #d2dfcb; font-family: var(--serif); font-size: 1.05rem; font-style: italic; line-height: 1.2; }
.community-marker span:nth-child(2) { color: #ead8ad; }
.community-content { min-width: 0; }
.community-content .kicker { color: var(--forest-soft); }
.community-content h2 { color: var(--paper); }
.community-content > p:not(.kicker) { max-width: 820px; color: #e3eadf; font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; }
.community-principles { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.community-principles span { padding: .5rem .65rem; color: var(--paper); border: 1px solid rgb(247 245 236 / 35%); border-radius: 3px; font-size: .74rem; font-weight: 700; }
.community-illustration { grid-column: 1 / -1; width: 100%; }
.communities-section .community-illustration figcaption { color: #e3eadf; }
.communities-section .community-illustration img { border-color: #9eae98; }

/* Continuum écologique et coupes de lecture */
.continuum-illustration { margin-bottom: 2rem; }
.ecosystem-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: .7rem; align-items: stretch; }
.ecosystem-flow article { min-width: 0; min-height: 190px; padding: 1.1rem; border-top: 2px solid var(--ochre); background: var(--paper-warm); }
.ecosystem-flow article:nth-of-type(2) { border-top-color: var(--forest); }
.ecosystem-flow article:nth-of-type(3) { border-top-color: var(--sage); }
.ecosystem-flow article:nth-of-type(4) { border-top-color: var(--lagoon); }
.ecosystem-flow i { align-self: center; color: var(--ochre-ink); font-family: var(--serif); font-size: 1.5rem; font-style: normal; }
.ecosystem-index { color: var(--muted); font-size: .7rem; font-weight: 700; }
.ecosystem-flow h3 { margin: 2rem 0 .5rem; color: var(--forest); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.ecosystem-flow p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.ecosystem-cutaways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.ecosystem-cutaways > * { min-width: 0; }
.cutaway-note { margin: .85rem 0 0; color: var(--ink); font-size: .87rem; line-height: 1.65; }

/* Biodiversité et carbone : un panneau vertical, pas une promesse de résultat. */
.section.carbon-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.8rem; padding: 3rem; color: var(--paper); background: var(--forest-deep); border: 0; border-radius: 3px; }
.carbon-label { color: var(--forest-soft); font-size: .7rem; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.carbon-copy { min-width: 0; }
.carbon-copy .kicker { color: #ead8ad; }
.carbon-copy h2 { color: var(--paper); font-size: clamp(2rem, 3.5vw, 3.5rem); }
.carbon-copy > p:not(.kicker) { max-width: 850px; margin: 1.3rem 0 0; color: #e3eadf; font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; }
.carbon-illustration { width: 100%; }
.carbon-section .carbon-illustration img { border-color: #9eae98; }
.carbon-section .carbon-illustration figcaption { color: #e3eadf; }
.allocation { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 2rem; align-items: center; }
.allocation-total { display: grid; align-content: center; justify-items: center; gap: .6rem; width: 150px; height: 150px; border: 1px solid var(--ochre); border-radius: 50%; text-align: center; }
.allocation-total strong { color: #ead8ad; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.allocation-total span { color: #e3eadf; font-size: .7rem; line-height: 1.4; text-transform: uppercase; }
.allocation-lines { display: grid; gap: 1rem; min-width: 0; }
.allocation-lines > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem; align-items: center; }
.allocation-bar { display: block; height: 12px; border-radius: 1px; }
.allocation-bar.conservation { width: 80%; background: #a5bea0; }
.allocation-bar.reforestation { width: 10%; background: #9bc8ca; }
.allocation-bar.safe { width: 10%; background: #d2b174; }
.allocation-lines p { margin: 0; color: #e3eadf; font-size: .82rem; line-height: 1.5; }
.allocation-lines strong { color: var(--paper); }
.carbon-disclaimer { margin: 0; padding-top: 1.2rem; color: #d3dfcf; border-top: 1px solid rgb(247 245 236 / 25%); font-size: .8rem; line-height: 1.65; }

/* Méthode : une introduction pleine largeur puis quatre scènes. */
.methods-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.methods-layout > div { max-width: 900px; }
.methods-layout h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.method-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1.1rem; align-content: start; min-width: 0; padding: 1.3rem; background: var(--paper-warm); border: 1px solid var(--border); border-radius: 3px; }
.method-illustration { grid-column: 1 / -1; width: 100%; margin-bottom: .3rem; }
.method-steps > li > span { color: var(--ochre-ink); font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; }
.method-steps h3 { margin: 0 0 .55rem; color: var(--forest); font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.method-steps p { margin: .4rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.method-steps .method-participation { margin-top: .9rem; padding-top: .8rem; color: var(--forest); border-top: 1px solid var(--border); font-size: .87rem; }

/* Processus : présentation visible, étapes détaillées dans des disclosures natifs. */
.process-intro { max-width: 860px; margin: 0 0 1.4rem; color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.process-shortcuts { margin: 0 0 1.7rem; }
.biodiversity-note, .participation-note { margin: 1.7rem 0; padding: 1.3rem; color: var(--ink); background: var(--forest-soft); border: 1px solid var(--sage); border-left: 3px solid var(--forest); border-radius: 3px; }
.biodiversity-note h3, .participation-note h3 { margin: 0 0 .7rem; color: var(--forest-deep); font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.2; }
.biodiversity-note p, .participation-note p { margin: 0; font-size: .94rem; line-height: 1.7; }
.biodiversity-note p + p, .participation-note p + p { margin-top: .8rem; }
.process-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.8rem;
  min-width: 0;
  margin-top: 2rem;
  padding: 1.8rem;
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 3px;
  scroll-margin-top: 110px;
}
.process-heading { min-width: 0; }
.process-heading .kicker { margin-bottom: .85rem; }
.process-heading h3 { margin: 0 0 1rem; color: var(--forest-deep); font-family: var(--serif); font-size: clamp(1.9rem, 2.5vw, 2.7rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.process-heading > p:not(.kicker) { margin: 0; color: var(--ink); font-size: .94rem; line-height: 1.7; }
.process-heading > p:not(.kicker) + p { margin-top: .8rem; }
.process-illustration { min-width: 0; width: 100%; }
.process-details { grid-column: 1 / -1; min-width: 0; border: 1px solid var(--border); border-radius: 3px; background: var(--paper); }
.process-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 1rem 1.2rem;
  color: var(--forest-deep);
  background: var(--forest-soft);
  cursor: pointer;
  list-style: none;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.5;
}
.process-details summary::-webkit-details-marker { display: none; }
.process-details summary::marker { content: ''; }
.process-details summary::after { flex: 0 0 1.2rem; content: '+'; color: var(--forest); font-size: 1.5rem; font-weight: 400; line-height: 1; text-align: center; }
.process-details[open] > summary::after { content: '−'; }
.process-details[open] > summary { border-bottom: 1px solid var(--border); }
.process-details summary:hover { background: var(--mist); }
.process-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; margin: 0; padding: 1.3rem; list-style: none; counter-reset: process-step; }
.process-steps > li { position: relative; min-width: 0; padding: 1rem 1rem 1rem 3.8rem; background: var(--paper-warm); border: 1px solid var(--border); border-radius: 3px; counter-increment: process-step; }
.process-steps > li::before { position: absolute; top: 1rem; left: 1rem; content: counter(process-step, decimal-leading-zero); color: var(--ochre-ink); font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
.process-steps h4, .process-steps h3 { margin: 0 0 .6rem; color: var(--forest); font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.process-steps p { margin: .5rem 0 0; color: var(--ink); font-size: .9rem; line-height: 1.65; }
.process-steps li > strong { display: block; margin-bottom: .5rem; color: var(--forest); font-size: .96rem; line-height: 1.45; }
.process-metrics { margin: 0 1.3rem 1rem; padding: 1.1rem 1.2rem; color: var(--ink); background: var(--mist); border-left: 3px solid var(--sage); font-size: .9rem; line-height: 1.65; }
.process-metrics strong { color: var(--forest-deep); font-weight: 700; }
.process-note { margin: 1rem 1.3rem; color: var(--muted); font-size: .87rem; line-height: 1.65; }
.source-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-size: .82rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: .25rem; overflow-wrap: anywhere; }
.process-details > .source-link { margin: 0 1.3rem 1rem; }
.source-link:hover { color: var(--forest-deep); }

/* Repères institutionnels, manifeste et garanties */
.odd-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: end; }
.odd-intro h2 { font-size: clamp(2rem, 3vw, 3rem); }
.odd-intro p:not(.kicker) { color: var(--muted); font-size: .9rem; }
.odd-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.odd-chips span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .65rem .5rem .45rem; color: var(--muted); border: 1px solid var(--border); background: var(--paper-warm); font-size: .74rem; font-weight: 700; }
.odd-chips b { display: grid; flex: 0 0 26px; height: 26px; place-items: center; color: var(--white); background: var(--forest); font-size: .7rem; }
.odd-chips span:nth-child(3n) b { background: var(--ochre-ink); }
.odd-chips span:nth-child(3n + 2) b { background: var(--lagoon); }
.presentation-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); gap: 3rem; align-items: center; }
.presentation-copy h2 { font-size: clamp(2.2rem, 3.8vw, 4.1rem); }
.presentation-copy > p:not(.kicker) { color: var(--muted); font-family: var(--serif); font-size: 1.16rem; line-height: 1.6; }
.presentation-poster { justify-self: end; width: 100%; max-width: 305px; margin: 0; padding: .45rem; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.presentation-poster img { width: 100%; height: auto; }
.presentation-poster figcaption { padding: .65rem .2rem .15rem; color: var(--muted); font-size: .72rem; line-height: 1.5; text-align: right; }
.guarantees-head { max-width: 850px; margin-bottom: 2.5rem; }
.guarantee-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.guarantee-grid article { min-width: 0; padding: 1.3rem 1.2rem 1.3rem 0; border-right: 1px solid var(--border); }
.guarantee-grid article:not(:first-child) { padding-left: 1.2rem; }
.guarantee-grid article:last-child { padding-right: 0; border-right: 0; }
.guarantee-grid span { color: var(--ochre-ink); font-family: var(--serif); font-size: 1.6rem; }
.guarantee-grid h3 { margin: 1.7rem 0 .6rem; color: var(--forest); font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.guarantee-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.site-footer { padding: 3.5rem 5.5vw; color: var(--forest-soft); background: var(--forest-deep); }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.8rem; }
.footer-brand p { margin: 0; color: var(--paper); font-family: var(--serif); font-size: 1.45rem; letter-spacing: .2em; }
.footer-rule { width: 58px; height: 1px; background: var(--ochre); }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; color: #d3dfcf; font-size: .78rem; }
.footer-content p { margin: 0; }
.footer-content a { display: inline-flex; align-items: center; min-height: 44px; color: #ead8ad; font-weight: 700; }

/* Fiche associative et contact : coordonnées visibles, carte complémentaire. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.contact-card { min-width: 0; padding: 1.6rem; background: var(--paper-warm); border: 1px solid var(--border); border-radius: 3px; }
.contact-logo { display: block; margin-bottom: 1.2rem; }
.contact-card h3 { margin: 0 0 1rem; color: var(--forest); font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.contact-card dl { margin: 0; }
.contact-card dt { margin-top: 1.2rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.contact-card dd { margin: .35rem 0 0; color: var(--ink); font-size: .94rem; overflow-wrap: anywhere; }
.contact-card dd a { color: var(--forest); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: .2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 0; }
.contact-map { min-width: 0; margin: 0; }
.contact-map iframe { display: block; width: 100%; min-height: 350px; border: 1px solid var(--border); border-radius: 3px; background: var(--mist); }
.contact-map figcaption { margin: .8rem 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.contact-section { padding-bottom: 0; }
.guarantees-section { padding-bottom: 4.5rem; }
.mobile-explore { display: none; }
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .contact-card { padding: 1.2rem; }
  .contact-map iframe { min-height: 300px; }
  .mobile-explore { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .65rem; color: var(--forest); border: 1px solid var(--sage); border-radius: 3px; font-size: .75rem; font-weight: 700; }
}

/* Compléments tactiles : les coordonnées restent aussi lisibles que cliquables. */
.contact-card dd a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.contact-actions a { min-height: 44px; }

/* Tablette et écrans intermédiaires */
@media (max-width: 1080px) {
  .site-header { gap: 1rem; padding-right: 3.5vw; padding-left: 3.5vw; }
  .top-nav, .header-cta { display: none; }
  .mobile-explore { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem .8rem; color: var(--forest); border: 1px solid var(--sage); border-radius: 3px; font-size: .78rem; font-weight: 700; line-height: 1.4; }
  .hero { padding-right: 3.5vw; padding-left: 3.5vw; }
  .hero-marquee { margin-right: -3.5vw; margin-left: -3.5vw; }
  .workspace-shell { grid-template-columns: 165px minmax(0, 1fr); gap: 2rem; padding-right: 3.5vw; padding-left: 3.5vw; }
  .heading-split { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .heading-split > p { max-width: 680px; }
  .ecosystem-flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .ecosystem-flow i:nth-of-type(2) { display: none; }
  .ecosystem-flow article:nth-of-type(3) { grid-column: 1; }
  .ecosystem-flow article:nth-of-type(4) { grid-column: 3; }
  .ecosystem-flow article { min-height: 170px; }
  .section.communities-section { grid-template-columns: minmax(0, 1fr); padding: 2rem; }
  .community-marker { flex-direction: row; flex-wrap: wrap; gap: .7rem; }
  .section.carbon-section { padding: 2rem; }
  .process-card { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
  .process-heading h3 { font-size: 2.1rem; }
  .allocation { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .odd-section, .presentation-section { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .presentation-poster { justify-self: start; }
  .guarantee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guarantee-grid article:nth-child(2) { border-right: 0; }
  .guarantee-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .guarantee-grid article:nth-child(3) { padding-left: 0; }
}

/* Le rail ne réduit pas la lecture sur les petites tablettes. */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.3rem; }
  .hero-copy { max-width: 720px; }
  .hero-field { width: 100%; }
  .workspace-shell { display: block; }
  .workspace-rail { position: static; margin-bottom: 3rem; }
  .rail-nav { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
  .rail-nav a { padding: .65rem .75rem; border: 1px solid var(--border); border-radius: 3px; }
  .rail-seal { display: none; }
  .vocation-columns, .president-section { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* Téléphone */
@media (max-width: 780px) {
  html { scroll-padding-top: 94px; }
  section[id], article[id], .process-card { scroll-margin-top: 94px; }
  .site-header { min-height: 74px; padding: 0 1rem; gap: .7rem; }
  .brand-lockup { gap: 0; }
  .official-wordmark { width: 184px; height: 51px; }
  .official-wordmark img { width: 184px; transform: translateY(-41px); }
  .brand-meta { display: none; }
  .mobile-explore { padding: .5rem .65rem; font-size: .75rem; }
  .hero { padding: 3.5rem 1.25rem 0; }
  .hero-grid { gap: 2rem; padding-bottom: 2.5rem; }
  .hero h1 { font-size: clamp(3rem, 10.5vw, 4.7rem); }
  .hero-intro { margin: 1.5rem 0; }
  .hero-actions { align-items: flex-start; gap: .7rem 1rem; }
  .hero-ledger { padding: 1.2rem; }
  .hero-marquee { flex-wrap: wrap; gap: .6rem .85rem; margin-right: -1.25rem; margin-left: -1.25rem; padding: .9rem 1.25rem; font-size: 1rem; }
  .workspace-shell { padding: 3.5rem 1.25rem; }
  .workspace-rail { margin-bottom: 2.5rem; }
  .rail-label { margin-bottom: .8rem; }
  .rail-nav { gap: .45rem; }
  .rail-nav a { font-size: .75rem; }
  .section { padding-bottom: 4rem; }
  .section + .section { padding-top: 4rem; }
  .section-heading, .guarantees-head { margin-bottom: 2rem; }
  .section-heading h2, .community-content h2 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .lead-copy { font-size: 1.28rem; }
  .president-intro { padding: 1.5rem 0 0 1.5rem; }
  .president-section { gap: 1.5rem; }
  .president-letter { padding: 1.5rem; }
  .territory-tabs { gap: .45rem; margin-bottom: 1rem; }
  .territory-tab { padding: .65rem .7rem; font-size: .74rem; }
  .territory-status { align-items: flex-start; }
  .territory-status .status-dot { margin-top: .45em; }
  .territory-layout { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; padding: 1.3rem; }
  .territory-layout ul { grid-column: auto; }
  .domain-list, .method-steps, .ecosystem-cutaways, .process-steps { grid-template-columns: minmax(0, 1fr); }
  .domain-card, .method-steps li { gap: 1rem; padding: 1.1rem; }
  .section.communities-section { gap: 1.5rem; padding: 1.5rem; }
  .community-marker { gap: .65rem; font-size: .95rem; }
  .community-content > p:not(.kicker) { font-size: 1.08rem; }
  .community-principles { margin-top: 1.2rem; }
  .ecosystem-flow { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .ecosystem-flow i { display: none; }
  .ecosystem-flow article:nth-of-type(3), .ecosystem-flow article:nth-of-type(4) { grid-column: auto; }
  .ecosystem-flow article { min-height: 0; padding: 1.1rem; }
  .ecosystem-flow h3 { margin-top: .9rem; }
  .section.carbon-section { gap: 1.5rem; padding: 1.5rem; }
  .carbon-copy h2 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .allocation-total { width: 140px; height: 140px; }
  .allocation-lines > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .allocation-lines p { font-size: .85rem; }
  .methods-layout { gap: 2rem; }
  .biodiversity-note, .participation-note { padding: 1.2rem; }
  .process-card { gap: 1.4rem; margin-top: 1.5rem; padding: 1.2rem; }
  .process-heading h3 { font-size: 1.9rem; }
  .process-details summary { padding: 1rem; font-size: .87rem; }
  .process-steps { padding: 1rem; gap: 1rem; }
  .process-steps > li { padding-left: 3.5rem; }
  .process-metrics { margin-right: 1rem; margin-left: 1rem; padding: 1rem; }
  .process-note, .process-details > .source-link { margin-right: 1rem; margin-left: 1rem; }
  .presentation-poster { max-width: 280px; }
  .guarantee-grid { grid-template-columns: minmax(0, 1fr); }
  .guarantee-grid article, .guarantee-grid article:not(:first-child), .guarantee-grid article:nth-child(3) { padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .guarantee-grid article:last-child { border-bottom: 0; }
  .guarantee-grid h3 { margin-top: .8rem; }
  .guarantees-section { padding-bottom: 3rem; }
  .contact-section { padding-bottom: 0; }
  .site-footer { padding: 2.5rem 1.25rem; }
  .footer-content { display: grid; gap: .8rem; }
  .footer-rule { width: 36px; }
}

@media (max-width: 380px) {
  .site-header { padding-right: .75rem; padding-left: .75rem; gap: .4rem; }
  .official-wordmark { width: 154px; height: 44px; }
  .official-wordmark img { width: 154px; transform: translateY(-34px); }
  .mobile-explore { max-width: 125px; font-size: .7rem; }
  .hero h1 { font-size: 2.7rem; }
  .hero, .workspace-shell { padding-right: 1rem; padding-left: 1rem; }
  .hero-marquee { margin-right: -1rem; margin-left: -1rem; }
  .ledger-system { font-size: .6rem; }
  .domain-card, .method-steps li { grid-template-columns: 2.4rem minmax(0, 1fr); gap: .75rem; }
  .process-card { padding: .9rem; }
}

/* Le contenu n'est jamais conditionné à une animation. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Film institutionnel placé immédiatement après le mot du Président. */
.film-intro { max-width: 760px; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.film-figure { margin: 0; }
.film-player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: 4px; background: var(--deep-forest, #17382d); }
.film-player:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; }
.film-figure figcaption { margin-top: .8rem; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.film-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; margin: 1.5rem 0; }
.film-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.film-transcript { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.film-transcript summary { min-height: 44px; padding: 1rem .2rem; color: var(--forest); font-weight: 700; cursor: pointer; }
.film-transcript summary:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.film-transcript-content { max-width: 800px; padding: .3rem 0 1.2rem; line-height: 1.8; }
.film-transcript-content p + p { margin-top: 1rem; }
@media (max-width: 780px) {
  .film-intro { font-size: 1rem; }
  .film-actions { align-items: flex-start; gap: .65rem 1rem; }
  .film-actions .button { white-space: normal; text-align: left; }
}

/* Choix de langue explicite, accessible sans JavaScript. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.language-switch { display: flex; flex: 0 0 auto; align-items: center; gap: 0; border: 1px solid var(--sage); border-radius: 3px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .5rem .6rem; color: var(--forest); font-size: .75rem; font-weight: 700; line-height: 1; }
.language-switch a + a { border-left: 1px solid var(--sage); }
.language-switch a[aria-current='page'] { color: var(--paper); background: var(--forest); }
.language-switch a:hover { color: var(--paper); background: var(--forest-deep); }
.language-switch a:focus-visible { position: relative; z-index: 1; }
@media (min-width: 1081px) and (max-width: 1280px) {
  .top-nav, .header-cta { display: none; }
  .mobile-explore { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem .8rem; color: var(--forest); border: 1px solid var(--sage); border-radius: 3px; font-size: .78rem; font-weight: 700; line-height: 1.4; }
}
@media (max-width: 780px) {
  .site-header .mobile-explore { display: none; }
}
