/* =========================================================
   Karmajutales — Jardins éternels
   Système visuel : papier crème, encre du logo, éclats de pavot
   ========================================================= */

:root {
  --paper: #f6f0e7;
  --paper-2: #efe6d8;
  --paper-3: #e6dac8;
  --ink: #3b3631;
  --ink-soft: #6e655b;
  --ink-faint: #9a8f82;
  --line: rgba(59, 54, 49, .16);
  --ray: #dccdb8;
  --poppy: #c4462f;
  --poppy-deep: #9e3322;
  --blush: #eab3a2;
  --sage: #7c8a68;
  --night: #24201c;
  --night-2: #2f2a25;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--poppy); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--poppy); outline-offset: 4px; border-radius: 2px; }

/* Grain de papier */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .23  0 0 0 0 .2  0 0 0 0 .18  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Typographie ---------- */
.serif { font-family: var(--serif); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -.015em; line-height: 1; }
em, .it { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--poppy); font-weight: 300; }

.display {
  font-size: clamp(3.1rem, 8.4vw, 9rem);
  line-height: .92;
  letter-spacing: -.03em;
}
.h2 { font-size: clamp(2.3rem, 5.2vw, 5.2rem); line-height: 1; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.08; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.45; font-weight: 400; color: var(--ink-soft); }
.lead em { color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: "✦"; font-size: 10px; color: var(--poppy); letter-spacing: 0; }
.eyebrow.no-star::before { display: none; }

