/* =========================================================
   Fermcoop · page de collecte (démo)
   Design system : Mélanie · couleurs issues des SVG fournis
   ========================================================= */

@font-face {
  font-family: "Neue Regrade";
  src: url("../assets/fonts/neue-regrade-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Regrade";
  src: url("../assets/fonts/neue-regrade-extrabold.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --green-900: #124939;
  --green-950: #0d382b;
  --green-500: #00af7c;
  --yellow: #fad84c;
  --orange: #faab37;
  --beige: #f4f0e9;
  --ink: #181716;
  --ink-soft: #4b4a47;
  --white: #ffffff;
  --line: rgba(18, 73, 57, .14);

  /* Typo */
  --f-title: "Manrope", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-kw: "Montagu Slab", Georgia, serif;
  --f-fig: "Neue Regrade", "Manrope", system-ui, sans-serif;

  /* Rythme */
  --radius: 12px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 72px;
  --shadow: none;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { font-weight: 700; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-title); color: var(--green-900); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green-900); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Typo utilitaires ---------- */
.kw { font-family: var(--f-kw); font-weight: 700; color: var(--green-500); letter-spacing: 0; }
.figure { font-family: var(--f-fig); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.eyebrow { font-family: var(--f-title); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.015em; margin-bottom: .6em; }
.h2--center { text-align: center; margin-bottom: clamp(36px, 4.5vw, 60px); }
.h2__icon { width: .78em; height: .78em; fill: none; stroke: var(--green-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.06em; margin: 0 .1em; }
.section--dark .h2__icon { stroke: var(--yellow); }
.h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 700; margin: 1.6em 0 .6em; }
.h3--big { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; margin-top: 0; }
.h4 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 700; margin: 1.4em 0 .5em; }
.lead { font-size: 1.1em; }
.quote { font-family: var(--f-title); font-size: 1.15em; color: var(--green-900); }
.prose > :last-child { margin-bottom: 0; }
.prose--col { max-width: 720px; margin: 0 auto 48px; }
.prose--col .h3:first-child, .prose--col .h4:first-child { margin-top: 0; }
.prose--centered { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.prose--centered .h3, .prose--centered .h4 { margin-top: 1.2em; }

/* Soulignement dessiné (asset Mélanie) */
.underlined, .h2 .kw { position: relative; display: inline-block; }
.underlined::after, .h2 .kw::after {
  content: ""; position: absolute; left: 6%; right: -2%; bottom: -.02em; height: .17em;
  background: url("../assets/design/soulignement.svg") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-title); font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 26px; border-radius: 8px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  min-height: 48px;
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(250, 216, 76, .45); }
.btn--primary:active { transform: translateY(0); }
.btn--sm { padding: 10px 16px; font-size: 14px; min-height: 40px; }
.btn--lg { padding: 20px 34px; font-size: 18px; }
.btn--link { --bg: transparent; --fg: var(--green-900); padding-inline: 8px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.btn--link:hover { text-decoration-color: var(--green-500); }
.btn--outline { --bg: transparent; --fg: var(--green-900); border-color: var(--green-900); }
.btn--outline:hover { --bg: var(--green-900); --fg: var(--white); }

/* ---------- Bandeau démo & notes ---------- */
.demo-banner {
  background: var(--ink); color: var(--white); font-size: 14px; text-align: center;
  padding: 8px var(--gutter); display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.demo-banner__toggle { font: inherit; font-size: 13px; color: var(--ink); background: var(--yellow); border: 0; border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.demo-note {
  display: inline-block; font-family: var(--f-body); font-size: 13px; font-weight: 500; line-height: 1.35;
  color: #6b4a00; background: #fff6d1; border: 1.5px dashed #c99a00; border-radius: 6px; padding: 3px 8px; margin: 4px 0;
}
body.hide-notes .demo-note { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(18, 73, 57, .06); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.site-header__logo img { width: 132px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--f-title); font-weight: 600; font-size: 15px; color: var(--green-900); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { border-bottom-color: var(--yellow); }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
  :root { --header-h: 60px; }
  .site-header__logo img { width: 112px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(16px, 3vw, 32px) 0 0; }
.hero__card {
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  background: var(--beige); border-radius: var(--radius); overflow: hidden;
}
.hero__text { padding: clamp(28px, 3.4vw, 44px); padding-right: clamp(12px, 1.5vw, 20px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.pill-wrap { display: flex; align-items: flex-start; gap: 6px; margin-bottom: clamp(20px, 3vw, 32px); }
.pill { display: inline-block; background: var(--green-900); color: var(--white); font-family: var(--f-title); font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 4px; }
.doodle--traits { width: 22px; transform: rotate(-8deg) translateY(-10px); }
.hero__title { font-size: clamp(30px, 2.8vw, 40px); font-weight: 400; color: var(--ink); line-height: 1.3; letter-spacing: -.015em; margin-bottom: .75em; }
.hero__title .kw { font-size: 1.05em; letter-spacing: 0; }
.hero__lead { font-size: 15.5px; line-height: 1.55; max-width: 46ch; color: var(--ink); }
.hero__lead strong { font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 8px 0 28px; }
.hero__media { position: relative; min-height: 320px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wave-edge { position: absolute; left: -1px; top: 0; height: 100%; width: clamp(16px, 2vw, 26px); z-index: 1; fill: var(--beige); }

.hero-gauge { background: var(--white); border-radius: var(--radius); padding: 16px 18px 14px; max-width: 440px; box-shadow: var(--shadow); }
.hero-gauge__nums { display: flex; align-items: baseline; gap: 10px; color: var(--green-900); }
.hero-gauge__nums .figure { font-size: 30px; color: var(--green-500); }
.hero-gauge__goal { font-family: var(--f-title); font-size: 15px; }
.hero-gauge__meta { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; font-family: var(--f-title); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.hero-gauge__days:empty { display: none; }

@media (max-width: 900px) {
  .hero { padding-top: 0; }
  .hero .container { padding-inline: 0; }
  .hero__card { grid-template-columns: 1fr; border-radius: 0; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .hero__media .wave-edge { display: none; }
  .hero__text { padding: 24px var(--gutter) 32px; }
  .hero-gauge { max-width: none; }
}

/* ---------- Jauge ---------- */
.gauge-bar { position: relative; height: 12px; border-radius: 999px; background: #e6dfd3; margin-top: 10px; }
.gauge-bar__fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500), #2fc490); transition: width 1.4s cubic-bezier(.2, .8, .2, 1);
}
.is-visible .gauge-bar__fill, .gauge-bar.is-visible .gauge-bar__fill { width: var(--p); }
.hero-gauge .gauge-bar { background: #e9e3d8; }

.gauge { background: var(--beige); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); margin: 0 auto clamp(40px, 5vw, 64px); max-width: 1000px; }
.gauge__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.gauge__head p { margin: 0; }
.figure--lg { font-size: clamp(34px, 4vw, 48px); color: var(--green-500); }
.gauge__of { font-family: var(--f-title); font-weight: 600; font-size: 18px; color: var(--green-900); }
.gauge__days { font-family: var(--f-title); font-weight: 700; color: var(--green-900); background: var(--yellow); border-radius: 6px; padding: 4px 10px; font-size: 14px; }
.gauge__days:empty { display: none; }
.gauge-bar--lg { height: 18px; margin: 22px 0 54px; }
.gauge-bar__mark { position: absolute; left: var(--x); top: 50%; width: 4px; height: 26px; transform: translate(-50%, -50%); background: var(--green-900); border-radius: 2px; opacity: .25; }
.gauge-bar__mark.is-done { opacity: 1; background: var(--green-900); }
.gauge-bar__mark span { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-fig); font-weight: 600; font-size: 14px; color: var(--green-900); }
.gauge-bar__mark:last-child span { left: auto; right: 0; transform: none; }
@media (max-width: 640px) {
  .gauge-bar__mark span { font-size: 11px; }
  .gauge-bar__mark:nth-child(3) span, .gauge-bar__mark:nth-child(5) span { top: auto; bottom: 32px; }
  .gauge-bar--lg { margin: 48px 0 46px; }
}

/* ---------- Intro ---------- */
.intro { padding: clamp(40px, 6vw, 80px) 0 0; text-align: center; }
.intro p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.intro strong { font-weight: 500; }
.intro p:first-child strong { font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--beige); }
.section--beige { background: var(--beige); }
.section--dark { background: var(--green-900); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .kw { color: var(--yellow); }
.section--dark a:not(.btn) { color: var(--yellow); }

/* Split texte / photo */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split--reverse .split__media { order: -1; }
.split + .keyfigs, .keyfigs + .prose { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split__media, .split--reverse .split__media { order: -1; }
}

.photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .photo--tall { aspect-ratio: 4 / 3; } }

/* ---------- Organigramme ---------- */
.org { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.org__card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); border-top: 10px solid var(--green-900); box-shadow: var(--shadow); }
.org__card--farm { border-top-color: var(--yellow); }
.org__name { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; color: var(--ink); }
.org__type { font-family: var(--f-title); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 8px 0 18px; }
.dots { margin: 0; padding-left: 1.1em; }
.dots li { margin-bottom: .5em; }
.dots li::marker { color: var(--green-900); }
.org__arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--green-900); padding: 0 4px; }
.org__arrow svg { width: 100px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.org__arrow span { font-family: var(--f-kw); font-weight: 600; font-size: 18px; color: var(--green-500); white-space: nowrap; }
@media (max-width: 860px) {
  .org { grid-template-columns: 1fr; }
  .org__arrow svg { transform: rotate(90deg); margin: 18px 0; }
}

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow); }
.pillar__verb { font-family: var(--f-kw); font-weight: 700; font-size: 20px; color: var(--green-500); margin-bottom: 4px; }
.pillar__title { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pillar p:last-child { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.partners { margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.partners__list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner {
  min-width: 150px; min-height: 92px; padding: var(--radius) 20px; border-radius: var(--radius); background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--f-title); font-weight: 700; color: var(--green-900); box-shadow: var(--shadow);
}
.partner--logo { font-size: 15px; }

/* ---------- Chiffres clés ---------- */
.keyfigs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.keyfig { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 8px; }
.keyfig__num { font-family: var(--f-fig); font-weight: 800; font-size: clamp(36px, 3.2vw, 44px); line-height: 1; color: var(--green-500); position: relative; z-index: 1; }
.keyfig__num small { font-size: .5em; }
.keyfig__label { font-family: var(--f-title); font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.25; color: var(--green-900); margin-top: 8px; max-width: 18ch; position: relative; z-index: 1; }
.keyfig__doodle { position: absolute; pointer-events: none; }
.keyfig__doodle--traits { width: 22px; right: 14%; top: 4px; }
.keyfig__doodle--flip { transform: scaleX(-1); right: auto; left: 14%; }
.keyfig__doodle--under { width: 90px; bottom: -8px; left: 50%; transform: translateX(-50%); }
.keyfig__doodle--circle { width: 168px; top: -4px; left: 50%; transform: translateX(-50%); }
.keyfig--circled .keyfig__num { margin-top: 2px; }
.keyfig--circled .keyfig__label { margin-top: 24px; }
@media (max-width: 860px) { .keyfigs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }

/* ---------- Vidéo ---------- */
.video { margin: clamp(56px, 7vw, 96px) 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--green-900); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video__play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.video__play svg { width: 36px; fill: var(--green-900); margin-left: 4px; }
.demo-note--video { position: absolute; left: 16px; bottom: 16px; }

/* ---------- Paliers (escalier : la part colorée s'élargit à chaque palier) ---------- */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1136px; display: grid; gap: 20px; grid-auto-rows: 1fr; }
.step {
  --bg: var(--beige); --fg: var(--ink); --kw: var(--green-500); --line-c: var(--ink); --under: url("../assets/design/soulignement.svg"); --tw: 36%;
  display: grid; grid-template-columns: var(--tw) minmax(0, 1fr);
  background: var(--bg); color: var(--fg); border-radius: var(--radius); overflow: hidden;
}
.step--beige  { --tw: 36%; }
.step--yellow { --tw: 42%; --bg: var(--yellow); --kw: var(--green-900); }
.step--orange { --tw: 50%; --bg: var(--orange); --kw: var(--green-900); }
.step--green  { --tw: 55%; --bg: var(--green-500); --fg: var(--white); --kw: var(--yellow); --line-c: var(--white); }
.step--dark   { --tw: 58%; --bg: var(--green-900); --fg: var(--white); --kw: var(--yellow); --line-c: var(--white); }
.step__text { position: relative; padding: 24px 22px 24px 62px; display: flex; flex-direction: column; justify-content: center; }
.step__text::before { content: ""; position: absolute; left: 46px; top: 26px; bottom: 26px; width: 1px; background: var(--line-c); opacity: .5; }
.step__num { position: absolute; left: 14px; top: 26px; font-family: var(--f-title); font-size: 11px; font-weight: 500; }
.step__amount { font-family: var(--f-title); font-weight: 800; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.1; margin: 0 0 18px; align-self: flex-start; position: relative; letter-spacing: -.01em; }
.step__amount::after { content: ""; position: absolute; left: 0; width: 92%; bottom: -9px; height: 7px; background: var(--under) no-repeat left / 100% 100%; }
.step--yellow .step__amount::after { filter: brightness(0) invert(1); }
.step__title { font-family: var(--f-title); font-weight: 400; font-size: clamp(19px, 1.75vw, 22px); color: var(--fg); line-height: 1.3; margin: 0 0 12px; }
.step__title .kw { color: var(--kw); font-size: 1.06em; }
.step__list { margin: 0; padding-left: 1.05em; font-size: 14.5px; line-height: 1.45; opacity: .92; }
.step__list li { margin-bottom: .3em; }
.step__media { position: relative; min-height: 190px; }
.step__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step__media .wave-edge { fill: var(--bg); }
.step .badge { position: absolute; top: 24px; right: 20px; margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--f-title); font-weight: 700; font-size: 12.5px; padding: 4px 10px 4px 7px; border-radius: 999px; }
.badge--done { background: var(--green-900); color: var(--white); }
.badge--done::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.step-callout { padding: 6px 0 6px 22px; margin: 4px 0; border-left: 4px solid var(--green-500); max-width: 820px; }
.step-callout p:last-child { margin: 0; }
.steps + .center { margin-top: 40px; }
@media (max-width: 900px) {
  .steps { grid-auto-rows: auto; }
  .step, .step--beige, .step--yellow, .step--orange, .step--green, .step--dark { grid-template-columns: 1fr; }
  .step__media { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
  .step__media .wave-edge { display: none; }
}

/* ---------- Engagez-vous ---------- */
.facts { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); color: var(--ink); }
.fact--yellow { background: var(--yellow); }
.fact--green { background: var(--green-500); }
.fact--orange { background: var(--orange); }
.fact--beige { background: var(--beige); }
.fact__label { font-family: var(--f-title); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.fact__value { font-family: var(--f-fig); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; margin-bottom: 12px; color: var(--ink); white-space: nowrap; }
.fact__value--text { font-family: var(--f-title); font-size: clamp(24px, 2.2vw, 30px); white-space: normal; }
.fact p:last-child { margin: 0; font-size: 15.5px; line-height: 1.5; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.section--dark .center .btn { margin-bottom: clamp(48px, 6vw, 80px); }

.how { list-style: none; padding: 0; margin: 40px 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.how__step { border-top: 4px solid var(--yellow); padding-top: 18px; }
.how__num { display: block; font-family: var(--f-kw); font-weight: 700; font-size: 34px; color: var(--yellow); line-height: 1; margin-bottom: 10px; }
.how__step p { margin: 0; color: rgba(255, 255, 255, .88); }
.how__step strong { display: block; color: var(--white); font-family: var(--f-title); font-size: 18px; margin-bottom: 4px; }
.how__paper { color: rgba(255, 255, 255, .85); }
@media (max-width: 860px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .how { grid-template-columns: 1fr; } }

.risk { display: flex; gap: 16px; margin-top: 40px; padding: clamp(20px, 3vw, 28px); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); }
.risk__icon { width: 28px; height: 28px; fill: var(--yellow); flex: none; }
.risk__title { font-family: var(--f-title); font-weight: 700; color: var(--white); margin-bottom: 4px; }
.risk__docs-title { margin: 14px 0 6px; font-weight: 600; }
.docs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 12px; }
.docs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); text-decoration: none; font-size: 15px; }
.docs a::before { content: "↓"; font-weight: 700; }
.docs a:hover { background: rgba(255, 255, 255, .16); }

/* ---------- Autres manières ---------- */
.ways { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.way { border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; color: var(--ink); }
.way p { flex: 1; }
.way__title { font-size: 24px; font-weight: 700; color: inherit; margin-bottom: 10px; }
.way__link { font-family: var(--f-title); font-weight: 700; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; align-self: flex-start; }
.way__link::after { content: " →"; }
.way--yellow { background: var(--yellow); }
.way--green { background: var(--green-500); }
.way--orange { background: var(--orange); }
.way--dark { background: var(--green-900); color: var(--white); }
.way--outline { background: var(--white); border: 2px solid var(--ink); }
@media (max-width: 960px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ways { grid-template-columns: 1fr; } }
.ways + .demo-note { display: table; margin: 16px auto 0; }

/* ---------- Calendrier ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--green-900); opacity: .2; }
.timeline__item { position: relative; padding: 0 0 32px 44px; }
.timeline__item::before { content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--green-900); }
.timeline__item--end::before { background: var(--green-900); }
.timeline__date { font-family: var(--f-fig); font-weight: 700; color: var(--green-900); margin: 0 0 2px; }
.timeline__title { font-family: var(--f-title); font-weight: 700; font-size: 20px; margin: 0; color: var(--ink); }
.timeline__title::first-letter { text-transform: uppercase; }
.events { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.event { background: var(--white); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.event__date { font-family: var(--f-title); font-weight: 700; color: var(--green-900); margin: 0; flex: 1 1 220px; }
.event__place { font-weight: 500; color: var(--ink-soft); }
.events__also { font-family: var(--f-title); font-weight: 600; color: var(--green-900); margin: 18px 0 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--beige); margin-left: 6px; vertical-align: middle; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--beige); border-radius: var(--radius); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; font-family: var(--f-title); font-weight: 700; font-size: 18px; color: var(--green-900); padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23124939' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

/* ---------- CTA final & footer ---------- */
.final-cta { background: var(--green-900); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.final-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta__logo { width: 180px; }
.final-cta__line { margin: 0; font-family: var(--f-title); font-size: 20px; }
.final-cta__line .figure { color: var(--yellow); font-size: 40px; margin-right: 6px; }
.final-cta__date { margin: 0; font-family: var(--f-title); font-weight: 600; opacity: .85; }
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .8); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.site-footer p { margin: 0; }

/* ---------- Barre CTA mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white);
  box-shadow: 0 -6px 24px rgba(18, 73, 57, .14); transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta__info { display: flex; flex-direction: column; line-height: 1.15; }
.sticky-cta__info .figure { color: var(--green-500); font-size: 20px; }
.sticky-cta__of { font-family: var(--f-title); font-size: 12px; font-weight: 600; color: var(--green-900); }
.sticky-cta .btn { padding: 14px 18px; font-size: 15px; }
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Ajustements mobile ---------- */
@media (max-width: 600px) {
  .demo-banner { font-size: 12px; padding: 6px 12px; gap: 8px; flex-wrap: nowrap; text-align: left; }
  .demo-banner__text { display: none; }
  .hero__ctas .btn--primary { width: 100%; }
  .hero__ctas { margin-bottom: 20px; }
  .intro, .prose--centered { text-align: left; }
  .intro p { font-size: 18px; }
  .section--dark .center .btn, .steps + .center .btn { width: 100%; }
  .site-header__cta { padding: 9px 12px; font-size: 13px; }
}

/* ---------- Photos : variantes & mosaïque ---------- */
.photo--wide { aspect-ratio: 4 / 3; }
.mosaic { list-style: none; padding: 0; margin: clamp(56px, 7vw, 96px) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 16vw, 220px); gap: 12px; }
.mosaic__item { border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.mosaic__item--tall { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic__item:hover img { transform: scale(1.03); }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 8px; }
}

/* ---------- Jauge : texte d'explication ---------- */
.gauge__text { margin-top: 4px; padding-top: 20px; border-top: 1px solid rgba(18, 73, 57, .14); font-size: 16px; }
.gauge__text p { margin: 0 0 .6em; }
.gauge__text p:last-child { margin: 0; }
.gauge { max-width: 1136px; }
@media (max-width: 900px) { .step .badge { top: 18px; right: 16px; } }
