/* ============================================================
   MIMINE — Design System & Styles
   Crème & terracotta éditorial · Feito com amor
   ============================================================ */

/* ---------- 0. Fonts (Google Fonts chargées dans <head>) ----------
   Display : Instrument Serif (licence OFL — usage commercial OK)
   Texte   : Montserrat (licence OFL — usage commercial OK)
------------------------------------------------------------------ */

:root {
  /* Palette mimine */
  --bg:         #FAF3E7;
  --bg-soft:    #F4E9D6;
  --bg-deep:    #EFE0C8;
  --ink:        #2D1B12;
  --ink-soft:   #6B5240;
  --terra:      #B24201;
  --terra-deep: #7E2F00;
  --orange:     #E6790D;
  --peach:      #FAC999;
  --sage:       #6F988B;
  --sage-light: #ACC9BD;
  --cream:      #FBF4E9;
  --line:       rgba(45, 27, 18, .16);
  --line-soft:  rgba(45, 27, 18, .09);

  /* Typo */
  --f-display: "Instrument Serif", Georgia, serif;
  --f-text: "Montserrat", -apple-system, sans-serif;

  /* Échelle fluide */
  --fs-hero:  clamp(3.5rem, 9.8vw, 9rem);
  --fs-h1:    clamp(2.8rem, 7vw, 6.4rem);
  --fs-h2:    clamp(2.2rem, 5vw, 4.4rem);
  --fs-h3:    clamp(1.5rem, 2.6vw, 2.2rem);
  --fs-body:  clamp(1rem, 1.1vw, 1.125rem);
  --fs-small: .875rem;
  --fs-tiny:  .72rem;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);          /* expo out — signature */
  --ease-io: cubic-bezier(.65, 0, .35, 1);      /* in-out doux */
  --dur: .8s;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: clamp(14px, 2vw, 26px);
  --nav-h: 84px;
}

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.has-lenis { scroll-behavior: auto; }
body {
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--terra); color: var(--cream); }

/* Scrollbar discrète */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--terra) 55%, var(--bg)); border-radius: 99px; border: 2px solid var(--bg); }

/* ---------- 2. Typographie ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.005em;
}
.display em, .it {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--f-text);
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: .9em;
}
.eyebrow::before {
  content: "";
  width: 2.4em; height: 1px;
  background: currentColor;
  opacity: .6;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 10vw, 9.5rem); position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* ---------- 4. Reveals (scroll) ---------- */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].in { transform: scale(1); }

/* Split de titres : chaque ligne masquée */
.split .w { display: inline-block; overflow: clip; vertical-align: top; padding: .14em .12em; margin: -.14em -.12em; }
.split .w > span { display: inline-block; transform: translateY(140%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.15s var(--ease); transition-delay: calc(var(--wi) * 55ms + var(--i, 0) * 90ms); }
.split.in .w > span { transform: none; }

/* Images masquées */
.img-reveal { overflow: clip; border-radius: var(--radius); position: relative; }
.img-reveal img { transform: scale(1.22); transition: transform 1.6s var(--ease); will-change: transform; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--bg-soft); transform: scaleY(1); transform-origin: top; transition: transform 1.1s var(--ease); }
.img-reveal.in img { transform: scale(1); }
.img-reveal.in::after { transform: scaleY(0); }

