/* =========================================================
   Instinct Végétal — Paysagiste, Six-Fours-les-Plages
   Palette : nuit d'olivier, sauge, pierre calcaire, terre cuite
   ========================================================= */

:root {
  --night: #141a13;
  --forest: #1f2a1e;
  --moss: #34442f;
  --sage: #a9b79a;
  --sage-soft: #d6dccb;
  --stone: #ece5d8;
  --stone-2: #e2d8c6;
  --sand: #c9b48f;
  --terra: #c4673b;
  --terra-2: #e08a5c;
  --ink: #1b1f19;
  --muted: #5f6858;
  --line: rgba(27, 31, 25, .12);
  --line-light: rgba(236, 229, 216, .14);

  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--sage); color: var(--night); }

/* Grain naturel sur toute la page */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(196, 103, 59, .18);
}
.on-dark .eyebrow { color: var(--sage); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.02em; line-height: 1.02; }
h2 { font-size: clamp(38px, 6vw, 84px); }
h2 em, h1 em { font-style: italic; color: var(--terra); font-weight: 300; }
.on-dark h2 em, .on-dark h1 em { color: var(--terra-2); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 56ch; }
.services-head .lead { max-width: 40ch; margin: 0; }
.on-dark .lead { color: rgba(236, 229, 216, .72); }

section { position: relative; }
.pad { padding: clamp(90px, 13vw, 180px) 0; }
.on-dark { background: var(--forest); color: var(--stone); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--terra);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--bg);
  color: #fff;
  border: 0;
  font-weight: 500;
  font-size: 16px;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--night);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform .55s var(--ease);
}
@media (hover: hover) { .btn:hover::before { transform: translateY(0); } }
.btn:hover { box-shadow: 0 18px 40px -16px rgba(196, 103, 59, .6); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost::before { background: var(--stone); }
@media (hover: hover) { .btn.ghost:hover { color: var(--night); box-shadow: inset 0 0 0 1px var(--stone); } }
.btn.light { background: var(--stone); color: var(--night); }
.btn.light::before { background: var(--sage); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  pointer-events: none;
}
.header .bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) - 2 * var(--gutter) + 40px);
  margin: 0 auto;
  padding: 10px 10px 10px 22px;
  width: calc(100% - 2 * var(--gutter) + 20px);
  border-radius: 999px;
  background: rgba(20, 26, 19, .42);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(236, 229, 216, .12);
  color: var(--stone);
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.header.scrolled .bar { background: rgba(20, 26, 19, .82); }
.header.hide .bar { transform: translateY(-140%); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo b { font-weight: 400; font-style: italic; color: var(--sage); }
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 9px 16px; border-radius: 999px; font-size: 15px;
  color: rgba(236, 229, 216, .78);
  transition: background .3s, color .3s;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(236, 229, 216, .1); color: var(--stone); }
.header .btn { padding: 11px 18px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--stone); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--night); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--night); color: var(--stone);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 46px) 46px);
  transition: clip-path .8s var(--ease);
}
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 46px); }
.mobile-menu a { font-family: var(--serif); font-size: 44px; line-height: 1.25; }
.mobile-menu .mm-foot { margin-top: 40px; font-family: var(--mono); font-size: 13px; color: var(--sage); }

