/* Rimas Parfum — structure et style Essentia (fond crème, grotesque, produit fixé, grand mot en fond),
   apparition « par le bas » et imprimante reprises de LE TEMPLE. */
:root {
  --bg: #efe9e2;
  --bg-2: #f6f2ec;
  --ink: #1d1b19;
  --muted: #8b847b;
  --faint: #c9c1b6;
  --line: #ded7cd;
  --card: #fbf9f6;
  --sage: #d5dccd;
  --sage-ink: #3d4a37;
  --rouge: #c8312c;
  --giant: #e3dcd3;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ar: "Noto Naskh Arabic", "Geeza Pro", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav: 68px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; }
body.loading, body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
.muted { color: var(--faint); }
section { padding-left: var(--gut); padding-right: var(--gut-r); }

/* ---------- boutons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 10px; font-weight: 500; font-size: 14px; transition: transform .25s var(--ease), background .2s; }
.pill:active { transform: scale(.97); }
.pill.sage { background: var(--sage); color: var(--sage-ink); }
.pill.dark { background: var(--ink); color: var(--bg-2); }
.pill.ghost { background: var(--card); border: 1px solid var(--line); }
.pill.grow { flex: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--nav); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: env(safe-area-inset-top, 0px) var(--gut-r) 0 var(--gut); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 500; letter-spacing: -0.03em; }
.brand svg { width: 30px; fill: var(--ink); }
.brand sup { font-size: 10px; margin-left: -6px; }
.links { display: flex; gap: 28px; font-size: 14px; }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-r { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.nav-r .pill { height: 38px; }
.bag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.bag span { min-width: 18px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--ink); color: var(--bg-2); font-size: 11px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.bag.bump span { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- apparitions (LE SEUIL, repris de Le Temple) ---------- */
[data-reveal] { --dur: 900ms; }
[data-reveal-ready] [data-reveal="up"] { overflow: hidden; padding-bottom: .06em; }
[data-reveal-ready] [data-reveal="up"] > * { display: block; transform: translate3d(0, 105%, 0); transition: transform var(--dur) var(--ease) var(--reveal-delay, 0ms); }
[data-reveal="up"][data-inview="true"] > * { transform: none; }
[data-reveal-ready] [data-reveal="frame"] { clip-path: inset(0 0 100% 0); transition: clip-path var(--dur) var(--ease) var(--reveal-delay, 0ms); }
[data-reveal="frame"][data-inview="true"] { clip-path: inset(0); }
[data-reveal-ready] [data-reveal="frame"] img { transform: scale(1.06); transition: transform calc(var(--dur) + 400ms) var(--ease) var(--reveal-delay, 0ms); }
[data-reveal="frame"][data-inview="true"] img { transform: none; }
[data-reveal-ready] [data-reveal="fade"] { opacity: 0; transform: translate3d(0, 14px, 0); filter: blur(6px); transition: opacity var(--dur) var(--ease) var(--reveal-delay, 0ms), transform var(--dur) var(--ease) var(--reveal-delay, 0ms), filter var(--dur) var(--ease) var(--reveal-delay, 0ms); }
[data-reveal="fade"][data-inview="true"] { opacity: 1; transform: none; filter: none; }

/* ---------- 1. hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--nav); overflow: hidden; background: #ebe5de; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 35%; z-index: -2; transform: scale(1.04); animation: heroIn 2.2s var(--ease) both; animation-play-state: paused; }
body.ready .hero-img { animation-play-state: running; }
@keyframes heroIn { from { transform: scale(1.1); } }
.hero-copy { position: absolute; left: var(--gut); top: calc(var(--nav) + 9vh); max-width: 440px; display: grid; gap: 4px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; }
.hero-copy p { margin-top: 18px; color: #6e675f; max-width: 34ch; }
.hero-meta { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #6e675f; }
.hero-meta.center { justify-content: center; margin: 0 auto 18px; }
.dots { display: inline-flex; }
.dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -6px; background: #b9b2a8; }
.dots i:first-child { margin-left: 0; background: #1d1b19; }
.dots i:nth-child(2) { background: #f0c6cf; }
.dots i:nth-child(3) { background: #c5cfbc; }
.giant { position: absolute; z-index: -1; left: 0; right: 0; bottom: -0.2em; text-align: center; font-size: 30vw; line-height: .9; font-weight: 500; letter-spacing: -0.06em; color: var(--giant); mix-blend-mode: multiply; pointer-events: none; user-select: none; transform: translateY(var(--gy, 0)); }

/* ---------- 2. manifeste ---------- */
.statement { padding-block: clamp(110px, 18vh, 200px); display: grid; place-items: center; }
.statement p { max-width: 980px; text-align: center; font-size: clamp(28px, 4vw, 54px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.statement .w { color: var(--faint); transition: color .5s ease, filter .5s ease; filter: blur(1.5px); }
.statement .w.on { color: var(--ink); filter: none; }

/* ---------- 3. features + produit fixé ---------- */
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.f-item { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; max-width: 470px; }
.tag { display: inline-grid; place-items: center; width: 34px; height: 22px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.f-item h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.f-item p { color: var(--muted); max-width: 44ch; }
.f-stage { position: relative; background: var(--bg); } /* le multiply a besoin d'un fond peint derrière lui */
.f-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.f-sticky img { width: min(420px, 80%); transform: rotate(var(--rot, -8deg)) translateY(var(--ty, 0px)); will-change: transform; }

/* ---------- 4. rituel : cartes empilées ---------- */
.ritual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding-block: 120px 80px; }
.r-title { position: sticky; top: calc(var(--nav) + 30vh); align-self: start; }
.r-title h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; }
.r-title b { font-weight: 600; }
.r-cards { display: grid; gap: 34vh; padding-bottom: 10vh; }
.r-card { position: sticky; top: calc(var(--nav) + 24px + var(--i) * 22px); margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; max-height: 78vh; box-shadow: 0 30px 60px -30px rgba(40, 30, 20, .35); background: var(--card); }
.r-card img { width: 100%; height: 100%; object-fit: cover; }
.r-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 24px; display: grid; gap: 6px; color: #fff; background: linear-gradient(transparent, rgba(20, 15, 10, .55)); }
.r-card figcaption b { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.r-card figcaption span:last-child { max-width: 38ch; opacity: .9; font-size: 14px; }
.chip { justify-self: start; font-size: 11px; padding: 4px 9px; border-radius: 6px; background: var(--sage); color: var(--sage-ink); }

/* ---------- 5. senteurs ---------- */
.scents { padding-block: 120px; display: grid; gap: 48px; }
.s-head { display: grid; gap: 2px; max-width: 640px; }
.s-head h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; }
.s-head p { margin-top: 16px; color: var(--muted); }
.s-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.s-img { position: sticky; top: calc(var(--nav) + 20px); border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.s-img img { width: 100%; height: 100%; object-fit: cover; }
.s-list { display: grid; gap: 14px; }
.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); gap: 2px; justify-self: start; }
.seg button { height: 34px; padding: 0 16px; border-radius: 7px; font-size: 13px; color: var(--muted); transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg-2); }
.seg button em { font-style: normal; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
.seg.small button { height: 28px; padding: 0 12px; font-size: 12px; }
.seg.wide { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; }
#scentRows { list-style: none; margin: 0; padding: 0; }
#scentRows li { border-bottom: 1px solid var(--line); }
#scentRows button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; text-align: left; font-size: 17px; letter-spacing: -0.01em; }
#scentRows button span:last-child { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; transition: transform .35s var(--ease), color .2s; }
#scentRows button:hover span:last-child { transform: translateX(-6px); color: var(--ink); }
#scentRows li { animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--k) * 28ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 6. promesses ---------- */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 40px 120px; }
.promises article { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.promises .ico { font-size: 18px; color: var(--muted); }
.promises h3 { font-size: 17px; letter-spacing: -0.01em; }
.promises .num { font-size: 12px; color: var(--muted); }
.promises p { grid-column: 1 / -1; color: var(--muted); font-size: 14px; max-width: 36ch; }

/* ---------- campagne plein cadre (images fournies) ---------- */
.campaign { position: relative; padding: 0; height: 92vh; overflow: hidden; }
.campaign img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.campaign .c-txt { position: absolute; left: var(--gut); bottom: 8vh; color: #fff; display: grid; gap: 6px; max-width: 520px; }
.campaign h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; }
.campaign p { opacity: .85; }

/* ---------- 7. avant / après ---------- */
.story { display: grid; gap: 120px; padding-block: 120px; }
.st-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.st-row.rev .st-img { order: 2; }
.st-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; max-height: 80vh; }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.st-txt { display: grid; gap: 18px; max-width: 460px; }
.st-txt h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; }
.st-txt p { color: var(--muted); }