/* ---------- 5. Curseur custom ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 3000; border-radius: 50%; }
.cursor-dot { width: 7px; height: 7px; background: var(--terra); transform: translate(-50%, -50%); }
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid var(--terra);
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), opacity .3s;
}
.cursor-ring span {
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream); opacity: 0; transition: opacity .3s; white-space: nowrap;
}
.cursor-ring.is-label { width: 84px; height: 84px; background: var(--terra); border-color: var(--terra); }
.cursor-ring.is-label span { opacity: 1; }
.cursor-ring.is-hover { width: 64px; height: 64px; background: color-mix(in srgb, var(--terra) 12%, transparent); }
.cursor-hide .cursor-dot, .cursor-hide .cursor-ring { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- 6. Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .8em;
  padding: 1.05em 2.1em;
  border-radius: 99px;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  background: var(--terra); color: var(--cream);
  overflow: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.btn .label { display: inline-grid; justify-items: center; overflow: clip; }
.btn .label span { grid-area: 1 / 1; display: block; white-space: nowrap; transition: transform .55s var(--ease); }
.btn .label span:last-child { transform: translateY(110%); }
.btn:hover .label span:first-child { transform: translateY(-110%); }
.btn:hover .label span:last-child { transform: translateY(0); }
.btn .arr { transition: transform .55s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--terra-deep);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn { z-index: 0; }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--terra-deep); }
.btn--cream::before { background: var(--peach); }
.btn--cream:hover { color: var(--terra-deep); }
.btn--sage { background: var(--sage); color: var(--cream); }
.btn--sage::before { background: #5d8276; }

.link-line { position: relative; font-weight: 600; padding-bottom: .25em; }
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: currentColor;
  transform-origin: right; transform: scaleX(1);
  transition: transform .5s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); transform-origin: right; animation: lineback .5s var(--ease) .25s forwards; }
@keyframes lineback { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ---------- 7. Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-soft); }
.nav {
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 2rem;
}
.nav-links { display: flex; gap: clamp(1.2rem, 2.5vw, 2.4rem); font-size: var(--fs-small); font-weight: 600; letter-spacing: .03em; }
.nav-links a { position: relative; padding: .4em 0; opacity: .85; transition: opacity .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-logo { justify-self: center; }
.nav-logo img { height: 30px; width: auto; transition: transform .5s var(--ease); }
.nav-logo:hover img { transform: scale(1.05) rotate(-1.5deg); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); font-size: var(--fs-small); font-weight: 600; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: .5em; }
.cart-count {
  display: grid; place-items: center;
  min-width: 21px; height: 21px; padding: 0 5px;
  background: var(--terra); color: var(--cream);
  font-size: .68rem; border-radius: 99px;
  transition: transform .4s var(--ease);
}
.cart-count.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.45); } }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 1001; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s; }
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 22px; }
.burger i:nth-child(3) { top: 28px; }
.menu-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.menu-open .burger i { background: var(--cream); }

/* ---------- 8. Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 950;
  background: var(--terra-deep);
  color: var(--cream);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .85s var(--ease);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 0;
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0% 0); visibility: visible; }
.menu-inner { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; width: min(1440px, 100%); margin-inline: auto; }
.menu-nav li { overflow: clip; }
.menu-nav a {
  display: inline-flex; align-items: baseline; gap: 1.2rem;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.16;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
}
.menu-open .menu-nav li:nth-child(1) a { transition-delay: .18s; }
.menu-open .menu-nav li:nth-child(2) a { transition-delay: .25s; }
.menu-open .menu-nav li:nth-child(3) a { transition-delay: .32s; }
.menu-open .menu-nav li:nth-child(4) a { transition-delay: .39s; }
.menu-open .menu-nav li:nth-child(5) a { transition-delay: .46s; }
.menu-open .menu-nav a { transform: translateY(0); }
.menu-nav a em { font-size: .32em; font-style: italic; font-family: var(--f-display); opacity: .55; letter-spacing: .02em; transition: opacity .3s, transform .5s var(--ease); }
.menu-nav a:hover em { opacity: 1; transform: translateX(6px); }
.menu-nav a .num { font-family: var(--f-text); font-size: .8rem; font-weight: 700; letter-spacing: .2em; opacity: .4; }
.menu-preview { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: clip; display: none; }
.menu-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s, transform .9s var(--ease); }
.menu-preview img.show { opacity: 1; transform: scale(1); }
.menu-foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
  font-size: var(--fs-small);
  width: min(1440px, 100%); margin-inline: auto;
  opacity: 0; transform: translateY(20px); transition: opacity .6s .5s, transform .6s var(--ease) .5s;
}
.menu-open .menu-foot { opacity: 1; transform: none; }
.menu-foot a { opacity: .8; } .menu-foot a:hover { opacity: 1; }

/* ---------- 9. Preloader & transitions ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 5000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease);
}
.preloader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader-inner { text-align: center; display: grid; gap: 1.6rem; justify-items: center; }
.preloader-logo { width: min(46vw, 250px); overflow: clip; }
.preloader-logo img { transform: translateY(105%); animation: rise 1.1s var(--ease) .15s forwards; }
@keyframes rise { to { transform: none; } }
.preloader-count { font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--terra); display: flex; gap: .6em; align-items: center; }
.preloader-count::before, .preloader-count::after { content: "✶"; font-style: normal; font-size: .7em; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-wipe { position: fixed; inset: 0; z-index: 4000; pointer-events: none; }
.page-wipe i { position: absolute; inset: 0; transform: translateY(101%); }
.page-wipe i:nth-child(1) { background: var(--peach); transition: transform .55s var(--ease-io); }
.page-wipe i:nth-child(2) { background: var(--terra); transition: transform .55s var(--ease-io) .07s; }
.page-wipe.go i { transform: translateY(0); }
.page-wipe.out i { transform: translateY(-101%); transition-duration: .65s; }

main { animation: pagein .9s var(--ease) both; }
@keyframes pagein { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Blason officiel injecté : largeur pilote, ratio préservé */
.js-badge svg { width: 100%; height: auto; display: block; }

