/* ==========================================================================
   Chocolates Benabarre — design system + composants (BEM)
   Papier kraft · gravure botanique · tradition
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --cacao-900: #1E130E;
  --cacao-700: #3B2519;
  --kraft-400: #CDBA96;
  --kraft-200: #E6DAC3;
  --cream-50: #F7F2EA;
  --copper-500: #A8703F;
  --copper-600: #8A5628;   /* version texte / boutons (contraste AA) */
  --ink-800: #2A2420;
  --line: rgba(42, 36, 32, .16);
  --line-dark: rgba(247, 242, 234, .18);

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1320px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  color-scheme: light;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; background: var(--cacao-900); }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65; font-weight: 400;
  color: var(--ink-800); background: var(--cream-50); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--copper-500); outline-offset: 3px; }
::selection { background: var(--copper-500); color: var(--cream-50); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked, html.has-loader body { overflow: hidden; }

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

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 3100; background: var(--cream-50); color: var(--ink-800); padding: .8rem 1.2rem; border-radius: 99px; transition: top .3s var(--ease); }
.skip:focus { top: 1rem; }

/* ---------- 3. Typographie ---------- */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.04; }
.h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; }
.h2 em, .h1 em, h1 em { font-style: italic; color: var(--copper-600); }
.section--dark .h2 em, .page-head h1 em, .hero em { color: var(--kraft-400); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 40rem; }
.label {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-600); line-height: 1.4;
}
.label--kraft { color: var(--kraft-400); }
.note { font-size: .82rem; color: rgba(42, 36, 32, .72); }
.note--light { color: rgba(247, 242, 234, .65); }
.muted { opacity: .65; }
.center { text-align: center; margin-top: 3rem; }
.price { font-weight: 600; letter-spacing: .01em; color: var(--ink-800); font-variant-numeric: tabular-nums; }
.price--xl { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--copper-600); line-height: 1; }
.price--light { color: var(--cream-50); }
.tbc { color: var(--copper-600); font-weight: 500; }
.empty { text-align: center; padding: 4rem 0; font-family: var(--serif); font-size: 1.6rem; }
blockquote.quote { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.12; color: var(--cacao-700); }
.quote--small { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.5rem; color: var(--copper-600); }

/* Liens : soulignement qui se dessine puis repart vers la droite */
.link {
  display: inline; background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size .6s var(--ease); padding-bottom: 2px;
}
.link:hover, .link:focus-visible { background-position: left bottom; background-size: 100% 1px; }
.link--small { font-size: .78rem; opacity: .8; }
.link--big { font-family: var(--serif); font-size: 1.9rem; }
.nav__link[aria-current="page"] { background-position: left bottom; background-size: 100% 1px; }

/* ---------- 4. Mise en page ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--cream { background: var(--cream-50); }
.section--kraft { background: var(--kraft-200); }
.section--dark { background: var(--cacao-900); color: var(--cream-50); }
.section--dark .lead, .section--dark p { color: rgba(247, 242, 234, .86); }
.section__head { margin-bottom: clamp(2rem, 5vw, 4rem); display: grid; gap: 1rem; }
.section__head--center { text-align: center; justify-items: center; }
.grid { display: grid; gap: 1.75rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid--4, .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 2.25rem 1.5rem; } }

/* États initiaux des révélations (seulement si les animations sont actives) */
html.anim [data-reveal] { opacity: 0; }
html.anim [data-reveal="stagger"] { opacity: 1; }
html.anim [data-reveal="stagger"] > * { opacity: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w__i { display: inline-block; will-change: transform; }

/* ---------- 5. Boutons ---------- */
.btn {
  --bg: var(--cacao-900); --fg: var(--cream-50); --fill: var(--copper-600); --fg-h: var(--cream-50); --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px; padding: .9rem 1.7rem; border-radius: 999px; font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); transition: color .5s var(--ease), border-color .5s var(--ease), opacity .3s; will-change: transform;
}
.btn::before {
  content: ''; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: 260%; aspect-ratio: 1; border-radius: 50%;
  background: var(--fill); transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--fg-h); border-color: var(--fill); }
.btn__arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn--copper { --bg: var(--copper-600); --fill: var(--cream-50); --fg-h: var(--cacao-900); }
.btn--dark { --bg: var(--cacao-900); --fill: var(--copper-600); }
.btn--light { --bg: var(--cream-50); --fg: var(--cacao-900); --fill: var(--copper-600); --fg-h: var(--cream-50); }
.btn--ghost, .btn--ghost-light { --bg: transparent; --fg: var(--cream-50); --fill: var(--cream-50); --fg-h: var(--cacao-900); --bd: rgba(247, 242, 234, .5); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink-800); --fill: var(--cacao-900); --fg-h: var(--cream-50); --bd: var(--line); }
.btn--sm { min-height: 44px; padding: .65rem 1.2rem; font-size: .76rem; }
.btn--block { width: 100%; }