.num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--ink-faint);
}

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 13vw, 190px) 0; position: relative; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 28px;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { width: 22px; height: 10px; transition: transform .6s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--poppy); }
.btn--solid:hover { border-color: var(--poppy); }
.btn--light { border-color: rgba(246, 240, 231, .5); color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--ink); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  padding-bottom: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .7s var(--ease);
}
.link:hover::after { transform: scaleX(0); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 92px;
  transition: height .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(246, 240, 231, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled .header__in { height: 70px; }
.header.is-hidden { transform: translateY(-100%); }
.brand img { height: 46px; width: auto; transition: height .5s var(--ease); }
.header.is-scrolled .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav a:not(.btn) {
  position: relative;
  font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { --h: 44px; padding: 0 22px; font-size: 11px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu a.big {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.15; font-weight: 300;
  border-bottom: 1px solid var(--line); padding: 10px 0;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.mobile-menu a.big .num { font-size: 14px; }
.menu-open .mobile-menu a.big { opacity: 1; transform: none; }
.menu-open .mobile-menu a.big:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu a.big:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu a.big:nth-child(4) { transition-delay: .18s; }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__in { height: 76px; }
  .brand img { height: 38px; }
}

/* ---------- Rideau / chargement ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--paper);
  display: grid; place-items: center;
  pointer-events: none;
  transform: translateY(-100%);
}
.curtain img { width: min(340px, 60vw); opacity: 0; }
.intro .curtain { transform: none; }
.intro .curtain img { animation: sign 1.6s var(--ease) .15s forwards; }
.intro body { overflow: hidden; }
.arrive .curtain { transform: none; }
.arrive .curtain img { opacity: 1; }
.curtain.is-leaving { transform: translateY(-100%); transition: transform 1.05s var(--ease-io); }
.curtain.is-leaving img { opacity: 1; transform: translateY(-60px); transition: transform 1.05s var(--ease-io); }
.curtain.is-entering img { opacity: 1; }
.curtain.is-entering { transform: translateY(100%); animation: curtain-in .65s var(--ease-io) forwards; }
@keyframes curtain-in { to { transform: translateY(0); } }
@keyframes sign {
  0% { opacity: 1; clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* ---------- Révélations ---------- */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.25s var(--ease); }
.is-in .ln > span, .ln.is-in > span { transform: none; }
.is-in .ln:nth-child(2) > span { transition-delay: .08s; }
.is-in .ln:nth-child(3) > span { transition-delay: .16s; }
.is-in .ln:nth-child(4) > span { transition-delay: .24s; }

[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

.unveil { overflow: hidden; }
.unveil img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.5s var(--ease-io), transform 2s var(--ease); }
.unveil.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* =========================================================
   ACCUEIL
   ========================================================= */

/* Hero */
.hero { min-height: 100svh; padding: 130px 0 70px; position: relative; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__text .eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }
.hero h1 { margin-bottom: clamp(26px, 3vw, 40px); }
.hero__sub { max-width: 30ch; margin: 0 0 42px; }
.hero__ctas { display: flex; gap: 24px 32px; align-items: center; flex-wrap: wrap; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 640px; justify-self: end; }
.rays { position: absolute; inset: -18%; width: 136%; height: 136%; color: var(--ray); animation: spin 240s linear infinite; }
.hero__orb {
  position: absolute; left: 50%; top: 46%;
  width: 74%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(120, 50, 35, .35), inset 0 0 0 1px rgba(255,255,255,.4);
}
.hero__orb img { width: 100%; height: 100%; object-fit: cover; animation: spin 160s linear infinite; scale: 1.06; }
.hero__arch {
  position: absolute; left: -6%; bottom: -4%;
  width: 34%; aspect-ratio: 3 / 4.2;
  border-radius: 999px 999px 6px 6px; overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: 0 30px 60px -25px rgba(59, 54, 49, .4);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; right: -2%; top: 2%;
  width: clamp(110px, 12vw, 150px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge text { font-family: var(--sans); font-size: 8.4px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }
.badge__star { font-size: 22px; color: var(--poppy); line-height: 1; }
@keyframes spin { to { rotate: 360deg; } }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft);
}
.hero__scroll i { display: block; width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ink); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 900px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; justify-self: center; margin-top: 30px; width: 88%; }
  .hero__scroll { display: none; }
}

/* Bandeau défilant */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 30px) 0; overflow: hidden; white-space: nowrap;
  display: flex; user-select: none;
}
.marquee__track { display: flex; flex-shrink: 0; animation: marquee 60s linear infinite; }
.marquee span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1.1; padding: 0 .55em;
}
.marquee b { font-weight: 400; color: var(--poppy); font-size: .5em; vertical-align: middle; font-style: normal; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Introduction — phrase avec vignettes */
.intro { text-align: center; }
.intro .statement {
  font-size: clamp(2.3rem, 6.4vw, 6.8rem); line-height: 1.04; letter-spacing: -.025em;
  max-width: 17ch; margin: 30px auto 0;
}
.pill-img {
  display: inline-block; vertical-align: middle;
  height: .78em; aspect-ratio: 2.1 / 1; border-radius: 999px; overflow: hidden;
  margin: -.1em .08em 0; position: relative; top: -.04em;
}
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.pill-img.round { aspect-ratio: 1; }
.intro .lead { max-width: 34ch; margin: clamp(30px, 4vw, 54px) auto 0; }
.intro__sign { width: 150px; margin: 40px auto 0; opacity: .85; }

/* Savoir-faire */
.craft { background: var(--paper-2); }
.craft__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.craft__media { position: sticky; top: 110px; }
.craft__media .frame { aspect-ratio: 4 / 5; border-radius: 4px; }
.craft__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.craft__media figcaption { margin-top: 14px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
.craft__head h2 { margin: 26px 0 26px; }
.steps { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; counter-reset: s; }
.steps li {
  display: grid; grid-template-columns: 70px 1fr; gap: 10px 20px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .roman { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--poppy); line-height: 1; padding-top: 4px; }
.steps h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 42ch; }

@media (max-width: 900px) {
  .craft__grid { grid-template-columns: 1fr; }
  .craft__media { position: relative; top: 0; }
  .steps li { grid-template-columns: 48px 1fr; }
}

/* Familles — liste avec aperçu au survol */
.families__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(50px, 7vw, 100px); }
.families__head p { margin: 0; max-width: 38ch; justify-self: end; }
.fam-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fam-list a {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center;
  padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.fam-list .name { font-family: var(--serif); font-size: clamp(2.4rem, 6.4vw, 6.4rem); line-height: 1; letter-spacing: -.025em; transition: transform .8s var(--ease), color .5s; }
.fam-list .name em { color: inherit; }
.fam-list .flowers { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.fam-list .thumb { display: none; }
.fam-list a:hover .name { transform: translateX(24px); color: var(--poppy); }
.fam-list:hover a:not(:hover) .name { color: var(--ink-faint); }

.cursor-preview {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: 260px; aspect-ratio: 3 / 4; border-radius: 160px 160px 4px 4px; overflow: hidden;
  opacity: 0; scale: .7; transition: opacity .4s var(--ease), scale .6s var(--ease);
  box-shadow: 0 30px 70px -20px rgba(59, 54, 49, .45);
}
.cursor-preview.is-on { opacity: 1; scale: 1; }
.cursor-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.cursor-preview img.is-on { opacity: 1; }

@media (max-width: 900px) {
  .families__head { grid-template-columns: 1fr; }
  .families__head p { justify-self: start; }
  .fam-list a { grid-template-columns: 1fr 76px; gap: 6px 16px; }
  .fam-list .num { display: none; }
  .fam-list .flowers { grid-column: 1; grid-row: 2; text-align: left; font-size: 11px; }
  .fam-list .thumb { display: block; grid-column: 2; grid-row: 1 / span 2; width: 76px; aspect-ratio: 3 / 4; border-radius: 60px 60px 3px 3px; overflow: hidden; }
  .fam-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .cursor-preview { display: none; }
}

/* Coups de cœur — défilement horizontal */
.favs { margin-top: clamp(80px, 10vw, 140px); }
.favs__top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.favs__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 380px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 24px;
  margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
}
.favs__rail::-webkit-scrollbar { display: none; }
.fav { scroll-snap-align: start; }
.fav__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.fav__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fav:hover .fav__img img { transform: scale(1.06); }
.fav__cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; gap: 10px; }
.fav__cap h3 { font-size: 1.7rem; }
.fav__cap h3 em { font-size: .8em; color: var(--ink-soft); }
.fav__cap span { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transition: background .4s, border-color .4s, color .4s;
}
.rail-ctrl button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-ctrl svg { width: 18px; height: 10px; }