/* ---------- 10. Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; align-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: clip;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: clamp(1.4rem, 2.6vw, 2.2rem); justify-items: start; position: relative; z-index: 3; }
.hero-title { font-size: var(--fs-hero); line-height: .84; }
.hero-title .accent { color: var(--terra); }
.hero-sub { max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stage { position: relative; z-index: 2; aspect-ratio: 4/4.6; }
.hero-card { position: absolute; border-radius: var(--radius); overflow: clip; box-shadow: 0 30px 80px -20px rgba(45, 27, 18, .35); will-change: transform; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card--a { inset: 0 12% 10% 0; rotate: -2.5deg; }
.hero-card--b { width: 46%; aspect-ratio: 3/4; right: 0; bottom: 0; rotate: 4deg; z-index: 2; outline: 6px solid var(--bg); }
.hero-badge {
  position: absolute; z-index: 3;
  width: clamp(96px, 11vw, 150px); aspect-ratio: 1;
  left: -7%; bottom: 16%;
  filter: drop-shadow(0 14px 30px rgba(126, 47, 0, .35));
}
.hero-badge svg { width: 100%; height: 100%; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; translate: -50% 0;
  font-size: var(--fs-tiny); letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  z-index: 5;
}
.hero-scroll::after { content: ""; width: 1px; height: 44px; background: var(--terra); animation: drip 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }


/* ---------- 11. Marquee ---------- */
.marquee {
  overflow: clip; white-space: nowrap;
  border-block: 1px solid var(--line);
  padding-block: 1.1em;
  background: var(--bg);
  position: relative; z-index: 4;
}
.marquee--terra { background: var(--terra); color: var(--cream); border: 0; }
.marquee--peach { background: var(--peach); color: var(--terra-deep); border: 0; }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 26s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  display: inline-flex; align-items: center; gap: 1.4em; padding-right: 1.4em;
  font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 400;
}
.marquee-track .star { font-size: .75em; animation: spin 7s linear infinite; }
.marquee-track em { font-style: italic; opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 12. Drop scroller (horizontal) ---------- */
.hscroll-zone { position: relative; }
.hscroll {
  display: flex; gap: clamp(1rem, 2vw, 2rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: .5rem var(--gutter) 2.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }
.hscroll-progress { height: 2px; background: var(--line-soft); width: min(260px, 40%); margin: 0 auto; border-radius: 2px; overflow: hidden; }
.hscroll-progress i { display: block; height: 100%; width: 100%; background: var(--terra); transform-origin: left; transform: scaleX(.15); transition: transform .3s; }

/* ---------- 13. Product card ---------- */
.pcard { width: clamp(260px, 26vw, 360px); position: relative; }
.pcard-media {
  position: relative; border-radius: var(--radius); overflow: clip;
  aspect-ratio: 4/5; background: var(--bg-soft);
  transform: translateZ(0);
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.pcard-media .alt { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); }
.pcard:hover .pcard-media img.main { transform: scale(1.07); }
.pcard:hover .pcard-media .alt { opacity: 1; transform: scale(1.02); }
.pcard-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: var(--fs-tiny); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--cream); color: var(--terra-deep);
  padding: .55em 1em; border-radius: 99px;
  rotate: -3deg;
}
.pcard-add {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream); color: var(--terra-deep);
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 400; line-height: 1;
  transform: translateY(14px); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s, background-color .3s, color .3s, scale .3s var(--ease);
  box-shadow: 0 10px 24px -8px rgba(45, 27, 18, .35);
}
.pcard:hover .pcard-add, .pcard-add:focus-visible { transform: translateY(0); opacity: 1; }
.pcard-add:hover { background: var(--terra); color: var(--cream); scale: 1.08; }
.pcard-info { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem .35rem 0; }
.pcard-name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; }
.pcard-name em { display: block; font-size: .68em; color: var(--ink-soft); font-weight: 400; margin-top: .2em; }
.pcard-price { font-weight: 700; color: var(--terra); white-space: nowrap; }
@media (hover: none) { .pcard-add { transform: none; opacity: 1; } }

/* ---------- 14. Éditorial / valeurs ---------- */
.manifesto { background: var(--terra-deep); color: var(--cream); border-radius: calc(var(--radius) * 1.6); overflow: clip; position: relative; }
.manifesto .inner { padding: clamp(3.5rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem); position: relative; z-index: 2; }
.manifesto-line {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 4.3vw, 3.6rem);
  line-height: 1.22;
  font-weight: 400;
}
.manifesto-line .hl { color: var(--peach); font-style: italic; }
.manifesto-deco { position: absolute; inset: auto -28% -75% auto; width: 75%; min-width: 480px; opacity: .2; color: var(--peach); pointer-events: none; }

/* Encart Slow fashion : palette pêche (fond pêche, motif orange, texte terra foncé) */
.manifesto--peach { background: var(--peach); color: var(--terra-deep); }
.manifesto--peach .manifesto-line .hl { color: var(--terra); }
.manifesto--peach .manifesto-deco { color: var(--orange); opacity: .22; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.value { padding: clamp(1.6rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 1.1rem; justify-items: start; background: color-mix(in srgb, var(--cream) 55%, transparent); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.value:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 26px 60px -24px rgba(126, 47, 0, .3); }
.value-icon { width: 54px; height: 54px; color: var(--terra); }
.value-icon svg { width: 100%; height: 100%; }
.value h3 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 400; line-height: 1.12; }
.value h3 em { display: block; font-size: .62em; color: var(--terra); font-style: italic; font-weight: 400; }
.value p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- 15. Grille éditoriale (drop 01) ---------- */
.edito-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.4vw, 2.4rem); align-items: start; }
.edito-grid .pcard { width: auto; }
.eg-a { grid-column: 1 / span 5; }
.eg-b { grid-column: 7 / span 6; margin-top: clamp(3rem, 8vw, 8rem); }
.eg-c { grid-column: 2 / span 4; margin-top: clamp(2rem, 5vw, 5rem); }
.eg-d { grid-column: 8 / span 5; margin-top: clamp(2rem, 6vw, 6rem); }
.eg-quote {
  grid-column: 1 / span 6; align-self: center; margin-top: clamp(3rem, 7vw, 7rem);
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.35; color: var(--terra); font-weight: 400;
}