/* ---------- 6. Header, menu mobile, sélecteur de langue ---------- */
.header { position: fixed; z-index: 1000; inset: 0 0 auto; color: var(--cream-50); transition: transform .6s var(--ease), background-color .5s, backdrop-filter .5s; }
.header__inner { max-width: 1480px; margin-inline: auto; padding: 1rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: padding .5s var(--ease); }
.header.is-solid { background: rgba(30, 19, 14, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.header.is-solid .header__inner { padding-block: .5rem; }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; color: inherit; min-height: 44px; }
.logo__img { height: 40px; width: auto; filter: invert(1) brightness(1.15); transition: height .4s var(--ease); }
.header.is-solid .logo__img { height: 34px; }
.logo__text { display: none; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; }
.logo__text b { display: block; font-weight: 600; }
.logo.is-missing .logo__img { display: none; }
.logo.is-missing .logo__text { display: block; }
.nav { display: none; gap: 2.2rem; }
.nav__link { font-size: .84rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding-block: .6rem; }
.header__tools { display: flex; align-items: center; gap: .25rem; }
.header__lang { display: none; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang__btn { min-width: 44px; min-height: 44px; padding: 0 .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; opacity: .55; transition: opacity .4s; }
.lang__btn[aria-pressed="true"], .lang__btn:hover { opacity: 1; }
.lang__ind { position: absolute; left: 0; bottom: 8px; height: 1px; width: 0; background: currentColor; transition: transform .6s var(--ease), width .6s var(--ease); }
.cart-btn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.cart-btn__count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--copper-600); color: var(--cream-50);
  font-size: .68rem; font-weight: 600; line-height: 19px; text-align: center; transition: opacity .3s, transform .3s var(--ease);
}
.cart-btn__count.is-empty { opacity: 0; transform: scale(.4); }
.burger { width: 48px; height: 48px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 20px; } .burger span:last-child { top: 27px; }
.burger.is-open span:first-child { top: 23.5px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 23.5px; transform: rotate(-45deg); }
@media (min-width: 1024px) {
  .nav { display: flex; } .header__lang { display: block; } .burger { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 990; background: var(--cacao-900); color: var(--cream-50); display: flex; flex-direction: column; justify-content: space-between;
  padding: 6.5rem var(--gutter) 2rem; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s; overflow-y: auto;
}
.menu.is-open { visibility: visible; clip-path: inset(0); transition-delay: 0s; }
.menu__nav { display: grid; gap: .25rem; }
.menu__link { font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15; padding-block: .2rem; min-height: 44px; opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.menu.is-open .menu__link { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * .07s); }
.menu__link[aria-current="page"] { font-style: italic; color: var(--kraft-400); }
.menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }
.menu__foot .lang__btn { font-size: .95rem; }