@media (max-width: 900px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--stone);
  background: var(--night);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  filter: saturate(.85) brightness(.7);
  animation: heroIn 2.4s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1.02); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 20% 100%, rgba(20, 26, 19, .95) 10%, transparent 60%),
    linear-gradient(180deg, rgba(20, 26, 19, .55) 0%, transparent 30%, rgba(20, 26, 19, .7) 100%);
}
#growth { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; padding-top: 110px; padding-bottom: clamp(32px, 7vh, 80px); }
.hero h1 {
  font-size: clamp(44px, 11.5vw, 190px);
  line-height: .9;
  letter-spacing: -.045em;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.3s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-bottom {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  opacity: 0; animation: fade 1.2s .7s var(--ease) forwards;
}
@keyframes fade { to { opacity: 1; } }
.hero-bottom p { margin: 0; max-width: 46ch; color: rgba(236, 229, 216, .8); font-size: clamp(16px, 1.4vw, 19px); }
.hero-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.hero-meta {
  position: absolute; top: 110px; right: var(--gutter);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: rgba(236, 229, 216, .7); text-align: right; line-height: 1.9;
  opacity: 0; animation: fade 1s 1s forwards;
}
.hero-meta .rating { color: #f4c56a; }
@media (max-width: 760px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { justify-content: flex-start; }
  .hero-meta { top: 96px; left: var(--gutter); right: auto; text-align: left; }
}

/* ---------- Météo live (widget) ---------- */
.live {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(236, 229, 216, .08);
  border: 1px solid var(--line-light);
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--stone);
  margin-bottom: 26px;
  opacity: 0; transition: opacity .8s;
}
.live.ready { opacity: 1; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd18b; box-shadow: 0 0 0 0 rgba(127, 209, 139, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(127, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 209, 139, 0); } }
.live .tip { color: var(--sage); }
@media (max-width: 600px) {
  .live { font-size: 11px; }
  .live .tip { display: none; }
  .hero-meta { display: none; }
}

/* ---------- Marquee plantes ---------- */
.marquee {
  background: var(--terra); color: var(--stone);
  overflow: hidden; white-space: nowrap;
  padding: 18px 0;
  font-family: var(--serif); font-size: clamp(22px, 3vw, 36px); font-style: italic;
}
.marquee-track { display: inline-flex; gap: 40px; animation: marq 40s linear infinite; padding-right: 40px; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: "✳"; font-style: normal; font-size: .6em; opacity: .6; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Manifeste ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 100px); }
.manifesto .big {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.12; letter-spacing: -.02em;
}
.manifesto .big .w { opacity: .14; transition: opacity .4s; }
.manifesto .big .w.on { opacity: 1; }
.manifesto .big em { color: var(--terra); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: clamp(50px, 7vw, 90px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--stone); padding: 30px; }
.fact .n { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.fact .n small { font-size: .45em; color: var(--muted); }
.fact p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .manifesto { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  min-height: 330px;
  background: var(--moss);
  border: 1px solid var(--line-light);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .4s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(169, 183, 154, .22), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.svc:hover::before { opacity: 1; }
.svc:hover { border-color: rgba(169, 183, 154, .4); }
.svc .idx { font-family: var(--mono); font-size: 12px; color: var(--sage); letter-spacing: .1em; }
.svc svg { width: 54px; height: 54px; margin: 34px 0 auto; color: var(--sage); }
.svc h3 { font-size: 30px; margin-top: 28px; }
.svc p { margin: 10px 0 0; color: rgba(236, 229, 216, .66); font-size: 15.5px; }
.svc.feature { grid-column: span 2; background: var(--terra); border-color: transparent; }
.svc.feature svg, .svc.feature .idx { color: var(--stone); }
.svc.feature p { color: rgba(255, 255, 255, .85); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .svc.feature { grid-column: auto; } .svc { min-height: 280px; } }

/* ---------- Palette végétale ---------- */
.palette { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.palette-head { position: sticky; top: 120px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.filter { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--night); color: var(--stone); border-color: var(--night); }
.plants { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plant { border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease); }
.plant.dim { opacity: .18; }
.plant-row {
  width: 100%; background: none; border: 0; text-align: left;
  display: grid; grid-template-columns: 44px 1fr auto 28px; align-items: baseline; gap: 6px 18px;
  padding: 26px 0;
  position: relative;
}
.plant-row .no { font-family: var(--mono); font-size: 12px; color: var(--terra); }
.plant-row .name { font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -.02em; transition: transform .6s var(--ease), color .3s; }
.plant-row .latin { grid-column: 2; grid-row: 2; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 16px; }
.plant-row .water { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: flex; gap: 4px; }
.plant-row .water i { width: 12px; height: 16px; display: block; }
.plant-row .water svg { width: 100%; height: 100%; fill: none; stroke: var(--sage); stroke-width: 1.2; }
.plant-row .water i.on svg { fill: #6f9fb5; stroke: #6f9fb5; }
.plant-row .plus { grid-column: 4; grid-row: 1 / span 2; align-self: center; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .5s var(--ease); text-align: center; }
@media (hover: hover) { .plant-row:hover .name { transform: translateX(10px); color: var(--terra); } }
.plant.open .plus { transform: rotate(45deg); color: var(--terra); }
.plant-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.plant-more > p { overflow: hidden; margin: 0; padding-left: 62px; color: var(--muted); max-width: 52ch; }
.plant.open .plant-more { grid-template-rows: 1fr; }
.plant.open .plant-more > p { padding-bottom: 26px; }
@media (max-width: 860px) {
  .palette { grid-template-columns: 1fr; }
  .palette-head { position: static; }
  .plant-row { grid-template-columns: 34px 1fr auto 22px; gap: 4px 12px; }
  .plant-more > p { padding-left: 46px; }
}

/* ---------- Réalisations : défilement horizontal piloté au scroll ---------- */
.works { background: var(--night); color: var(--stone); }
.works-pin { height: 260vh; position: relative; }
.works-sticky { --h: clamp(220px, calc(100svh - 360px), 560px); position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.works-head h2 { font-size: clamp(34px, 4.6vw, 68px); }
.works-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.works-progress { font-family: var(--mono); font-size: 12px; color: var(--sage); letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.works-progress .bar { width: 120px; height: 2px; background: var(--line-light); position: relative; overflow: hidden; }
.works-progress .bar i { position: absolute; inset: 0; background: var(--terra-2); transform-origin: left; transform: scaleX(0); }
.works-track { display: flex; gap: 22px; padding-left: var(--gutter); will-change: transform; }
.work {
  flex: none;
  width: calc(var(--h) * .8);
  position: relative;
  margin: 0;
}
.work .ph { height: var(--h); border-radius: var(--radius); overflow: hidden; background: var(--moss); }
.work .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .ph img { transform: scale(1.06); }
.work.wide { width: calc(var(--h) * 1.5); }
.work .cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; }
.work .cap span { font-family: var(--mono); font-size: 11px; color: var(--sage); letter-spacing: .1em; text-transform: uppercase; }
.work .real {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--terra); color: #fff;
}
.work.end { width: 340px; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-right: var(--gutter); }
.work.end h3 { font-size: clamp(34px, 3.4vw, 52px); }

/* Mobile : carrousel natif, pas d'épinglage */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .works-pin { height: auto; }
  .works-sticky { position: relative; height: auto; padding: 100px 0; }
  .works-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--gutter); scrollbar-width: none; transform: none !important; }
  .works-track::-webkit-scrollbar { display: none; }
  .work { scroll-snap-align: start; width: 78vw; }
  .work.wide { width: 86vw; }
  .work .ph { height: auto; aspect-ratio: 4 / 5; }
  .work.wide .ph { aspect-ratio: 4 / 3; }
  .works-progress { display: none; }
}

/* ---------- Méthode ---------- */
.steps { margin-top: 70px; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 30px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
  position: relative;
}
.step::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--terra); transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.step.in::before { transform: scaleX(1); }
.step .no { font-family: var(--mono); font-size: 13px; color: var(--terra); }
.step h3 { font-size: clamp(28px, 3vw, 42px); }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .step { grid-template-columns: 50px 1fr; } .step p { grid-column: 2; } }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.score { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.score .big { font-family: var(--serif); font-size: clamp(120px, 18vw, 260px); line-height: .8; letter-spacing: -.05em; }
.stars { display: flex; gap: 6px; color: #f4c56a; }
.stars svg { width: 28px; height: 28px; }
.stars svg { opacity: 0; transform: scale(.4) rotate(-40deg); transition: opacity .5s, transform .7s var(--ease); }
.in .stars svg { opacity: 1; transform: none; }
.in .stars svg:nth-child(2) { transition-delay: .08s; }
.in .stars svg:nth-child(3) { transition-delay: .16s; }
.in .stars svg:nth-child(4) { transition-delay: .24s; }
.in .stars svg:nth-child(5) { transition-delay: .32s; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
.score-meta { font-family: var(--mono); font-size: 13px; color: var(--sage); margin-top: 18px; letter-spacing: .06em; }

/* ---------- Zone d'intervention (radar) ---------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.radar { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-left: auto; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .sweep { transform-box: view-box; transform-origin: 250px 250px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar text { font-family: var(--mono); font-size: 11px; fill: var(--muted); letter-spacing: .06em; }
.radar .home text { fill: var(--terra); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } .radar { margin: 0 auto; } }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) * 1.6);
  margin: 0 var(--gutter);
  padding: clamp(60px, 10vw, 140px) clamp(24px, 6vw, 90px);
  color: var(--stone);
  background: var(--forest);
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: scale(1.1); }
.cta > *:not(img) { position: relative; }
.cta h2 { font-size: clamp(44px, 8vw, 120px); max-width: 12ch; }
.cta .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { padding: 100px 0 40px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--terra); }
.footer .giant {
  font-family: var(--serif); font-size: clamp(44px, 11vw, 190px); line-height: .85; letter-spacing: -.05em;
  margin-top: 80px; color: var(--moss);
  white-space: nowrap;
}
.footer .giant em { color: var(--terra); }
.footer .legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Curseur personnalisé (desktop) ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 1000; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--terra);
  mix-blend-mode: normal;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
  opacity: 0;
}
.cursor span { opacity: 0; transition: opacity .2s; }
.cursor.big { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
.cursor.big span { opacity: 1; }
.cursor.link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(196, 103, 59, .25); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Révélations au scroll (dosées) ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.img-reveal { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.img-reveal.in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- Page contact ---------- */
.page-hero { padding: 170px 0 70px; background: var(--forest); color: var(--stone); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(54px, 10vw, 150px); line-height: .92; letter-spacing: -.045em; }
.page-hero .lead { margin-top: 28px; }
.page-hero .glow {
  position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 103, 59, .35), transparent 60%);
  filter: blur(40px); pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-8%, 12%); } }