/* ---------- 16. Bandeau parallax plein écran ---------- */
.fullbleed { position: relative; height: clamp(420px, 78vh, 760px); overflow: clip; }
.fullbleed img { position: absolute; inset: -18% 0; width: 100%; height: 136%; object-fit: cover; will-change: transform; }
.fullbleed-caption {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; text-align: center; gap: 1rem;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(45,27,18,.05), rgba(45,27,18,.38));
  padding: var(--gutter);
}
.fullbleed-caption .display { font-size: var(--fs-h1); text-wrap: balance; }

/* ---------- 17. Mosaïque famille ---------- */
.mosaic { display: grid; gap: clamp(.8rem, 1.6vw, 1.6rem); }
.mosaic-row { display: flex; gap: inherit; width: max-content; will-change: transform; }
.mosaic-row .tile { width: clamp(180px, 22vw, 320px); aspect-ratio: 4/5; border-radius: calc(var(--radius) * .7); overflow: clip; flex: none; }
.mosaic-row .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic-row .tile:hover img { transform: scale(1.06); }

/* ---------- 18. Newsletter ---------- */
.newsletter { background: var(--sage); color: var(--cream); border-radius: calc(var(--radius) * 1.6); overflow: clip; position: relative; }
.newsletter .inner { padding: clamp(3rem, 6vw, 6rem); display: grid; gap: 2rem; justify-items: center; text-align: center; position: relative; z-index: 2; }
.newsletter h2 { font-size: var(--fs-h2); max-width: 18ch; text-wrap: balance; }
.newsletter h2 em { color: var(--peach); }
.newsletter p { max-width: 52ch; opacity: .92; }
.nl-form { display: flex; width: min(520px, 100%); background: color-mix(in srgb, var(--cream) 14%, transparent); border: 1.5px solid color-mix(in srgb, var(--cream) 45%, transparent); border-radius: 99px; padding: .4rem; transition: border-color .3s, background-color .3s; }
.nl-form:focus-within { border-color: var(--cream); background: color-mix(in srgb, var(--cream) 20%, transparent); }
.nl-form input { flex: 1; background: none; border: 0; outline: 0; padding: .7em 1.2em; color: var(--cream); min-width: 0; }
.nl-form input::placeholder { color: color-mix(in srgb, var(--cream) 65%, transparent); }
.nl-form button { flex: none; }
.nl-note { font-size: var(--fs-tiny); letter-spacing: .08em; opacity: .75; }
.newsletter-deco { position: absolute; width: 34%; bottom: -10%; left: -4%; opacity: .25; pointer-events: none; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--terra-deep); color: var(--cream); margin-top: clamp(4rem, 9vw, 9rem); position: relative; overflow: clip; }
.footer-cta { text-align: center; padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(2rem, 4vw, 3.5rem); display: grid; gap: 1.6rem; justify-items: center; }
.footer-cta .display { font-size: var(--fs-h1); }
.footer-cta .display em { color: var(--peach); }
.footer-grid {
  width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem;
  padding-block: 3rem; border-top: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  font-size: var(--fs-small);
}
.footer-brand { display: grid; gap: 1.2rem; align-content: start; justify-items: start; }
.footer-brand .slogan { font-family: var(--f-display); font-style: italic; opacity: .85; }
.footer h4 { font-size: var(--fs-tiny); letter-spacing: .28em; text-transform: uppercase; opacity: .55; margin-bottom: 1.1rem; }
.footer-grid li { margin-bottom: .6rem; }
.footer-grid li a { opacity: .85; transition: opacity .3s, padding-left .4s var(--ease); }
.footer-grid li a:hover { opacity: 1; padding-left: 6px; }
.footer-logo { padding: 0 var(--gutter); }
.footer-logo img { width: 100%; height: auto; transition: transform .8s var(--ease); transform-origin: bottom; }
.footer-logo:hover img { transform: scale(1.012) rotate(-.4deg); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto;
  padding-block: 1.6rem; font-size: var(--fs-tiny); opacity: .65;
}
.footer-legal a:hover { text-decoration: underline; }
.footer-badge { position: absolute; right: var(--gutter); top: clamp(1.6rem, 3vw, 2.6rem); width: clamp(40px, 4vw, 60px); opacity: .9; }
.footer-badge svg { width: 100%; height: auto; }

