/* ==========================================================================
   MERCURA PARIS — feuille de style principale
   Ivoire chaud, noir profond, laiton. Cormorant Garamond (titres) / Jost (texte).
   ========================================================================== */

:root {
  --ivory: #f3ede2;
  --paper: #faf6ef;
  --sand: #e9e0d0;
  --line: #d9cdb9;
  --line-strong: #b9a88d;
  --ink: #141210;
  --ink-soft: #37312b;
  --muted: #675e54;
  --black: #0f0e0c;
  --black-2: #1b1916;
  --black-line: #34302a;
  --champagne: #d8c39a;
  --brass: #a07c45;
  --brass-ink: #765628;
  --ok: #2c5a3a;
  --warn: #7f5310;
  --err: #9a2c22;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1320px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --shadow: 0 24px 60px -30px rgba(20, 18, 16, .35);
  color-scheme: light;
}
@media (min-width: 960px) { :root { --header-h: 84px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-soft);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--champagne); color: var(--ink); }
[hidden] { display: none !important; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 10vw, 136px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--black); color: #cfc6b8; }
.section--dark h2, .section--dark h3 { color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font: 500 .72rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink);
  margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section--dark .eyebrow { color: var(--champagne); }

.display { font-size: clamp(2.35rem, 6.2vw, 5.2rem); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
.display em, .h2 em { font-style: italic; font-weight: 400; color: var(--brass-ink); }
.h2 { font-size: clamp(1.8rem, 3.9vw, 3.05rem); font-weight: 400; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin: 0; max-width: 34em; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  min-height: 54px; padding: 0 30px;
  border: 1px solid var(--btn-bd); border-radius: 0; background: var(--btn-bg); color: var(--btn-fg);
  font: 500 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { --btn-bg: #2a2621; --btn-bd: #2a2621; color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn--light:hover { --btn-bg: var(--champagne); --btn-bd: var(--champagne); --btn-fg: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { --btn-bg: var(--sand); --btn-bd: var(--sand); --btn-fg: var(--muted); cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; padding: .5em 0;
  font: 500 .78rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.link-arrow:hover { border-color: var(--ink); }
.section--dark .link-arrow { color: var(--paper); border-color: var(--black-line); }
.section--dark .link-arrow:hover { border-color: var(--champagne); }

.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.3; flex: none; }

/* ---------- Bandeau prévisualisation ---------- */
.preview-ribbon {
  background: #5b2a1c; color: #fbe9de; font: 500 .7rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px var(--gutter); text-align: center;
}
.preview-ribbon a { color: inherit; }

/* ---------- Annonce + en-tête ---------- */
.announce { background: var(--black); color: var(--champagne); font: 400 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-align: center; padding: 9px var(--gutter); }
.announce span + span::before { content: "·"; margin: 0 .9em; opacity: .6; }
@media (max-width: 520px) { .announce span + span { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 237, 226, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(243, 237, 226, .97); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand { justify-self: center; display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }
@media (min-width: 960px) { .brand img { height: 60px; } }
.nav-primary { display: none; }
.nav-primary ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav-primary a, .header-link { font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 0; position: relative; }
.nav-primary a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); padding: 0; text-decoration: none; }
.icon-btn:hover { color: var(--brass-ink); }
.menu-toggle { justify-self: start; margin-left: -10px; }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font: 500 .66rem/18px var(--sans); text-align: center; transition: transform .3s var(--ease); }
.cart-count[data-count="0"] { display: none; }
.cart-count.bump { transform: scale(1.25); }
.nav-primary a { white-space: nowrap; }
@media (min-width: 1100px) {
  .nav-primary { display: block; }
  .menu-toggle { display: none; }
}

.menu-mobile { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49; background: var(--ivory); padding: 28px var(--gutter) 40px; overflow-y: auto; border-top: 1px solid var(--line); }
.menu-mobile ul { list-style: none; }
.menu-mobile li + li { border-top: 1px solid var(--line); }
.menu-mobile a.big { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 400 1.7rem/1.15 var(--serif); color: var(--ink); text-decoration: none; }
.menu-mobile .menu-foot { margin-top: 32px; font-size: .95rem; }
.menu-mobile .menu-foot a { display: block; padding: 6px 0; }
body.menu-open { overflow: hidden; }
@media (min-width: 1100px) { .menu-mobile { display: none !important; } }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); }
.hero-grid { display: grid; gap: 8px; align-items: center; padding-top: 8px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: .86rem; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--brass-ink); }
.hero-visual { position: relative; aspect-ratio: 1 / .66; margin-inline: calc(var(--gutter) * -0.5); }
.hero-orbit { position: absolute; left: -2%; top: 6%; width: 104%; height: 78%; color: var(--brass); opacity: .5; overflow: visible; }
.hero-orbit ellipse { fill: none; stroke: currentColor; stroke-width: .7; vector-effect: non-scaling-stroke; }
.hero-bottle { position: absolute; bottom: 0; mix-blend-mode: multiply; }
.hero-bottle img { width: 100%; }
.hero-bottle--c { left: 27%; width: 46%; z-index: 3; }
.hero-bottle--l { left: 5%; width: 36%; z-index: 2; bottom: 2%; }
.hero-bottle--r { right: 5%; width: 36%; z-index: 2; bottom: 2%; }
.hero-plinth { position: absolute; left: 4%; right: 4%; bottom: 5.5%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent); z-index: 1; }
.hero-caption { position: absolute; right: 0; bottom: -26px; font-size: .74rem; letter-spacing: .08em; color: var(--muted); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 72px); min-height: min(calc(100vh - var(--header-h) - 110px), 680px); padding-top: 16px; padding-bottom: 48px; }
  .hero-visual { order: 2; margin: 0; }
}
@media (max-width: 899px) {
  .hero-grid { padding-top: 0; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; aspect-ratio: 1 / .58; }
  .hero-orbit { top: 0; height: 84%; }
  .hero-copy .eyebrow { margin-bottom: .9rem; }
  .hero-copy .lead { margin: 1rem 0 1.5rem; font-size: 1rem; }
  .hero-facts { margin-top: 22px; }
}

