/* =========================================================
   MAMIE THOUNE — feuille de style
   Palette : crème / vert forêt / citron vert (CTA uniquement)
   ========================================================= */

:root {
  /* Couleurs */
  --forest: #00473c;
  --lime: #e6ff55;
  --sage: #d8e5d6;
  --sand: #e8dcc6;
  --cream: #f4f3e7;
  --ink: #0e150e;
  --gray: #8c8c82;

  /* Typo */
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-text: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Formes */
  --r-card: 24px;
  --r-img: 20px;
  --r-pill: 9999px;
  --shadow-xl: rgba(14, 21, 14, .4) 3px 3px 32px -10px;

  /* Mouvement */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --nav-h: 84px;
  --pad: clamp(20px, 4vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: .017em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit; }
ul { list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Typo ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: .88;
  letter-spacing: -.025em;
}
.serif {
  font-family: var(--font-serif);
  font-weight: 200;
  font-style: italic;
  letter-spacing: -.03em;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--sage); }

/* ---------- Effet "roll" lettre par lettre ---------- */
[data-roll] { display: inline-flex; overflow: hidden; line-height: 1.2; vertical-align: top; }
[data-roll] .rl {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.2em currentColor;
  transition: transform .55s var(--ease-out);
  transition-delay: calc(var(--i) * 18ms);
}
a:hover [data-roll] .rl, button:hover [data-roll] .rl,
a[data-roll]:hover .rl { transform: translateY(-1.2em); }

/* ---------- Boutons pilules ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .017em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: box-shadow .5s var(--ease-out), color .45s var(--ease-out), background-color .45s;
  will-change: transform;
}
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-xl); }
.btn--lime:hover { box-shadow: rgba(14, 21, 14, .5) 4px 10px 40px -8px; }
.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin: -6px -12px -6px 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 15px;
  transform: scale(.85) rotate(-45deg);
  transition: transform .55s var(--ease-out);
}
.btn:hover .btn__icon { transform: scale(1) rotate(0deg); }
.btn--outline {
  padding: 12px 22px;
  border: 2px solid var(--forest);
  color: var(--forest);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
/* Remplissage circulaire depuis le point d'entrée de la souris */
[data-fill]::before {
  content: "";
  position: absolute;
  left: var(--fx, 50%); top: var(--fy, 50%);
  width: 260%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--forest);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .6s var(--ease-out);
  z-index: -1;
}
[data-fill]:hover::before { transform: translate(-50%, -50%) scale(1); }
[data-fill]:hover { color: var(--cream); }
.btn--block { width: 100%; }
.btn.magnetic { transition: transform .6s var(--ease-out), box-shadow .5s var(--ease-out), color .45s var(--ease-out); }
.btn__text { transition: transform .6s var(--ease-out); }

/* ---------- Liens ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow__i { display: inline-block; transition: transform .5s var(--ease-out); }
.link-arrow:hover .link-arrow__i { transform: translateX(6px); }

.link-underline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.link-underline:hover { background-size: 100% 1px; }

/* ---------- Badge ---------- */
.badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transform: translateZ(40px);
  transition: transform .6s var(--ease-out);
}

/* =========================================================
   PRELOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0;
  z-index: 1000;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  transition: clip-path 1.1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__word {
  font-family: var(--font-display);
  font-size: clamp(56px, 13vw, 210px);
  line-height: .85;
  letter-spacing: -.04em;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  padding-bottom: .05em;
}
.loader__word .lc {
  display: inline-block;
  white-space: pre;
  transform: translateY(105%);
  animation: loaderIn 1s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 45ms + 150ms);
}
.loader.is-done .loader__word .lc {
  animation: loaderOut .7s var(--ease-io) forwards;
  animation-delay: calc(var(--i) * 20ms);
}
@keyframes loaderIn { to { transform: translateY(0); } }
@keyframes loaderOut { from { transform: translateY(0); } to { transform: translateY(-105%); } }
.loader__foot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 24px;
  font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
}
.loader__num { font-family: var(--font-display); font-size: 40px; font-weight: 400; letter-spacing: 0; }
.loader__bar { height: 2px; background: rgba(244, 243, 231, .2); margin-top: 16px; }
.loader__bar span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   CURSEUR
   ========================================================= */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 999; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor select, .has-cursor textarea { cursor: auto; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--forest); transition: opacity .3s, background-color .3s; }