/* ---------- 20. Boutique ---------- */
.shop-head { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)); display: grid; gap: 1.6rem; }
.shop-title { font-size: var(--fs-h1); }
.shop-title em { color: var(--terra); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.filters .sep { width: 1px; height: 24px; background: var(--line); margin-inline: .6rem; }
.chip {
  padding: .6em 1.3em; border-radius: 99px;
  border: 1.5px solid var(--line);
  font-size: var(--fs-small); font-weight: 600;
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--terra); color: var(--terra); }
.chip.on { background: var(--terra); border-color: var(--terra); color: var(--cream); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: clamp(1.2rem, 2.6vw, 2.6rem) clamp(1rem, 2vw, 2rem); padding-block: clamp(2rem, 4vw, 4rem); }
.shop-grid .pcard { width: auto; }
.pcard.hide { display: none; }
.shop-count { font-size: var(--fs-small); color: var(--ink-soft); }
.drop-banner { display: flex; align-items: baseline; gap: 1.5rem; padding: 1.2rem 0 .4rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.drop-banner .n { font-family: var(--f-display); font-style: italic; color: var(--terra); }

/* ---------- 21. Fiche produit ---------- */
.product { padding-top: calc(var(--nav-h) + 1.5rem); }
.crumbs { font-size: var(--fs-tiny); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); display: flex; gap: .8em; flex-wrap: wrap; margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--terra); }
.product-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pgallery { display: grid; gap: 1rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.pgallery-main { border-radius: var(--radius); overflow: clip; aspect-ratio: 4/5; background: var(--bg-soft); position: relative; }
.pgallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.pgallery-main:hover img { transform: scale(1.04); }
.pgallery-thumbs { display: flex; gap: .8rem; }
.pgallery-thumbs button { width: 84px; aspect-ratio: 4/5; border-radius: calc(var(--radius) * .5); overflow: clip; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.pgallery-thumbs button.on { opacity: 1; outline-color: var(--terra); }
.pgallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { display: grid; gap: 1.5rem; align-content: start; }
.pinfo-name { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.pinfo-pt { font-family: var(--f-display); font-style: italic; color: var(--terra); font-size: 1.15rem; margin-top: .3rem; }
.pinfo-price { font-size: 1.6rem; font-weight: 700; display: flex; align-items: baseline; gap: 1rem; }
.pinfo-price .ship { font-size: var(--fs-tiny); font-weight: 400; color: var(--ink-soft); letter-spacing: .05em; }
.pinfo-desc { color: var(--ink-soft); }
.sizes { display: grid; gap: .8rem; }
.sizes-head { display: flex; justify-content: space-between; font-size: var(--fs-small); font-weight: 600; }
.sizes-head button { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.sizes-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.size {
  min-width: 52px; padding: .65em .9em; text-align: center;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-weight: 600; font-size: var(--fs-small);
  transition: all .3s var(--ease);
}
.size:hover { border-color: var(--ink); transform: translateY(-2px); }
.size.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.addrow { display: flex; gap: .8rem; align-items: stretch; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; }
.qty button { width: 42px; height: 100%; font-size: 1.1rem; transition: color .2s; }
.qty button:hover { color: var(--terra); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; }
.add-btn { flex: 1; justify-content: center; font-size: 1.02rem; }
.pinfo-trust { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; font-size: var(--fs-small); color: var(--ink-soft); padding: 1.1rem 0; border-block: 1px solid var(--line-soft); }
.pinfo-trust span { display: flex; gap: .6em; align-items: center; }
.pinfo-trust svg { width: 19px; height: 19px; color: var(--terra); flex: none; }
.acc { border-bottom: 1px solid var(--line-soft); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .98rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { font-style: normal; font-family: var(--f-display); font-size: 1.3rem; color: var(--terra); transition: rotate .45s var(--ease); line-height: 1; }
.acc[open] summary i { rotate: 45deg; }
.acc .acc-body { padding: 0 0 1.3rem; color: var(--ink-soft); font-size: .96rem; max-width: 60ch; }
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: .8rem var(--gutter);
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy .n { font-family: var(--f-display); font-size: 1.05rem; }
.related { padding-block: clamp(3rem, 7vw, 6rem); }

/* ---------- 22. Histoire ---------- */
.story-hero { min-height: 86svh; display: grid; place-content: center; text-align: center; gap: 1.8rem; padding: calc(var(--nav-h) + 3rem) var(--gutter) 3rem; position: relative; overflow: clip; }
.story-hero .display { font-size: var(--fs-hero); line-height: .9; max-width: 11ch; text-wrap: balance; }
.story-hero .display .accent { color: var(--terra); }
.story-block { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-block.rev > :first-child { order: 2; }
.story-block h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.story-block h2 em { color: var(--terra); }
.story-block .img-reveal { aspect-ratio: 4/5; }
.story-block p + p { margin-top: 1em; }
.story-block .pt-note { font-family: var(--f-display); font-style: italic; color: var(--terra); margin-top: 1.6rem; font-size: 1.15rem; }
.big-quote {
  text-align: center; padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.9rem, 4.5vw, 3.8rem); line-height: 1.3;
  color: var(--terra-deep); max-width: 26ch; margin-inline: auto;
}
.big-quote .sig { display: block; font-size: .4em; font-style: normal; font-family: var(--f-text); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--terra); margin-top: 1.8em; }

/* ---------- 23. Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.jcard { display: grid; gap: 1rem; }
.jcard .img-reveal { aspect-ratio: 4/3; }
.jcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.jcard:hover img { transform: scale(1.05); }
.jcard time { font-size: var(--fs-tiny); letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--terra); }
.jcard h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 400; line-height: 1.2; }
.jcard p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- 24. Contact — la lettre ---------- */
.contact-zone { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(1.2rem, 2.4vw, 2.4rem); align-items: stretch; }

.letter {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.2);
  padding: clamp(1.8rem, 4.5vw, 4rem);
  padding-top: clamp(2.4rem, 5vw, 4.5rem);
  box-shadow: 0 34px 80px -34px rgba(126, 47, 0, .22);
  display: grid; gap: clamp(1.3rem, 2.6vw, 2.1rem);
  align-content: start;
  overflow: clip;
}
.letter::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 7px;
  background: repeating-linear-gradient(90deg,
    var(--terra) 0 22px, var(--peach) 22px 44px, var(--sage-light) 44px 66px, var(--orange) 66px 88px);
}
.letter-stamp {
  position: absolute; top: clamp(1.2rem, 2.5vw, 2.2rem); right: clamp(1rem, 2.5vw, 2.2rem);
  width: clamp(78px, 9vw, 118px); aspect-ratio: 1;
  color: var(--terra); rotate: 8deg;
  transition: rotate .7s var(--ease), scale .7s var(--ease);
}
.letter:focus-within .letter-stamp, .letter:hover .letter-stamp { rotate: -5deg; scale: 1.06; }
.letter-hello { font-family: var(--f-display); font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; }
.letter-hello em { color: var(--terra); }
.letter-label { font-size: var(--fs-tiny); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: .7rem; }

.madlib { font-family: var(--f-display); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.95; max-width: 30ch; }
.madlib input {
  font: inherit; font-style: italic; color: var(--terra);
  background: transparent; border: 0; border-bottom: 2px solid var(--line);
  border-radius: 0; outline: 0; padding: 0 .2em;
  width: 9ch; max-width: 100%;
  transition: border-color .35s, background-color .35s;
}
.madlib input[type="email"] { width: 16ch; }
.madlib input:focus { border-color: var(--terra); background: color-mix(in srgb, var(--peach) 24%, transparent); }
.madlib input::placeholder { color: color-mix(in srgb, var(--terra) 36%, transparent); }

.subject-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.subject-chips .chip { font-size: .78rem; padding: .55em 1.15em; background: transparent; }

.letter-msg {
  display: block; width: 100%;
  border: 0; outline: 0; background: transparent; padding: 0;
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 2.15;
  color: var(--ink);
  min-height: calc(2.15em * 4); resize: vertical;
  background-image: repeating-linear-gradient(transparent 0 calc(2.15em - 1px), var(--line) calc(2.15em - 1px) 2.15em);
  transition: background-image .3s;
}
.letter-msg:focus { background-image: repeating-linear-gradient(transparent 0 calc(2.15em - 1px), color-mix(in srgb, var(--terra) 42%, transparent) calc(2.15em - 1px) 2.15em); }
.letter-msg::placeholder { color: color-mix(in srgb, var(--ink-soft) 50%, transparent); }

.letter-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem; flex-wrap: wrap; }
.letter-sign { display: grid; gap: .2rem; }
.letter-sign b { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 1.6rem; color: var(--terra); rotate: -2deg; width: max-content; }
.letter-sign small { font-size: var(--fs-tiny); color: var(--ink-soft); letter-spacing: .06em; }

.contact-side { display: grid; grid-template-rows: 1fr auto; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.side-photo { position: relative; border-radius: calc(var(--radius) * 1.2); overflow: clip; min-height: 320px; }
.side-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.side-photo:hover img { transform: scale(1.05); }
.side-photo .ov {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.7rem;
  background: linear-gradient(180deg, transparent, rgba(45, 27, 18, .66));
  color: var(--cream);
}
.side-photo .ov strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; display: block; }
.side-photo .ov span { font-size: var(--fs-small); opacity: .85; }
.side-card {
  background: var(--terra-deep); color: var(--cream);
  border-radius: calc(var(--radius) * 1.2);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid; gap: 1.2rem; align-content: center;
  position: relative; overflow: clip;
}
.side-card .deco { position: absolute; right: -8%; bottom: -16%; width: 52%; opacity: .22; pointer-events: none; }
.side-mail { font-family: var(--f-display); font-size: clamp(1.5rem, 2.3vw, 2rem); width: max-content; max-width: 100%; }
.side-mail em { color: var(--peach); }
.side-list { display: grid; gap: .7rem; font-size: var(--fs-small); position: relative; z-index: 1; }
.side-list li { display: flex; gap: .75em; align-items: center; opacity: .94; }
.side-list i { width: 18px; height: 18px; color: var(--peach); flex: none; }
.side-list i svg { width: 100%; height: 100%; display: block; }
.side-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* FAQ éditoriale */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 2rem); display: grid; gap: 1.4rem; justify-items: start; }
.faq-intro .display { font-size: var(--fs-h2); }
.faq-intro .display em { color: var(--terra); }
.acc summary { gap: 1.2rem; transition: color .3s; padding-block: 1.3rem; }
.acc summary:hover, .acc[open] summary { color: var(--terra); }
.acc .num { font-family: var(--f-text); font-size: .68rem; font-weight: 600; letter-spacing: .2em; color: var(--terra); flex: none; }
.acc summary .q { flex: 1; }