/* Sur-mesure — section sombre */
.bespoke { background: var(--night); color: var(--paper); overflow: hidden; }
.bespoke .eyebrow { color: rgba(246, 240, 231, .6); }
.bespoke__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.bespoke__media { position: relative; }
.bespoke__media .frame { aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; overflow: hidden; }
.bespoke__media img { width: 100%; height: 100%; object-fit: cover; }
.bespoke__media .rays { inset: -25%; width: 150%; height: 150%; color: rgba(220, 205, 184, .14); }
.bespoke h2 { margin: 28px 0 30px; }
.bespoke h2 em { color: var(--blush); }
.bespoke .lead { color: rgba(246, 240, 231, .72); margin-bottom: 44px; max-width: 34ch; }
.bespoke__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.tag {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; letter-spacing: .08em; color: var(--ink-soft);
}
.bespoke .tag { border-color: rgba(246, 240, 231, .2); color: rgba(246, 240, 231, .8); }
@media (max-width: 900px) {
  .bespoke__grid { grid-template-columns: 1fr; }
  .bespoke__media { max-width: 420px; width: 80%; margin: 0 auto; }
}

/* ---------- Pied de page ---------- */
.footer { padding: clamp(90px, 12vw, 170px) 0 36px; position: relative; overflow: hidden; }
.footer__hero { text-align: center; position: relative; }
.footer__hero .rays { inset: auto; left: 50%; top: 50%; width: min(1100px, 160vw); height: auto; aspect-ratio: 1; translate: -50% -50%; }
.footer__hero h2 { position: relative; font-size: clamp(2.6rem, 7.4vw, 7.8rem); line-height: .98; letter-spacing: -.03em; }
.footer__hero .btn { position: relative; margin-top: 50px; background: var(--paper); }
.footer__sign { position: relative; width: clamp(180px, 22vw, 280px); margin: 60px auto 0; }
.footer__cols {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  margin-top: clamp(80px, 10vw, 140px); padding-top: 48px; border-top: 1px solid var(--line);
  font-size: 15px;
}
.footer__cols h4 { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__cols a { transition: color .3s; }
.footer__cols a:hover { color: var(--poppy); }
.footer__cols p { margin: 0; color: var(--ink-soft); max-width: 30ch; }
.footer__base { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 70px; font-size: 12px; color: var(--ink-faint); letter-spacing: .06em; }
@media (max-width: 900px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > :first-child { grid-column: 1 / -1; }
}

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
.page-hero { padding: clamp(150px, 18vw, 230px) 0 clamp(50px, 7vw, 90px); position: relative; }
.page-hero h1 { margin: 26px 0 0; }
.page-hero__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.page-hero__row .lead { margin: 0; max-width: 36ch; justify-self: end; }
@media (max-width: 900px) {
  .page-hero__row { grid-template-columns: 1fr; }
  .page-hero__row .lead { justify-self: start; }
}

/* ---------- Catalogue ---------- */
.filters {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(246, 240, 231, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.filters__in { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.filters__in::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.chip sup { font-family: var(--serif); font-style: italic; font-size: 12px; letter-spacing: 0; margin-left: 4px; color: var(--ink-faint); text-transform: none; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] sup { color: var(--blush); }
.filters__count { margin-left: auto; padding-left: 20px; flex-shrink: 0; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 17px; }

.catalog { padding: clamp(50px, 6vw, 90px) 0 clamp(90px, 12vw, 160px); }
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(50px, 6vw, 90px) clamp(18px, 2.6vw, 40px);
}
.grid .card:nth-child(3n + 2) { margin-top: clamp(0px, 8vw, 120px); }
.card { cursor: pointer; display: block; text-align: left; width: 100%; }
.card[hidden] { display: none; }
.card.is-entering { animation: card-in .9s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(30px); } }
.card__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.card__img img + img { opacity: 0; }
.card:hover .card__img img:first-child { transform: scale(1.04); }
.card:hover .card__img img + img { opacity: 1; transform: scale(1.04); }
.card__fam {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  height: 28px; padding: 0 12px; display: inline-flex; align-items: center;
  background: rgba(246, 240, 231, .9); border-radius: 999px;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
}
.card__plus {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; font-family: var(--serif); font-size: 26px; line-height: 1;
  transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.card:hover .card__plus, .card:focus-visible .card__plus { transform: scale(1); opacity: 1; }
.card__body { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; align-items: start; }
.card__name { font-family: var(--serif); font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1.05; font-weight: 300; }
.card__name em { display: block; color: var(--poppy); font-size: .74em; margin-top: 4px; }
.card__price { text-align: right; white-space: nowrap; }
.card__price small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.card__price b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.card__opts { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.leaf-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sage); background: var(--paper-2); }
.leaf-ph svg { width: 46%; height: auto; }
.leaf-ph span { position: absolute; bottom: 18px; font-family: var(--serif); font-style: italic; color: var(--ink-faint); }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid .card:nth-child(3n + 2) { margin-top: 0; }
  .grid .card:nth-child(2n) { margin-top: 60px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 56px; }
  .grid .card:nth-child(2n) { margin-top: 0; }
}

/* Fiche produit (dialog) */
.sheet {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 1fr min(1180px, 100%);
  visibility: hidden;
}
.sheet__veil { background: rgba(36, 32, 28, .5); opacity: 0; transition: opacity .6s var(--ease); grid-column: 1 / -1; grid-row: 1; }
.sheet__panel {
  grid-column: 2; grid-row: 1; background: var(--paper); position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  transform: translateX(100%); transition: transform .9s var(--ease-io);
}
.sheet.is-open { visibility: visible; }
.sheet.is-open .sheet__veil { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__close {
  position: absolute; right: 20px; top: 20px; z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .6s var(--ease), background .3s;
}
.sheet__close:hover { transform: rotate(90deg); background: var(--paper-2); }
.sheet__close svg { width: 16px; height: 16px; }
.sheet__gallery { position: relative; background: var(--paper-2); display: flex; flex-direction: column; min-height: 0; }
.sheet__main { flex: 1; position: relative; overflow: hidden; min-height: 0; }
.sheet__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadein .7s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: scale(1.03); } }
.sheet__thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: none; }
.sheet__thumbs button { flex: 0 0 64px; aspect-ratio: 3 / 4; border-radius: 2px; overflow: hidden; opacity: .5; transition: opacity .3s; outline-offset: 2px; }
.sheet__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px var(--ink); }
.sheet__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sheet__info { overflow-y: auto; padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px); }
.sheet__info h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); margin: 22px 0 6px; }
.sheet__info .nick { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--poppy); }
.sheet__info .desc { margin: 28px 0 36px; color: var(--ink-soft); }
.prices { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.prices caption { text-align: left; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); padding-bottom: 12px; }
.prices td { padding: 16px 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.prices tr:last-child td { border-bottom: 1px solid var(--line); }
.prices td:last-child { text-align: right; font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; padding-left: 16px; }
.prices td small { display: block; color: var(--ink-faint); font-size: 13px; }
.sheet__opts h4 { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }
.sheet__opts .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.sheet__note { font-size: 14px; color: var(--ink-faint); margin-top: 22px; }
@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet__panel { grid-column: 1; grid-template-columns: 1fr; overflow-y: auto; transform: translateY(100%); }
  .sheet__gallery { height: 72svh; flex-shrink: 0; }
  .sheet__info { overflow: visible; }
}
body.no-scroll { overflow: hidden; }