/* Héros photographique (mise en scène) */
.hero--photo { display: flex; align-items: center; min-height: min(calc(100vh - var(--header-h) - 34px), 820px); }
.hero--photo .hero-photo { position: absolute; inset: 0; }
.hero--photo .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(243, 237, 226, .92) 0%, rgba(243, 237, 226, .55) 34%, rgba(243, 237, 226, 0) 58%); pointer-events: none; }
.hero--photo .hero-grid { position: relative; z-index: 2; min-height: 0; padding-top: 56px; padding-bottom: 56px; width: 100%; }
@media (min-width: 900px) { .hero--photo .hero-copy { max-width: 540px; } .hero--photo .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899px) {
  .hero--photo { display: block; min-height: 0; }
  .hero--photo::before { display: none; }
  .hero--photo .hero-photo { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; }
  .hero--photo .hero-photo img { object-position: 74% 60%; }
  .hero--photo .hero-grid { padding-top: 26px; padding-bottom: 48px; }
}

/* Révélation douce au chargement (désactivée si mouvement réduit) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 1s var(--ease) both; }
  .reveal-2 { animation-delay: .08s; }
  .reveal-3 { animation-delay: .16s; }
  .reveal-4 { animation-delay: .24s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-bottle--l, .hero-bottle--r { animation: rise 1.2s var(--ease) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Cartes produit ---------- */