/* ---------- 25. Panier (drawer) ---------- */
.cart-veil { position: fixed; inset: 0; z-index: 980; background: rgba(45, 27, 18, .45); opacity: 0; pointer-events: none; transition: opacity .5s; backdrop-filter: blur(3px); }
.cart-open .cart-veil { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 990;
  width: min(460px, 100%);
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform .7s var(--ease);
  box-shadow: -30px 0 80px rgba(45, 27, 18, .25);
}
.cart-open .cart { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 400; }
.cart-head h3 small { font-family: var(--f-text); font-size: .8rem; color: var(--ink-soft); font-weight: 400; margin-left: .5em; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; transition: background-color .3s, rotate .5s var(--ease); }
.cart-close:hover { background: var(--bg-soft); rotate: 90deg; }
.ship-bar { padding: 1rem 1.6rem; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-small); display: grid; gap: .6rem; }
.ship-bar .track { height: 6px; border-radius: 99px; background: var(--bg-deep); overflow: hidden; }
.ship-bar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--terra)); border-radius: inherit; transition: width .8s var(--ease); }
.ship-bar strong { color: var(--terra); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; display: grid; gap: 1.2rem; align-content: start; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; animation: itemin .5s var(--ease); }
@keyframes itemin { from { opacity: 0; transform: translateX(24px); } }
.cart-item img { width: 76px; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }
.cart-item .nm { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.2; }
.cart-item .meta { font-size: var(--fs-tiny); color: var(--ink-soft); margin-top: .25rem; }
.cart-item .qty { margin-top: .5rem; height: 32px; width: max-content; }
.cart-item .qty button { width: 30px; }
.cart-item .price { font-weight: 700; }
.cart-item .rm { font-size: var(--fs-tiny); color: var(--ink-soft); text-decoration: underline; margin-top: .4rem; transition: color .2s; }
.cart-item .rm:hover { color: var(--terra); }
.cart-empty { text-align: center; display: grid; gap: 1rem; justify-items: center; padding: 3rem 1rem; color: var(--ink-soft); }
.cart-empty .ico { width: 64px; color: var(--sage); }
.cart-foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; background: var(--bg-soft); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; }
.cart-note { font-size: var(--fs-tiny); color: var(--ink-soft); text-align: center; }