/* Bande d'infos pratiques */
.info-band { background: var(--paper-2); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.info-grid > div { padding: 40px clamp(0px, 3vw, 40px) 10px 0; border-right: 1px solid var(--line); }
.info-grid > div + div { padding-left: clamp(20px, 3vw, 40px); }
.info-grid > div:last-child { border-right: 0; }
.info-grid h3 { font-size: 1.9rem; margin: 18px 0 14px; }
.info-grid p { color: var(--ink-soft); margin: 0 0 12px; font-size: 16px; }
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-grid > div, .info-grid > div + div { border-right: 0; padding: 32px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Sur-mesure ---------- */
.bespoke-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.bespoke-hero__media { position: relative; }
.bespoke-hero__media .frame { aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden; }
.bespoke-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.bespoke-hero__media .rays { inset: -22%; width: 144%; height: 144%; }
.bespoke-hero .lead { margin: 34px 0 0; max-width: 36ch; }
@media (max-width: 900px) {
  .bespoke-hero { grid-template-columns: 1fr; }
  .bespoke-hero__media { max-width: 420px; width: 82%; margin: 20px auto 0; }
}

.perso { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perso li { list-style: none; padding: 36px 22px 34px; border-right: 1px solid var(--line); text-align: center; transition: background .5s; }
.perso li:last-child { border-right: 0; }
.perso li:hover { background: var(--paper-2); }
.perso svg { width: 46px; height: 46px; color: var(--poppy); margin: 0 auto 18px; display: block; }
.perso b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.perso span { font-size: 14px; color: var(--ink-soft); }
.perso-wrap { padding: 0; margin: clamp(40px, 5vw, 70px) 0 0; }
@media (max-width: 900px) {
  .perso { grid-template-columns: 1fr 1fr; }
  .perso li { border-bottom: 1px solid var(--line); }
  .perso li:nth-child(2n) { border-right: 0; }
  .perso li:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(50px, 6vw, 90px); counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 39px; height: 1px; background: var(--line); }
.timeline li { list-style: none; position: relative; }
.timeline .dot {
  width: 78px; height: 78px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; position: relative;
  font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--poppy);
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s;
}
.timeline li:hover .dot { background: var(--poppy); color: var(--paper); border-color: var(--poppy); }
.timeline h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); margin: 28px 0 12px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 39px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 78px 1fr; gap: 0 24px; padding-bottom: 36px; }
  .timeline h3 { margin: 10px 0 8px; }
  .timeline p { grid-column: 2; }
}