/* ---------- 7. Curseur, loader, rideau ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 3000; }
.cursor > span, .cursor__ring > span { opacity: 1; }
.cursor:not(.is-on) .cursor__dot, .cursor:not(.is-on) .cursor__ring { opacity: 0; }
.cursor__dot { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--copper-500); transition: opacity .3s; }
.cursor__ring {
  position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(168, 112, 63, .85); display: grid; place-items: center;
  margin: 0; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s, opacity .3s; font-size: .7rem;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -12px; background: rgba(168, 112, 63, .12); }
.cursor.is-view .cursor__ring { width: 88px; height: 88px; margin: -24px; background: var(--copper-600); border-color: var(--copper-600); }
.cursor__label { color: var(--cream-50); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: 5px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }

.loader { position: fixed; inset: 0; z-index: 2000; background: var(--cacao-900); color: var(--kraft-400); display: none; place-items: center; }
.has-loader .loader { display: grid; }
.loader__inner { display: grid; gap: 1.4rem; justify-items: center; width: min(340px, 72vw); }
.loader__branch { width: 62%; height: auto; }
.loader__logo { width: 100%; height: auto; filter: invert(1) brightness(1.1); }
.loader__bar { width: 100%; height: 1px; background: rgba(205, 186, 150, .22); }
.loader__bar span { display: block; height: 100%; background: var(--copper-500); transform: scaleX(0); transform-origin: left; }

.curtain { position: fixed; inset: 0; z-index: 1900; background: var(--cacao-900); transform: translateY(100%); transition: transform .45s var(--ease-io); pointer-events: none; }
.curtain.is-on { transform: none; pointer-events: all; }
.is-entering .curtain { transform: none; transition: none; }
.curtain.is-out { transform: translateY(-100%); }

/* ---------- 8. Hero : tablette 3D ---------- */
.hero { position: relative; background: var(--cacao-900); color: var(--cream-50); }
.hero__pin { --tw: clamp(270px, 44vw, 620px); position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__halo { position: absolute; left: 50%; top: 56%; width: 92vmin; height: 92vmin; margin: -46vmin 0 0 -46vmin; border-radius: 50%; background: radial-gradient(circle, rgba(168, 112, 63, .15), transparent 62%); animation: halo 9s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.18); opacity: .65; } }
.hero__floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floater { position: absolute; height: auto; color: var(--kraft-400); opacity: 0; will-change: transform; }
.floater--shard { color: #4a2e1f; } .floater--almond { color: #b89a6a; } .floater--hazel { color: var(--copper-500); }
.hero__title { position: absolute; z-index: 3; inset: clamp(5.5rem, 14vh, 9rem) 0 auto; text-align: center; padding-inline: 1rem; pointer-events: none; }
.hero__kicker { color: var(--kraft-400); margin-bottom: 1.1rem; }
.hero__h1 { font-size: clamp(3rem, 10.6vw, 7rem); line-height: .94; font-weight: 500; letter-spacing: -.025em; }
.hline { display: block; overflow: hidden; padding: .04em .1em .12em; margin-bottom: -.1em; }
.hline > span { display: block; will-change: transform; }
html.anim .hero__title .hline > span { opacity: 0; }
.hero__stage { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.tablet-pos, .tablet-enter { position: relative; display: grid; place-items: center; will-change: transform; }
.tablet-float { perspective: 1500px; }
.tablet-rot { transform-style: preserve-3d; transform: rotateX(12deg) rotateY(-18deg); will-change: transform; }
.tablet { --td: calc(var(--tw) * .05); position: relative; width: var(--tw); height: calc(var(--tw) / 2.2); transform-style: preserve-3d; }
.tablet__face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: var(--kraft-400); }
.tablet__face--front { inset: 0; transform: translateZ(calc(var(--td) / 2)); border-radius: calc(var(--tw) * .012); box-shadow: inset 0 0 calc(var(--tw) * .02) rgba(30, 19, 14, .22); }
.tablet__face--front img, .tablet__photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.tablet__face--front img.is-broken, .tablet__photo.is-broken { display: none; }
/* Reflet satiné du papier, suit la rotation */
.tablet__face--front::after, .tablet__face--back::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, rgba(255, 250, 240, .16), transparent 38%, transparent 62%, rgba(30, 19, 14, .14)); }
.tablet__face--back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--td) / 2)); border-radius: calc(var(--tw) * .012); box-shadow: inset 0 0 calc(var(--tw) * .02) rgba(30, 19, 14, .22); }
.tablet__face--right, .tablet__face--left { top: 0; bottom: 0; left: 50%; width: var(--td); margin-left: calc(var(--td) / -2); }
.tablet__face--right { transform: rotateY(90deg) translateZ(calc(var(--tw) / 2)); }
.tablet__face--left { transform: rotateY(-90deg) translateZ(calc(var(--tw) / 2)); }
.tablet__face--top, .tablet__face--bottom { left: 0; right: 0; top: 50%; height: var(--td); margin-top: calc(var(--td) / -2); }
.tablet__face--top { transform: rotateX(90deg) translateZ(calc(var(--tw) / 4.4)); }
.tablet__face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--tw) / 4.4)); }
.tablet__face--right, .tablet__face--left, .tablet__face--top, .tablet__face--bottom {
  background: repeating-linear-gradient(0deg, rgba(30, 19, 14, .05) 0 1px, transparent 1px 3px), linear-gradient(90deg, #8f7c64, #a59178 30%, #a59178 70%, #8f7c64);
  box-shadow: inset 0 0 calc(var(--td) * .5) rgba(30, 19, 14, .3);
}
/* Fond kraft (grain + fines rayures du papier) */
.tablet__fallback, .back {
  position: absolute; inset: 0; background:
    repeating-linear-gradient(0deg, rgba(30, 19, 14, .035) 0 1px, transparent 1px 3px), var(--kraft-400);
}
.tablet__fallback { display: grid; align-content: center; justify-items: center; text-align: center; color: var(--cacao-900); }
.tablet__fallback [data-botanical] { position: absolute; left: 4%; top: -4%; width: 38%; color: var(--cacao-900); opacity: .9; }
.tablet__brand { position: relative; font-family: var(--serif); font-weight: 500; font-size: calc(var(--tw) * .075); letter-spacing: .01em; line-height: .98; text-align: left; margin-top: 10%; margin-left: 14%; }
.tablet__sub { position: relative; font-size: calc(var(--tw) * .026); font-weight: 600; margin-top: 3%; margin-left: 14%; align-self: start; }
.back { display: grid; align-content: center; justify-items: center; gap: calc(var(--tw) * .018); color: var(--cacao-900); text-align: center; padding: 6%; }
.back__plant { width: 15%; color: var(--cacao-900); opacity: .85; }
.back__made { font-family: var(--serif); font-size: calc(var(--tw) * .05); font-weight: 600; letter-spacing: .02em; }
.back__gluten { font-size: calc(var(--tw) * .021); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; border: 1px solid currentColor; padding: .35em .9em; border-radius: 99px; }
.back__weight { font-size: calc(var(--tw) * .021); letter-spacing: .1em; text-transform: uppercase; }
.back__code { width: 26%; height: auto; background: var(--cream-50); padding: 2%; fill: var(--cacao-900); }
.tablet-shadow {
  position: absolute; left: 50%; bottom: calc(var(--tw) * -.2); width: calc(var(--tw) * .95); height: calc(var(--tw) * .12); margin-left: calc(var(--tw) * -.475);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); filter: blur(10px); transform-origin: center;
}
.hero__intro { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 7vh; max-width: 32rem; display: grid; gap: 1.25rem; }
html.anim .hero__intro { visibility: hidden; }
.hero__intro .label { color: var(--kraft-400); }
.hero__lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.5rem); line-height: 1.12; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: grid; justify-items: center; gap: .6rem; font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; color: var(--kraft-400); }
.hero__scroll-line { width: 1px; height: 46px; background: rgba(205, 186, 150, .25); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--kraft-400); transform-origin: top; animation: fill 2.2s var(--ease-io) infinite; }
@keyframes fill { 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; } }
@media (min-width: 768px) {
  .hero__intro { top: 50%; bottom: auto; transform: translateY(-50%); width: min(32rem, 38vw); right: auto; }
}
@media (max-width: 767px) {
  .hero__pin { --tw: min(78vw, 440px); }
  .hero__h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
}
/* Version statique : sans animation (reduced motion / sans GSAP) */
.hero--static .hero__pin, html:not(.anim) .hero__pin { height: auto; min-height: 100svh; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; padding: 8rem var(--gutter) 5rem; }
.hero--static .hero__title, .hero--static .hero__stage, .hero--static .hero__intro, html:not(.anim) .hero__title, html:not(.anim) .hero__stage, html:not(.anim) .hero__intro { position: relative; inset: auto; transform: none; width: auto; max-width: 36rem; }
.hero--static .hero__stage, html:not(.anim) .hero__stage { padding-block: 2rem; }
.hero--static .hero__intro, html:not(.anim) .hero__intro { text-align: center; justify-items: center; left: auto; right: auto; bottom: auto; top: auto; visibility: visible; }
.hero--static .hero__scroll, html:not(.anim) .hero__scroll { display: none; }
.hero--static .floater, html:not(.anim) .floater { opacity: .35; }
html:not(.anim) .hero__title .hline > span { opacity: 1; }

/* ---------- 9. Marquee ---------- */
.marquee { overflow: hidden; background: var(--kraft-400); color: var(--cacao-900); padding-block: 1.15rem; border-block: 1px solid rgba(30, 19, 14, .25); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.2; white-space: nowrap; }
.marquee__group i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--copper-600); flex-shrink: 0; }
html:not(.anim) .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
html:not(.anim) .marquee__group[data-clone] { display: none; }
html:not(.anim) .marquee__group { flex-wrap: wrap; justify-content: center; white-space: normal; }