.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.wizard {
  scroll-margin-top: 96px;
  background: #f6f1e8;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(22px, 4vw, 48px);
  box-shadow: 0 40px 80px -50px rgba(31, 42, 30, .35);
  position: relative;
}
.wz-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.wz-steps { display: flex; gap: 6px; flex: 1; max-width: 340px; }
.wz-steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.wz-steps i::after { content: ""; position: absolute; inset: 0; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.wz-steps i.done::after { transform: scaleX(1); }
.wz-count { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }

.panel { display: none; }
.panel.active { display: block; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 8px; }
.panel .hint { color: var(--muted); margin: 0 0 28px; }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; gap: 14px; align-items: center;
  padding: 18px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--stone);
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
@media (hover: hover) { .choice label:hover { transform: translateY(-2px); border-color: var(--sage); } }
.choice .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--sage-soft); display: grid; place-items: center; flex: none; font-size: 20px; transition: background .3s; }
.choice strong { display: block; font-weight: 500; }
.choice small { color: var(--muted); font-size: 13.5px; }
.choice input:checked + label { border-color: var(--terra); background: #fff; box-shadow: 0 0 0 3px rgba(196, 103, 59, .15); }
.choice input:checked + label .ico { background: var(--terra); color: #fff; }
.choice input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }

.range-box { padding: 26px; border-radius: 18px; background: var(--stone); border: 1px solid var(--line); }
.range-val { font-family: var(--serif); font-size: 56px; line-height: 1; }
.range-val small { font-size: 22px; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--terra) var(--p, 20%), var(--line) var(--p, 20%)); margin: 26px 0 10px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--night); border: 4px solid var(--stone); box-shadow: 0 4px 14px rgba(0,0,0,.25); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--night); border: 4px solid var(--stone); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.field-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin: 26px 0 12px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill label { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--stone); cursor: pointer; font-size: 15px; transition: all .3s; }
.pill input:checked + label { background: var(--night); color: var(--stone); border-color: var(--night); }
.pill input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.f { position: relative; }
.f input, .f textarea {
  width: 100%; padding: 26px 16px 10px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--stone);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.f textarea { min-height: 140px; }
