/* ==========================================================================
   wilDrop — feuille de style
   Palette tirée du logo (vert forêt, brun écorce, bleu gentiane, jaune soleil)
   et des cinq sachets (kraft, terracotta, beurre, sauge, ivoire).
   ========================================================================== */

:root {
  --paper: #F5EEDD;
  --paper-2: #EDE3CC;
  --ink: #1D2A1A;
  --ink-soft: #4E5846;
  --forest: #183414;
  --leaf: #3E6A24;
  --bark: #703C1C;
  --gentian: #2A6CD3;
  --sun: #F0C232;

  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --panel: clamp(22px, 3.6vw, 52px);

  /* grain de papier, discret, posé sur les grands aplats */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .28  0 0 0 0 .19  0 0 0 0 .08  0 0 0 .5 -.19'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gentian); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--forest); color: var(--paper); transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- éléments communs ---------- */

.eyebrow {
  display: flex; align-items: center; gap: .9em;
  font: 500 .78rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bark);
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }

.head { max-width: 47rem; }
.head h2 { margin-top: .55em; font-size: clamp(2.05rem, 5vw, 4rem); }
.head h2 em { color: var(--bark); }
.head .lead { margin-top: 1.25em; max-width: 37rem; font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--ink-soft); }
.head--center { margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .eyebrow::after { content: ""; flex: none; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.head--center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.55em; border: 1.5px solid var(--forest); border-radius: 999px;
  background: var(--forest); color: var(--paper);
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), background-color .25s, color .25s, box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(24, 52, 20, .6); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--paper); }
.btn--small { padding: .72em 1.15em; font-size: .86rem; }
.btn--line { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg, var(--paper)); box-shadow: none; }
.btn svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* apparitions au scroll */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease) calc(var(--i, 0) * 90ms), transform 1.1s var(--ease) calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* plantes au trait, qui se dessinent en entrant dans l'écran */
.botanical { position: absolute; overflow: visible; color: var(--leaf); pointer-events: none; }
.botanical path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.botanical .tint { fill: currentColor; fill-opacity: .1; }
.js .botanical path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.5s var(--ease) calc(var(--n, 0) * 38ms + var(--wait, 0s)), fill-opacity 1.2s ease calc(var(--n, 0) * 38ms + var(--wait, 0s) + .5s);
}
.js .botanical .tint { fill-opacity: 0; }
.js .botanical.is-in path { stroke-dashoffset: 0; }
.js .botanical.is-in .tint { fill-opacity: .1; }

.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--gentian));
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}

/* ---------- navigation ---------- */