/* ---------- 10. Collections ---------- */
.coll-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .coll-grid { grid-template-columns: repeat(3, 1fr); } }
.coll { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cacao-700); color: var(--cream-50); }
.coll__media { position: absolute; inset: 0; overflow: hidden; }
.coll__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 19, 14, .88), rgba(30, 19, 14, .05) 62%); }
.coll__body { position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: .6rem; }
.coll__body .label { color: var(--kraft-400); }
.coll__title { font-size: clamp(2.2rem, 3.6vw, 3.2rem); transition: transform .8s var(--ease); transform: translateY(1.8rem); }
.coll__more { display: inline-flex; align-items: center; gap: .8rem; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.coll__more path { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1s var(--ease) .1s; }
.coll:hover .coll__title, .coll:focus-visible .coll__title { transform: translateY(0); }
.coll:hover .coll__more, .coll:focus-visible .coll__more { opacity: 1; transform: none; }
.coll:hover .coll__more path, .coll:focus-visible .coll__more path { stroke-dashoffset: 0; }
@media (hover: none) { .coll__title { transform: none; } .coll__more { opacity: 1; transform: none; } .coll__more path { stroke-dashoffset: 0; } }
[data-parallax] { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; max-width: none; object-fit: cover; filter: contrast(1.05) saturate(.92) brightness(1.02); }

/* ---------- 11. Images produit, cartes ---------- */
.media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--kraft-200); }
.media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1.05) saturate(.92) brightness(1.02); transition: transform .9s var(--ease); }
.media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--copper-500); mix-blend-mode: soft-light; opacity: .08; transition: opacity .9s var(--ease); pointer-events: none; }
.media::after { content: ''; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 70px rgba(30, 19, 14, .26); pointer-events: none; }
.media__img.is-broken { opacity: 0; }
.media__fallback {
  display: none; position: absolute; inset: 0; z-index: 3; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; text-align: center;
  background: repeating-linear-gradient(0deg, rgba(30, 19, 14, .04) 0 1px, transparent 1px 3px), var(--kraft-400); color: var(--cacao-900);
}
.media__fallback span { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; font-weight: 600; }
.media__fallback b { font-size: .8rem; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; }
[data-fallback].is-missing > .media__fallback { display: flex; }
.coll__media[data-fallback].is-missing > img, .editorial__photo[data-fallback].is-missing > img, .about-visual__fig[data-fallback].is-missing > img { display: none; }

.card { position: relative; display: block; }
.card__tilt { transition: transform .6s var(--ease); will-change: transform; }
.card__fig { position: relative; overflow: hidden; }
.card__imglink { display: block; }
.card__media { position: relative; }
.card:hover .media__img { transform: scale(1.06); }
.card:hover .media::before { opacity: 0; }
.card__shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 48%); transition: opacity .4s; }
.card:hover .card__shine { opacity: 1; }
.badges { position: absolute; z-index: 4; top: .75rem; left: .75rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1; padding: .5rem .65rem; border-radius: 99px; }
.badge--accent { background: var(--copper-600); color: var(--cream-50); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease); }
.card:hover .badge--accent { transform: rotate(calc(var(--r, 0deg) * -1.8)) scale(1.06); }
.badge--gluten { position: absolute; z-index: 4; top: .75rem; right: .75rem; background: rgba(247, 242, 234, .92); color: var(--ink-800); }
.badge--inline { position: static; background: var(--kraft-200); }
.card__add {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; min-height: 52px; background: var(--cacao-900); color: var(--cream-50); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(101%); transition: transform .6s var(--ease), background-color .3s;
}
.card__add:hover { background: var(--copper-600); }
.card__add.is-done { background: var(--copper-600); }
.card__fig:hover .card__add, .card__add:focus-visible { transform: none; }
@media (hover: none) { .card__add { transform: none; position: static; width: 100%; } .card__fig { overflow: visible; } }
.card__body { display: grid; gap: .3rem; padding-top: 1rem; }
.card__title { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.1; }
.card__meta { font-size: .84rem; color: rgba(42, 36, 32, .7); }
.card .price { margin-top: .25rem; }
.card.is-hidden { display: none; }

/* Éventail de coffrets */
.fan { position: absolute; inset: 0; }
.fan__img { position: absolute; width: 52%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 14px 30px rgba(30, 19, 14, .35); border: 3px solid var(--cream-50); filter: contrast(1.05) saturate(.92); transition: transform .9s var(--ease); }
.fan__img--0 { left: 6%; top: 16%; transform: rotate(-9deg); z-index: 1; }
.fan__img--1 { left: 24%; top: 9%; z-index: 3; }
.fan__img--2 { left: 42%; top: 16%; transform: rotate(9deg); z-index: 2; }
.card:hover .fan__img--0 { transform: rotate(-14deg) translateX(-8%); }
.card:hover .fan__img--1 { transform: translateY(-4%); }
.card:hover .fan__img--2 { transform: rotate(14deg) translateX(8%); }
.media:has(.fan) { background: var(--kraft-400); }

.fly { position: fixed; z-index: 3200; background-size: cover; background-position: center; border-radius: 2px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); pointer-events: none; background-color: var(--kraft-400); }

/* ---------- 12. Carrousel « imprescindibles » ---------- */
.shelf { padding-block: clamp(4.5rem, 9vw, 7rem); overflow: hidden; }
.shelf__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.shelf__view { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding: 0 var(--gutter) 1rem; }
.shelf__view::-webkit-scrollbar { display: none; }
.shelf__track { display: flex; gap: 1.25rem; width: max-content; padding-inline: max(0px, calc((100vw - var(--max)) / 2)); }
.shelf__item { flex: 0 0 clamp(240px, 70vw, 310px); scroll-snap-align: start; }
.shelf__bar { display: none; height: 1px; background: rgba(30, 19, 14, .2); margin-top: 2rem; }
.shelf__bar span { display: block; height: 100%; background: var(--cacao-900); transform: scaleX(0); transform-origin: left; }
.shelf--pinned { padding-block: 0; }
.shelf--pinned .shelf__inner { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 4rem; }
.shelf--pinned .shelf__view { overflow: visible; scroll-snap-type: none; }
.shelf--pinned .shelf__item { flex-basis: clamp(260px, 22vw, 330px); }
.shelf--pinned .shelf__bar { display: block; }
.shelf--pinned .shelf__head { margin-bottom: 2.5rem; }

/* ---------- 13. Éditorial ---------- */
.editorial__grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.editorial__text { display: grid; gap: 1.4rem; justify-items: start; }
.editorial__art { position: relative; min-height: 420px; }