.cursor__ring {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  display: grid; place-items: center;
}
.cursor__ring::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  transform: scale(.4);
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s, opacity .4s;
}
.cursor__label {
  position: relative;
  font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink);
  opacity: 0; transform: scale(.5);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.cursor.is-link .cursor__ring::before { transform: scale(.7); background: rgba(230, 255, 85, .35); }
.cursor.is-label .cursor__ring::before { transform: scale(1); background: var(--lime); border-color: var(--lime); }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor__dot, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring::before { opacity: 0; transform: scale(0); }
.cursor.is-dark .cursor__ring::before { border-color: var(--cream); }
.cursor.is-dark .cursor__dot { background: var(--cream); }
.cursor.is-down .cursor__ring::before { transform: scale(.3); }

/* Barre de progression */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--forest); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--cream);
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(14, 21, 14, .1); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%;
  max-width: 1440px; margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__links { display: flex; gap: 32px; }
.nav__links a, .nav__tel { font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.nav__logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--forest);
  transition: letter-spacing .6s var(--ease-out);
}
.nav__logo:hover { letter-spacing: .02em; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.nav__burger { display: none; width: 44px; height: 44px; justify-self: end; position: relative; z-index: 2; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--forest); transition: transform .5s var(--ease-out), background-color .3s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span { background: var(--cream); }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .nav__logo { color: var(--cream); }
.menu-open .nav { background: transparent; box-shadow: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--forest); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: circle(0% at calc(100% - 42px) 42px);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 42px) 42px); visibility: visible; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 13vw, 80px);
  line-height: 1;
  letter-spacing: -.03em;
  transform: translateY(100%);
  transition: transform .8s var(--ease-out);
}
.menu-open .mobile-menu a { transform: translateY(0); }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .06s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .12s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .18s; color: var(--lime); }
.mobile-menu__foot { margin-top: 40px; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }

/* =========================================================
   SPLIT TEXT (titres lettre par lettre)
   ========================================================= */
.sw { display: inline-block; white-space: nowrap; }
.sc {
  display: inline-block;
  transform: translateY(105%) rotate(6deg);
  transform-origin: left bottom;
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity .6s;
  transition-delay: calc(var(--ci) * 22ms + var(--d, 0ms));
}
[data-split] { display: inline-block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; vertical-align: top; }
.is-in .sc, .is-in.sc { transform: none; opacity: 1; }

/* =========================================================
   REVEAL générique
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
/* Les titres splittés n'ont pas besoin du fondu global */
h2[data-reveal], h1[data-reveal] { opacity: 1; transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--pad);
  padding-bottom: clamp(24px, 4vw, 48px);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--sage); }
.hero__media img {
  width: 100%; height: 115%;
  object-fit: cover;
  transform: scale(1.35);
  transition: transform 2.4s var(--ease-out);
  will-change: transform;
}
.is-ready .hero__media img { transform: scale(1.05); }

.hero__panel {
  position: relative; z-index: 2;
  max-width: 640px;
  padding: clamp(24px, 3.4vw, 44px);
  background: rgba(244, 243, 231, .92);
  border-radius: var(--r-card);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  clip-path: inset(100% 0 0 0 round var(--r-card));
  transition: clip-path 1.2s var(--ease-out) .35s;
}
.is-ready .hero__panel { clip-path: inset(0 0 0 0 round var(--r-card)); }
.hero__eyebrow { opacity: 0; transform: translateY(10px); transition: all .8s var(--ease-out) .8s; }
.is-ready .hero__eyebrow { opacity: 1; transform: none; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 9vw, 128px);
  line-height: .85;
  letter-spacing: -.035em;
  color: var(--ink);
}
.hero__title .line { display: block; }
.hero__title .serif { color: var(--forest); }
.hero__title .sc { transition-delay: calc(var(--ci) * 35ms + 700ms); }
.is-ready .hero__title .sc { transform: none; opacity: 1; }
.hero__sub {
  max-width: 420px;
  margin-top: 24px;
  font-size: 18px; line-height: 1.33; letter-spacing: .03em;
  opacity: 0; transform: translateY(14px);
  transition: all 1s var(--ease-out) 1.2s;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  margin-top: 28px;
  opacity: 0; transform: translateY(14px);
  transition: all 1s var(--ease-out) 1.35s;
}
.is-ready .hero__sub, .is-ready .hero__ctas { opacity: 1; transform: none; }