/* ---------- 8. bento coffret ---------- */
.bento-wrap { padding-block: 20px 120px; }
.bento { background: var(--sage); border-radius: 22px; padding: 10px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.bento > * { border-radius: 14px; overflow: hidden; min-width: 0; }
.b-hero { grid-row: span 2; }
.b-hero img, .b-img img { width: 100%; height: 100%; object-fit: cover; }
.b-tile { background: color-mix(in srgb, var(--sage) 55%, #fff); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 260px; color: var(--sage-ink); }
.b-tile .big { font-size: clamp(44px, 5vw, 72px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.b-tile p { font-size: 14px; max-width: 30ch; }
.b-tile b { color: var(--ink); font-weight: 600; }
.b-ar .ar { font: 500 clamp(20px, 2vw, 26px)/1.6 var(--ar); direction: rtl; text-align: right; color: var(--ink); max-width: none; }
.b-img { position: relative; min-height: 260px; }
.b-cap { position: absolute; left: 14px; bottom: 14px; font-size: 12px; background: rgba(255, 255, 255, .85); padding: 6px 10px; border-radius: 7px; }
.b-cta .pill { align-self: flex-start; }

/* ---------- 9. grand texte + cartes ---------- */
.wall { position: relative; padding-block: 140px; min-height: 120vh; display: grid; place-items: center; overflow: hidden; }
.wall-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: clamp(80px, 15vw, 230px); line-height: .9; font-weight: 500; letter-spacing: -0.06em; color: var(--giant); mix-blend-mode: multiply; pointer-events: none; }
.wall-cards { position: relative; width: min(1100px, 100%); height: 900px; }
.w-card { position: absolute; width: 236px; padding: 20px; border-radius: 14px; background: var(--card); box-shadow: 0 24px 50px -28px rgba(40, 30, 20, .35); display: grid; gap: 14px; text-align: left; transform: translateY(var(--wy, 0)) rotate(var(--r, 0deg)); transition: box-shadow .3s; }
.w-card:hover { box-shadow: 0 30px 60px -24px rgba(40, 30, 20, .45); }
.w-card .g { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.w-card b { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.w-card .lab { justify-self: start; border: 1.5px solid #222; padding: 5px 12px; font: 600 13px "Nunito", var(--sans); background: #fff; text-transform: lowercase; }
.w-card .go { font-size: 12px; color: var(--muted); }

/* ---------- 10. appel ---------- */
.join { padding-block: 120px; text-align: center; display: grid; justify-items: center; gap: 2px; }
.join h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; }
.join-imgs { position: relative; height: 240px; width: 420px; max-width: 100%; margin-top: 50px; }
.join-imgs img { position: absolute; top: 0; left: 50%; width: 170px; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; box-shadow: 0 20px 40px -20px rgba(40, 30, 20, .4); transition: transform .8s var(--ease); }
.join-imgs img:nth-child(1) { transform: translateX(-120%) rotate(-8deg); opacity: .8; }
.join-imgs img:nth-child(2) { transform: translateX(-50%); z-index: 2; }
.join-imgs img:nth-child(3) { transform: translateX(20%) rotate(8deg); opacity: .8; }
.join-imgs:hover img:nth-child(1) { transform: translateX(-135%) rotate(-12deg); }
.join-imgs:hover img:nth-child(3) { transform: translateX(35%) rotate(12deg); }

/* ---------- 11. boutique ---------- */
.shop { display: grid; grid-template-columns: 76px minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; padding-block: calc(var(--nav) + 40px) 120px; align-items: start; scroll-margin-top: 0; }
.g-thumbs { display: grid; gap: 10px; position: sticky; top: calc(var(--nav) + 20px); }
.g-thumbs button { aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1.5px solid transparent; background: var(--card); padding: 0; opacity: .7; transition: opacity .2s, border-color .2s; }
.g-thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-main { position: sticky; top: calc(var(--nav) + 20px); border-radius: 16px; overflow: hidden; background: #fff; aspect-ratio: 1; }
.g-main > * { position: absolute; inset: 0; }
.g-main img { width: 100%; height: 100%; object-fit: cover; animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: scale(1.03); } }
.tin { container-type: inline-size; }
.tin-label { position: absolute; left: 28.5%; top: 42.4%; width: 43.1%; height: 10.1%; background: #fbfbfa; border: .25cqw solid #222; display: grid; place-items: center; font: 600 4.2cqw/1 "Nunito", var(--sans); color: #1d1d1d; white-space: nowrap; overflow: hidden; text-transform: lowercase; }
.tin-label.write span { display: inline-block; animation: write .5s var(--ease) both; }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.p-info { display: grid; gap: 18px; padding-top: 6px; }
.p-info h2 { font-size: clamp(30px, 3vw, 42px); }
.p-price { display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-variant-numeric: tabular-nums; }
.p-unit { color: var(--muted); font-size: 13px; }
.p-desc { color: var(--muted); }
.pick { display: grid; gap: 12px; }
.pick[hidden] { display: none; }
.pick-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.search { height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit; background: var(--card); }
.search:focus { outline: none; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 172px; overflow-y: auto; }
.chips button { height: 32px; padding: 0 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg-2); border-color: var(--ink); }
.chips .none { font-size: 13px; color: var(--muted); }
.buy { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); height: 42px; }
.qty button { width: 38px; height: 40px; font-size: 16px; }
.qty span { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.acc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.acc p { padding-bottom: 18px; color: var(--muted); max-width: 52ch; }

/* ---------- 12. faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding-block: 80px 140px; }
.faq-l { display: grid; align-content: start; gap: 2px; }
.faq-l h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; }
.faq-l .link { margin-top: 26px; font-size: 14px; }

/* ---------- pied ---------- */
.foot { padding: 0 var(--gut-r) 0 var(--gut); overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-giant { font-size: 31vw; line-height: .78; font-weight: 500; letter-spacing: -0.065em; color: var(--ink); text-align: center; margin-bottom: -0.04em; padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ---------- barre d'achat ---------- */
.sticky-buy { position: fixed; z-index: 35; right: var(--gut-r); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100% - 40px)); display: grid; grid-template-columns: 46px 1fr auto auto; gap: 14px; align-items: center; padding: 8px 8px 8px 10px; border-radius: 14px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(40, 30, 20, .35); border: 1px solid var(--line); transform: translateY(150%); transition: transform .6s var(--ease); }
.sticky-buy.on { transform: none; }
.sticky-buy img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #fff; }
.sb-t { display: grid; min-width: 0; }
.sb-t b { font-weight: 500; font-size: 14px; }
.sb-t span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-p { font-variant-numeric: tabular-nums; font-size: 14px; }

/* ---------- panier ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(29, 27, 25, .28); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 60; top: 8px; right: 8px; bottom: 8px; width: min(420px, calc(100% - 16px)); background: var(--bg-2); border-radius: 18px; transform: translateX(calc(100% + 16px)); transition: transform .6s var(--ease); display: flex; flex-direction: column; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .3); }
.drawer.on { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer header button { font-size: 13px; color: var(--muted); }
.lines { flex: 1; overflow-y: auto; padding: 6px 22px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; animation: rowIn .5s var(--ease) both; }
.line img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #fff; }
.line .meta { display: grid; gap: 6px; min-width: 0; }
.line .meta b { font-weight: 500; font-size: 14px; }
.line .meta small { color: var(--muted); font-size: 12px; }
.line .qty { height: 30px; justify-self: start; }
.line .qty button { width: 28px; height: 28px; }
.line .rm { font-size: 12px; color: var(--muted); text-decoration: underline; justify-self: start; }
.line > b { font-weight: 500; font-variant-numeric: tabular-nums; }
.empty { padding: 50px 0; text-align: center; color: var(--muted); }
.sum { padding: 20px 22px 22px; display: grid; gap: 14px; border-top: 1px solid var(--line); }
.tot { display: flex; justify-content: space-between; font-weight: 500; font-variant-numeric: tabular-nums; }
.sum .pill[disabled] { opacity: .35; pointer-events: none; }

/* ---------- maintenir pour retirer ---------- */
.modal { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(29, 27, 25, .3); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.on { opacity: 1; pointer-events: auto; }
.dialog { width: min(380px, 100%); background: var(--bg-2); border-radius: 16px; padding: 22px; display: grid; gap: 8px; transform: translateY(10px) scale(.97); transition: transform .35s var(--ease); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35); }
.modal.on .dialog { transform: none; }
.dialog h4 { margin: 0; font-size: 16px; font-weight: 500; }
.dialog p { color: var(--muted); margin-bottom: 10px; font-size: 14px; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acts button { height: 44px; border-radius: 10px; font-size: 14px; }
.cancel { background: var(--card); border: 1px solid var(--line); }
.hold { position: relative; overflow: hidden; background: #f6dedc; color: var(--rouge); font-weight: 500; user-select: none; -webkit-user-select: none; touch-action: none; }
.hold .fill { position: absolute; inset: 0; background: var(--rouge); transform-origin: left; transform: scaleX(0); }
.hold .lbl { position: relative; transition: color .15s; }
.hold.hot .lbl { color: #fff; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--ink); color: var(--bg-2); border-radius: 12px; padding: 8px 8px 8px 18px; display: flex; gap: 14px; align-items: center; transition: transform .5s var(--ease), visibility .5s; overflow: hidden; font-size: 14px; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
.toast button { background: var(--bg-2); color: var(--ink); border-radius: 8px; height: 32px; padding: 0 14px; font-size: 13px; }
.t-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sage); transform-origin: left; }
.toast.on .t-bar { animation: drain 5s linear both; }
@keyframes drain { to { transform: scaleX(0); } }

/* ---------- checkout ---------- */
.checkout { position: fixed; z-index: 90; inset: 0; background: var(--bg); overflow-y: auto; padding-block: calc(16px + env(safe-area-inset-top, 0px)) 40px; padding-left: var(--gut); padding-right: var(--gut-r); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.checkout.on { opacity: 1; visibility: visible; }
.co-top { max-width: 1000px; margin: 0 auto 26px; display: flex; justify-content: space-between; align-items: center; }
.co-wrap { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
.form h3 { font-size: 28px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; color: var(--muted); }
.field input { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit; background: #fff; }
.field input:focus { outline: none; border-color: var(--ink); }
.pay { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.pdot { width: 12px; height: 12px; border-radius: 50%; background: var(--sage-ink); box-shadow: 0 0 0 3px var(--sage); }
.err { color: var(--rouge); font-size: 13px; }
.big-btn { height: 50px; }
.form .pill[disabled] { opacity: .4; pointer-events: none; }

/* ---------- imprimante (reprise de LE TEMPLE : étapes en CSS, sortie ligne par ligne) ---------- */
.printer { --feed: 1.9s; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 380px; margin: 0 auto; isolation: isolate; }
.machine { position: relative; width: 100%; overflow: hidden; padding: 12px 12px 32px; border: 1px solid #0d0d0d; border-radius: 24px; background: #2a2a2a; box-shadow: 0 20px 36px -20px rgba(13, 13, 13, .55), 0 6px 14px -8px rgba(13, 13, 13, .24), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(13, 13, 13, .55); }
.machine::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .3; mix-blend-mode: multiply; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/180px; }
.m-head { position: relative; display: flex; justify-content: space-between; padding: 4px 8px 12px; color: rgba(255, 255, 255, .55); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.screen { position: relative; overflow: hidden; padding: 16px; border-radius: 12px; background: #0d0d0d; color: #fff; box-shadow: inset 0 2px 4px rgba(13, 13, 13, .8); display: grid; gap: 14px; }
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 24px 4px rgba(13, 13, 13, .52); }
.scr-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: #969696; }
.scr-row b { font-size: 24px; color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.status { display: flex; align-items: center; gap: 8px; }
.ind { display: grid; place-items: center; width: 18px; height: 18px; }
.ind svg { grid-area: 1 / 1; width: 18px; height: 18px; }
.spinner path { fill: none; stroke: #969696; stroke-width: 2; stroke-linecap: round; transform-origin: 9px 9px; animation: spin .8s linear infinite; }
.check circle { fill: #9fc27f; }
.check path { fill: none; stroke: #0d0d0d; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.check { display: none; }
.printer[data-stage="complete"] .check { display: block; animation: iconIn .16s var(--ease); }
.printer[data-stage="complete"] .spinner { display: none; }
.printer[data-stage="idle"] .spinner path { animation-play-state: paused; }
.st-label { font-size: 12px; font-weight: 500; color: #969696; animation: labelIn .18s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes iconIn { from { opacity: 0; transform: scale(.9); } }
@keyframes labelIn { from { opacity: 0; transform: translateY(4px); } }
.slot { position: absolute; left: 24px; right: 24px; bottom: 12px; height: 8px; border-radius: 4px; background: #0d0d0d; box-shadow: inset 0 2px 4px #000; }
.output { position: relative; z-index: 5; width: calc(80% + 48px); max-width: 100%; margin-top: -16px; padding: 0 24px 24px; overflow: hidden; }
.slot-shadow { position: absolute; left: 24px; right: 24px; top: -4px; z-index: 20; height: 8px; background: rgba(13, 13, 13, .75); filter: blur(6px); opacity: 0; transition: opacity .2s; }
.printer:not([data-stage="idle"]):not([data-stage="processing"]) .slot-shadow { opacity: 1; }
.feed { position: relative; opacity: 0; transform: translateY(calc(-100% + 2px)); transition: opacity .16s var(--ease), transform var(--feed) cubic-bezier(.77, 0, .175, 1); }
.feed::before { content: ""; position: absolute; inset: 12px 12px 16px; border-radius: 2px; box-shadow: 0 8px 24px rgba(13, 13, 13, .24); pointer-events: none; }
.printer[data-stage="printing"] .feed, .printer[data-stage="complete"] .feed { opacity: 1; transform: none; }
.printer[data-stage="printing"] .feed { animation: feedStepped var(--feed) linear both; }
@keyframes feedStepped {
  0% { transform: translateY(calc(-100% + 2px)); } 7.5% { transform: translateY(-91%); } 10.5% { transform: translateY(-91%); }
  18% { transform: translateY(-81%); } 21% { transform: translateY(-81%); } 28.5% { transform: translateY(-70%); } 31.5% { transform: translateY(-70%); }
  39% { transform: translateY(-58%); } 42% { transform: translateY(-58%); } 49.5% { transform: translateY(-45%); } 52.5% { transform: translateY(-45%); }
  60% { transform: translateY(-32%); } 63% { transform: translateY(-32%); } 70.5% { transform: translateY(-20%); } 73.5% { transform: translateY(-20%); }
  81% { transform: translateY(-10%); } 84% { transform: translateY(-10%); } 91.5% { transform: translateY(-3%); } 94.5% { transform: translateY(-3%); } 100% { transform: translateY(0); }
}
.paper { position: relative; z-index: 2; min-height: 300px; padding: 28px 22px 32px; background: #fcfcfa; color: #0d0d0d; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.paper .c { text-align: center; }
.paper .c svg { display: block; width: 52px; margin: 0 auto 8px; fill: #0d0d0d; }
.paper .c b { letter-spacing: .14em; }
.paper .ar { font: 500 14px/1.7 var(--ar); direction: rtl; letter-spacing: 0; margin-top: 2px; }
.paper .kv { display: flex; justify-content: space-between; gap: 12px; }
.paper .kv > :last-child { white-space: nowrap; text-align: right; }
.paper hr { border: 0; border-top: 1px dashed #b9b9b9; margin: 12px 0; }
.paper .bc { height: 40px; margin: 14px 0 6px; background: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 8px, #000 8px 11px, transparent 11px 12px); }
.again { margin-top: 6px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.printer[data-stage="complete"] .again { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- loader ---------- */
.loader { position: fixed; z-index: 100; inset: 0; background: var(--bg); display: grid; place-items: center; transition: transform 1s cubic-bezier(.77, 0, .175, 1); }
.loader.out { transform: translateY(-100%); }
.loader svg { width: min(140px, 36vw); overflow: visible; }
.loader path { fill: var(--ink); fill-opacity: 0; stroke: var(--ink); stroke-width: 3; transition: fill-opacity .6s ease; }
.loader.filled path { fill-opacity: 1; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-r .pill { display: none; }
  .hero-img { object-position: 72% 50%; }
  .hero-copy { top: calc(var(--nav) + 4vh); right: var(--gut-r); }
  .features { grid-template-columns: 1fr; }
  .f-stage { display: none; }
  .f-item { min-height: auto; padding-block: 60px; }
  .ritual, .s-grid, .st-row, .faq, .co-wrap { grid-template-columns: 1fr; }
  .r-title { position: static; }
  .r-cards { gap: 24px; }
  .st-row.rev .st-img { order: 0; }
  .s-img { position: static; }
  .promises { grid-template-columns: 1fr; gap: 24px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-hero { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4/5; }
  .shop { grid-template-columns: 1fr; }
  .g-thumbs { position: static; grid-auto-flow: column; grid-auto-columns: 62px; order: 2; overflow-x: auto; }
  .g-main { position: relative; top: 0; }
  .wall-cards { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .w-card { position: static; width: auto; transform: rotate(var(--r, 0deg)); }
  .printer { order: -1; }
  .sticky-buy { grid-template-columns: 40px 1fr auto; right: 10px; width: calc(100% - 20px); }
  .sticky-buy img { width: 40px; height: 40px; }
  .sb-p { display: none; }
  .campaign { height: 70vh; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .wall-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal-ready] [data-reveal] , [data-reveal-ready] [data-reveal] > * { transform: none !important; clip-path: none !important; opacity: 1 !important; filter: none !important; }
}

/* Collection et campagnes */
.nav { background: #f6f2ec; padding-inline: clamp(16px, 4vw, 72px); }
.links [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.cover { margin-top: var(--nav); position: relative; isolation: isolate; padding: 0; color: #fff7eb; background: #5b260f; }
.cover > img { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - var(--nav)); object-fit: cover; }
.cover-copy { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 5vw; }
.cover-copy p { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.cover h1, .editorial h2, .p-info h1, .r-title h1, .s-head h1 { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-weight: 400; line-height: .98; }
.cover h1 { font-size: clamp(52px, 7.5vw, 132px); margin: 16px 0 32px; letter-spacing: -.05em; }
.cover h1 i { font-weight: 400; }
.cover-link { display: inline-flex; align-items: center; gap: 24px; padding: 12px 18px; background: #fff4e4; color: #46220e; }
.cover-link:hover { background: white; }
.editorial { max-width: 1480px; margin: auto; padding: clamp(36px, 6vw, 96px) 5vw; display: grid; align-items: center; grid-template-columns: 1.15fr 1fr; gap: 8vw; }
.editorial + .editorial { border-top: 1px solid var(--line); }
.editorial img { width: 100%; height: auto; max-height: 78vh; aspect-ratio: 1; object-fit: cover; }
.editorial.reverse { grid-template-columns: 1fr 1.15fr; }
.editorial.reverse img { order: 2; aspect-ratio: 4 / 5; }
.editorial h2, .s-head h1, .r-title h1 { font-size: clamp(44px, 5.5vw, 90px); }
.editorial p, .r-title p { margin: 20px 0; max-width: 38ch; color: #605951; }
.text-link { display: inline-block; padding: 6px 0; border-bottom: 1px solid currentColor; }
.p-info h1 { font-size: clamp(38px, 4.8vw, 76px); }
.foot-row { flex-wrap: wrap; }
@media (max-width: 900px) {
  :root { --nav: 98px; }
  .nav { grid-template-columns: 1fr auto; grid-template-rows: 56px 42px; }
  .nav-r { grid-area: 1 / 2; }
  .links { display: flex; grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 8px; font-size: 13px; }
  .shop .g-thumbs { order: 0; grid-row: 2; }
  .shop .p-info { grid-row: 3; }
}
@media (max-width: 620px) {
  .cover { display: flex; flex-direction: column; }
  .cover > img { height: auto; aspect-ratio: 1.35; object-position: right; }
  .cover-copy { position: static; padding: 24px 6vw 28px; background: #51230f; }
  .cover h1 { font-size: clamp(38px, 8.4vw, 52px); margin: 9px 0 18px; }
  .cover h1 br { display: none; }
  .cover h1 i { margin-right: .18em; }
  .editorial, .editorial.reverse { grid-template-columns: 1fr; gap: 24px; }
  .editorial.reverse img { order: 0; }
}

/* L'écrin et son inscription */
.gift-story { background: #f8f3ea; color: #33231d; padding: clamp(48px, 7vw, 112px) 5vw clamp(36px, 4vw, 64px); scroll-margin-top: var(--nav); }
.gift-layout { max-width: 1520px; margin: auto; display: grid; grid-template-columns: minmax(270px, .85fr) minmax(0, 1.5fr); gap: 4vw; align-items: center; }
.gift-name { font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; color: #694536; }
.gift-copy h2 { margin-block: 20px; font: 400 clamp(45px, 5.3vw, 92px)/.99 "Iowan Old Style", Baskerville, Georgia, serif; letter-spacing: -.05em; }
.gift-copy h2 em { color: #754234; }
.gift-description { max-width: 35ch; color: #594d43; }
.gift-link { margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 10px 18px; background: #402720; color: #fff7ed; font-size: .875rem; }
.gift-link:hover { background: #643e30; }
.gift-link [data-price] { border-left: 1px solid #9e8477; padding-left: 14px; white-space: nowrap; }
.gift-photos { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(8px, 1vw, 18px); align-items: end; }
.gift-photos img { width: 100%; height: auto; }
.gift-portrait { align-self: start; margin-top: 12%; }
.gift-inscription { margin: clamp(32px, 4vw, 64px) auto 0; max-width: 1520px; padding-top: 24px; border-top: 1px solid #cfc1ae; text-align: center; }
.gift-inscription blockquote { margin: 0; color: #684536; font: 500 clamp(24px, 2.5vw, 42px)/1.6 var(--ar); }
.gift-inscription figcaption { margin-top: 4px; font: italic 1rem/1.5 Georgia, serif; }
@media (max-width: 760px) {
  .gift-layout { grid-template-columns: 1fr; gap: 28px; }
  .gift-photos { grid-row: 1; }
  .gift-copy h2 { margin-block: 14px; }
  .gift-link { margin-top: 20px; }
}

/* Identité de la collection : grille continue et légendes de catalogue. */
:root { --bg: #f5f5f2; --bg-2: #fbfbf8; --ink: #151714; --muted: #646660; --line: #d7d9d2; --card: #fff; }
.nav { background: var(--bg-2); }
.nav .brand { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.nav .links, .nav .bag { font-size: 11px; letter-spacing: .035em; text-transform: uppercase; }
.nav .links a + a { border-left: 1px solid currentColor; padding-left: 20px; }
.nav .links { gap: 20px; }
.collection .nav { position: absolute; background: linear-gradient(#26160980, transparent); color: white; backdrop-filter: none; }
.collection .nav svg { fill: currentColor; }
.collection .nav .bag span { background: white; color: #121212; }
.collection .cover { margin: 0; }
.collection .cover > img { width: 100%; height: clamp(320px, 41vw, 76vh); aspect-ratio: auto; object-fit: cover; object-position: center 53%; }
.campaign-signature { position: absolute; bottom: 5%; left: 4%; padding: 10px 14px; color: #fff; background: #23120794; }
.campaign-signature h1, .campaign-signature a { margin: 0; font: 500 clamp(12px, 1.02vw, 16px)/1.35 var(--sans); letter-spacing: .025em; text-transform: uppercase; }
.campaign-signature a { display: inline-block; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; padding-block: 5px; }
.catalogue { padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); background: #fff; }
.catalogue > a { padding: clamp(18px,2.6vw,44px); display: grid; align-content: end; border: 1px solid #e0e1dc; color: var(--ink); }
.catalogue img { display: block; width: 66%; height: clamp(155px, 28vw, 440px); object-fit: contain; margin: 0 auto 12px; transition: transform .35s var(--ease); }
.catalogue a:hover img { transform: scale(1.035); }
.catalogue-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; text-transform: uppercase; }
.catalogue-label h2, .catalogue-label span { font: 500 clamp(12px,1.15vw,19px)/1.2 var(--sans); letter-spacing: -.02em; }
.catalogue-label span { white-space: nowrap; }
.catalogue p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.folio { padding: 0; display: grid; grid-template-columns: 2fr 1fr; background: #ebede7; }
.folio > img { width: 100%; height: clamp(370px, 46vw, 720px); object-fit: cover; object-position: center 49%; }
.folio-copy { padding: clamp(18px, 2.4vw, 48px); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; gap: 8px; align-items: start; }
.folio-copy h2, .folio-copy p { grid-column: 1/-1; font-size: clamp(12px, 1.22vw, 19px); line-height: 1.24; text-transform: uppercase; }
.folio-copy h2 { font-weight: 650; }
.folio-mark { align-self: end; writing-mode: vertical-rl; font: 600 clamp(42px,5.5vw,96px)/.8 var(--sans); letter-spacing: -.06em; }
.folio-copy a { align-self: end; background: var(--ink); color: #fff; padding: 8px 12px; font-size: 11px; text-transform: uppercase; }
.gift-story, .editorial { background: var(--bg-2); }
.gift-copy h2, .editorial h2, .p-info h1, .r-title h1, .s-head h1 { font-family: var(--sans); font-weight: 500; letter-spacing: -.06em; }
.gift-copy h2 em { font-style: normal; color: inherit; }
.gift-story { color: var(--ink); }
.gift-link, .pill.dark { background: var(--ink); }
.g-main, .g-thumbs button, .pill, .r-card, .r-card img, .s-img, .s-img img { border-radius: 0; }
@media (max-width: 900px) {
  .nav .links { gap: 6px; }
  .nav .links a + a { padding-left: 9px; }
}
@media (max-width: 620px) {
  .collection .cover > img { height: 360px; object-position: 72% center; }
  .collection .nav { background: linear-gradient(#1d110cbb, #1d110c33); }
  .catalogue > a { padding: 14px; }
  .catalogue img { width: 88%; height: 40vw; }
  .catalogue-label { flex-wrap: wrap; }
  .folio { grid-template-columns: 1.1fr 1fr; }
  .folio > img { height: 100%; min-height: 315px; }
  .folio-copy { padding: 16px; grid-template-columns: 1fr; }
  .folio-mark { writing-mode: horizontal-tb; font-size: 34px; }
  .folio-copy a { justify-self: start; }
}

/* Grille photographique de campagne */
.nav .brand { gap: .5em; font-size: clamp(21px,2vw,32px); line-height: 1; letter-spacing: .035em; }
.nav .brand svg { width: .98em; }
.collection .nav { height: clamp(66px,8vw,100px); background: none; }
.collection .cover > img { height: auto; max-height: none; aspect-ratio: 1961 / 802; object-position: center; }
.campaign-signature { inset: auto 4.4% 6% auto; width: 28%; padding: 0; color: white; background: none; text-shadow: 0 1px 4px #141b1b; }
.campaign-signature h1 { font-size: clamp(13px,1.2vw,20px); line-height: 1.15; font-weight: 600; }
.campaign-signature a { font-size: 11px; }
.catalogue > a { padding: clamp(18px,2.6vw,44px); grid-template-rows: auto minmax(0,1fr) auto auto; align-content: stretch; min-height: 0; height: clamp(340px,43vw,640px); border: 0; border-bottom: 1px solid var(--line); }
.catalogue > a + a { border-left: 1px solid var(--line); }
.catalogue-type { font-size: 11px; text-transform: uppercase; letter-spacing: .055em; }
.catalogue img { width: 78%; height: 88%; align-self: center; margin: auto; }
.catalogue p { margin-top: 4px; }
.folio > img { height: clamp(350px,41vw,680px); object-position: 50% 55%; }
.folio-copy { padding: clamp(16px,2vw,38px); }
.folio-copy h2 { font-size: 12px; letter-spacing: .055em; }
.folio-copy p { font-weight: 500; }
.folio-mark { justify-self: start; }
.gift-photos { grid-template-columns: 1fr; }
.gift-photos .gift-portrait { display: none; }
.gift-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.5fr); }
.gift-story, .editorial { background: #f6f6f3; }
.gift-description, .editorial p, .r-title p { color: #4c4d47; }
.foot { background: #171917; color: white; padding: 0 4vw 3vw; }
.foot-row { color: #e5e6e1; border: 0; }
.foot-wordmark { display: block; font-size: clamp(34px,12.8vw,240px); line-height: .95; font-weight: 600; letter-spacing: -.068em; text-transform: uppercase; }
.shop { background: white; border-bottom: 1px solid var(--line); padding-inline: 4vw; }
.p-info h1 { font-size: clamp(36px,4.5vw,70px); }
.p-price { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.p-desc { color: #494b46; }
.seg,.seg button,.pick .search,.chips button,.qty { border-radius: 0; }
.ritual { display: block; }
.r-title { position: static; margin-bottom: 38px; }
.r-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; padding: 0; }
.r-card { position: static; aspect-ratio: auto; box-shadow: none; max-height: none; }
.r-card img { aspect-ratio: 4/5; height: auto; }
.r-card figcaption { position: static; padding: 18px; color: var(--ink); background: #fff; }
.r-card figcaption .chip { padding: 0; border: 0; background: transparent; color: #51534e; }
.s-head, .r-title { max-width: none; }
.s-head h1, .r-title h1 { text-transform: uppercase; font-size: clamp(40px,6.5vw,96px); }
@media (max-width: 760px) {
  .gift-layout, .r-cards { grid-template-columns: 1fr; }
  .r-cards { gap: 24px; }
}
@media (max-width: 620px) {
  .collection .nav { height: var(--nav); background: linear-gradient(#0b1b21a1,transparent); }
  .collection .cover > img { height: clamp(355px,100vw,510px); aspect-ratio: auto; }
  .campaign-signature { width: auto; right: 5%; bottom: 5%; }
  .catalogue > a { height: auto; grid-template-rows: auto 43vw auto 1fr; padding: 14px 12px; }
  .catalogue img { height: 90%; width: 100%; }
  .catalogue-type { font-size: 10px; }
  .catalogue-label { display: grid; gap: 4px; align-content: start; }
  .catalogue-label h2 { min-height: 2.4em; }
  .catalogue p { font-size: 11px; line-height: 1.3; }
  .folio > img { height: 100%; }
}
.launch { padding-top: var(--nav); background: var(--bg-2); }
.launch > img { width: 100%; height: clamp(230px,36vw,600px); object-fit: cover; }
.launch > div { padding: clamp(24px,5vw,80px) 4vw; }
.launch h1 { font-size: clamp(40px,7vw,100px); line-height: 1; margin: 12px 0; }
.launch [lang="ar"] { text-align: left; font: 500 26px var(--ar); margin-bottom: 16px; }

/* Bandeau d’information */
:root { --announcement-height: 34px; }
.announcement { height: var(--announcement-height); overflow: hidden; background: #edfccd; color: #292c24; font-size: 13px; }
.announcement-track { display: flex; width: max-content; height: 100%; animation: announcement-scroll 32s linear infinite; }
.announcement-line { display: flex; flex: none; align-items: center; justify-content: space-around; min-width: 100vw; white-space: nowrap; }
.announcement-line span { padding-inline: clamp(28px, 3vw, 60px); }
@keyframes announcement-scroll { to { transform: translateX(-50%); } }
.announcement:hover .announcement-track { animation-play-state: paused; }
.collection .nav { top: var(--announcement-height); }
body:not(.collection) > .nav { position: sticky; top: 0; margin-bottom: calc(-1 * var(--nav)); }
@media (prefers-reduced-motion: reduce) {
  .announcement-track { width: 100%; animation: none; }
  .announcement-line { min-width: 100%; }
  .announcement-line[aria-hidden] { display: none; }
  @media (max-width: 900px) { .announcement-line span + span { display: none; } }
}

/* Invitation à la lettre Rimas */
.letter { position: fixed; inset: 0; padding: 0; margin: auto; width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: none; border-radius: 4px; overflow: auto; overscroll-behavior: contain; background: white; color: #171917; }
.letter::backdrop { background: rgb(10 16 15 / 45%); }
html:has(.letter[open]) { overflow: hidden; }
.letter-copy { position: relative; padding: 48px 32px 28px; }
.letter-close { position: absolute; top: 10px; right: 12px; padding: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 650; }
.letter h2 { font-size: clamp(23px, 3vw, 29px); line-height: 1.1; letter-spacing: -.05em; }
.letter-copy > p { margin-top: 12px; line-height: 1.5; }
.letter-form { display: flex; align-items: stretch; border-bottom: 1px solid #92958d; margin-top: 20px; }
.letter-form[hidden], .letter-status:empty { display: none; }
.letter-form input { flex: 1; min-width: 0; padding: 12px 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; }
.letter-form input::placeholder { color: #6b6e68; }
.letter-form button { width: 44px; font-size: 21px; }
.letter-form:focus-within { border-color: #171917; }
.letter-status { font-size: 13px; }
.letter > img { width: 100%; height: clamp(100px, 35dvh, 280px); object-fit: cover; object-position: 50% 52%; }
.letter-reopen { padding: 0; font-size: inherit; }
@media (max-width: 480px) { .letter-copy { padding: 46px 24px 22px; } }

/* Campagnes, collection et carnet */
.collection main { background: #f4f2eb; }
.product-pair { padding: clamp(12px,2.6vw,46px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px,1.4vw,24px); }
.product-tile,.spread,.gift-campaign { position: relative; isolation: isolate; overflow: hidden; color: white; }
.product-tile { min-height: 0; aspect-ratio: 1.1; border-radius: 11px; display: flex; align-items: end; padding: clamp(18px,2.5vw,40px); }
.product-tile > img,.spread > img,.gift-campaign > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.product-tile::before,.spread::before,.gift-campaign::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#13120fd9,transparent 48%); }
.product-tile > div { display: grid; width: 100%; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
.product-tile h2 { grid-column: 1/-1; font-size: clamp(23px,2.9vw,48px); line-height: 1.08; }
.product-tile [data-price] { font: 500 15px/1.3 var(--sans); }
.tile-action,.chapter-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 17px; border-radius: 5px; background: #fbfaf6; color: #1d211a; font-size: 13px; }
.product-tile:hover .tile-action,.chapter-link:hover { background: #edfccd; }
.gift-campaign { padding: 0; display: grid; align-content: end; min-height: clamp(380px,44vw,680px); }
.gift-campaign::before { background: linear-gradient(90deg,#281509bd,transparent 75%); }
.campaign-detail { padding: clamp(30px,5vw,90px); max-width: 640px; }
.campaign-detail h2 { font-size: clamp(40px,5.2vw,84px); line-height: 1; margin: 8px 0 18px; }
.campaign-detail .chapter-link { margin-top: 20px; gap: .3em; }
.campaign-count:not([hidden]) { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; background: #241a1466; }
.campaign-count span { padding: 20px 6px; border: 1px solid #ffffff55; }
.journal { background: #fafaf8; padding: clamp(42px,6vw,98px) 4vw; }
.journal header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px,3vw,44px); }
.journal .chapter-link,.journal-view button { color: white; background: #252821; }
.journal-strip { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.journal-photo,.journal-strip > a { padding: 0; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #eeede6; }
.journal-photo img { width: 100%; height: 100%; object-fit: cover; }
.journal-strip > a { display: grid; place-content: center; text-align: center; line-height: 1.3; }
.journal-view { padding: 0; border: none; color: white; background: #1b1c19; width: min(560px,92vw); max-height: 94dvh; }
.journal-view::backdrop { background: #10100edb; }
.journal-view img { width: 100%; height: min(66dvh,620px); object-fit: contain; }
.journal-close { display: block; margin-left: auto; }
.journal-view button { padding: 10px 16px; }
.journal-view > div { display: flex; align-items: center; justify-content: space-between; gap: 6px; text-align: center; }
.maison-page { padding-top: var(--nav); }
.maison-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0; background: #ebe8df; }
.maison-intro div { padding: 6vw; }
.maison-intro h1 { font: 500 clamp(38px,6vw,90px)/1 var(--sans); }
.maison-intro p { margin-top: 18px; max-width: 42ch; }
.maison-intro img { width: 100%; max-height: 75vh; object-fit: cover; }
.house-foot { padding: clamp(36px,5vw,80px) 4vw 16px; background: #242522; color: #fff; }
.foot-columns { display: grid; grid-template-columns: 1.25fr .85fr .85fr 1fr 1.5fr; gap: clamp(16px,2.5vw,50px); }
.foot-columns > * { min-width: 0; }
.foot-intro > a { font-size: clamp(22px,2.3vw,38px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.foot-columns h2 { font-size: 16px; margin-bottom: 14px; }
.foot-columns nav a,.foot-service a,.foot-columns p { display: block; color: #d2d2cc; font-size: 13px; margin-block: 6px; }
.foot-columns a:hover,.foot-base button:hover { text-decoration: underline; }
.foot-intro p { margin-top: 18px; }
.footer-subscribe { display: grid; gap: 6px; margin-top: 14px; }
.footer-subscribe[hidden] { display: none; }
.footer-subscribe input,.footer-subscribe button { width: 100%; border-radius: 3px; border: 1px solid #565750; padding: 12px; font: inherit; }
.footer-subscribe input { background: #333430; color: white; font-size: 16px; }
.footer-subscribe input::placeholder { color: #bfc0bb; }
.footer-subscribe button { background: #fafaf6; color: #20211f; font-size: 14px; }
.foot-base { margin-top: 36px; padding-top: 14px; border-top: 1px solid #50514c; display: flex; justify-content: space-between; font-size: 12px; }
#livraison { scroll-margin-top: calc(var(--nav) + 16px); }
@media (max-width: 850px) { .foot-columns { grid-template-columns: repeat(3,minmax(0,1fr)); } .journal-strip { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .product-pair { grid-template-columns: 1fr; }
  .product-tile { aspect-ratio: 1; }
  .spread { padding: 24px; }
  .gift-campaign > img { object-position: 68% center; }
  .gift-campaign::before { background: linear-gradient(0deg,#211209e6,transparent); }
  .gift-campaign { min-height: 480px; }
  .journal header { align-items: start; flex-wrap: wrap; }
  .journal-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .maison-intro { grid-template-columns: 1fr; }
  .foot-columns { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-letter { grid-column: 1/-1; }
}

/* ---------- slider de couverture ---------- */
.cover-slides { display: grid; }
.cover-slides img { grid-area: 1 / 1; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - var(--nav)); object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.cover-slides img.on { opacity: 1; }
.cover-dots { display: flex; gap: 8px; justify-content: center; }
.cover-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; }
.cover-dots button { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; padding: 0; }
.cover-dots button[aria-current="true"] { opacity: 1; }

/* ---------- témoignages ---------- */
.testi { padding: clamp(90px, 11vw, 160px) 0; text-align: center; overflow: hidden; }
.testi-tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 14px; }
.testi-tag i { width: 7px; height: 7px; border-radius: 50%; background: #e7a93c; }
.testi h2 { margin: 0 0 clamp(50px, 6vw, 90px); font: 400 clamp(42px, 5.4vw, 96px)/.94 "Bricolage Grotesque", var(--sans); letter-spacing: -.055em; }
.testi .swash { position: relative; display: inline-block; }
.testi .swash svg { position: absolute; left: -4%; bottom: -.18em; width: 108%; height: .26em; overflow: visible; }
.testi .swash path { fill: none; stroke: #e7a93c; stroke-width: 4; stroke-linecap: round; }
.testi-stage { overflow: hidden; touch-action: pan-y; user-select: none; }
.testi-track { display: flex; gap: clamp(28px, 6vw, 110px); width: max-content; transform: translateX(var(--tx, 0)); transition: transform .9s var(--ease); }
.t-item { position: relative; width: min(620px, 78vw); margin: 0; padding: clamp(30px, 3.4vw, 54px); border-radius: 18px; background: var(--card); text-align: left; opacity: .35; filter: blur(1.5px); transform: scale(.94); transition: opacity .6s, filter .6s, transform .9s var(--ease), box-shadow .6s; cursor: pointer; }
.t-item.on { opacity: 1; filter: none; transform: none; cursor: auto; box-shadow: 0 30px 70px -40px rgba(43, 23, 20, .35); }
.t-mark { position: absolute; top: clamp(12px, 1.6vw, 22px); right: clamp(22px, 3vw, 44px); font: 400 clamp(90px, 9vw, 150px)/1 "Bricolage Grotesque", var(--sans); color: #e7a93c; opacity: .5; }
.t-item blockquote { position: relative; margin: 0 0 30px; font: 400 clamp(22px, 2.2vw, 34px)/1.25 "Bricolage Grotesque", var(--sans); letter-spacing: -.025em; color: var(--ink); }
.t-item figcaption { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.t-item figcaption b { font-size: 16px; font-weight: 600; }
.t-item figcaption span { font-size: 14px; color: var(--muted); }
.t-prod { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: background .2s; }
.t-prod:hover { background: #fff; }
.t-prod img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.testi-dots button { position: relative; width: 44px; height: 3px; padding: 0; border-radius: 3px; background: #1d1b1926; overflow: hidden; }
.testi-dots button i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.testi-dots button[aria-selected="true"] i { transform: scaleX(1); }
.testi-dots button.run i { animation: testiFill 6.5s linear both; }
.testi-dots.paused button.run i { animation-play-state: paused; }
@keyframes testiFill { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .testi-dots button.run i { animation: none; } .t-item { transition: none; } }

/* textes ajoutés : accroche de couverture et ligne des cartes produit */
.campaign-signature p { margin: 2px 0 4px; font-size: 13px; opacity: .9; }
.product-tile p { margin: 6px 0 10px; max-width: 34ch; font-size: 14px; line-height: 1.45; opacity: .85; }

/* ---------- couverture façon Stretch : grand titre à gauche, mot souligné à la main, bouton blanc ---------- */
.cover .hero-stretch { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 0 0 max(24px, 5vw); color: #fff; background: linear-gradient(90deg, rgba(18, 13, 8, .62), rgba(18, 13, 8, .28) 40%, transparent 62%); }
.cover .hero-stretch h1 { margin: 0 0 24px; font: 400 clamp(44px, 6.7vw, 116px)/.9 "Bricolage Grotesque", var(--sans); letter-spacing: -.05em; text-transform: none; }
.hero-stretch .swash { position: relative; display: inline-block; white-space: nowrap; }
.hero-stretch .swash svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .24em; overflow: visible; }
.hero-stretch .swash path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: swash 1.1s .9s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes swash { to { stroke-dashoffset: 0; } }
.cover .hero-stretch p { margin: 0 0 28px; max-width: 36ch; font-size: 15px; line-height: 1.5; opacity: .92; text-transform: none; letter-spacing: 0; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-white { display: inline-flex; align-items: center; height: 48px; padding: 0 28px; border-radius: 999px; background: #fff; color: #1d1b19; font-size: 14px; transition: transform .3s var(--ease), background .2s; }
.btn-white:hover { background: #f3eee8; transform: translateY(-2px); }
.link-white { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) {
  .cover-slides img { aspect-ratio: 4 / 5; object-position: 72% center; }
  .cover .hero-stretch { position: static; padding: 28px 20px 34px; background: #2a1d14; }
  .cover .hero-stretch h1 br { display: inline; }
  .cover .hero-stretch h1 { font-size: clamp(40px, 11.5vw, 58px); margin-bottom: 16px; }
  .cover .hero-stretch p { font-size: 14px; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .hero-stretch .swash path { animation: none; stroke-dashoffset: 0; } }

/* ---------- bloc Saint-Valentin (structure Stretch : image, bande verticale qui défile, compte à rebours) ---------- */
.love { display: grid; grid-template-columns: minmax(0, 1.35fr) 46px minmax(0, 1fr); padding: 0 0 0 clamp(16px, 3vw, 60px); background: #2b1714; color: #fff; }
.love-img { overflow: hidden; min-height: clamp(420px, 38vw, 700px); }
.love-img img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; transition: transform 1.6s var(--ease); }
.love:hover .love-img img { transform: scale(1.03); }
.love-ticker { position: relative; overflow: hidden; transform: rotate(180deg); }
.love-track { position: absolute; top: 0; left: 50%; translate: -50% 0; display: flex; flex-direction: row; gap: 34px; padding-block: 17px; writing-mode: vertical-rl; white-space: nowrap; font-size: 14px; letter-spacing: .01em; animation: loveTick 38s linear infinite; }
.love-track span[lang="ar"] { font-family: var(--ar); font-size: 15px; }
@keyframes loveTick { to { transform: translateY(-50%); } }
.love-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(48px, 6vw, 110px) clamp(24px, 5vw, 90px); }
.love-tag { display: flex; align-items: center; gap: 12px; margin: 0 0 30px; font-size: 14px; }
.love-tag i { width: 7px; height: 7px; border-radius: 50%; background: #e7a93c; animation: lovePulse 1.8s ease-in-out infinite; }
@keyframes lovePulse { 50% { opacity: .25; transform: scale(.7); } }
.love h2 { margin: 0 0 30px; font: 400 clamp(42px, 5.4vw, 96px)/.94 "Bricolage Grotesque", var(--sans); letter-spacing: -.055em; }
.love .swash { position: relative; display: inline-block; white-space: nowrap; }
.love .swash svg { position: absolute; left: -3%; bottom: -.2em; width: 106%; height: .3em; overflow: visible; }
.love .swash path { fill: none; stroke: #e7a93c; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 230; stroke-dashoffset: 230; }
.love .swash path + path { stroke-width: 2.4; opacity: .7; }
.love.seen .swash path { animation: swash 1s .2s cubic-bezier(.6, 0, .3, 1) forwards; }
.love.seen .swash path + path { animation-delay: .55s; }
.love-text { max-width: 54ch; font-size: 15px; line-height: 1.6; opacity: .88; margin: 0; }
.love-count { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 760px; margin: 44px 0 26px; padding: 38px 0; border-block: 1px solid #ffffff2b; }
.love-count[hidden] { display: none; }
.love-count div { display: grid; gap: 10px; }
.love-count b { font: 400 clamp(44px, 5.4vw, 96px)/1 "Bricolage Grotesque", var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.love-count span { font-size: 14px; opacity: .8; }
.love-note { margin: 0 0 26px; font-size: 13px; opacity: .7; }
@media (max-width: 860px) {
  .love { grid-template-columns: 1fr; padding: 0; }
  .love-img { min-height: 0; aspect-ratio: 4 / 5; }
  .love-ticker { transform: none; border-block: 1px solid #ffffff2b; }
  .love-track { position: static; translate: none; flex-direction: row; writing-mode: horizontal-tb; padding: 14px 0; animation-name: loveTickX; }
  @keyframes loveTickX { to { transform: translateX(-50%); } }
  .love-count b { font-size: clamp(34px, 11vw, 52px); }
}
@media (prefers-reduced-motion: reduce) { .love-track, .love-tag i { animation: none; } .love .swash path { stroke-dashoffset: 0; } }

/* ---------- pied de page façon Stretch : petites colonnes, nom géant, barre du bas ---------- */
.house-foot { padding: clamp(40px, 5vw, 80px) clamp(16px, 4vw, 60px) 18px; background: #2b1714; color: #fff; }
.house-foot .foot-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 56px); }
.house-foot h2 { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.house-foot nav a, .house-foot nav span { display: block; margin: 0 0 9px; font-size: 14px; color: #ffffffc7; }
.house-foot nav a:hover { color: #fff; }
.house-foot .foot-letter p { margin: 0 0 16px; max-width: 40ch; font-size: 14px; line-height: 1.55; color: #ffffffc7; }
.house-foot .footer-subscribe { display: flex; gap: 8px; max-width: 440px; }
.house-foot .footer-subscribe input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid #ffffff40; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14px; }
.house-foot .footer-subscribe input::placeholder { color: #ffffff8c; }
.house-foot .footer-subscribe input:focus { outline: none; border-color: #fff; }
.house-foot .footer-subscribe button { flex: none; width: auto; height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; color: #2b1714; font-size: 14px; }
.foot-giant-word { display: block; margin: clamp(48px, 7vw, 110px) 0 clamp(20px, 3vw, 40px); font: 500 clamp(88px, 26vw, 500px)/.74 "Bricolage Grotesque", var(--sans); letter-spacing: -.045em; text-align: center; color: #fff; }
.house-foot .foot-base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 0; padding-top: 18px; border-top: 1px solid #ffffff2b; font-size: 12px; color: #ffffffb3; }
.house-foot .foot-base span:last-child { text-align: right; }
@media (max-width: 760px) {
  .house-foot .foot-columns { grid-template-columns: 1fr 1fr; }
  .house-foot .foot-letter { grid-column: 1 / -1; }
  .house-foot .foot-base { grid-template-columns: 1fr; text-align: center; }
  .house-foot .foot-base span:last-child { text-align: center; }
}

/* carte produit : titre et prix sur la même ligne, phrase dessous, bouton pleine largeur */
.product-tile > div { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 20px; row-gap: 0; }
.product-tile h2 { grid-column: 1; grid-row: 1; }
.product-tile [data-price] { grid-column: 2; grid-row: 1; font: 500 clamp(16px, 1.4vw, 20px)/1 var(--sans); white-space: nowrap; }
.product-tile p { grid-column: 1 / -1; grid-row: 2; margin: 10px 0 18px; }
.product-tile .tile-action { grid-column: 1 / -1; grid-row: 3; }

/* =================== parcours d'achat (panier, ajout, commande) =================== */
s { opacity: .55; font-weight: 400; margin-left: 4px; }
.save { font-style: normal; font-size: 12px; font-weight: 600; color: #b3261e; background: #fbe3df; padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.drawer header em { font-style: normal; color: var(--muted); font-weight: 400; }
.drawer-body { flex: 1; overflow-y: auto; }
.drawer-body .lines { overflow: visible; }
.ship { margin: 14px 22px 4px; padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.ship p { margin: 0 0 10px; font-size: 13px; }
.ship-bar { height: 6px; border-radius: 6px; background: #e7e1d8; overflow: hidden; }
.ship-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #e7a93c, #d6762c); transition: width .6s var(--ease); }
.ship.done .ship-bar i { background: #3f7d4e; }
.ship.done p b { color: #3f7d4e; }
.xsell-wrap { padding: 8px 22px 4px; }
.xsell-wrap h4 { margin: 8px 0 10px; font-size: 13px; font-weight: 600; }
.xsell { display: grid; gap: 8px; }
.x-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--card); border: 1px dashed #e0c9a8; }
.x-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: #fff; }
.x-item b { display: block; font-size: 13px; font-weight: 500; }
.x-item span { font-size: 12px; color: var(--muted); }
.x-add { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; line-height: 1; }
.eta { margin: 12px 22px; font-size: 13px; color: var(--muted); }
.eta b { color: var(--ink); font-weight: 500; }
.sum .row, .added .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sum-note { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }

.added { position: fixed; z-index: 65; inset: 0; display: flex; justify-content: flex-end; align-items: stretch; padding: 8px; pointer-events: none; }
.added-box { width: min(420px, 100%); background: var(--bg-2); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35); transform: translateX(calc(100% + 16px)); transition: transform .55s var(--ease); pointer-events: auto; }
.added.on { pointer-events: auto; }
.added.on .added-box { transform: none; }
.added header { display: flex; align-items: center; gap: 10px; }
.added header b { flex: 1; font-size: 17px; font-weight: 500; }
.added header button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; }
.ok svg { width: 22px; height: 22px; display: block; }
.ok circle { fill: #3f7d4e; } .ok path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.added-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; border: 1.5px solid var(--ink); background: #fff; animation: rowIn .5s var(--ease); }
.added-item img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.added-item b { display: block; font-weight: 500; }
.added-item span { display: block; font-size: 13px; color: var(--muted); }
.added .row b { color: var(--ink); font-weight: 600; font-size: 15px; }
.added-ship { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.added-ship.done { color: #3f7d4e; }
.added .xsell-wrap { padding: 0; }
.added-acts { display: grid; gap: 8px; margin-top: auto; }
.added-acts .pill { height: 50px; width: 100%; }

.steps { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 13px; left: 16%; right: 16%; height: 2px; background: var(--line); }
.steps li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.steps i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9e3da; font-style: normal; font-size: 12px; font-weight: 600; }
.steps li.done i { background: var(--ink); color: #fff; }
.steps li.done i::before { content: "✓"; }
.steps li.cur { color: var(--ink); font-weight: 500; }
.steps li.cur i { background: #e7a93c; color: #fff; }
.co-sum { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.co-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.co-line img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; }
.co-line b { display: block; font-size: 14px; font-weight: 500; }
.co-line span { display: block; font-size: 12px; color: var(--muted); }
.co-line .qty { height: 32px; }
.co-line .qty button { width: 28px; height: 30px; }
.co-tot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line); }
.co-tot.big { border: 0; padding: 0; color: var(--ink); font-size: 15px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.field { position: relative; }
.field input::placeholder { color: #b4ada4; }
.field.ok input { border-color: #3f7d4e; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%233f7d4e'/%3E%3Cpath d='M5.2 9.3l2.4 2.4 5-5.2' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field.bad input { border-color: #b3261e; background: #fff7f6; }
.field small { font-size: 12px; color: #b3261e; min-height: 0; }
.field small:empty { display: none; }

.assure { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.assure svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.p-info .eta { margin: 0; }

.more { display: grid; justify-items: center; gap: 12px; margin-top: 26px; }
.more p { margin: 0; font-size: 13px; color: var(--muted); }
.more-bar { width: min(240px, 70%); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.more-bar i { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }
.more .pill { min-width: 240px; }

/* squelette pendant le chargement des images */
img.sk { background: linear-gradient(100deg, #ebe5dd 40%, #f6f1ea 50%, #ebe5dd 60%) 0 0 / 220% 100%; animation: sk 1.3s linear infinite; color: transparent; }
@keyframes sk { to { background-position: -220% 0; } }

/* barre d'onglets : uniquement sur mobile */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px; background: #1d1b19f2; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
  .tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 0 6px; border-radius: 16px; color: #ffffffa6; font-size: 10px; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar [aria-current="page"] { color: #fff; background: #ffffff1f; }
  .tabbar em { position: absolute; top: 4px; right: calc(50% - 20px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #e7a93c; color: #1d1b19; font: 600 10px/17px var(--sans); font-style: normal; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

  /* en-tête : logo + panier, les rubriques passent dans la barre du bas */
  .nav .links { display: none !important; }
  .nav { grid-template-columns: 1fr auto !important; grid-template-rows: 56px !important; height: 56px; }

  /* images entières, jamais recadrées */
  .cover-slides img { aspect-ratio: auto !important; height: auto !important; max-height: none !important; object-fit: contain !important; }
  .product-pair { gap: 14px; }
  .product-tile { display: block !important; aspect-ratio: auto !important; padding: 0 !important; background: #1d1b19; }
  .product-tile > img { position: static !important; display: block; width: 100%; height: auto !important; object-fit: contain !important; }
  .product-tile::before { display: none; }
  .product-tile > div { padding: 18px 18px 20px; }
  .love-img { aspect-ratio: auto !important; }
  .love-img img { height: auto !important; object-fit: contain !important; }
  .r-card { aspect-ratio: auto !important; max-height: none !important; }
  .r-card img { height: auto !important; object-fit: contain !important; }
  .g-main { aspect-ratio: 1; }
  .g-main img, .tin img { object-fit: contain !important; background: #fff; }
  .editorial img, .st-img img, .s-img img { height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; max-height: none !important; }

  /* panier et ajout plein écran, en feuille depuis le bas */
  .drawer { top: auto; height: 92svh; left: 8px; width: auto; transform: translateY(105%); }
  .drawer.on { transform: none; }
  .added { align-items: flex-end; }
  .added-box { width: 100%; max-height: 92svh; transform: translateY(105%); }
  .checkout { padding-bottom: 110px; }
}
.printer[data-stage="idle"] .output { display: none; }
.buy { min-width: 0; }
.buy > .pill { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .co-wrap .printer { order: 2 !important; }
  .printer[data-stage="idle"] { display: none; }
}

/* pop-up « La lettre Rimas » : champ arrondi + vrai bouton, aucun débordement */
.letter { border-radius: 18px; overflow-x: hidden; }
.letter-copy { padding: 44px 28px 26px; }
.letter-close { top: 14px; right: 14px; padding: 8px 12px; border-radius: 999px; border: 1px solid #d9d4cc; font-size: 11px; }
.letter h2 { font: 400 clamp(28px, 4vw, 36px)/1 "Bricolage Grotesque", var(--sans); letter-spacing: -.05em; }
.letter-form { gap: 8px; border: 0; margin-top: 22px; }
.letter-form input { height: 48px; padding: 0 18px; border: 1px solid #d9d4cc; border-radius: 999px; font-size: 15px; }
.letter-form input:focus { outline: none; border-color: #171917; }
.letter-form button { flex: none; width: auto; height: 48px; padding: 0 22px; border-radius: 999px; background: #1d1b19; color: #fff; font-size: 14px; }
.letter > img { display: block; max-width: 100%; height: clamp(120px, 30dvh, 260px); }
@media (max-width: 380px) { .letter-form { flex-direction: column; } .letter-form input { flex: none; } .letter-form button { width: 100%; } }