.editorial__plant svg { stroke-width: 1.7; }
.editorial__plant { position: absolute; left: -6%; top: -8%; width: 78%; color: var(--kraft-400); z-index: 2; opacity: .85; pointer-events: none; }
.editorial__photo { position: relative; margin-left: auto; width: 82%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cacao-700); }
@media (min-width: 900px) { .editorial__grid { grid-template-columns: 1fr 1.1fr; } }

/* ---------- 14. Escala del cacao ---------- */
.scale { background: var(--tint, #3b2519); transition: background-color 1s var(--ease); }
.gauge { display: flex; flex-direction: column; max-width: 56rem; margin: 3.5rem auto 2.5rem; padding-inline: 1.25rem; }
.gauge__ends { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--kraft-400); order: 2; margin-top: 1.8rem; }
.gauge__rail { position: relative; margin-top: 2.5rem; height: 2px; background: rgba(247, 242, 234, .22); margin-inline: 1rem; }
.gauge__fill { position: absolute; inset: 0; background: var(--copper-500); transform-origin: left; transition: transform .9s var(--ease); }
.gauge__mark { position: absolute; left: var(--pos); top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; border-radius: 50%; }
.gauge__mark::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--cacao-900); border: 2px solid var(--kraft-400); transition: transform .5s var(--ease), background-color .3s; }
.gauge__mark[aria-pressed="true"]::before { background: var(--copper-500); border-color: var(--cream-50); transform: scale(1.5); }
.gauge__pct { position: absolute; bottom: 100%; font-family: var(--serif); font-size: 1.35rem; color: var(--kraft-400); transition: color .3s, transform .5s var(--ease); white-space: nowrap; }
.gauge__mark[aria-pressed="true"] .gauge__pct, .gauge__mark:hover .gauge__pct { color: var(--cream-50); transform: translateY(-4px); }
.scale__card { display: grid; gap: 2rem; max-width: 56rem; margin-inline: auto; align-items: center; }
.scale__img { display: block; width: min(300px, 70%); margin-inline: auto; box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.scale__info { display: grid; gap: .8rem; justify-items: start; }
.scale__pct { font-family: var(--serif); font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: 1; color: var(--kraft-400); }
.scale__pct span { color: var(--cream-50); }
.scale__name { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.scale__notes { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--cream-50); }
.scale__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.scale__panel { min-height: 420px; }
@media (min-width: 768px) { .scale__card { grid-template-columns: 300px 1fr; gap: 4rem; } .scale__img { width: 100%; } }

/* ---------- 15. Chocolate a la taza ---------- */
.cup__grid { display: grid; gap: 3rem; align-items: center; }
.cup__art { color: var(--cacao-900); max-width: 380px; margin-inline: auto; width: 100%; }
.cup__svg { width: 100%; height: auto; overflow: visible; }
.steam__p { stroke-dasharray: 60 50; opacity: 0; animation: steam 4.2s ease-in-out infinite; }
.steam__p--2 { animation-delay: 1.2s; } .steam__p--3 { animation-delay: 2.4s; }
@keyframes steam { 0% { stroke-dashoffset: 110; opacity: 0; transform: translateY(8px); } 25% { opacity: .85; } 100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-14px); } }
.cup__text { display: grid; gap: 1.3rem; justify-items: start; }
.recipe { width: 100%; max-width: 30rem; border-top: 1px solid var(--line); }
.recipe > div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.recipe dt { font-weight: 500; } .recipe dd { font-family: var(--serif); font-size: 1.35rem; color: var(--copper-600); font-weight: 600; text-align: right; }
@media (min-width: 900px) { .cup__grid { grid-template-columns: .9fr 1.1fr; } }