.hero__badge {
  position: absolute; z-index: 2;
  right: clamp(24px, 6vw, 96px); top: 6vh;
  width: clamp(120px, 13vw, 180px); aspect-ratio: 1;
  display: grid; place-items: center;
  opacity: 0; scale: .4;
  transition: opacity .8s, scale 1.2s var(--ease-out) 1.4s;
}
.is-ready .hero__badge { opacity: 1; scale: 1; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); box-shadow: var(--shadow-xl); }
.hero__badge text {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  fill: var(--ink);
}
.hero__badge-core {
  position: relative;
  width: 40%; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  font-size: clamp(18px, 2vw, 26px);
  transition: transform .6s var(--ease-out);
}
.hero__badge:hover .hero__badge-core { transform: scale(1.18) rotate(-12deg); }

.hero__scroll {
  position: absolute; z-index: 2;
  right: var(--pad); bottom: clamp(24px, 4vw, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--cream);
  font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  writing-mode: vertical-rl;
  mix-blend-mode: difference;
}
.hero__scroll i { width: 1px; height: 64px; background: currentColor; transform-origin: top; animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(18px, 2.4vw, 30px) 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.03em;
  padding: 0 .35em;
  white-space: nowrap;
}
.marquee__group .serif { font-family: var(--font-serif); color: var(--sage); }
.marquee__group b { color: var(--lime); font-size: clamp(28px, 3.4vw, 52px); font-weight: 400; display: inline-block; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   MANIFESTE
   ========================================================= */
.manifesto { padding: clamp(100px, 14vw, 180px) 0; }
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.025em;
  max-width: 1100px;
  margin-bottom: 48px;
}
.manifesto__text .w { opacity: .14; transition: opacity .35s linear, color .35s; }
.manifesto__text .w.is-lit { opacity: 1; }
.manifesto__text .serif { color: var(--forest); }
.pill-img {
  display: inline-block;
  vertical-align: middle;
  width: 1.9em; height: .9em;
  margin: -.1em .08em 0;
  border-radius: var(--r-pill);
  overflow: hidden;
  transform: scale(0);
  transition: transform .8s var(--ease-out), width .7s var(--ease-out);
  background: var(--sage);
}
.manifesto__text .pill-img.w { transition: opacity .35s linear, transform .8s var(--ease-out), width .7s var(--ease-out); }
.pill-img.is-lit { transform: scale(1); }
.pill-img:hover { width: 3em; }
.pill-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.pill-img:hover img { transform: scale(1.15); }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head__aside { max-width: 340px; font-size: 18px; line-height: 1.33; letter-spacing: .03em; }

/* =========================================================
   LA CARTE
   ========================================================= */
.menu { padding: clamp(60px, 8vw, 100px) 0 clamp(100px, 12vw, 160px); }
.tabs {
  position: relative;
  display: flex; gap: clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(14, 21, 14, .12);
}
.tab {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  opacity: .3;
  transition: opacity .4s, transform .5s var(--ease-out);
}
.tab:hover { opacity: .7; transform: translateY(-3px); }
.tab.is-active { opacity: 1; }
.tabs__dot {
  position: absolute;
  bottom: -5px; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--forest);
  transition: transform .7s var(--ease-out), width .35s var(--ease-out);
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.card { perspective: 900px; }
.card[hidden] { display: none; }
.card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-img);
  overflow: hidden;
  background: var(--sage);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  will-change: transform;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.card:hover .card__media { box-shadow: var(--shadow-xl); }
.card:hover .card__media img { transform: scale(1.14) rotate(1.5deg); }
.card:hover .badge { transform: translateZ(40px) rotate(-6deg) scale(1.08); }
.card__body { padding: 24px 4px 0; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.card__top h3 { font-size: 20px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.card__price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--forest);
  transition: transform .5s var(--ease-out);
}
.card:hover .card__price { transform: scale(1.15) rotate(-4deg); }
.card__body p { line-height: 1.3; margin-bottom: 16px; max-width: 34ch; }