/* Formulaire */
.form-sec { background: var(--paper-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.form-aside { position: sticky; top: 120px; }
.form-aside h2 { margin: 26px 0 26px; }
.form-aside p { color: var(--ink-soft); }
.form-aside .contact-line { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.form-aside .contact-line a { font-family: var(--serif); font-size: 1.5rem; }
.form-aside .contact-line a:hover { color: var(--poppy); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; padding: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-family: var(--serif); font-size: 1.35rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(59, 54, 49, .3); border-radius: 0;
  padding: 8px 0 12px; width: 100%;
  transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%233b3631' stroke-width='1.2'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 26px; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); font-style: italic; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--poppy); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { position: relative; text-transform: none; letter-spacing: .02em; font-size: 15px; color: var(--ink); cursor: pointer; }
.radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radios span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid rgba(59, 54, 49, .3); border-radius: 999px; transition: background .35s, color .35s, border-color .35s; }
.radios input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radios input:focus-visible + span { outline: 1.5px solid var(--poppy); outline-offset: 3px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 10px; }
.form__foot p { margin: 0; font-size: 14px; color: var(--ink-faint); max-width: 44ch; }
.form__ok { grid-column: 1 / -1; display: none; padding: 22px 24px; border: 1px solid var(--sage); border-radius: 4px; color: var(--ink); font-size: 15px; }
.form__ok.is-on { display: block; }
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-aside { position: relative; top: 0; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Conditions */
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 100px); margin-top: clamp(40px, 5vw, 70px); }
.terms > div { padding: 34px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 60px 1fr; gap: 6px 20px; }
.terms .num { font-size: 18px; color: var(--poppy); padding-top: 4px; }
.terms h3 { font-size: 1.8rem; margin-bottom: 10px; }
.terms p { margin: 0 0 8px; color: var(--ink-soft); font-size: 16px; }
.terms strong { font-weight: 400; color: var(--ink); }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } .terms > div { grid-template-columns: 44px 1fr; } }