/* Toast */
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; z-index: 1500;
  translate: -50% calc(100% + 2.5rem);
  background: var(--ink); color: var(--cream);
  padding: .9em 1.6em; border-radius: 99px;
  font-size: var(--fs-small); font-weight: 700;
  display: flex; gap: .7em; align-items: center;
  transition: translate .6s var(--ease);
  box-shadow: 0 18px 50px -12px rgba(45, 27, 18, .5);
}
.toast.show { translate: -50% 0; }
.toast .st { color: var(--peach); animation: spin 4s linear infinite; }

/* ---------- 26. 404 ---------- */
.lost { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: 1.6rem; padding: var(--gutter); }
.lost .display { font-size: var(--fs-hero); }
.lost .sardine { width: clamp(180px, 30vw, 320px); margin-inline: auto; animation: swim 5s var(--ease-io) infinite alternate; }
@keyframes swim { from { transform: translateX(-6%) rotate(-3deg); } to { transform: translateX(6%) rotate(3deg); } }

/* ---------- 26b. Coming soon ---------- */
.soon-hero {
  min-height: 100svh;
  display: grid; place-content: center; justify-items: center;
  text-align: center; gap: clamp(1.4rem, 2.6vw, 2.2rem);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 4.5rem;
  position: relative; overflow: clip;
}
.soon-hero .display { font-size: var(--fs-hero); line-height: .88; max-width: 13ch; text-wrap: balance; }
.soon-hero .display .accent { color: var(--terra); }
.soon-float {
  position: absolute; border-radius: var(--radius); overflow: clip;
  box-shadow: 0 30px 70px -24px rgba(45, 27, 18, .35);
  will-change: transform; z-index: 0;
}
.soon-float img { width: 100%; height: 100%; object-fit: cover; }
.soon-float--a { width: clamp(150px, 17vw, 280px); aspect-ratio: 4/5; left: max(2vw, calc(50vw - 46rem)); top: 16%; rotate: -6deg; }
.soon-float--b { width: clamp(130px, 14vw, 230px); aspect-ratio: 4/5; right: max(2.5vw, calc(50vw - 45rem)); top: 12%; rotate: 5deg; }
.soon-float--c { width: clamp(120px, 12vw, 200px); aspect-ratio: 4/5; right: max(6vw, calc(50vw - 38rem)); bottom: 9%; rotate: -4deg; }
.soon-hero > * { position: relative; z-index: 1; }