/* =========================================================
   LA SEMAINE (scroll horizontal)
   ========================================================= */
.week { position: relative; background: var(--sage); }
.week__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) * .5);
}
.week__track {
  display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--pad) 0 max(var(--pad), calc((100vw - 1200px) / 2 + var(--pad)));
  width: max-content;
  will-change: transform;
}
.week__intro { flex: 0 0 clamp(300px, 34vw, 480px); padding-right: 40px; align-self: center; }
.week__intro p:not(.eyebrow) { margin-top: 24px; font-size: 18px; line-height: 1.33; max-width: 320px; }
.week__hint {
  display: inline-grid; place-items: center;
  margin-top: 28px;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--forest); color: var(--forest);
  font-size: 22px;
  animation: nudge 1.6s var(--ease-io) infinite;
}
@keyframes nudge { 50% { transform: translateX(10px); } }
.day { flex: 0 0 clamp(260px, 26vw, 380px); position: relative; }
.day:nth-child(even) { margin-bottom: 6vh; }
.day__img {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-img);
  overflow: hidden;
  background: var(--cream);
  transition: transform .7s var(--ease-out), border-radius .7s var(--ease-out);
}
.day__img img { width: 130%; max-width: none; height: 100%; object-fit: cover; transform: translateX(var(--px, 0)); }
.day:hover .day__img { transform: scale(.97); border-radius: 48px; }
.day__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; }
.day__name { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.02em; line-height: 1; }
.day__dish { font-weight: 700; font-size: 14px; text-align: right; max-width: 55%; }
.day.is-today .day__img { outline: 3px solid var(--forest); outline-offset: 6px; }
.day.is-today::before {
  content: "Aujourd'hui";
  position: absolute; z-index: 2; top: 16px; left: 16px;
  padding: 5px 12px; border-radius: 20px;
  background: var(--lime);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.week__progress { position: absolute; bottom: clamp(24px, 5vh, 48px); left: 50%; transform: translateX(-50%); height: 2px; }
.week__progress::before { content: ""; position: absolute; inset: 0 var(--pad); background: rgba(0, 71, 60, .18); }
.week__progress span { position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 100%; background: var(--forest); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   HISTOIRE (split)
   ========================================================= */
.story { background: var(--sand); padding: clamp(100px, 12vw, 160px) 0; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__lead { font-size: 20px; line-height: 1.33; letter-spacing: .02em; margin: 28px 0 40px; max-width: 460px; }
.story__points { display: grid; gap: 24px; }
.story__points > div { padding-top: 20px; border-top: 1px solid rgba(14, 21, 14, .18); }
.story__points h3 { font-size: 18px; font-weight: 700; letter-spacing: .03em; margin-bottom: 6px; }
.story__points p { max-width: 400px; line-height: 1.3; }
.story__media { position: relative; padding: 0 0 12% 12%; }
.story__main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-img);
  overflow: hidden;
  background: var(--sage);
  clip-path: inset(100% 0 0 0 round var(--r-img));
  transition: clip-path 1.6s var(--ease-io) .1s;
}
.story__media.is-in .story__main { clip-path: inset(0 0 0 0 round var(--r-img)); }
.story__main img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; }
.story__small {
  position: absolute; left: 0; bottom: 0;
  width: 46%; aspect-ratio: 1;
  border-radius: var(--r-img);
  overflow: hidden;
  border: 8px solid var(--sand);
  box-shadow: var(--shadow-xl);
  transition: rotate .8s var(--ease-out);
  rotate: -4deg;
}
.story__small:hover { rotate: 2deg; }
.story__small img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   CHIFFRES
   ========================================================= */
.stats { padding: clamp(80px, 10vw, 140px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding-top: 24px; border-top: 2px solid var(--ink); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 120px);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}
.stat__value small { font-size: .45em; margin-left: .08em; }
.stat__label { margin-top: 16px; font-size: 16px; line-height: 1.3; max-width: 22ch; }
.stat:nth-child(2) { --d: 100ms; } .stat:nth-child(3) { --d: 200ms; } .stat:nth-child(4) { --d: 300ms; }

/* =========================================================
   PRODUCTEURS (liste + image flottante)
   ========================================================= */