/* ---------- À propos ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.about-hero h1 .sm { display: block; font-size: .34em; letter-spacing: 0; line-height: 1.2; margin-top: 18px; color: var(--ink-soft); font-style: italic; }
.about-hero__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.about-hero__media .frame { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; }
.about-hero__media .frame:first-child { border-radius: 999px 999px 3px 3px; aspect-ratio: 3 / 4.4; }
.about-hero__media .frame:last-child { margin-bottom: 60px; }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 140px); }
.story__label { position: sticky; top: 120px; align-self: start; }
.story__label h2 { margin-top: 24px; }
.story__text p { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.5; margin: 0 0 1.1em; font-weight: 400; color: var(--ink-soft); }
.story__text p:first-child::first-letter { float: left; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--poppy); font-weight: 300; }
.story__text strong { color: var(--ink); font-weight: 400; font-style: italic; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__label { position: relative; top: 0; } }

.name-split { background: var(--night); color: var(--paper); text-align: center; overflow: hidden; }
.name-split .eyebrow { color: rgba(246, 240, 231, .6); }
.word { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; margin: clamp(40px, 5vw, 70px) 0 0; gap: 0; }
.word > div { position: relative; padding: 0 .04em; }
.word .w { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 13vw, 13rem); line-height: .9; letter-spacing: -.03em; }
.word > div:nth-child(1) .w { color: var(--blush); }
.word > div:nth-child(2) .w { color: rgba(246, 240, 231, .5); font-style: italic; }
.word > div:nth-child(3) .w { color: var(--paper); }
.word .note { display: block; margin-top: 24px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 240, 231, .55); }
.word .note::before { content: ""; display: block; width: 1px; height: 36px; background: rgba(246, 240, 231, .3); margin: 0 auto 14px; }
.name-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); text-align: left; margin-top: clamp(60px, 8vw, 110px); }
.name-cols h3 { font-size: 2rem; margin-bottom: 16px; }
.name-cols h3 em { color: var(--blush); }
.name-cols p { color: rgba(246, 240, 231, .72); margin: 0; }
@media (max-width: 760px) { .name-cols { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(50px, 6vw, 80px); }
.pillar { padding-top: 26px; border-top: 1px solid var(--ink); }
.pillar h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin: 16px 0 12px; }
.pillar p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 20ch; font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5.4vw, 5.4rem); line-height: 1.06; letter-spacing: -.02em; position: relative; }
.quote blockquote::before { content: "“"; display: block; font-size: 2.2em; line-height: .5; color: var(--poppy); margin-bottom: .1em; }
.quote cite { display: block; margin-top: 36px; font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }

.contact-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.contact-list small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); }
.contact-list b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.1; overflow-wrap: anywhere; }
.contact-list a svg { width: 22px; height: 10px; transition: transform .6s var(--ease); }
.contact-list a:hover b { color: var(--poppy); }
.contact-list a:hover svg { transform: translateX(6px); }
@media (max-width: 860px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-list a, .contact-list div { grid-template-columns: 1fr auto; }
  .contact-list small { grid-column: 1 / -1; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .ln > span { opacity: 1 !important; transform: none !important; }
  .unveil img { clip-path: none !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* Les rayons restent derrière les photos */
.bespoke__media .frame, .bespoke-hero__media .frame { position: relative; }