.f label { position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); font-size: 16px; }
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196, 103, 59, .14); }
.f input:focus + label, .f input:not(:placeholder-shown) + label,
.f textarea:focus + label, .f textarea:not(:placeholder-shown) + label { top: 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--mono); }
.f.err input, .f.err textarea { border-color: #b3261e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 18px; }
.check input { margin-top: 4px; accent-color: var(--terra); }

.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; }
.wz-nav .back { background: none; border: 0; padding: 10px 0; color: var(--muted); font-size: 15px; }
.wz-nav .back[hidden] { visibility: hidden; display: inline; }
.wz-error { color: #b3261e; font-size: 14px; margin-top: 14px; min-height: 1.2em; }

.summary { margin-top: 26px; padding: 20px; border-radius: 16px; background: var(--forest); color: var(--stone); font-family: var(--mono); font-size: 13px; line-height: 1.9; }
.summary b { color: var(--sage); font-weight: 400; }

.success { text-align: center; padding: 30px 0; }
.success .leaf { width: 90px; height: 90px; margin: 0 auto 24px; color: var(--terra); }
.success .leaf path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.side { display: grid; gap: 14px; position: sticky; top: 100px; }
.card {
  padding: 26px; border-radius: var(--radius);
  background: var(--forest); color: var(--stone);
}
.card.light { background: #f6f1e8; color: var(--ink); border: 1px solid var(--line); }
.card h4 { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.card.light h4 { color: var(--muted); }
.card .v { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.card a.v:hover { color: var(--terra-2); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--moss); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.25) contrast(1.05); }

/* ---------- Pages texte ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 32px; margin: 50px 0 14px; }
.prose p, .prose li { color: var(--muted); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .img-reveal { opacity: 1; transform: none; clip-path: none; }
  .manifesto .big .w { opacity: 1; }
  #growth { display: none; }
}

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Ancres : ne pas passer sous le header */
[id] { scroll-margin-top: 80px; }