.producers { padding: clamp(60px, 8vw, 100px) 0 clamp(100px, 12vw, 160px); position: relative; }
.plist { border-top: 1px solid var(--ink); }
.plist__row {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr auto 48px;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 16px;
  border-bottom: 1px solid var(--ink);
  isolation: isolate;
  overflow: hidden;
  transition: color .5s var(--ease-out), opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: 0s, var(--d, 0ms), var(--d, 0ms);
}
.plist__row::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--forest);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease-out);
  z-index: -1;
}
.plist__row:hover { color: var(--cream); }
.plist__row:hover::before { transform: scaleY(1); }
.plist__num { font-weight: 700; font-size: 14px; letter-spacing: .05em; }
.plist__name {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.03em;
  transition: transform .7s var(--ease-out), font-style .3s;
}
.plist__row:hover .plist__name { transform: translateX(24px); }
.plist__desc { font-size: 16px; text-align: right; opacity: .8; }
.plist__arrow { font-size: 26px; justify-self: end; transform: rotate(-45deg); transition: transform .6s var(--ease-out), color .3s; }
.plist__row:hover .plist__arrow { transform: rotate(0); color: var(--lime); }
.plist__float {
  position: fixed; top: 0; left: 0;
  width: clamp(220px, 22vw, 320px); aspect-ratio: 4 / 5;
  margin: calc(clamp(220px, 22vw, 320px) * -.625) 0 0 calc(clamp(220px, 22vw, 320px) * -.5);
  pointer-events: none;
  z-index: 50;
  will-change: transform;
}
.plist__float-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--r-img);
  overflow: hidden;
  background: var(--sage);
  box-shadow: var(--shadow-xl);
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.plist__float.is-on .plist__float-inner { transform: scale(1); }
.plist__img {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.2);
  transition: clip-path .6s var(--ease-out), transform .9s var(--ease-out);
}
.plist__img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); }

/* =========================================================
   RITUEL (cartes empilées)
   ========================================================= */
.ritual { padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px); }
.ritual__stack { position: relative; }
.rcard {
  position: sticky;
  top: calc(var(--nav-h) + 24px + var(--i) * 28px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: min(72vh, 600px);
  margin-bottom: 8vh;
  border-radius: var(--r-card);
  overflow: hidden;
  transform-origin: center top;
  will-change: transform;
}
.rcard:last-child { margin-bottom: 0; }
.rcard--sage { background: var(--sage); }
.rcard--sand { background: var(--sand); }
.rcard--forest { background: var(--forest); color: var(--cream); }
.rcard__text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.rcard__time { font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.rcard h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: .88; letter-spacing: -.03em; }
.rcard p { font-size: 18px; line-height: 1.33; max-width: 380px; }
.rcard .btn { align-self: flex-start; margin-top: 12px; }
.rcard__img { overflow: hidden; margin: 12px; border-radius: var(--r-img); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.rcard:hover .rcard__img img { transform: scale(1.06); }

/* =========================================================
   RÉSERVATION
   ========================================================= */
.booking { background: var(--forest); color: var(--cream); padding: clamp(100px, 12vw, 160px) 0; border-radius: 40px 40px 0 0; position: relative; z-index: 2; }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.booking .display .serif { color: var(--sage); }
.info { margin-top: 48px; display: grid; gap: 24px; }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(244, 243, 231, .2); }
.info dt { font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--sage); }
.info dd { font-size: 18px; line-height: 1.4; }