/* ---------- 16. Réassurance ---------- */
.trust__grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(2, 1fr); }
.trust__item { display: grid; gap: .5rem; justify-items: start; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trust__icon { width: 56px; height: 56px; color: var(--copper-600); margin-bottom: .6rem; }
.trust__num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--cacao-900); font-weight: 600; }
.trust__t { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.trust__d { font-size: .92rem; color: rgba(42, 36, 32, .78); }
@media (min-width: 900px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 17. Formulaires, newsletter ---------- */
.input { width: 100%; min-height: 48px; padding: .8rem 1rem; font: inherit; color: var(--ink-800); background: rgba(255, 255, 255, .55); border: 1px solid rgba(42, 36, 32, .3); border-radius: 2px; transition: border-color .3s, box-shadow .3s, background-color .3s; }
textarea.input { resize: vertical; min-height: 140px; }
.input:focus { outline: none; border-color: var(--copper-600); box-shadow: 0 0 0 3px rgba(168, 112, 63, .25); background: #fff; }
.input.is-invalid { border-color: #a3312a; }
.input--dark { color: var(--cream-50); background: rgba(247, 242, 234, .06); border-color: rgba(247, 242, 234, .35); }
.input--dark::placeholder { color: rgba(247, 242, 234, .6); }
.input--dark:focus { background: rgba(247, 242, 234, .1); }
.field { display: grid; gap: .4rem; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.field-msg { min-height: 1.2em; font-size: .82rem; color: #a3312a; }
.field-msg.is-ok { color: #2f6b3a; }
.section--dark .field-msg { color: #ffb4a8; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: 1fr 1.4fr 1fr; } }
.form-ok { display: grid; justify-items: start; gap: .8rem; color: var(--cacao-900); }
.ok-c, .ok-p { stroke-dasharray: 160; stroke-dashoffset: 160; }
.form-ok.is-in .ok-c { animation: draw 1s var(--ease-io) forwards; }
.form-ok.is-in .ok-p { animation: draw .7s var(--ease-io) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.newsletter__inner { display: grid; gap: 2.5rem; align-items: center; }
.nl-form__row { display: flex; flex-wrap: wrap; gap: .75rem; }
.nl-form__row .input { flex: 1 1 240px; }
.nl-ok { display: flex; align-items: center; gap: 1rem; color: var(--kraft-400); font-family: var(--serif); font-size: 1.6rem; }
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--copper-600); flex-shrink: 0; }
.switch { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; cursor: pointer; font-size: .9rem; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; width: 44px; height: 24px; border-radius: 99px; background: rgba(42, 36, 32, .25); transition: background-color .4s; }
.switch__ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream-50); transition: transform .5s var(--ease); }
.switch input:checked + .switch__ui { background: var(--copper-600); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--copper-500); outline-offset: 3px; }
.select select { min-height: 44px; padding: 0 2.2rem 0 1rem; font: inherit; font-size: .9rem; color: var(--ink-800); background: transparent; border: 1px solid var(--line); border-radius: 99px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }

/* ---------- 18. En-têtes de page ---------- */
.page-head { background: var(--cacao-900); color: var(--cream-50); padding: clamp(7.5rem, 14vw, 10rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-head--compact { padding-bottom: 1.25rem; }
.page-head--tall { padding-top: clamp(9rem, 18vw, 13rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.page-head .wrap { display: grid; gap: 1.2rem; }
.page-head__title { font-size: clamp(2.8rem, 8vw, 6rem); line-height: .98; letter-spacing: -.02em; max-width: 16ch; }
.page-head .lead { color: rgba(247, 242, 234, .82); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(247, 242, 234, .7); }
.crumbs li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }
.crumbs [aria-current] { color: var(--kraft-400); }

/* ---------- 19. Tienda ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.toolbar__right { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.chips { position: relative; display: inline-flex; max-width: 100%; overflow-x: auto; padding: 3px; border: 1px solid var(--line); border-radius: 99px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips__ind { position: absolute; left: 0; top: 3px; bottom: 3px; width: 0; border-radius: 99px; background: var(--cacao-900); transition: transform .6s var(--ease), width .6s var(--ease); }
.chip { position: relative; z-index: 1; flex-shrink: 0; min-height: 44px; padding: 0 1.15rem; font-size: .88rem; font-weight: 500; border-radius: 99px; color: var(--ink-800); transition: color .4s; white-space: nowrap; }
.chip[aria-pressed="true"] { color: var(--cream-50); }
.count { font-size: .85rem; color: rgba(42, 36, 32, .75); margin-bottom: 1.75rem; }

/* ---------- 20. Fiche produit ---------- */
.product { padding-top: clamp(2rem, 4vw, 3.5rem); }
.product__grid { display: grid; gap: 2.5rem; }
.gallery { display: grid; gap: .9rem; align-content: start; }
.gallery__main { position: relative; aspect-ratio: 4 / 5; background: var(--kraft-200); overflow: hidden; }
.gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; overflow: hidden; }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.92) brightness(1.02); }
.gallery__img--close { transform: scale(1.9); transform-origin: 40% 42%; }
.gallery__img.is-broken { opacity: 0; }
.gallery__main::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 70px rgba(30, 19, 14, .22); pointer-events: none; z-index: 2; }
.gallery__gluten { position: absolute; z-index: 4; top: .9rem; right: .9rem; }
.gallery__fan { position: absolute; inset: 0; background: var(--kraft-400); }
.gallery__row { position: absolute; inset: 0; display: grid; align-content: center; gap: .6rem; padding: 1rem; background: var(--kraft-400); grid-template-columns: repeat(3, 1fr); }
.gallery__row figure { display: grid; gap: .4rem; font-size: .72rem; text-align: center; }
.gallery__row img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border: 3px solid var(--cream-50); }
.lens { position: absolute; left: 0; top: 0; width: 160px; height: 160px; border-radius: 50%; border: 2px solid var(--cream-50); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); background-repeat: no-repeat; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 3; }
.lens.is-on { opacity: 1; }
@media (hover: none) { .lens { display: none; } }
.gallery__thumbs { display: flex; gap: .6rem; }
.thumb { position: relative; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--kraft-200); opacity: .6; border: 1px solid transparent; transition: opacity .4s, border-color .4s; }
.thumb.is-active { opacity: 1; border-color: var(--cacao-900); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__close { transform: scale(1.9); transform-origin: 40% 42%; }
.thumb .fan { position: absolute; }
.product__info { display: grid; gap: 1.1rem; align-content: start; }
.product__title { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.product__stat { display: flex; align-items: baseline; gap: .6rem; color: var(--copper-600); }
.product__num { font-family: var(--serif); font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: .85; font-weight: 500; font-variant-numeric: tabular-nums; }
.product__unit { font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.product__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .9rem; color: rgba(42, 36, 32, .8); }
.product__meta .badges { position: static; flex-direction: row; }
.tip { padding: 1rem 1.2rem; background: var(--kraft-200); border-left: 2px solid var(--copper-600); font-size: .95rem; }
.buy { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty__btn { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 50%; transition: background-color .3s; }
.qty__btn:hover:not(:disabled) { background: rgba(42, 36, 32, .08); }
.qty__btn:disabled { opacity: .35; }
.qty__val { min-width: 2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--lg .qty__btn { width: 52px; height: 52px; }
.btn--add { flex: 1 1 220px; min-height: 54px; }
.btn--add .btn__check { position: absolute; inset: 0; margin: auto; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--ease); }
.btn--add .btn__check path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.btn--add.is-done { --bg: #4f6b3c; }
.btn--add.is-done .btn__label--default { opacity: 0; transform: translateY(-120%); }
.btn--add.is-done .btn__check { opacity: 1; transform: none; }
.btn--add.is-done .btn__check path { animation: draw .5s .1s forwards; }
.btn__label { transition: opacity .3s, transform .5s var(--ease); }
.accs { border-top: 1px solid var(--line); margin-top: 1rem; }
.acc { border-bottom: 1px solid var(--line); }
.acc__h { font: inherit; }
.acc__btn { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; text-align: left; font-family: var(--sans); font-weight: 500; font-size: 1rem; }
section.section--cream .faq .acc__btn, .wrap--narrow .acc__btn { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; }
.acc__i { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc__i::before, .acc__i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.acc__i::after { transform: rotate(90deg); }
.acc.is-open .acc__i::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s .55s; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.acc__in { overflow: hidden; }
.acc__in p { padding-bottom: 1.4rem; max-width: 60ch; color: rgba(42, 36, 32, .88); }
.faq__more { font-size: 1rem; }
@media (min-width: 1024px) {
  .product__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .gallery { position: sticky; top: 6rem; }
}
.notfound__inner { display: grid; gap: 1.4rem; justify-items: start; min-height: 40vh; align-content: center; }

/* ---------- 21. Nosotros ---------- */
.read-progress { position: fixed; z-index: 1100; inset: 0 0 auto; height: 3px; background: transparent; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--copper-500); transform: scaleX(0); transform-origin: left; }
.about-intro__grid { display: grid; gap: 2.5rem; align-items: start; }
.about-intro__text { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .about-intro__grid { grid-template-columns: 1.1fr 1fr; gap: 6rem; } }
.about-visual { background: var(--kraft-200); padding-block: clamp(3rem, 7vw, 7rem); overflow: hidden; }
.about-visual__grid { display: grid; gap: 1.25rem; align-items: center; }
.about-visual__fig { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--kraft-400); }
.about-visual__text { display: grid; gap: 1rem; align-content: center; padding-block: 1.5rem; }
@media (min-width: 900px) {
  .about-visual__grid { grid-template-columns: 1fr 1.1fr 1fr; gap: 3rem; }
  .about-visual__fig--b { margin-top: 5rem; }
  .about-visual__text { order: 2; }
  .about-visual__fig--a { order: 1; } .about-visual__fig--b { order: 3; }
}
.timeline { position: relative; max-width: 46rem; margin: 4rem auto 0; padding-left: 3.5rem; display: grid; gap: 3.5rem; }
.timeline__line { position: absolute; left: 1rem; top: .6rem; bottom: .6rem; width: 1px; background: rgba(247, 242, 234, .18); }
.timeline__fill { position: absolute; inset: 0; background: var(--copper-500); transform-origin: top; transform: scaleY(0); }
.timeline__step { position: relative; display: grid; gap: 1.2rem; grid-template-columns: auto 1fr; align-items: start; }
.timeline__step::before { content: ''; position: absolute; left: -2.9rem; top: .9rem; width: 11px; height: 11px; border-radius: 50%; background: var(--cacao-900); border: 1px solid var(--copper-500); transition: background-color .6s; }
.timeline__step.is-in::before { background: var(--copper-500); }
.timeline__n { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--kraft-400); line-height: 1; }
.timeline__step h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4rem; }
html.anim .timeline__step > * { opacity: 0; transform: translateX(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.anim .timeline__step.is-in > * { opacity: 1; transform: none; }
html.anim .timeline__step.is-in > div { transition-delay: .12s; }
.values__grid { display: grid; gap: 2rem; }
.values__grid li { border-top: 1px solid rgba(30, 19, 14, .3); padding-top: 1.2rem; }
.values__grid h3 { font-size: 2rem; margin-bottom: .5rem; }
@media (min-width: 768px) { .values__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 22. Visítanos ---------- */
.visit__grid { display: grid; gap: 2.5rem; }
.visit__info { display: grid; gap: 1.5rem; align-content: start; }
.infocard { display: grid; gap: .4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.infocard address, .infocard p { font-size: 1.05rem; }
.visit__map { position: relative; min-height: 380px; background: var(--kraft-200); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: calc(100% - 2.5rem); border: 0; filter: sepia(.35) saturate(.8) contrast(.95); }
.visit__maplink { position: absolute; left: 0; bottom: 0; font-size: .85rem; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }
.contact__grid { display: grid; gap: 3rem; }
.contact__intro { display: grid; gap: 1.2rem; align-content: start; }
.b2b { margin-top: 1.5rem; padding: 1.5rem; background: var(--cacao-900); color: var(--cream-50); }
.b2b h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.b2b p { color: rgba(247, 242, 234, .85); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }

/* ---------- 23. Panier, paiement, tiroir ---------- */
.drawer { position: fixed; z-index: 1500; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream-50); color: var(--ink-800); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .7s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .25); overscroll-behavior: contain; }
.drawer.is-open { transform: none; }
.overlay { position: fixed; inset: 0; z-index: 1400; background: rgba(30, 19, 14, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s var(--ease); }
.overlay.is-on { opacity: 1; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 1.9rem; }
.drawer__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; transition: background-color .3s, transform .5s var(--ease); }
.drawer__close:hover { background: rgba(42, 36, 32, .08); transform: rotate(90deg); }
.drawer__ship { padding: 1rem 1.5rem; font-size: .88rem; display: grid; gap: .6rem; background: var(--kraft-200); }
.progress { height: 3px; background: rgba(30, 19, 14, .15); overflow: hidden; border-radius: 3px; }
.progress span { display: block; height: 100%; background: var(--copper-600); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.drawer__list { flex: 1; overflow-y: auto; padding: .5rem 1.5rem; }
.drawer__empty { flex: 1; display: grid; align-content: center; justify-items: start; gap: 1rem; padding: 2rem 1.5rem; }
.drawer__empty-title { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.drawer__foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; background: var(--cream-50); }
.drawer__note { font-size: .78rem; text-align: center; color: rgba(42, 36, 32, .7); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); align-items: start; transition: opacity .38s var(--ease), transform .38s var(--ease); }
.line.is-leaving { opacity: 0; transform: translateX(40px); }
.line__media .media { width: 76px; }
.line__info { display: grid; gap: .35rem; justify-items: start; }
.line__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.1; font-weight: 600; }
.line__meta { font-size: .8rem; color: rgba(42, 36, 32, .7); }
.line__side { display: grid; justify-items: end; gap: .3rem; }
.line__total { font-weight: 600; font-variant-numeric: tabular-nums; }
.line__rm { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: rgba(42, 36, 32, .65); transition: color .3s, background-color .3s; }
.line__rm:hover { color: #a3312a; background: rgba(163, 49, 42, .08); }
.line .qty { margin-top: .2rem; }
.line .qty__btn { width: 38px; height: 38px; }
.totals { display: grid; gap: .5rem; font-size: .95rem; }
.totals > div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dd { font-variant-numeric: tabular-nums; font-weight: 500; }
.totals__discount dd { color: #2f6b3a; }
.totals__total { padding-top: .8rem; margin-top: .3rem; border-top: 1px solid var(--line); font-size: 1.2rem; font-weight: 600; }
.totals__total dd { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }

.toasts { position: fixed; z-index: 3100; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: grid; gap: .6rem; width: min(92vw, 440px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; background: var(--cacao-900); color: var(--cream-50); border-radius: 4px; box-shadow: 0 14px 40px rgba(0, 0, 0, .3); font-size: .9rem; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: auto; }
.toast.is-in { opacity: 1; transform: none; }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper-500); flex-shrink: 0; }
.toast__msg { flex: 1; }
.toast__act { font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--kraft-400); padding: .5rem; min-height: 44px; }

.cartpage__grid { display: grid; gap: 2.5rem; }
.cartpage__back { margin-top: 1.5rem; }
.cart-empty { display: grid; gap: 1rem; justify-items: start; padding-block: 2rem; }
.lines .line { grid-template-columns: 96px 1fr auto; }
.lines .line__media .media { width: 96px; }
.summary { align-self: start; display: grid; gap: 1.1rem; padding: 1.5rem; background: var(--kraft-200); }
.ship-meter { display: grid; gap: .6rem; font-size: .88rem; }
.summary__items { display: grid; gap: .5rem; font-size: .88rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(30, 19, 14, .2); }
.summary__items li { display: flex; justify-content: space-between; gap: 1rem; }
.summary__items em { font-style: normal; opacity: .65; }
.promo { display: flex; gap: .5rem; }
.promo .input { flex: 1; min-width: 0; }
.stepper { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 3rem; }
.stepper__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(42, 36, 32, .55); transition: color .5s; }
.stepper__n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-50); border: 1px solid var(--line); font-weight: 600; transition: background-color .5s, color .5s, border-color .5s; }
.stepper__item.is-active, .stepper__item.is-done { color: var(--ink-800); }
.stepper__item.is-active .stepper__n, .stepper__item.is-done .stepper__n { background: var(--cacao-900); color: var(--cream-50); border-color: var(--cacao-900); }
.stepper__track { position: absolute; top: 20px; left: 16.66%; right: 16.66%; height: 1px; background: var(--line); }
.stepper__track span { display: block; height: 100%; background: var(--cacao-900); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); }
.co-step { border: 0; padding: 0; margin: 0; display: grid; gap: 1.2rem; min-width: 0; }
.co-step legend { padding: 0; margin-bottom: 1.2rem; }
.co-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.demo-banner { padding: 1rem 1.2rem; background: #fff3cd; color: #5a4300; border: 1px dashed #b38600; font-size: .9rem; font-weight: 500; }
.shipopt { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--cacao-900); background: rgba(255, 255, 255, .5); }
.shipopt > div { flex: 1; }
.shipopt__radio { width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--cacao-900); background: var(--cream-50); flex-shrink: 0; }
.confirm { display: grid; justify-items: center; text-align: center; gap: 1.2rem; padding-block: 3rem; max-width: 40rem; margin-inline: auto; outline: none; }
.confirm__check { color: var(--copper-600); }
.order-num { font-family: var(--serif); font-size: 1.8rem; letter-spacing: .08em; color: var(--copper-600); margin-left: .4rem; }
@media (min-width: 960px) { .cartpage__grid { grid-template-columns: 1fr 380px; gap: 4rem; } .summary { position: sticky; top: 6rem; } }