.countdown { display: flex; align-items: baseline; gap: clamp(.8rem, 2.4vw, 2rem); }
.cd-cell { display: grid; justify-items: center; gap: .1em; }
.cd-n { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.cd-l { font-size: var(--fs-tiny); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.cd-sep { font-family: var(--f-display); font-style: italic; color: var(--terra); font-size: clamp(1.2rem, 3vw, 2.2rem); animation: spin 8s linear infinite; }

.nl-form--ink {
  background: var(--cream);
  border-color: var(--line);
  box-shadow: 0 22px 50px -22px rgba(126, 47, 0, .22);
}
.nl-form--ink input { color: var(--ink); }
.nl-form--ink input::placeholder { color: color-mix(in srgb, var(--ink-soft) 60%, transparent); }
.nl-form--ink:focus-within { border-color: var(--terra); background: var(--cream); }

.img-marquee { border: 0; padding-block: 0; background: transparent; }
.img-marquee .marquee-track { gap: clamp(.8rem, 1.6vw, 1.4rem); padding-right: clamp(.8rem, 1.6vw, 1.4rem); align-items: stretch; }
.img-marquee .tile {
  width: clamp(170px, 21vw, 280px); aspect-ratio: 4/5; flex: none;
  border-radius: calc(var(--radius) * .7); overflow: clip;
}
.img-marquee .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.img-marquee .tile:hover img { transform: scale(1.05); }
.img-marquee .tile:nth-child(odd) { translate: 0 clamp(8px, 1.4vw, 22px); }

/* Décors SVG flottants (version sans photos) */
.soon-deco {
  position: absolute; pointer-events: none; z-index: 0;
  animation: bob 7s ease-in-out infinite alternate;
}
.soon-deco svg { width: 100%; height: auto; }
@keyframes bob {
  from { transform: translateY(-10px) rotate(-3deg); }
  to   { transform: translateY(12px) rotate(4deg); }
}
.soon-deco--sard { width: clamp(120px, 13vw, 200px); left: max(4vw, calc(50vw - 44rem)); bottom: 13%; animation-delay: -4s; animation-duration: 9s; }

/* Panneau blason (histoire sans photo) */
.story-badge {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: var(--terra);
  display: grid; place-items: center;
  position: relative; overflow: clip;
  box-shadow: 0 34px 80px -30px rgba(126, 47, 0, .4);
}
.story-badge .js-badge {
  width: 29%; color: var(--cream);
  transition: scale .8s var(--ease), rotate .8s var(--ease);
}
.story-badge:hover .js-badge { scale: 1.05; rotate: -2deg; }

.soon-steps { counter-reset: step; }
.soon-steps .value::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--f-display); font-style: italic;
  font-size: 2.4rem; color: var(--peach); line-height: 1;
}

@media (max-width: 1024px) {
  .soon-float--a { top: auto; bottom: 6%; left: -4%; width: 24vw; }
  .soon-float--b { top: 9%; right: -3%; width: 21vw; }
}
@media (max-width: 1000px) {
  .soon-deco--sard { width: 90px; left: calc(50% - 45px); bottom: 1.5rem; }
}
@media (max-width: 820px) {
  .br-d { display: none; }
  .soon-steps .value { padding: 1.5rem 1.2rem; }
  .soon-steps .value h3 { font-size: clamp(1.15rem, 5.2vw, 2.2rem); white-space: nowrap; }
  #historia h2 { font-size: clamp(1.45rem, 6.6vw, 2.6rem); white-space: nowrap; }
}
@media (max-width: 700px) {
  .manifesto-deco { width: 320%; min-width: 0; inset: -18rem -80% auto auto; }
}
@media (max-width: 600px) {
  .soon-float--a, .soon-float--b { opacity: .85; }
  :root { --gutter: 1.5rem; }
  .countdown { width: 100%; justify-content: space-between; gap: .4rem; }
  .cd-sep { display: none; }
  .cd-n { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .cd-l { font-size: .58rem; letter-spacing: .12em; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; padding-block: 2.4rem; }
  .footer-brand p br { display: none; }
  .footer h4 { margin-bottom: .7rem; }
  .footer-grid li { display: inline-block; margin-right: 1.4rem; }
  .footer-cta .btn { width: 100%; justify-content: center; }
  .footer-legal { flex-direction: column; gap: .4rem; padding-block: 1.4rem; }
  .soon-deco--sard { width: 80px; left: calc(50% - 40px); bottom: 1.5rem; }
}

/* ---------- 27. Responsive ---------- */
@media (max-width: 1024px) {
  .values { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .pgallery { position: static; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .menu-inner { grid-template-columns: 1fr; align-content: center; }
}
@media (min-width: 1025px) { .menu-preview { display: block; } }
@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-logo { justify-self: start; order: -1; }
  .nav-logo img { height: 24px; }
  .burger { display: block; }
  .hero { min-height: auto; padding-bottom: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stage { aspect-ratio: 4/4.4; margin-inline: 4%; }
  .hero-badge { left: -4%; bottom: 8%; }
  .hero-scroll { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .edito-grid > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .edito-grid .eg-c { grid-column: 1 / span 8 !important; }
  .edito-grid .eg-quote { grid-column: 1 / -1 !important; }
  .story-block { grid-template-columns: 1fr; }
  .story-block.rev > :first-child { order: 0; }
  .contact-zone { grid-template-columns: 1fr; }
  .contact-side { grid-template-rows: none; grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .madlib { max-width: none; }
  .journal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-buy { display: flex; }
  .pinfo-trust { grid-template-columns: 1fr; }
  .footer-badge { display: none; }
}
@media (max-width: 480px) {
  .pcard { width: min(78vw, 320px); }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- 28. Accessibilité & préférences ---------- */
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: -100%; left: 1rem; z-index: 6000; background: var(--terra); color: var(--cream); padding: .8em 1.4em; border-radius: 0 0 12px 12px; font-weight: 700; transition: top .3s; }
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .split .w > span, .img-reveal img { opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
  html { scroll-behavior: auto; }
}