.form {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: rgba(0, 0, 0, .35) 0 30px 60px -30px;
  overflow: hidden;
}
.form__inner { display: grid; gap: 20px; transition: opacity .5s, transform .7s var(--ease-out); }
.field { display: grid; gap: 8px; }
.field label, .field__label { font-weight: 700; font-size: 14px; letter-spacing: .03em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field select {
  width: 100%;
  padding: 15px 16px;
  font: inherit; font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(14, 21, 14, .25);
  border-radius: 8px;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230e150e' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover { border-color: var(--forest); }
.field input:focus, .field select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(0, 71, 60, .15); transform: translateY(-1px); }
.field.has-error input, .field.has-error select { border-color: #b3261e; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1.5px solid rgba(14, 21, 14, .25); border-radius: var(--r-pill); background: #fff; justify-self: start; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; font-size: 22px; transition: background-color .3s, transform .3s var(--ease-out); }
.stepper__btn:hover { background: var(--sage); }
.stepper__btn:active { transform: scale(.88); }
.stepper__val { min-width: 48px; text-align: center; font-family: var(--font-display); font-size: 26px; display: inline-block; }
.stepper__val.bump { animation: bump .4s var(--ease-out); }
@keyframes bump { 40% { transform: translateY(-6px) scale(1.2); } }
.form__error { min-height: 1.2em; font-size: 14px; color: #b3261e; font-weight: 700; }

.form__success {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--lime);
  clip-path: circle(0% at 50% 100%);
  transition: clip-path 1s var(--ease-io);
}
.form.is-sent .form__success { clip-path: circle(150% at 50% 100%); }
.form.is-sent .form__inner { opacity: 0; transform: translateY(-20px); }
.form__check {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--forest); color: var(--lime);
  font-size: 34px;
  transform: scale(0) rotate(-90deg);
  transition: transform .8s var(--ease-out) .5s;
}
.form.is-sent .form__check { transform: none; }
.form__success-title { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); line-height: .9; letter-spacing: -.03em; }
.form__success-text { font-size: 18px; line-height: 1.35; max-width: 380px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--forest); color: var(--cream); padding-top: 40px; overflow: hidden; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-top: 48px; padding-bottom: 48px;
  border-top: 1px solid rgba(244, 243, 231, .2);
}
.footer__lead { font-size: clamp(44px, 5vw, 72px); line-height: 1; margin-bottom: 24px; color: var(--sage); }
.footer__col h4 { font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.footer__col p, .footer__col a { font-size: 16px; line-height: 1.6; }
.footer__giant {
  font-family: var(--font-display);
  font-size: 15.6vw;
  line-height: .8;
  letter-spacing: -.05em;
  text-align: center;
  white-space: nowrap;
  padding: .12em 1vw .06em;
  margin-top: 0;
  overflow: hidden;
  color: var(--cream);
  user-select: none;
}
.footer__giant .gl {
  display: inline-block;
  white-space: pre;
  transform: translateY(100%);
  transition: transform 1.1s var(--ease-out), color .3s;
  transition-delay: calc(var(--i) * 40ms);
}
.footer__giant.is-in .gl { transform: translateY(0); }
.footer__giant .gl:hover { color: var(--lime); font-family: var(--font-serif); font-style: italic; font-weight: 200; transform: translateY(-8%) rotate(-4deg); transition-delay: 0s; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; padding-bottom: 24px;
  font-size: 14px; letter-spacing: .03em;
  border-top: 1px solid rgba(244, 243, 231, .2);
}
.to-top { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.to-top span { display: inline-block; transition: transform .5s var(--ease-out); }
.to-top:hover span { transform: translateY(-5px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__right { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__logo { font-size: 24px; }
  .nav__burger { display: block; }

  .hero__panel { max-width: none; }
  .hero__badge { top: calc(var(--nav-h) + 16px); }
  .hero__scroll { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .story__grid, .booking__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; }
  .rcard { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
  .rcard__img { order: -1; height: 34vh; }
  .rcard__text { justify-content: flex-start; padding-top: 12px; }
  .rcard h3 { font-size: clamp(40px, 11vw, 64px); }

  .plist__row { grid-template-columns: 40px 1fr 32px; }
  .plist__desc { grid-column: 2 / 3; text-align: left; margin-top: -12px; font-size: 14px; }
  .plist__arrow { grid-row: 1; grid-column: 3; }
  .plist__float { display: none; }

  .day { flex-basis: 72vw; }
  .day:nth-child(even) { margin-bottom: 0; }
  .week__intro { flex-basis: 80vw; }
  .info > div { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .tabs { gap: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: clamp(52px, 16vw, 80px); }
  .hero__sub { font-size: 16px; }
  .btn { padding: 15px 22px; }
}

/* =========================================================
   MOUVEMENT RÉDUIT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .loader { display: none; }
  [data-reveal], .sc, .hero__panel, .hero__eyebrow, .hero__sub, .hero__ctas, .hero__badge, .footer__giant .gl, .pill-img { opacity: 1 !important; transform: none !important; clip-path: none !important; scale: 1 !important; }
  .manifesto__text .w { opacity: 1; }
  .story__main { clip-path: none; }
}