/* ---------- 24. Légal : onglets ---------- */
.tabs__list { position: relative; display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex-shrink: 0; min-height: 52px; padding: 0 1.1rem; font-size: .88rem; font-weight: 500; color: rgba(42, 36, 32, .7); transition: color .3s; }
.tabs__tab[aria-selected="true"], .tabs__tab:hover { color: var(--ink-800); }
.tabs__ind { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--copper-600); transition: transform .6s var(--ease), width .6s var(--ease); }
.tabs__panel { padding-top: 2.5rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.prose h3 { font-family: var(--sans); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 1.8rem 0 .5rem; color: var(--copper-600); }
.prose p { margin-bottom: .8rem; }

/* ---------- 25. Footer ---------- */
.footer { background: var(--cacao-900); color: var(--cream-50); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer__inner { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer__brand { display: grid; gap: 1.2rem; justify-items: start; }
.footer .logo__img { height: 54px; filter: invert(1) brightness(1.1); }
.footer__tag { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; max-width: 22rem; color: var(--kraft-400); }
.footer__col { display: grid; gap: .35rem; align-content: start; font-size: .92rem; color: rgba(247, 242, 234, .85); }
.footer__col .label { color: var(--kraft-400); margin-bottom: .6rem; }
.footer__col .link { justify-self: start; min-height: 32px; }
.footer__bar { margin-top: 3.5rem; border-top: 1px solid var(--line-dark); max-width: var(--max); margin-inline: auto; padding: 1.4rem var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .8rem; color: rgba(247, 242, 234, .7); }
@media (min-width: 640px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__inner { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; } .footer__brand { grid-column: auto; } }

/* ---------- 26. Transition de langue ---------- */
.lang-anim [data-i18n] { transition: opacity .15s ease, transform .15s ease; }
.lang-out [data-i18n] { opacity: 0 !important; transform: translateY(6px); }

/* ---------- 27. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__halo, .hero__scroll-line::after, .steam__p { animation: none !important; }
  .steam__p { opacity: .6; stroke-dasharray: none; }
  .tablet-rot { transform: rotateX(12deg) rotateY(-18deg); }
  .coll__more { opacity: 1; transform: none; } .coll__more path { stroke-dashoffset: 0; } .coll__title { transform: none; }
  .ok-c, .ok-p { stroke-dashoffset: 0; }
  .card__tilt { transform: none !important; }
}

/* Images secondaires manquantes (vignettes, éventails) */
.thumb img.is-broken, .fan__img.is-broken, .gallery__row img.is-broken { opacity: 0; }