.nav {
  position: fixed; z-index: 60; top: 12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(1180px, calc(100% - 20px)); padding: 7px 8px 7px 18px; border-radius: 999px;
  transition: background-color .45s, box-shadow .45s;
}
.nav.is-stuck {
  background: rgba(245, 238, 221, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 32px -20px rgba(40, 25, 5, .55);
}
.nav__logo { display: block; flex: none; }
.nav__logo img { width: auto; height: 42px; opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .45s, transform .6s var(--ease); }
.nav.is-stuck .nav__logo img { opacity: 1; transform: none; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: .9rem; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; text-decoration: none; opacity: .78; transition: opacity .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { flex: none; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background-color .25s, color .25s; }
.nav.is-stuck .nav__cta { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  display: grid; place-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: 104px var(--gutter) clamp(120px, 20vh, 190px);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(70% 55% at 80% 12%, rgba(240, 194, 50, .2), transparent 70%),
    radial-gradient(120% 75% at 50% 0%, #FCF8EE 0%, rgba(252, 248, 238, 0) 62%);
}
.hero__ridges { position: absolute; inset: auto 0 0 0; z-index: -2; height: clamp(170px, 25vw, 340px); }
.ridge { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.ridge--far { transform: translate3d(0, calc(var(--hp, 0) * 90px), 0); }
.ridge--mid { transform: translate3d(0, calc(var(--hp, 0) * 46px), 0); }
.ridge--near { transform: translate3d(0, calc(var(--hp, 0) * 12px), 0); }

.hero__plant { z-index: -1; bottom: -1.5%; height: clamp(190px, 44vh, 470px); width: auto; aspect-ratio: 200 / 320; opacity: .62; }
.hero__plant--a { left: clamp(-34px, 1vw, 40px); --wait: .9s; transform: rotate(-9deg); transform-origin: 50% 100%; }
.hero__plant--b { left: clamp(60px, 13vw, 240px); height: clamp(120px, 28vh, 300px); --wait: 1.4s; transform: rotate(6deg); transform-origin: 50% 100%; opacity: .5; }
.hero__plant--c { right: clamp(-30px, 2vw, 60px); --wait: 1.1s; transform: rotate(8deg); transform-origin: 50% 100%; }
.hero__plant--d { right: clamp(70px, 14vw, 260px); height: clamp(110px, 26vh, 280px); --wait: 1.6s; transform: rotate(-5deg); transform-origin: 50% 100%; opacity: .5; }

.hero__inner {
  display: grid; justify-items: center; width: 100%; max-width: 60rem;
  transform: translate3d(0, calc(var(--hp, 0) * -70px), 0);
  opacity: calc(1 - var(--hp, 0) * 1.35);
}
.hero__eyebrow { font: 500 .76rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bark); }
.hero__eyebrow b { font-weight: inherit; white-space: nowrap; }
.hero__eyebrow span { margin: 0 .45em; opacity: .55; }

.logo { position: relative; width: min(76vw, 610px); aspect-ratio: 1393 / 696; margin: clamp(14px, 3vh, 30px) 0 clamp(10px, 2.4vh, 26px); }
.logo__layer { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__title { font-size: clamp(2.15rem, 5.6vw, 4.5rem); }
.hero__title em { display: block; color: var(--bark); }
.hero__lead { margin-top: 1.1em; max-width: 34rem; font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 3.4vh, 34px); }

.hero__cue { position: absolute; left: 50%; bottom: clamp(18px, 4vh, 40px); width: 44px; height: 54px; margin-left: -22px; display: grid; place-items: center; color: var(--gentian); opacity: calc(1 - var(--hp, 0) * 4); }
.hero__cue svg { width: 20px; height: 28px; fill: currentColor; animation: drip 2.4s cubic-bezier(.5, 0, .7, 1) infinite; }
@keyframes drip {
  0% { transform: translateY(-14px) scale(.5); opacity: 0; }
  30% { transform: translateY(-4px) scale(1); opacity: 1; }
  80% { transform: translateY(16px) scale(1); opacity: 1; }
  100% { transform: translateY(24px) scale(.8, .5); opacity: 0; }
}

/* le logo apparaît en trois temps : la montagne se peint, le nom s'écrit, le rameau pousse */
.js .logo__layer--mountain { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); }
.js .logo__layer--word { -webkit-clip-path: inset(0 80% 0 0); clip-path: inset(0 80% 0 0); }
.js .logo__layer--sprig { -webkit-clip-path: circle(0% at 76% 97%); clip-path: circle(0% at 76% 97%); transform-origin: 76% 97%; }
.js .hero__eyebrow, .js .hero__title, .js .hero__lead, .js .hero .hero__cta, .js .hero__cue svg { opacity: 0; }
.hero.is-live .logo__layer--mountain { animation: wipe 1.5s var(--ease) .1s forwards; }
.hero.is-live .logo__layer--word { animation: wipe 1.25s cubic-bezier(.5, .1, .2, 1) .85s forwards; }
.hero.is-live .logo__layer--sprig { animation: sprout 1.5s var(--ease) 1.45s forwards; }
.hero.is-live .hero__eyebrow { animation: rise .9s var(--ease) .1s forwards; }
.hero.is-live .hero__title { animation: rise 1s var(--ease) 1.75s forwards; }
.hero.is-live .hero__lead { animation: rise 1s var(--ease) 1.95s forwards; }
.hero.is-live .hero__cta { animation: rise 1s var(--ease) 2.15s forwards; }
.hero.is-live .hero__cue svg { animation: drip 2.4s cubic-bezier(.5, 0, .7, 1) 2.8s infinite; }
@keyframes wipe { to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }
@keyframes sprout {
  from { -webkit-clip-path: circle(0% at 76% 97%); clip-path: circle(0% at 76% 97%); transform: rotate(-9deg) scale(.92); }
  to { -webkit-clip-path: circle(78% at 76% 97%); clip-path: circle(78% at 76% 97%); transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- manifeste ---------- */

.manifesto { position: relative; padding: clamp(80px, 15vh, 180px) 0 clamp(70px, 12vh, 150px); overflow: hidden; overflow: clip; }
.manifesto .eyebrow { justify-content: center; }
.manifesto .eyebrow::after { content: ""; flex: none; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.manifesto__text {
  position: relative; z-index: 1; max-width: 19.5em; margin: .9em auto 0;
  font: 400 clamp(1.7rem, 4.3vw, 3.5rem)/1.17 var(--serif); letter-spacing: -.02em; text-align: center; text-wrap: balance;
}
.manifesto__text em { color: var(--bark); }
.manifesto__text .w { opacity: .13; transition: opacity .3s linear; }
.manifesto__text .w.is-on { opacity: 1; }
.manifesto__plant { right: clamp(-70px, -1vw, 10px); top: 3%; height: clamp(170px, 30vw, 400px); aspect-ratio: 200 / 320; opacity: .34; transform: rotate(16deg); }

/* ---------- quatre soucis ---------- */

.needs { padding: clamp(40px, 7vh, 90px) 0 clamp(80px, 13vh, 160px); }
.needs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 22px); margin-top: clamp(36px, 5.5vw, 68px); }
.need { position: relative; padding: 28px 24px 30px; border: 1px solid rgba(60, 45, 20, .1); border-radius: 24px; background: rgba(255, 255, 255, .46); }
.need__icon { width: 44px; height: 44px; fill: none; stroke: var(--leaf); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.need__pain { position: relative; display: inline-block; margin-top: 26px; font: 500 .76rem/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.need__pain::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 1.5px; background: var(--bark);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .8s var(--ease) calc(var(--i, 0) * 90ms + .55s);
}
.need.is-in .need__pain::after, html:not(.js) .need__pain::after { transform: scaleX(1); }
.need h3 { margin-top: 12px; font-size: clamp(1.4rem, 1.9vw, 1.72rem); line-height: 1.1; }
.need p:last-child { margin-top: 12px; font-size: .97rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- trois gestes ---------- */

.steps {
  margin: 0 clamp(8px, 1.4vw, 22px); padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 104px);
  border-radius: var(--panel); background: var(--paper-2) var(--grain);
}
.steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); margin-top: clamp(36px, 5.5vw, 68px); }
.step__art { width: 100%; height: auto; aspect-ratio: 1; border: 1px solid rgba(60, 45, 20, .08); border-radius: 28px; background: rgba(255, 255, 255, .55); }
.step__n { margin-top: 22px; font: italic 400 1.05rem/1 var(--serif); color: var(--bark); }
.step h3 { margin-top: 8px; font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.step > p:last-child { margin-top: 12px; color: var(--ink-soft); }

.s-body { fill: #E6D2B5; stroke: #B49B72; stroke-width: 1.5; stroke-linejoin: round; }
.s-seal { fill: none; stroke: #B49B72; stroke-width: 1.1; stroke-dasharray: 1.4 2.6; }
.s-mini { fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.s-powder { fill: #FBF6EA; }
.s-water { fill: #5B9BE6; opacity: .72; transform-box: fill-box; transform-origin: 50% 100%; }
.s-dose { fill: none; stroke: var(--forest); stroke-width: 1.7; stroke-dasharray: 5 4; }
.s-corner { fill: #DCC6A2; stroke: #B49B72; stroke-width: 1.3; stroke-linejoin: round; transform-box: fill-box; transform-origin: 0% 100%; }
.s-drop { fill: #3F86E0; opacity: 0; }
.s-cream { fill: #FFF9EA; }
.s-bubble { fill: rgba(255, 255, 255, .92); stroke: #D5C5A0; stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.s-squish { transform-box: fill-box; transform-origin: 50% 50%; }
.s-hand { fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.s-timer-bg { fill: rgba(255, 255, 255, .75); stroke: rgba(24, 52, 20, .14); stroke-width: 3.2; }
.s-timer { fill: none; stroke: var(--leaf); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .12; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.s-time { font: 600 11px var(--sans); fill: var(--forest); }
.s-leaf { fill: #6E9A52; }
.s-leafvein { fill: none; stroke: #4F7A3A; stroke-width: 1.4; stroke-linecap: round; }
.s-dollop { fill: #FFF9EA; stroke: #D5C5A0; stroke-width: 1.2; transform-box: fill-box; transform-origin: 50% 100%; }
.s-ribbon { fill: none; stroke: #FFF9EA; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.s-tilt { transform: translate(96px, 92px) rotate(122deg) scale(.8); }
.s-drop--1, .s-drop--2, .s-drop--3 { transform: translate(163px, 30px); }

/* les illustrations ne s'animent qu'une fois visibles */
.step.is-in .s-corner { animation: s-corner 5.6s var(--ease) infinite; }
.step.is-in .s-water { animation: s-fill 5.6s ease-in-out infinite; }
.step.is-in .s-drop--1 { animation: s-drop-1 5.6s linear infinite; }
.step.is-in .s-drop--2 { animation: s-drop-2 5.6s linear infinite; }
.step.is-in .s-drop--3 { animation: s-drop-3 5.6s linear infinite; }
.step.is-in .s-squish { animation: s-squish 1.15s ease-in-out infinite; }
.step.is-in .s-hand--l { animation: s-push-l 1.15s ease-in-out infinite; }
.step.is-in .s-hand--r { animation: s-push-r 1.15s ease-in-out infinite; }
.step.is-in .s-timer { animation: s-timer 5.6s linear infinite; }
.step.is-in .s-bubble { animation: s-bob 2.3s ease-in-out infinite; }
.step.is-in .s-bubble--2 { animation-delay: -.6s; }
.step.is-in .s-bubble--3 { animation-delay: -1.2s; }
.step.is-in .s-bubble--4 { animation-delay: -1.7s; }
.step.is-in .s-tilt { animation: s-squeeze 5.6s ease-in-out infinite; }
.step.is-in .s-ribbon { animation: s-ribbon 5.6s ease-in-out infinite; }
.step.is-in .s-dollop { animation: s-dollop 5.6s var(--ease) infinite; }

@keyframes s-corner { 0%, 5% { transform: none; opacity: 1; } 14%, 93% { transform: translate(15px, -14px) rotate(40deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes s-fill { 0%, 22% { transform: scaleY(0); } 68%, 92% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes s-drop-1 { 0%, 14% { transform: translate(163px, 22px); opacity: 0; } 16% { opacity: 1; } 27% { transform: translate(163px, 84px); opacity: 1; } 29%, 100% { transform: translate(163px, 88px); opacity: 0; } }
@keyframes s-drop-2 { 0%, 30% { transform: translate(163px, 22px); opacity: 0; } 32% { opacity: 1; } 43% { transform: translate(163px, 84px); opacity: 1; } 45%, 100% { transform: translate(163px, 88px); opacity: 0; } }
@keyframes s-drop-3 { 0%, 46% { transform: translate(163px, 22px); opacity: 0; } 48% { opacity: 1; } 59% { transform: translate(163px, 84px); opacity: 1; } 61%, 100% { transform: translate(163px, 88px); opacity: 0; } }
@keyframes s-squish { 0%, 100% { transform: scale(1); } 50% { transform: scale(.85, 1.05); } }
@keyframes s-push-l { 50% { transform: translateX(11px); } }
@keyframes s-push-r { 50% { transform: translateX(-11px); } }
@keyframes s-timer { 0% { stroke-dashoffset: 1; } 86%, 100% { stroke-dashoffset: 0; } }
@keyframes s-bob { 50% { transform: translateY(-7px) scale(1.12); } }
@keyframes s-squeeze {
  0%, 100% { transform: translate(96px, 92px) rotate(122deg) scale(.8); }
  30%, 70% { transform: translate(98px, 94px) rotate(126deg) scale(.74, .82); }
}
@keyframes s-ribbon { 0%, 12% { stroke-dashoffset: 1; } 46%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes s-dollop { 0%, 30% { transform: scale(0); } 62%, 90% { transform: scale(1); } 100% { transform: scale(0); } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(48px, 7vw, 92px); padding-top: clamp(28px, 4vw, 44px); border-top: 1.5px dashed rgba(112, 60, 28, .32); }
.stats strong { display: block; font: 400 clamp(2.5rem, 5.4vw, 4.6rem)/1 var(--serif); letter-spacing: -.03em; color: var(--forest); font-variant-numeric: tabular-nums; }
.stats strong small { font-size: .42em; letter-spacing: 0; color: var(--bark); }
.stats li > span { display: block; margin-top: 10px; max-width: 17rem; font-size: .94rem; line-height: 1.45; color: var(--ink-soft); }

/* ---------- la gamme ---------- */

.range { position: relative; padding: clamp(84px, 14vh, 170px) 0 clamp(36px, 6vh, 70px); overflow: hidden; overflow: clip; text-align: center; }
.range__stage { position: relative; height: clamp(400px, 47vw, 660px); margin-top: clamp(6px, 2vw, 28px); }
.range__canvas { width: 100%; height: 100%; }
.range__list a {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: grid; justify-items: center; gap: 3px; padding: 8px 12px; border-radius: 14px;
  text-decoration: none; white-space: nowrap; transform: translate(-50%, 0);
  transition: background-color .3s, opacity .5s;
}
.range__list a:hover, .range__list a:focus-visible { background: rgba(255, 255, 255, .6); }
.range__list i { width: 11px; height: 11px; border: 1px solid rgba(40, 25, 5, .28); border-radius: 50%; background: var(--c); }
.range__list b { font: 500 1.02rem/1.2 var(--serif); letter-spacing: -.005em; }
.range__list span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.js .range__list a { opacity: 0; }
.js .range__list.is-set a { opacity: 1; }
.range__hint { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(18px, 3vw, 34px); font-size: .84rem; letter-spacing: .08em; color: var(--ink-soft); }
.range__hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- les produits : une bande de sachets qui s'empilent ---------- */

.products { position: relative; }
.product {
  position: -webkit-sticky; position: sticky; top: var(--stick, 0px);
  min-height: 100vh; min-height: 100svh;
  border-radius: var(--panel) var(--panel) 0 0; overflow: hidden; overflow: clip;
  background: var(--bg) var(--grain); color: var(--ink);
  box-shadow: 0 -26px 60px -34px rgba(40, 25, 5, .6);
}
.product + .product { margin-top: calc(var(--panel) * -1); }
/* soudure gaufrée, comme le pourtour des vrais sachets */
.product::before {
  content: ""; position: absolute; z-index: 1; inset: clamp(7px, 1vw, 14px); padding: clamp(7px, .8vw, 11px);
  border-radius: calc(var(--panel) - 8px) calc(var(--panel) - 8px) 12px 12px; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(40, 25, 5, .13) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(40, 25, 5, .13) 0 1px, transparent 1px 5px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* s'assombrit quand le sachet suivant vient le recouvrir */
.product::after { content: ""; position: absolute; z-index: 6; inset: 0; background: #1A1206; opacity: calc(var(--cover, 0) * .3); pointer-events: none; }
.product__ridge { position: absolute; z-index: 0; right: -7%; bottom: -3%; width: min(78%, 980px); height: auto; opacity: .075; mix-blend-mode: multiply; pointer-events: none; }
.product--flip .product__ridge { right: auto; left: -7%; transform: scaleX(-1); }

.product__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: clamp(24px, 5vw, 84px);
  max-width: var(--max); min-height: 100vh; min-height: 100svh; margin: 0 auto;
  padding: clamp(92px, 13vh, 132px) var(--gutter) clamp(64px, 9vh, 104px);
  transform: scale(calc(1 - var(--cover, 0) * .035)); transform-origin: 50% 30%;
}
.product--flip .product__visual { order: -1; }

.product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.product__num { font: italic 300 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--serif); color: var(--accent); }
.product__when, .product__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1.2px solid currentColor; border-radius: 999px; font: 500 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.product__when svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.product__badge { padding: 8px 14px; border-color: transparent; background: var(--ink); color: var(--bg); }
.product__title { margin-top: .5em; font-size: clamp(2.5rem, 5.4vw, 4.7rem); line-height: .98; letter-spacing: -.028em; }
.product__title em { display: block; color: var(--accent); }
.product__sub { margin-top: 1em; font: italic 400 clamp(1.1rem, 1.5vw, 1.32rem)/1.3 var(--serif); letter-spacing: .02em; color: var(--soft); }
.product__desc { margin-top: 1.2em; max-width: 32.5rem; font-size: clamp(1rem, 1.15vw, 1.09rem); }
.product__note { position: relative; margin-top: 1em; max-width: 32.5rem; padding-left: 16px; font-size: .93rem; line-height: 1.5; color: var(--soft); }
.product__note::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 2px; border-radius: 2px; background: var(--accent); }
.product__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 34rem; margin-top: clamp(22px, 3vw, 34px); padding-top: 18px; border-top: 1.5px dashed rgba(29, 42, 26, .32); }
.product__specs dt { font: 500 .72rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.product__specs dd { margin-top: 7px; font: 400 1.04rem/1.3 var(--serif); }
.product__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: clamp(4px, 1vw, 14px); }
.product__hint { font-size: .86rem; color: var(--soft); }

.product__visual { position: relative; }
.product__stage { position: relative; width: min(100%, 620px); max-height: 84vh; max-height: 84svh; aspect-ratio: 1 / 1.1; margin: 0 auto; }
.product__canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.product__canvas.is-dragging { cursor: grabbing; }
.product__photo {
  position: absolute; z-index: 3; right: clamp(-26px, -1.2vw, 0px); bottom: clamp(-18px, -1%, 0px);
  width: clamp(104px, 27%, 196px); overflow: hidden;
  border: 5px solid rgba(255, 255, 255, .62); border-radius: 999px 999px 18px 18px;
  box-shadow: 0 22px 44px -22px rgba(40, 25, 5, .7); transform: rotate(4deg);
}
.js .product__photo[data-reveal] { transform: translateY(26px) rotate(4deg); }
.js .product__photo[data-reveal].is-in { transform: rotate(4deg); }
.product--flip .product__photo { right: auto; left: clamp(-26px, -1.2vw, 0px); transform: rotate(-4deg); }
.js .product--flip .product__photo[data-reveal] { transform: translateY(26px) rotate(-4deg); }
.js .product--flip .product__photo[data-reveal].is-in { transform: rotate(-4deg); }
.product__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.product__photo figcaption { position: absolute; inset: auto 0 0 0; padding: 18px 6px 9px; background: linear-gradient(transparent, rgba(20, 14, 4, .62)); color: #fff; font: 500 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-align: center; }

/* ---------- côté labo ---------- */

.science { position: relative; padding: clamp(84px, 14vh, 170px) 0; overflow: hidden; overflow: clip; }
.science__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; gap: clamp(36px, 7vw, 112px); }
.science .head h2 { font-size: clamp(1.95rem, 4.2vw, 3.4rem); }
.science__plant { left: clamp(-70px, -2vw, 0px); bottom: -2%; height: clamp(190px, 30vw, 400px); aspect-ratio: 200 / 320; opacity: .34; transform: rotate(-12deg); }
.science__checks { margin-top: clamp(28px, 4vw, 44px); }
.science__checks > p { font: 500 .74rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bark); }
.science__checks ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.science__checks li { padding: 8px 14px; border: 1px solid rgba(60, 45, 20, .2); border-radius: 999px; background: rgba(255, 255, 255, .5); font-size: .88rem; }

.flow { position: relative; display: grid; gap: clamp(22px, 3vw, 34px); padding-top: 8px; }
.flow::before { content: ""; position: absolute; left: 12px; top: 22px; bottom: 30px; width: 2px; margin-left: -1px; background: repeating-linear-gradient(to bottom, rgba(112, 60, 28, .55) 0 6px, transparent 6px 13px); }
.flow li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 20px; }
.flow__dot { position: relative; width: 24px; height: 24px; margin-top: 5px; border: 2px solid var(--bark); border-radius: 50%; background: var(--paper); }
.flow__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bark); transform: scale(0); transition: transform .6s var(--ease) calc(var(--i, 0) * 90ms + .35s); }
.flow li.is-in .flow__dot::after, html:not(.js) .flow__dot::after { transform: scale(1); }
.flow li:last-child .flow__dot { border-color: var(--leaf); }
.flow li:last-child .flow__dot::after { background: var(--leaf); }
.flow b { display: block; font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.15 var(--serif); letter-spacing: -.015em; }
.flow p { margin-top: 6px; color: var(--ink-soft); }

/* ---------- engagements ---------- */

.trace {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  margin: 0 clamp(8px, 1.4vw, 22px); padding: clamp(72px, 11vw, 140px) 0 clamp(60px, 9vw, 112px);
  border-radius: var(--panel); background: var(--forest) var(--grain); color: #F1E9D6;
}
.trace .eyebrow { color: var(--sun); }
.trace .head h2 em { color: #B9D48F; }
.trace .head .lead { color: rgba(241, 233, 214, .8); }
.trace__ridge { position: absolute; z-index: -1; right: -6%; bottom: -4%; width: min(86%, 1100px); height: auto; opacity: .08; filter: brightness(0) invert(1); pointer-events: none; }
.trace__layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; gap: clamp(14px, 1.8vw, 26px); margin-top: clamp(38px, 5.5vw, 70px); }
.pledges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 22px); }
.pledges li { padding: 26px 24px 28px; border: 1px solid rgba(241, 233, 214, .16); border-radius: 24px; background: rgba(255, 255, 255, .045); }
.pledges svg { width: 40px; height: 40px; fill: none; stroke: #B9D48F; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pledges h3 { margin-top: 18px; font-size: clamp(1.4rem, 1.9vw, 1.7rem); }
.pledges p { margin-top: 10px; font-size: .97rem; line-height: 1.55; color: rgba(241, 233, 214, .78); }
.scale { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 3vw, 40px); border-radius: 24px; background: #F1E9D6; color: var(--forest); }
.scale__label { font: 500 .76rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bark); }
.scale__value { margin-top: 6px; font: 300 clamp(5.4rem, 11vw, 9.6rem)/.92 var(--serif); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.scale__value small { margin-left: .08em; font-size: .34em; font-style: italic; letter-spacing: 0; color: var(--bark); }
.scale__bar { height: 8px; margin-top: 20px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(24, 52, 20, .2) 0 2px, transparent 2px 10px); overflow: hidden; }
.scale__bar i { display: block; width: 34%; height: 100%; border-radius: 8px; background: var(--leaf); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .4s; }
.scale.is-in .scale__bar i, html:not(.js) .scale__bar i { transform: scaleX(1); }
.scale__note { margin-top: 18px; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.trace__law { max-width: 46rem; margin-top: clamp(30px, 4.5vw, 54px); padding-left: 18px; border-left: 2px solid var(--sun); font-size: .98rem; color: rgba(241, 233, 214, .82); }

/* ---------- terrains de jeu ---------- */

.fields { padding: clamp(84px, 14vh, 170px) 0 clamp(40px, 7vh, 90px); overflow: hidden; overflow: clip; }
.fields h2 { margin-top: .55em; font-size: clamp(2.05rem, 5vw, 4rem); }
.fields h2 em { color: var(--bark); }
.marquee { margin-top: clamp(34px, 5vw, 64px); padding: clamp(14px, 2vw, 26px) 0; border-block: 1.5px dashed rgba(112, 60, 28, .32); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); width: max-content; animation: marquee 46s linear infinite; }
.marquee span { font: italic 300 clamp(2.1rem, 5.6vw, 4.8rem)/1.1 var(--serif); letter-spacing: -.02em; white-space: nowrap; color: var(--forest); }
.marquee i { flex: none; width: clamp(20px, 2.4vw, 34px); aspect-ratio: 1; background: url(../assets/favicon.png) center / contain no-repeat; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- final ---------- */

.outro { position: relative; padding: clamp(70px, 12vh, 150px) 0 clamp(120px, 20vh, 240px); overflow: hidden; overflow: clip; text-align: center; }
.outro__logo { width: min(64vw, 400px); height: auto; margin: 0 auto; }
.outro h2 { margin-top: .7em; font-size: clamp(2.2rem, 5.6vw, 4.5rem); }
.outro h2 em { color: var(--bark); }
.outro__plant { bottom: -2%; height: clamp(170px, 30vw, 400px); aspect-ratio: 200 / 320; opacity: .5; }
.outro__plant--a { left: clamp(-30px, 3vw, 90px); transform: rotate(-8deg); transform-origin: 50% 100%; }
.outro__plant--b { right: clamp(-30px, 3vw, 90px); transform: rotate(7deg); transform-origin: 50% 100%; --wait: .3s; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 22px var(--gutter) 30px; border-top: 1px solid rgba(60, 45, 20, .14); font-size: .84rem; color: var(--ink-soft); }

/* ==========================================================================
   Adaptations
   ========================================================================== */

@media (max-width: 1040px) {
  .needs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* sous cette largeur, les sachets se resserrent : les noms passent en pastilles sous la scène */
  .range__stage { height: auto; }
  .range__canvas { height: clamp(270px, 62vw, 520px); }
  .range__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 var(--gutter); margin-top: 6px; }
  .range__list a { position: static; grid-auto-flow: column; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 1px solid rgba(60, 45, 20, .16); border-radius: 999px; background: rgba(255, 255, 255, .5); transform: none !important; }
  .range__list b { font-size: .95rem; }
  .range__list span { display: none; }

  .trace__layout { grid-template-columns: 1fr; }
  .scale { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 4px 28px; }
  .scale__label { width: 100%; }
  .scale__value { margin-top: 0; }
  .scale__bar { order: 3; width: 100%; }
  .scale__note { flex: 1 1 220px; margin: 0 0 10px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav { padding-left: 14px; }
  .science__grid { grid-template-columns: 1fr; }

  .product__inner { grid-template-columns: 1fr; gap: 6px; align-items: start; min-height: 0; padding: 78px var(--gutter) 78px; }
  .product__visual, .product--flip .product__visual { order: -1; }
  .product__stage { width: min(100%, 460px); max-height: none; aspect-ratio: 1 / 1.08; }
  .product__photo { width: clamp(88px, 24%, 140px); right: 0; bottom: 3%; border-width: 4px; }
  .product--flip .product__photo { left: 0; }
  .product__title { font-size: clamp(2.5rem, 10.5vw, 4rem); }
  .product__ridge { width: 120%; right: -30%; bottom: 0; }
  .product--flip .product__ridge { left: -30%; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { padding-top: 84px; }
  .hero__plant--b, .hero__plant--d { display: none; }
  .hero__plant--a { left: -44px; height: 30vh; }
  .hero__plant--c { right: -44px; height: 30vh; }
  .hero__eyebrow { font-size: .64rem; letter-spacing: .15em; }
  .hero__eyebrow span { margin: 0 .2em; }
  .hero__cta { width: 100%; max-width: 340px; }
  .hero__cta .btn { flex: 1 1 100%; }

  .needs__grid { grid-template-columns: 1fr; }
  .need { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 22px 20px 24px; }
  .need__icon { grid-row: 1 / span 3; }
  .need__pain { margin-top: 2px; justify-self: start; }

  .steps__grid { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: clamp(104px, 31vw, 150px) minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .step__art { grid-row: 1 / span 3; border-radius: 22px; }
  .step__n { margin-top: 4px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }

  .product__specs { grid-template-columns: 1fr; gap: 0; }
  .product__specs > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(29, 42, 26, .14); }
  .product__specs > div:last-child { border-bottom: 0; }
  .product__specs dd { margin-top: 0; }

  .pledges { grid-template-columns: 1fr; }
  .pledges li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding: 22px 20px 24px; }
  .pledges svg { grid-row: 1 / span 2; }
  .pledges h3 { margin-top: 0; }
  .footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .product__photo[data-reveal] { opacity: 1; transition: none; }
  .js [data-reveal]:not(.product__photo) { transform: none; }
  .js .botanical path { stroke-dashoffset: 0; transition: none; }
  .js .botanical .tint { fill-opacity: .1; }
  .js .logo__layer { -webkit-clip-path: none; clip-path: none; animation: none !important; }
  .js .hero__eyebrow, .js .hero__title, .js .hero__lead, .js .hero .hero__cta, .js .hero__cue svg { opacity: 1; animation: none !important; }
  .hero__inner { transform: none; opacity: 1; }
  .ridge { transform: none; }
  .manifesto__text .w { opacity: 1; }
  .marquee__track, .range__hint svg { animation: none; }
  .step.is-in .step__art * { animation: none !important; }
  .s-water { transform: scaleY(1); }
  .need__pain::after, .flow__dot::after, .scale__bar i { transition: none; }
}