.product-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(12px, 2.2vw, 28px); }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 999px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; isolation: isolate; }
.card-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tint, var(--brass)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card-media picture { position: absolute; inset: 0; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.card-media .alt img { opacity: 0; }
.card-media .alt--cover img { object-fit: cover; mix-blend-mode: normal; transform: scale(1.04); }
@media (hover: hover) { .card-link:hover .card-media .alt--cover img { transform: scale(1); } }
@media (hover: hover) {
  .card-link:hover .card-media .main img { opacity: 0; }
  .card-link:hover .card-media .alt img { opacity: 1; }
  .card-link:hover .card-media::after { transform: scaleX(1); }
  .card-link:hover .card-title { color: var(--brass-ink); }
}
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 10px; background: var(--ink); color: var(--paper); font: 500 .64rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.badge--soft { background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }
.card-body { padding-top: 16px; }
.card-title { font-size: clamp(1.12rem, 1.6vw, 1.38rem); line-height: 1.15; transition: color .3s; }
.card-notes { margin: .4em 0 .7em; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.card-meta { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.price { font: 500 1rem/1 var(--sans); color: var(--ink); letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
.price-old { font-size: .86em; color: var(--muted); text-decoration-thickness: 1px; font-variant-numeric: lining-nums tabular-nums; }
.price-off { font: 500 .66rem/1 var(--sans); letter-spacing: .08em; color: #8a2a1e; background: #f4e1d9; padding: 4px 6px; align-self: center; }
.badge--offer { left: auto; right: 12px; background: #8a2a1e; color: #fff; }
.card-meta { flex-wrap: wrap; row-gap: 4px; }
.card-meta .price-off { display: none; }
.card-media::after { opacity: 0; }
@media (hover: hover) { .card-link:hover .card-media::after { opacity: 1; } }
.volume { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-add {
  margin-top: 14px; align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none;
  font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: .6em; border-bottom: 1px solid var(--line-strong);
}
.card-add:hover { border-color: var(--ink); }
.card-add[disabled] { color: var(--muted); border-color: transparent; cursor: default; }
.card-add.is-added { color: var(--ok); }

/* ---------- Familles olfactives (accueil) ---------- */
.families { list-style: none; border-top: 1px solid var(--line); }
.family { border-bottom: 1px solid var(--line); }
.family a { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 6px 18px; align-items: baseline; padding: 26px 0; text-decoration: none; color: inherit; }
.family-num { font: 400 .8rem/1 var(--sans); letter-spacing: .1em; color: var(--brass-ink); }
.family-title { font: 400 clamp(1.45rem, 2.9vw, 2.2rem)/1.1 var(--serif); color: var(--ink); transition: color .3s, transform .5s var(--ease); }
.family-text { grid-column: 2; margin: 0; font-size: .92rem; color: var(--muted); }
.family-names { grid-column: 2; margin: 2px 0 0; font: italic 400 .98rem/1.5 var(--serif); color: var(--ink-soft); }
.family-go { grid-column: 3; grid-row: 1; color: var(--ink); }
@media (hover: hover) { .family a:hover .family-title { color: var(--brass-ink); transform: translateX(6px); } }
@media (min-width: 900px) {
  .family a { grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1fr) auto; }
  .family-text { grid-column: 3; grid-row: 1; }
  .family-names { grid-column: 3; grid-row: 2; }
  .family-go { grid-column: 4; }
}

/* ---------- Maison (accueil) ---------- */
.maison-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.maison-figure { margin: 0; }
.maison-figure img { width: 100%; }
.maison-figure figcaption { margin-top: 12px; font-size: .78rem; color: #9b9184; letter-spacing: .04em; }
.maison-copy p { color: #cfc6b8; max-width: 32em; }
.maison-copy .h2 { margin-bottom: 1.6rem; }
.maison-copy .h2 em { color: var(--champagne); }
.colors { list-style: none; display: grid; gap: 14px; margin: 28px 0 34px; }
.colors li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start; font-size: .92rem; }
.colors .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
@media (min-width: 900px) { .maison-grid { grid-template-columns: 1.1fr 1fr; } }

/* ---------- Avis ---------- */
.quotes { list-style: none; display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding-top: 26px; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.08rem, 1.6vw, 1.25rem)/1.5 var(--serif); color: var(--ink); }
.quote figcaption { font-size: .82rem; color: var(--muted); margin-top: auto; }
.quote figcaption a { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--brass); vertical-align: -2px; }
.stars svg { width: 13px; height: 13px; fill: currentColor; }
.stars .off { color: var(--line-strong); }
.source-note { margin-top: 36px; font-size: .8rem; color: var(--muted); max-width: 60em; }

/* ---------- Services ---------- */
.services { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services li { padding: 30px 26px 30px 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-content: start; }
.services .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--brass-ink); margin-top: 2px; }
.services strong { font: 500 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.services span { font-size: .9rem; color: var(--muted); }
.services a { color: var(--ink); }
@media (min-width: 900px) { .services li + li { padding-left: 26px; border-left: 1px solid var(--line); } }
@media (max-width: 899px) { .services li + li { border-top: 1px solid var(--line); } }

/* ---------- En-tête de page ---------- */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-head .lead { margin-top: 1.2rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 22px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Catalogue ---------- */
.toolbar { display: grid; gap: 18px; padding: 20px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 44px); }
.toolbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.search-field { position: relative; flex: 1 1 260px; max-width: 420px; }
.search-field .icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; min-height: 46px; padding: 8px 8px 8px 30px; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; font-size: 1rem; border-radius: 0; }
.search-field input:focus { outline: none; border-bottom-color: var(--ink); }
.search-field input::-webkit-search-cancel-button { cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; font: 400 .86rem/1 var(--sans); color: var(--ink-soft); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.toolbar-label { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.toolbar-end { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; cursor: pointer; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.select { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; }
.select select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 30px 0 12px; border: 1px solid var(--line-strong); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141210'/%3E%3C/svg%3E") no-repeat right 11px center; border-radius: 0; }
.results-count { font-size: .86rem; color: var(--muted); margin: 0; }
@media (max-width: 699px) {
  .page-head { padding: 18px 0 18px; }
  .page-head .display { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .page-head .lead { font-size: .98rem; margin-top: .7rem; }
  .page-head .breadcrumb { margin-bottom: 12px; }
  .toolbar { gap: 10px; padding: 12px 0 14px; margin-bottom: 22px; }
  .toolbar-end { margin-left: 0; width: 100%; justify-content: space-between; gap: 8px; }
  .toolbar-end .toolbar-label { display: none; }
  .check { font-size: .86rem; }
  .toolbar { grid-template-columns: minmax(0, 1fr); }
  .toolbar-row { min-width: 0; }
  .search-field { flex: 1 1 100%; max-width: none; }
  .toolbar-end { flex-wrap: nowrap; min-width: 0; }
  .toolbar .check { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
  .select { flex: 0 1 150px; min-width: 0; }
  .select select { min-height: 40px; font-size: .86rem; width: 100%; text-overflow: ellipsis; }
  .toolbar-row[role="group"] > .toolbar-label { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 36px; }
  .toolbar-row[role="group"] { width: 100%; }
  .toolbar-row[role="group"] .chips { width: 100%; }
}
.empty-state { text-align: center; padding: 60px 0; }
.empty-state p { font: 400 1.4rem/1.35 var(--serif); color: var(--ink); }

/* ---------- Fiche produit ---------- */
.pdp { padding-top: clamp(12px, 2vw, 28px); padding-bottom: clamp(56px, 8vw, 110px); }
.pdp-grid { display: grid; gap: clamp(24px, 4vw, 72px); align-items: start; }
@media (min-width: 960px) { .pdp-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.gallery { position: relative; min-width: 0; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: color-mix(in srgb, var(--tint, var(--sand)) 9%, var(--paper)); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; position: relative; margin: 0; }
.gallery-slide picture, .gallery-slide img { width: 100%; height: 100%; }
.gallery-slide img { object-fit: contain; mix-blend-mode: multiply; }
.gallery-slide.is-ambiance img, .gallery-slide.is-dessus img { object-fit: cover; mix-blend-mode: normal; }
.gallery-thumbs button.is-dessus img { object-fit: cover; mix-blend-mode: normal; }
.gallery-slide.is-etui img { padding: 6%; }
.gallery-slide.is-campagne img { object-fit: cover; mix-blend-mode: normal; padding: 0 !important; }
.gallery-thumbs button.is-campagne img { object-fit: cover; mix-blend-mode: normal; }
.slide-tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; background: rgba(15, 14, 12, .55); color: #f3ede2; font: 500 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; backdrop-filter: blur(4px); }
.maison-band { margin: 0 0 clamp(28px, 4vw, 48px); aspect-ratio: 21 / 9; overflow: hidden; }
.maison-band picture, .maison-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .maison-band { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); } }
.family-img { display: block; width: 88px; aspect-ratio: 1; overflow: hidden; grid-row: span 3; align-self: center; }
.family-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .family a:hover .family-img img { transform: scale(1.06); } }
.family a:has(.family-img) { grid-template-columns: 88px 2.2rem 1fr auto; }
.family a:has(.family-img) .family-text, .family a:has(.family-img) .family-names { grid-column: 3 / 5; }
.family a:has(.family-img) .family-go { grid-column: 4; }
@media (max-width: 599px) { .family a:has(.family-img) { grid-template-columns: 72px 1fr auto; } .family-img { width: 72px; } .family a:has(.family-img) .family-num { display: none; } .family a:has(.family-img) .family-title { grid-column: 2; } .family a:has(.family-img) .family-text, .family a:has(.family-img) .family-names { grid-column: 2 / 4; } .family a:has(.family-img) .family-go { grid-column: 3; grid-row: 1; } }
@media (min-width: 900px) {
  .family a:has(.family-img) { grid-template-columns: 120px 3rem minmax(0, 1.1fr) minmax(0, 1fr) auto; }
  .family-img { width: 120px; }
  .family a:has(.family-img) .family-text { grid-column: 4; grid-row: 1; }
  .family a:has(.family-img) .family-names { grid-column: 4; grid-row: 2; }
  .family a:has(.family-img) .family-go { grid-column: 5; grid-row: 1; }
}
.gallery-thumbs { list-style: none; display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid transparent; background: var(--paper); overflow: hidden; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs button.is-ambiance img { object-fit: cover; mix-blend-mode: normal; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery-dots { display: none; }
@media (max-width: 959px) {
  .gallery { margin-inline: calc(var(--gutter) * -1); }
  .gallery-slide { aspect-ratio: auto; height: min(50vh, 125vw); height: min(50svh, 125vw); }
  .pdp-info > .eyebrow { display: none; }
  .gallery-dots { margin-top: 8px; }
  .gallery-slide.is-flacon img { padding: 4% 0; }
  .pdp-grid { gap: 20px; }
  .pdp .breadcrumb { margin-bottom: 12px; }
  .pdp-tagline { margin-bottom: 1rem; }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background .3s, transform .3s; }
  .gallery-dots span.is-active { background: var(--ink); transform: scale(1.2); }
}
.pdp-info { min-width: 0; }
/* Photo et texte défilent ensemble avec la page (pas de colonne collante). */
.pdp-title { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 400; line-height: 1.02; }
.pdp-tagline { font: italic 400 clamp(1.08rem, 1.7vw, 1.28rem)/1.4 var(--serif); color: var(--ink-soft); margin: .6rem 0 1.4rem; }
.pdp-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price { font: 400 1.9rem/1 var(--sans); color: var(--ink); font-variant-numeric: lining-nums; }
.pdp-spec { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pdp-rating { margin-left: auto; font-size: .84rem; color: var(--muted); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.pdp-rating:hover { color: var(--ink); }
.pdp-notes-mini { margin: 20px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.pdp-notes-mini div { display: grid; grid-template-columns: 4.2rem 1fr; gap: 12px; }
.pdp-notes-mini dt { font: 500 .7rem/1.9 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); }
.pdp-notes-mini dd { margin: 0; color: var(--ink-soft); }
.stock { display: inline-flex; align-items: center; gap: 9px; margin: 22px 0 16px; font-size: .9rem; color: var(--ink); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 15%, transparent); }
.stock--out::before { background: var(--err); box-shadow: 0 0 0 4px color-mix(in srgb, var(--err) 14%, transparent); }
.stock--unknown::before { background: var(--line-strong); box-shadow: none; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); background: var(--paper); height: 54px; }
.qty button { width: 44px; border: 0; background: none; font-size: 1.2rem; color: var(--ink); }
.qty button:disabled { color: var(--line-strong); cursor: default; }
.qty input { width: 42px; border: 0; background: none; text-align: center; font-size: 1rem; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 34px; font-size: .92rem; }
.form-msg { min-height: 1.4em; margin: 10px 0 0; font-size: .88rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.pdp-assurance { list-style: none; margin: 22px 0 0; display: grid; gap: 10px; font-size: .88rem; color: var(--ink-soft); }
.pdp-assurance li { display: flex; gap: 12px; align-items: center; }
.pdp-assurance .icon { width: 20px; height: 20px; color: var(--brass-ink); }
.pdp-assurance a { color: var(--ink); }
.out-box { padding: 18px; background: var(--paper); border: 1px solid var(--line); font-size: .92rem; }
.out-box p:last-child { margin: 0; }

.pyramid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pyramid-tier { display: grid; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .pyramid-tier { grid-template-columns: 12rem 1fr; align-items: baseline; } }
.pyramid-label { display: flex; align-items: baseline; gap: 12px; }
.pyramid-label strong { font: 400 1.45rem/1.05 var(--serif); color: var(--ink); }
.pyramid-label span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pyramid-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pyramid-notes li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; color: var(--ink); background: var(--paper); }

.story-grid { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 960px) { .story-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.story-text p { font-size: 1.06rem; }
.story-text p:first-child::first-letter { font: 400 3.2em/.85 var(--serif); float: left; margin: .06em .1em 0 0; color: var(--brass-ink); }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font: 400 1.15rem/1.35 var(--serif); color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 11px; height: 11px; flex: none; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(225deg); }
.accordion .acc-body { padding: 0 0 24px; max-width: 46em; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

.reviews-head { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.reviews-score { display: flex; align-items: baseline; gap: 14px; }
.reviews-score strong { font: 400 2.6rem/1 var(--serif); color: var(--ink); }
.review-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.review { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
@media (min-width: 800px) { .review { grid-template-columns: 14rem 1fr; gap: 30px; } }
.review-meta { font-size: .84rem; color: var(--muted); display: grid; gap: 4px; align-content: start; }
.review-meta b { font-weight: 500; color: var(--ink); font-size: .92rem; }
.review p { margin: 0; color: var(--ink-soft); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 239, .97); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(0, 0, 0, .3);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy .sb-info { min-width: 0; flex: 1; }
.sticky-buy .sb-name { display: block; font: 400 1.05rem/1.2 var(--serif); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-price { font-size: .86rem; color: var(--muted); }
.sticky-buy .btn { min-height: 48px; padding: 0 20px; }
@media (min-width: 960px) { .sticky-buy { display: none; } }
@media (max-width: 959px) { body[data-page="product"] .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Collection (page de campagne) ---------- */
.collection-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.c-row { display: grid; grid-template-columns: 112px 1fr; gap: 18px clamp(18px, 3vw, 44px); padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); align-items: center; scroll-margin-top: calc(var(--header-h) + 20px); }
.c-media { display: block; aspect-ratio: 4 / 5; background: var(--paper); position: relative; }
.c-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.c-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.c-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.c-head h2 a { text-decoration: none; }
.c-head .price { font-size: 1.1rem; }
.c-tag { margin: .3em 0 .9em; font: italic 400 1.02rem/1.45 var(--serif); }
.c-notes { display: grid; gap: 4px; font-size: .9rem; margin: 0 0 16px; }
.c-notes div { display: grid; grid-template-columns: 3.6rem 1fr; gap: 10px; }
.c-notes dt { font: 500 .66rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.c-notes dd { margin: 0; }
/* Fiche produit : notes à gauche, matières à droite */
.notes-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.notes-main .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.notes-figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.notes-figure picture, .notes-figure img { width: 100%; height: 100%; object-fit: cover; }
/* Sur ordinateur, la photo prend exactement la hauteur du titre + notes : haut et bas alignés, tout tient à l'écran. */
@media (min-width: 960px) {
  .notes-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: stretch; }
  .notes-main .section-head { display: block; }
  .notes-main .section-head p { margin-top: 10px; }
  .notes-main .pyramid-tier { padding: 22px 0; }
  .notes-figure { aspect-ratio: auto; position: relative; min-height: 340px; }
  .notes-figure picture, .notes-figure img { position: absolute; inset: 0; }
}

/* La collection : au survol, photo du flacon avec son étui */
.c-media { overflow: hidden; }
.c-media picture { position: absolute; inset: 0; }
.c-media .c-etui { background: #fff; opacity: 0; transition: opacity .6s var(--ease); }
.c-media .c-etui img { object-fit: contain !important; mix-blend-mode: normal; transform: scale(.96); transition: transform .9s var(--ease); }
.c-media .c-main img { transition: transform 1s var(--ease); }
@media (hover: hover) {
  .c-row:hover .c-media .c-etui { opacity: 1; }
  .c-row:hover .c-media .c-etui img { transform: none; }
  .c-row:hover .c-media .c-main img { transform: scale(1.04); }
}
.c-media .badge { z-index: 2; }
.collection-band { position: relative; margin: 0 0 clamp(28px, 4vw, 48px); aspect-ratio: 21 / 9; overflow: hidden; }
.collection-band picture, .collection-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 64%; }
.collection-band figcaption { position: absolute; left: clamp(16px, 2.5vw, 32px); bottom: clamp(14px, 2.2vw, 28px); display: grid; gap: 6px; color: #f6efe3; font: italic 400 clamp(1rem, 1.6vw, 1.3rem)/1.3 var(--serif); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.collection-band figcaption span { font: 500 .62rem/1 var(--sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); }
@media (max-width: 699px) { .collection-band { aspect-ratio: 16 / 9; margin-inline: calc(var(--gutter) * -1); } .collection-band figcaption { font-size: .92rem; } }
.c-univers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 420px; margin: 4px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-univers > div { display: grid; justify-items: center; gap: 8px; padding: 10px 2px; }
.c-univers dt { font: 500 .6rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-univers dd { margin: 0; height: 10px; display: grid; place-items: center; }
.c-univers .yes { width: 9px; height: 9px; border-radius: 50%; background: var(--brass); display: block; }
.c-univers .no { width: 10px; height: 1px; background: var(--line-strong); display: block; }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.c-actions .btn { min-height: 46px; padding: 0 20px; }
.c-body { grid-column: 1 / -1; }
@media (min-width: 640px) { .c-row { grid-template-columns: 160px 1fr; } .c-body { grid-column: auto; } }
@media (min-width: 1000px) { .c-row { grid-template-columns: 200px 1fr 1fr; } .c-notes { margin: 0; } .c-side { display: flex; flex-direction: column; gap: 18px; } }

.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.matrix th, .matrix td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; padding-left: 0; }
.matrix thead th { font: 500 .68rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; }
.matrix tbody th { font: 400 1rem/1.25 var(--serif); color: var(--ink); }
.matrix tbody th a { text-decoration: none; }
.matrix .yes { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); }
.matrix .no { display: inline-block; width: 10px; height: 1px; background: var(--line-strong); vertical-align: middle; }
.matrix td.num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: s; padding-top: 22px; border-top: 1px solid var(--black-line); }
.steps li::before { content: "0" counter(s); display: block; font: 400 2.2rem/1 var(--serif); color: var(--champagne); margin-bottom: 14px; }
.steps strong { display: block; color: var(--paper); font-weight: 500; margin-bottom: 6px; }

/* ---------- Panier (tiroir + page) ---------- */
dialog { padding: 0; border: 0; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(15, 14, 12, .45); }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); height: 100%; height: 100dvh; background: var(--ivory); flex-direction: column; }
.drawer[open] { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: slide-in .38s var(--ease); }
  @keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  dialog[open]::backdrop { animation: fade .3s ease; }
  @keyframes fade { from { opacity: 0; } }
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter) 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.45rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 12px; }
.drawer-foot .btn-row { display: grid; gap: 10px; }

.cart-lines { list-style: none; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 6px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line .thumb { grid-row: span 2; display: block; aspect-ratio: 4 / 5; background: var(--paper); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line h3 { font-size: 1.1rem; line-height: 1.2; }
.cart-line h3 a { text-decoration: none; }
.cart-line .meta { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.cart-line .line-total { font-weight: 500; color: var(--ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-line .controls { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cart-line .remove { border: 0; background: none; padding: 8px 0; font-size: .8rem; letter-spacing: .06em; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; min-height: 40px; }
.cart-line .remove:hover { color: var(--err); }
.cart-line .line-msg { grid-column: 2 / -1; margin: 0; font-size: .84rem; }
.cart-line.is-unavailable .thumb, .cart-line.is-unavailable h3 { opacity: .55; }
.line-msg.warn { color: var(--warn); }
.line-msg.err { color: var(--err); }
.totals { display: grid; gap: 8px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; gap: 20px; }
.totals .grand { font: 500 1.15rem/1.3 var(--sans); color: var(--ink); padding-top: 10px; border-top: 1px solid var(--line); }
.totals .note { font-size: .82rem; color: var(--muted); }
.cart-empty { text-align: center; padding: 56px 0; }
.cart-empty p { font: 400 1.4rem/1.35 var(--serif); color: var(--ink); margin-bottom: 1.4rem; }

.cart-page { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .cart-page { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); } .summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.summary { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.summary h2 { font-size: 1.5rem; }
.notice { padding: 16px 18px; border-left: 2px solid var(--brass); background: color-mix(in srgb, var(--champagne) 22%, var(--paper)); font-size: .9rem; color: var(--ink-soft); }
.notice strong { color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }
.notice--err { border-left-color: var(--err); background: #f6e6e1; }
.secure-list { list-style: none; display: grid; gap: 8px; font-size: .85rem; color: var(--muted); }
.secure-list li { display: flex; gap: 10px; align-items: center; }
.secure-list .icon { width: 18px; height: 18px; color: var(--brass-ink); }

.totals .saving { color: #8a2a1e; }
.totals .free { color: var(--ok); }
/* Photos produit = mises en scène : toujours en plein cadre, sans fusion avec le fond */
img[src*="-campagne-"], img[src*="-texture-"] { object-fit: cover !important; mix-blend-mode: normal !important; padding: 0 !important; }

/* Survol des cartes : matières premières du parfum + notes */
.card-media .main img, .card-media .alt img { transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card-reveal {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: clamp(16px, 2vw, 26px); color: #f6efe3;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0) 30%, rgba(12, 10, 8, .5) 62%, rgba(12, 10, 8, .82) 100%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.cr-name { font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.1 var(--serif); letter-spacing: -.01em; transform: translateY(10px); transition: transform .7s var(--ease); }
.cr-notes { display: grid; gap: 6px; font-size: .82rem; line-height: 1.35; color: rgba(246, 239, 227, .9); transform: translateY(14px); transition: transform .8s var(--ease) .04s; }
.cr-notes > span { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 10px; align-items: baseline; }
.cr-notes i { display: block; font: 500 .62rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--champagne); }
.cr-cta { align-self: flex-start; font: 500 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid rgba(216, 195, 154, .7); transform: translateY(16px); transition: transform .9s var(--ease) .08s; }
.card-media::before { content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid rgba(216, 195, 154, .55); opacity: 0; transform: scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
@media (hover: hover) {
  .card-link:hover .card-media .alt--cover img { transform: scale(1.06); }
  .card-link:hover .card-reveal { opacity: 1; }
  .card-link:hover .cr-name, .card-link:hover .cr-notes, .card-link:hover .cr-cta { transform: none; }
  .card-link:hover .card-media::before { opacity: 1; transform: none; }
  .card-link:hover .badge--offer { opacity: 0; }
  .card-link:hover .badge:not(.badge--offer) { z-index: 3; }
  .card-link:focus-visible .card-media .main img { opacity: 0; }
  .card-link:focus-visible .card-media .alt img, .card-link:focus-visible .card-reveal { opacity: 1; }
}
.badge { transition: opacity .4s var(--ease); }
.choice-price strong { color: var(--ok); font-weight: 500; }

/* ---------- Commande (interface de paiement) ---------- */
.co-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .co-grid { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); } .co-summary { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 959px) { .co-summary { order: -1; } }
.co-form { display: grid; gap: 0; }
.co-section { display: grid; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.co-section:first-child { border-top: 0; padding-top: 0; }
.co-section h2 { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; }
.co-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink); font: 500 .8rem/1 var(--sans); }
.co-form .hint { margin: 0; font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.co-form .hint .icon { width: 16px; height: 16px; color: var(--brass-ink); }
.form-row--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row--3 { grid-template-columns: 1fr 1.3fr 1.3fr; } }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field select { appearance: none; -webkit-appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141210'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 34px; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.choice-body { display: grid; gap: 2px; }
.choice-body b { font-weight: 500; color: var(--ink); }
.choice-body small { color: var(--muted); font-size: .84rem; }
.choice-price { font-size: .86rem; color: var(--muted); text-align: right; }
.pay-panel { margin: -4px 0 4px; padding: 18px; border: 1px solid var(--line); border-top: 0; background: var(--ivory); }
.faux-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faux { display: grid; gap: 6px; }
.faux--wide { grid-column: 1 / -1; }
.faux span { font: 500 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.faux i { font-style: normal; min-height: 50px; display: flex; align-items: center; padding: 0 14px; border: 1px dashed var(--line-strong); background: var(--paper); color: #9b9184; }
.check--terms { align-items: flex-start; font-size: .92rem; margin-top: 6px; }
.check--terms input { margin-top: 3px; }
.co-pay-btn { margin-top: 6px; min-height: 58px; }
.co-pay-btn .icon { width: 18px; height: 18px; }
.co-lines { list-style: none; display: grid; gap: 14px; }
.co-lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.co-lines li.is-off { opacity: .6; }
.co-thumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--ivory); }
.co-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.co-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font: 500 .7rem/20px var(--sans); text-align: center; }
.co-name { display: grid; gap: 2px; min-width: 0; }
.co-name b { font: 400 1.02rem/1.2 var(--serif); color: var(--ink); }
.co-name small { font-size: .8rem; color: var(--muted); }
.co-name small.err { color: var(--err); }
.co-price { text-align: right; font-weight: 500; color: var(--ink); display: grid; white-space: nowrap; }
.co-price s { font-weight: 400; font-size: .82rem; color: var(--muted); }

/* ---------- Accueil (sobre) ---------- */
.h-hero { display: grid; background: var(--ivory); }
.h-hero-copy { padding: 36px var(--gutter) 44px; }
.h-title { font: 400 clamp(2.6rem, 6vw, 4.8rem)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.h-lead { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; color: var(--ink-soft); max-width: 26em; margin: 0 0 28px; }
.h-actions { margin: 0 0 18px; }
.h-note { margin: 0; font-size: .86rem; color: var(--muted); }
.h-hero-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; order: -1; }
.h-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 60%; }
@media (min-width: 960px) {
  .h-hero { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); min-height: min(calc(100vh - var(--header-h) - 34px), 760px); }
  .h-hero-copy { align-self: center; padding: 64px clamp(32px, 4vw, 72px) 64px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
  .h-hero-media { order: 0; aspect-ratio: auto; height: 100%; }
  .h-hero-media img { object-position: 80% center; }
}
.h-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.h-more { font-size: .92rem; color: var(--ink); text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--line-strong); }
.h-more:hover { text-decoration-color: var(--ink); }
.h-more--light { color: var(--paper); text-decoration-color: var(--black-line); }
.h-more--light:hover { color: var(--paper); text-decoration-color: var(--champagne); }
.fam-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
@media (min-width: 640px) { .fam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fam-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fam-tile { display: block; text-decoration: none; color: inherit; }
.fam-tile picture { display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: 12px; }
.fam-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) { .fam-tile:hover img { transform: scale(1.04); } .fam-tile:hover .fam-name { text-decoration: underline; text-underline-offset: .2em; } }
.fam-name { display: block; font: 400 1.2rem/1.2 var(--serif); color: var(--ink); }
.fam-count { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.h-info { list-style: none; display: grid; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .h-info { grid-template-columns: repeat(3, 1fr); } }
.h-info li { display: grid; gap: 4px; font-size: .92rem; color: var(--muted); }
.h-info strong { font-weight: 500; color: var(--ink); }
.h-info a { color: var(--ink); }

.h-faq { display: grid; gap: clamp(20px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .h-faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .h-faq-head { position: sticky; top: calc(var(--header-h) + 24px); } }
.h-faq-head .h2 { margin-bottom: 1rem; }
.h-faq-head p { margin: 0; max-width: 26em; }
.h-faq-head a { color: var(--ink); }
a[href^="tel:"] { white-space: nowrap; }

/* Sobriété globale : pas de trait devant les sur-titres, pas de mot en italique décoratif dans les titres */
.eyebrow::before { display: none; }
.display em, .h2 em, .quote-xl em { font-style: normal; color: inherit; }
.pyramid-label span:empty { display: none; }

/* ---------- La Maison : photo à gauche, texte à droite ---------- */
.maison-layout { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .maison-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.maison-figure--photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.maison-figure--photo img { width: 100%; height: 100%; object-fit: cover; }
.maison-layout .story-text p:last-of-type { margin-bottom: 0; }

/* ---------- La Maison (page éditoriale) ---------- */
.mh { margin: 0 0 clamp(8px, 2vw, 24px); }
.mh-media { display: block; aspect-ratio: 16 / 7; overflow: hidden; }
.mh-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
@media (max-width: 699px) { .mh-media { aspect-ratio: 4 / 3; } .mh-media img { object-position: 50% 60%; } }
.chapter-num { font: 400 1rem/1 var(--serif); letter-spacing: .3em; color: var(--brass-ink); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.chapter-num::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.section--dark .chapter-num { color: var(--champagne); }
.chapter-grid { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .chapter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .chapter-grid--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.chapter-copy .h2 { margin-bottom: 1.6rem; }
.chapter-figure { margin: 0; }
.chapter-figure img { width: 100%; }
.chapter-figure figcaption { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.chapter--center { text-align: center; }
.chapter--center .chapter-num { justify-content: center; }
.chapter--center .chapter-num::after { display: none; }
.quote-xl { font: 400 clamp(1.7rem, 3.6vw, 2.8rem)/1.25 var(--serif); color: var(--ink); margin: 0 auto 1.6rem; max-width: 22em; text-wrap: balance; }
.quote-xl em { color: var(--brass-ink); }
.chapter-lead { font-size: 1.06rem; max-width: 36em; margin: 0 auto; color: var(--ink-soft); }
.orbit-mark { width: 90px; margin: 36px auto 0; color: var(--brass); }
.orbit-mark ellipse { fill: none; stroke: currentColor; stroke-width: 1; }
.voyages { list-style: none; display: grid; gap: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { .voyages { grid-template-columns: repeat(3, 1fr); } }
.voyage-media { display: grid; aspect-ratio: 4 / 5; overflow: hidden; gap: 4px; }
.voyage-media.is-duo { grid-template-columns: 1fr 1fr; }
.voyage-media a, .voyage-media picture { display: block; height: 100%; overflow: hidden; }
.voyage-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .voyage:hover .voyage-media img { transform: scale(1.04); } }
.voyage-line { display: block; width: 56px; height: 3px; background: var(--c); margin: 22px 0 14px; }
.voyage-title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; }
.voyage-names { margin: .5em 0 0; font-size: .92rem; color: var(--muted); }
.voyage-names a { color: var(--ink); }
.roster { list-style: none; margin: 26px 0 32px; border-top: 1px solid var(--black-line); }
.roster li { border-bottom: 1px solid var(--black-line); }
.roster a { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 0; text-decoration: none; color: #e8dfd1; }
.roster-dot { width: 10px; height: 10px; border-radius: 50%; }
.roster-name { font: 400 1.08rem/1.2 var(--serif); color: var(--paper); }
.roster-acc { grid-column: 2; grid-row: 2; font-size: .8rem; color: #a99f91; }
.roster-price { grid-column: 3; grid-row: 1 / 3; font-size: .9rem; color: var(--champagne); white-space: nowrap; }
@media (hover: hover) { .roster a:hover .roster-name { color: var(--champagne); } }
.section--dark .hero-actions .link-arrow { color: var(--paper); }

/* ---------- Recherche ---------- */
.search-dialog { width: 100%; max-width: 100vw; margin: 0; inset: 0 0 auto 0; background: var(--ivory); padding: 0; }
.search-dialog .container { padding-top: 20px; padding-bottom: 28px; }
.search-top { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); }
.search-top .icon { width: 22px; height: 22px; color: var(--muted); }
.search-top input { flex: 1; min-width: 0; min-height: 64px; border: 0; background: none; font: 400 clamp(1.3rem, 3.4vw, 2rem)/1.1 var(--serif); color: var(--ink); }
.search-top input:focus { outline: none; }
.search-results { list-style: none; display: grid; gap: 0; margin-top: 10px; max-height: 60vh; overflow-y: auto; }
.search-results a { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--paper); }
.search-results .sr-img { aspect-ratio: 4 / 5; background: var(--paper); }
.search-results .sr-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.search-results b { display: block; font: 400 1.1rem/1.2 var(--serif); color: var(--ink); }
.search-results small { color: var(--muted); font-size: .82rem; }
.search-hint { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }
mark { background: color-mix(in srgb, var(--champagne) 55%, transparent); color: inherit; padding: 0 1px; }

/* ---------- Pages de contenu ---------- */
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ink); }
.todo { margin: 1.2em 0; padding: 14px 16px; border: 1px dashed #b5643e; background: #fbefe6; color: #5b2a1c; font-size: .9rem; }
.todo[data-inline] { display: inline; margin: 0; padding: 1px 6px; font-size: .85em; border-radius: 2px; }
.todo strong { display: block; font: 500 .7rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0 0 2em; }
.facts div { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .72rem/1.7 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.contact-grid { display: grid; gap: clamp(32px, 6vw, 96px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.contact-card { display: grid; gap: 22px; align-content: start; }
.contact-card a { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); justify-self: start; }
.contact-card a:hover { border-color: var(--ink); }
.contact-card small { display: block; font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font: 500 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 0; font-size: 1rem; color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.field .err { color: var(--err); font-size: .84rem; margin: 0; }
.field .hint { color: var(--muted); font-size: .84rem; margin: 0; }

.notfound { text-align: center; padding: clamp(64px, 12vw, 160px) 0; }
.notfound .display { margin-bottom: .3em; }
.notfound .orbit-404 { width: 160px; margin: 0 auto 30px; color: var(--brass); }
.notfound .orbit-404 ellipse { fill: none; stroke: currentColor; stroke-width: 1; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--black); color: #b8ae9f; font-size: .92rem; padding: clamp(56px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 26em; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.site-footer h2 { font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a, .site-footer .linklike { color: #ddd4c6; text-decoration: none; padding: 5px 0; display: inline-block; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--paper); text-decoration: underline; }
.linklike { border: 0; background: none; padding: 0; font: inherit; text-align: left; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--black-line); font-size: .8rem; color: #8f8679; }

/* ---------- Consentement ---------- */
.consent { position: fixed; z-index: 120; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-left: auto; background: var(--paper); border: 1px solid var(--line-strong); box-shadow: var(--shadow); padding: 22px; font-size: .9rem; }
.consent h2 { font-size: 1.3rem; margin-bottom: 8px; }
.consent p { color: var(--ink-soft); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent-actions .btn { min-height: 46px; padding: 0 12px; font-size: .72rem; letter-spacing: .12em; }
.consent-actions .wide { grid-column: 1 / -1; }
.consent-opts { display: grid; gap: 12px; margin: 14px 0 4px; }
.consent-opt { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 12px; border: 1px solid var(--line); background: var(--ivory); }
.consent-opt input { width: 20px; height: 20px; accent-color: var(--ink); margin: 2px 0 0; }
.consent-opt b { font-weight: 500; color: var(--ink); }
.consent-opt span { grid-column: 2; font-size: .84rem; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 140; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); background: var(--ink); color: var(--paper); padding: 14px 20px; font-size: .9rem; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Débogage mesure ---------- */
.debug-panel { position: fixed; right: 12px; top: 120px; z-index: 130; width: min(360px, calc(100vw - 24px)); max-height: 50vh; overflow: auto; background: #0f0e0c; color: #d8f5d0; font: 12px/1.45 ui-monospace, Consolas, monospace; padding: 10px; border: 1px solid #333; }
.debug-panel b { color: #ffd78a; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- Espace client */
.auth-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .auth-grid { grid-template-columns: 1fr 1fr; gap: 0; } .auth-col { padding-right: clamp(40px, 5vw, 80px); } .auth-col + .auth-col { padding: 0 0 0 clamp(40px, 5vw, 80px); border-left: 1px solid var(--line); } }
.auth-col h2 { margin-bottom: 14px; }
.auth-col .muted { margin: -4px 0 22px; font-size: .94rem; }
.auth-col #login-form { margin-top: 22px; }
.acc-demo { font-size: .82rem; margin: 0 0 clamp(48px, 6vw, 80px); }
.acc-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .acc-layout { grid-template-columns: 230px minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; } }
.acc-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.acc-nav a, .acc-nav button { padding: 8px 0; font-size: .95rem; color: var(--ink-soft); text-decoration: none; cursor: pointer; }
.acc-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.acc-nav button { color: var(--muted); }
@media (min-width: 900px) { .acc-nav { flex-direction: column; border-bottom: 0; border-top: 1px solid var(--line); padding: 0; gap: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .acc-nav a, .acc-nav button { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .acc-nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--brass); padding-left: 14px; } }
.acc-main { min-width: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.acc-main > h2 { margin-bottom: 10px; }
.acc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 26px; }
.acc-card { display: grid; gap: 6px; padding: 22px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); transition: border-color .2s; min-width: 0; }
.acc-card:hover { border-color: var(--ink); }
.acc-card strong { font: 400 1.9rem/1 var(--serif); color: var(--ink); }
.acc-card span { font-size: .88rem; overflow-wrap: anywhere; }
.acc-form { max-width: 640px; margin-top: 22px; }
.acc-empty { padding: 28px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 14px; justify-items: start; margin-top: 14px; }
.acc-empty p { margin: 0; font: 400 1.2rem/1.4 var(--serif); color: var(--ink); }
.order-list { list-style: none; border-top: 1px solid var(--line); margin-top: 14px; }
.order-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "num total" "date st" "items st"; gap: 4px 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); }
.order-list a:hover .ol-num { text-decoration: underline; text-underline-offset: .25em; }
.ol-num { font: 500 .95rem/1.2 var(--sans); color: var(--ink); letter-spacing: .02em; }
.ol-date, .ol-items { font-size: .88rem; }
.ol-total { font-weight: 500; color: var(--ink); text-align: right; }
.ol-num { grid-area: num; } .ol-date { grid-area: date; } .ol-items { grid-area: items; } .ol-total { grid-area: total; } .order-list .st { grid-area: st; justify-self: end; align-self: center; }
@media (min-width: 640px) { .order-list a { grid-template-columns: 1.3fr 1fr .8fr auto 90px; grid-template-areas: "num date items st total"; } .order-list .st { justify-self: start; } }
.st { display: inline-block; justify-self: start; padding: 4px 10px; font: 500 .68rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; white-space: nowrap; }
.st--test { color: #6b5b3e; background: #f3ead6; }
.st--attente { color: #7a5a12; background: #f7ecd0; }
.st--payee { color: #2c4a6b; background: #e3ebf4; }
.st--preparation { color: #5a3e6b; background: #ede4f3; }
.st--expediee { color: #1f5c5a; background: #dff0ee; }
.st--livree { color: var(--ok); background: #e2efe5; }
.st--annulee { color: var(--err); background: #f6e6e1; }
.od-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 10px 0 4px; }
.od-table { width: 100%; border-collapse: collapse; margin: 22px 0 30px; font-size: .94rem; }
.od-table th { text-align: left; font: 500 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0 8px 10px 0; border-bottom: 1px solid var(--line-strong); }
.od-table td { padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.od-table th:not(:first-child), .od-table td:not(:first-child) { text-align: right; white-space: nowrap; }
.od-table tfoot td { border-bottom: 0; padding: 8px 8px 0 0; color: var(--ink-soft); }
.od-table tfoot td[colspan] { text-align: left; }
.od-table .od-total td { font-weight: 500; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.od-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .od-grid { grid-template-columns: 1fr 1fr; } }
.od-h { font: 500 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.od-grid p { color: var(--ink-soft); font-size: .95rem; }

/* Bandeau d'information (activable dans l'administration) */
.info-bar { display: block; padding: 9px var(--gutter, 16px); background: var(--champagne, #d8c39a); color: var(--ink); font-size: .86rem; text-align: center; line-height: 1.4; }
.info-bar a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
/* Code promo (page de commande) */
.coupon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.coupon input { flex: 1 1 140px; min-width: 0; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); background: #fff; font-size: .95rem; text-transform: uppercase; }
.coupon input:focus { outline: none; border-color: var(--ink); }
.coupon .btn { min-height: 46px; }
.coupon .err { flex-basis: 100%; margin: 0; color: var(--err); font-size: .84rem; }
.coupon--on { justify-content: space-between; align-items: center; padding: 10px 12px; background: #e8f1ea; color: var(--ok); font-size: .9rem; }
.coupon--on .linklike { color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: .84rem; }

/* Commande par WhatsApp */
.icon--fill { fill: currentColor; stroke: none; }
.btn--wa { gap: 10px; }
.btn--wa .icon { width: 20px; height: 20px; color: #25d366; flex: none; }
.btn--wa:hover .icon, .btn--wa:focus-visible .icon { color: #25d366; }
.wa-direct { margin-top: 12px; --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.wa-direct:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.wa-direct .icon { color: #1fa855; }
.wa-steps { margin: 0; padding: 0; list-style: none; counter-reset: wa; display: grid; gap: 10px; }
.wa-steps li { counter-increment: wa; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: baseline; font-size: .95rem; color: var(--ink-soft); }
.wa-steps li::before { content: counter(wa); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, #25d366 16%, var(--paper)); color: #146c37; font: 500 .8rem/1 var(--sans); }
.wa-hint { margin: 2px 0 0; }
.ship-line { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper); }
.wa-confirm { padding: clamp(22px, 3vw, 34px); margin-bottom: 32px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid #25d366; display: grid; gap: 14px; }
.wa-confirm p { margin: 0; }
.wa-confirm .btn { justify-self: start; }
.co-form .co-login, .co-form .wa-hint { display: block; }

/* Stock limité */
.stock--low::before { background: #c08a2c; box-shadow: 0 0 0 4px color-mix(in srgb, #c08a2c 18%, transparent); animation: stock-pulse 2.4s ease-in-out infinite; }
@keyframes stock-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, #c08a2c 6%, transparent); } }
@media (prefers-reduced-motion: reduce) { .stock--low::before { animation: none; } }
.stock-low { margin-left: 4px; padding: 4px 10px; border: 1px solid color-mix(in srgb, #c08a2c 45%, transparent); background: color-mix(in srgb, #c08a2c 9%, var(--paper)); color: #7a5413; font: 500 .7rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.card-stock { margin: 6px 0 0; font: 500 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8a5f15; }
.card-stock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #c08a2c; vertical-align: 1px; }

/* Réseaux sociaux (discrets) */
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(216,195,154,.35); border-radius: 50%; color: #cfc6b8; transition: color .2s, border-color .2s, background .2s; }
.social a:hover, .social a:focus-visible { color: var(--champagne, #d8c39a); border-color: var(--champagne, #d8c39a); background: rgba(216,195,154,.08); }
.social .icon { width: 17px; height: 17px; }
.social--light { margin-top: 6px; }
.social--light a { color: var(--ink); border-color: var(--line-strong); }
.social--light a:hover, .social--light a:focus-visible { color: var(--ink); border-color: var(--ink); background: transparent; }
.site-footer ul.social, ul.social { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.site-footer ul.social li, ul.social li { margin: 0; padding: 0; border: 0; }
