/* ============================================================
   LITERIE D'AMITIÉ — Proposition de refonte (démo)
   Direction : « atelier de sommeil » — linen chaud, encre de nuit,
   laiton. Fraunces (display) + Switzer (texte).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #0d1626;
  --ink-2: #131f36;
  --ink-3: #1b2a4a;
  --paper: #f6f1e7;
  --paper-2: #eee6d5;
  --card: #fbf8f1;
  --text: #232839;
  --muted: #71695a;
  --line: rgba(19, 26, 46, 0.11);
  --line-dark: rgba(246, 241, 231, 0.14);
  --brass: #b08d57;
  --brass-2: #cba76b;
  --garnet: #9e2b3a;
  --star: #c9a227;
  --ivory: #f3ecdf;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Switzer", "Avenir Next", "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --pad-shell: 7px;

  --z-nav: 100;
  --z-drawer: 200;
  --z-toast: 300;
  --z-grain: 400;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* L'attribut [hidden] doit gagner : plusieurs classes du site déclarent
   display (.form-field, .cart-line…) et écrasaient la règle du navigateur,
   laissant apparaître des champs censés être masqués. */
[hidden] { display: none !important; }
/* Lenis pilote l'inertie ; le lissage CSS natif ne sert que de repli sans JS */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(176, 141, 87, 0.35); color: var(--ink); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: rgba(19, 26, 46, 0.28); border-radius: 8px; border: 3px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: rgba(19, 26, 46, 0.45); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 24px; z-index: calc(var(--z-toast) + 1);
  background: var(--ink); color: var(--ivory); padding: 10px 18px; border-radius: 999px;
  font-size: 0.85rem; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 340px 340px;
  opacity: 0.03;
}

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); }
.tnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--garnet); box-shadow: 0 0 0 3px rgba(158, 43, 58, 0.15);
}
.on-dark .eyebrow { color: rgba(243, 236, 223, 0.62); }

.section-head { max-width: 640px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 480; font-variation-settings: "opsz" 72;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em;
  color: var(--ink); margin-top: 18px; text-wrap: balance;
}
.section-head h2 em { font-style: italic; font-weight: 420; color: var(--garnet); }
.on-dark .section-head h2 { color: var(--ivory); }
.on-dark .section-head h2 em { color: var(--brass-2); }
.section-head .lede { margin-top: 16px; font-size: 1.02rem; color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.on-dark .section-head .lede { color: rgba(243, 236, 223, 0.6); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 15px 15px 26px; border-radius: 999px;
  font-size: 0.93rem; font-weight: 500; letter-spacing: 0.01em;
  background: var(--ink); color: var(--ivory);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  box-shadow: 0 14px 30px -14px rgba(13, 22, 38, 0.5);
  will-change: transform;
}
.btn .btn-orb {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(243, 236, 223, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.55s var(--ease), background 0.55s var(--ease);
}
.btn .btn-orb svg { width: 13px; height: 13px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(13, 22, 38, 0.55); }
.btn:hover .btn-orb { transform: translate(2px, -2px) scale(1.06); background: var(--brass); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--ivory { background: var(--ivory); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55); }
.btn--ivory .btn-orb { background: rgba(13, 22, 38, 0.08); }
.btn--ivory:hover .btn-orb { background: var(--brass); color: var(--ivory); }

.btn--ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1px solid rgba(19, 26, 46, 0.22); padding: 15px 26px;
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(19, 26, 46, 0.045); box-shadow: none; }
.on-dark .btn--ghost { color: var(--ivory); border-color: rgba(243, 236, 223, 0.3); }
.on-dark .btn--ghost:hover { border-color: var(--ivory); background: rgba(243, 236, 223, 0.07); }

.link-more {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 500; font-size: 0.93rem; color: var(--ink);
}
.link-more svg { width: 14px; height: 14px; transition: transform 0.45s var(--ease); }
.link-more:hover svg { transform: translate(3px, -3px); }
.link-more::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-more { position: relative; }
.link-more:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(46px); filter: blur(6px); transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo), filter 0.9s var(--ease-expo); transition-delay: var(--d, 0s); will-change: transform, opacity, filter; }
.reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }

.mask-lines .line { display: block; overflow: clip; }
.mask-lines .line > span { display: block; transform: translateY(112%); transition: transform 1.1s var(--ease-expo); transition-delay: var(--d, 0s); will-change: transform; }
.mask-lines.is-in .line > span { transform: translateY(0); }

/* ============================================================
   TOPBAR + NAV
   ============================================================ */
.topbar {
  background: var(--ink); color: rgba(243, 236, 223, 0.78);
  font-size: 0.78rem; letter-spacing: 0.02em;
  position: relative; z-index: calc(var(--z-nav) + 1);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #6fbf8b; display: inline-block; margin-right: 7px; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(111, 191, 139, 0.5); } 50% { box-shadow: 0 0 0 5px rgba(111, 191, 139, 0); } }
.topbar-right { display: flex; align-items: center; gap: 20px; flex: none; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--ivory); font-weight: 500; transition: color 0.3s var(--ease); }
.topbar a:hover { color: var(--brass-2); }
.topbar svg { width: 13px; height: 13px; }
.topbar .stars { color: var(--star); letter-spacing: 0.1em; font-size: 0.7rem; }

.nav-wrap {
  position: sticky; top: 14px; z-index: var(--z-nav);
  display: flex; justify-content: center;
  padding-inline: var(--gutter);
  margin-top: 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  width: min(1150px, 100%);
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(19, 26, 46, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 18px 44px -22px rgba(13, 22, 38, 0.35);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease), transform 0.5s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 24px 54px -24px rgba(13, 22, 38, 0.5); background: rgba(251, 248, 241, 0.92); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-weight: 540; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--ink); line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 20px); }
.nav-links a {
  position: relative; font-size: 0.9rem; font-weight: 500; color: var(--text);
  padding: 8px 10px; border-radius: 999px; transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(19, 26, 46, 0.055); }
.nav-links a.is-active { color: var(--garnet); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--garnet);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink); padding: 9px 14px; border-radius: 999px; transition: background 0.35s var(--ease); }
.nav-phone:hover { background: rgba(19, 26, 46, 0.055); }
.nav-phone svg { width: 14px; height: 14px; color: var(--brass); }

.cart-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--ivory);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); }
.cart-btn:active { transform: scale(0.94); }
.cart-btn svg { width: 17px; height: 17px; }
.cart-count {
  position: absolute; top: -4px; right: -6px; min-width: 19px; height: 19px;
  border-radius: 999px; background: var(--garnet); color: #fff;
  font-size: 0.66rem; font-weight: 700; display: grid; place-items: center; padding-inline: 5px;
  border: 2px solid var(--paper); transform: scale(0); transition: transform 0.4s var(--ease-expo);
  font-variant-numeric: tabular-nums;
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump 0.5s var(--ease-expo); }
@keyframes bump { 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; background: rgba(19, 26, 46, 0.06); }
.burger span {
  position: absolute; left: 50%; width: 17px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transform: translateX(-50%); transition: transform 0.5s var(--ease), top 0.5s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
body.menu-open .burger span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1);
  background: rgba(13, 22, 38, 0.92);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: grid; place-items: center; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity 0.55s var(--ease), visibility 0.55s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a {
  display: block; font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); font-weight: 470;
  color: var(--ivory); padding: 10px; line-height: 1.15;
}
.mobile-menu a em { font-style: italic; color: var(--brass-2); }
.mobile-menu li { overflow: clip; }
.mobile-menu li > * { transform: translateY(110%); transition: transform 0.8s var(--ease-expo); }
body.menu-open .mobile-menu li > * { transform: translateY(0); }
body.menu-open .mobile-menu li:nth-child(1) > * { transition-delay: 0.08s; }
body.menu-open .mobile-menu li:nth-child(2) > * { transition-delay: 0.14s; }
body.menu-open .mobile-menu li:nth-child(3) > * { transition-delay: 0.2s; }
body.menu-open .mobile-menu li:nth-child(4) > * { transition-delay: 0.26s; }
body.menu-open .mobile-menu li:nth-child(5) > * { transition-delay: 0.32s; }
body.menu-open .mobile-menu li:nth-child(6) > * { transition-delay: 0.4s; }
.mobile-menu .mm-info { margin-top: 34px; color: rgba(243, 236, 223, 0.55); font-size: 0.85rem; }
.mobile-menu .mm-info a { font-family: var(--sans); font-size: 1rem; color: var(--brass-2); padding: 4px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; margin-top: clamp(24px, 4vh, 44px); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(28px, 4vw, 64px); align-items: center; }

.hero-copy { padding-block: clamp(10px, 4vh, 60px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(158, 43, 58, 0.25); background: rgba(158, 43, 58, 0.06);
  color: var(--garnet); border-radius: 999px; padding: 7px 15px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-badge svg { width: 12px; height: 12px; }

.hero h1 {
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 130;
  font-size: clamp(2.9rem, 7.4vw, 5.9rem);
  line-height: 1.02; letter-spacing: -0.022em; color: var(--ink);
  margin-top: 26px;
}
.hero h1 .accent { font-style: italic; font-weight: 430; color: var(--garnet); }
.hero h1 .brass { font-style: italic; font-weight: 430; color: var(--brass); }

.hero-lede { margin-top: 26px; max-width: 47ch; font-size: 1.06rem; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.hero-lede strong { color: var(--text); font-weight: 550; }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.proof-item { display: flex; align-items: center; gap: 11px; font-size: 0.85rem; color: var(--muted); }
.proof-item svg { width: 17px; height: 17px; color: var(--brass); flex: none; }
.proof-item b { color: var(--ink); font-weight: 600; }
.proof-item .stars { color: var(--star); letter-spacing: 0.12em; font-size: 0.75rem; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-xl);
  padding: var(--pad-shell);
  background: rgba(19, 26, 46, 0.055);
  border: 1px solid rgba(19, 26, 46, 0.08);
  box-shadow: 0 40px 80px -40px rgba(13, 22, 38, 0.45);
}
.hero-frame-core { border-radius: calc(var(--r-xl) - var(--pad-shell)); overflow: clip; position: relative; aspect-ratio: 10 / 11.6; }
.hero-frame-core img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s var(--ease) infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.08) translate(0.8%, 0.5%); } to { transform: scale(1.015) translate(-0.6%, -0.5%); } }
.hero-frame-core::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(13, 22, 38, 0) 55%, rgba(13, 22, 38, 0.38) 100%);
}

.hero-card {
  position: absolute; left: clamp(-40px, -3vw, -18px); bottom: 34px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px; padding: 14px 20px 14px 14px;
  box-shadow: 0 24px 48px -20px rgba(13, 22, 38, 0.4);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-card .hc-ico { width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: var(--brass-2); display: grid; place-items: center; flex: none; }
.hero-card .hc-ico svg { width: 20px; height: 20px; }
.hero-card b { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hero-card span { font-size: 0.78rem; color: var(--muted); }

.hero-tag {
  position: absolute; right: 20px; top: 20px; z-index: 2;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory); background: rgba(13, 22, 38, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(243, 236, 223, 0.2);
  padding: 8px 14px; border-radius: 999px;
}

/* ---------- Marquee ---------- */
.marquee-band { margin-top: clamp(56px, 9vh, 96px); background: var(--ink); color: var(--ivory); overflow: clip; position: relative; }
.marquee-band::before, .marquee-band::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee-inner { display: flex; width: max-content; padding-block: 16px; animation: marquee 36s linear infinite; }
.marquee-band:hover .marquee-inner { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-chunk { display: flex; align-items: center; flex: none; }
.marquee-chunk span { font-family: var(--serif); font-size: 0.98rem; font-weight: 430; letter-spacing: 0.04em; white-space: nowrap; padding-inline: 26px; color: rgba(243, 236, 223, 0.85); }
.marquee-chunk span em { font-style: italic; color: var(--brass-2); }
.marquee-chunk svg { width: 14px; height: 14px; color: var(--garnet); flex: none; }

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section { padding-block: clamp(84px, 12vh, 150px); position: relative; }
.section--tight { padding-block: clamp(64px, 9vh, 110px); }
.section--paper2 { background: var(--paper-2); }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(40px, 6vh, 70px); }

/* ============================================================
   TAILLES — achat rapide
   ============================================================ */
.sizes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.size-card {
  position: relative; display: block;
  border-radius: var(--r-lg); padding: var(--pad-shell);
  background: rgba(19, 26, 46, 0.045);
  border: 1px solid rgba(19, 26, 46, 0.07);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.6s var(--ease);
}
.size-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -26px rgba(13, 22, 38, 0.4); background: rgba(19, 26, 46, 0.07); }
.size-core {
  border-radius: calc(var(--r-lg) - var(--pad-shell)); background: var(--card);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
  padding: 26px 24px 24px; height: 100%;
  display: flex; flex-direction: column; gap: 4px;
}
.size-bed { display: block; margin-bottom: 14px; }
.size-bed svg { display: block; width: 100%; max-width: 250px; height: auto; margin-inline: auto; }
.sb-ghost {
  fill: none; stroke: rgba(13, 22, 38, 0.24); stroke-width: 1.4;
  stroke-dasharray: 2.5 6.5; stroke-linecap: round;
}
.sb-matt {
  fill: #fffdf6; stroke: rgba(13, 22, 38, 0.45); stroke-width: 1.5;
  transition: stroke 0.5s var(--ease);
}
.sb-edge { fill: none; stroke: rgba(13, 22, 38, 0.13); }
.sb-duvet { fill: rgba(13, 22, 38, 0.045); }
.sb-fold { stroke: rgba(13, 22, 38, 0.17); stroke-width: 1.2; }
.sb-pillow {
  fill: var(--card); stroke: rgba(13, 22, 38, 0.32); stroke-width: 1.3;
  transition: stroke 0.5s var(--ease);
}
.size-card:hover .sb-matt { stroke: var(--garnet); }
.size-card:hover .sb-pillow { stroke: rgba(158, 43, 58, 0.5); }
.sizes-note {
  margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--muted);
}
.size-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 520; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.size-pop { font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--garnet); }
.size-dims { font-size: 0.83rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.size-price { margin-top: 14px; display: flex; align-items: baseline; gap: 7px; }
.size-price .from { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.size-price .val { font-family: var(--serif); font-size: 1.5rem; font-weight: 560; color: var(--ink); font-variant-numeric: tabular-nums; }
.size-go {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.83rem; font-weight: 550; color: var(--garnet);
}
.size-go svg { width: 13px; height: 13px; transition: transform 0.45s var(--ease); }
.size-card:hover .size-go svg { transform: translateX(4px); }

/* ============================================================
   BEST-SELLERS — grille asymétrique
   ============================================================ */
.bs-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bs-grid .product-card:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.bs-grid .product-card:nth-child(2), .bs-grid .product-card:nth-child(3) { grid-column: span 3; }
.bs-grid .product-card:nth-child(4), .bs-grid .product-card:nth-child(5) { grid-column: span 3; }

.product-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); padding: var(--pad-shell);
  background: rgba(19, 26, 46, 0.045);
  border: 1px solid rgba(19, 26, 46, 0.07);
  transition: transform 0.65s var(--ease), box-shadow 0.65s var(--ease);
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 36px 60px -30px rgba(13, 22, 38, 0.42); }
.pc-core {
  border-radius: calc(var(--r-lg) - var(--pad-shell)); background: var(--card);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
  display: flex; flex-direction: column; height: 100%; overflow: clip;
}
.pc-media { position: relative; background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, var(--paper-2) 100%); overflow: clip; }
.pc-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -34px 34px -34px rgba(13, 22, 38, 0.14); pointer-events: none; }
.pc-media img { width: 100%; height: 100%; object-fit: contain; padding: clamp(14px, 3vw, 30px); transition: transform 0.9s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05) rotate(-0.5deg); }
.bs-grid .product-card:nth-child(1) .pc-media { aspect-ratio: 4 / 2.9; }
.pc-media { aspect-ratio: 4 / 2.9; }

.pc-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.62rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: var(--ivory); padding: 6px 12px; border-radius: 6px;
}
.pc-chip--sale { background: var(--garnet); }
.pc-chip--stock { background: rgba(251, 248, 241, 0.85); color: var(--ink); backdrop-filter: blur(8px); border: 1px solid rgba(19,26,46,.08); }

.pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pc-cat { font-size: 0.63rem; font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.pc-name { font-family: var(--serif); font-weight: 520; font-size: 1.14rem; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.bs-grid .product-card:nth-child(1) .pc-name { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.pc-sub { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.pc-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-price { display: flex; align-items: baseline; gap: 8px; }
.pc-price .from { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pc-price .val { font-family: var(--serif); font-size: 1.4rem; font-weight: 560; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-price .was { font-size: 0.86rem; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pc-add {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding-inline: 16px; border-radius: 999px;
  border: 1px solid rgba(19, 26, 46, 0.2); font-size: 0.83rem; font-weight: 550; color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.3s var(--ease);
}
.pc-add svg { width: 13px; height: 13px; }
.pc-add:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pc-add:active { transform: scale(0.95); }

/* ============================================================
   BANDE NUIT — atelier + stats
   ============================================================ */
.night { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink) 100%); color: var(--ivory); position: relative; overflow: clip; }
.night::before {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%;
  top: -260px; right: -190px; pointer-events: none;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.16) 0%, transparent 62%);
}
.night::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  bottom: -220px; left: -150px; pointer-events: none;
  background: radial-gradient(circle, rgba(158, 43, 58, 0.13) 0%, transparent 62%);
}
.night-split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 90px); align-items: center; position: relative; z-index: 1; }
.night-media { position: relative; }
.night-frame {
  border-radius: var(--r-xl); padding: var(--pad-shell);
  background: rgba(243, 236, 223, 0.07); border: 1px solid rgba(243, 236, 223, 0.12);
}
.night-frame-core { border-radius: calc(var(--r-xl) - var(--pad-shell)); overflow: clip; aspect-ratio: 4 / 4.6; }
.night-frame-core img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.night-media:hover .night-frame-core img { transform: scale(1.01); }
.night-stamp {
  position: absolute; right: -26px; top: -26px; width: 116px; height: 116px; z-index: 2;
  color: var(--brass-2); animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.night-copy h2 { margin-top: 18px; }
.night-copy .lede { margin-top: 18px; color: rgba(243, 236, 223, 0.62); max-width: 52ch; font-size: 1.02rem; text-wrap: pretty; }
.night-points { margin-top: 34px; display: grid; gap: 16px; }
.night-point { display: flex; gap: 15px; align-items: flex-start; }
.night-point svg { width: 19px; height: 19px; color: var(--brass-2); flex: none; margin-top: 3px; }
.night-point b { display: block; font-weight: 600; font-size: 0.96rem; color: var(--ivory); }
.night-point span { font-size: 0.88rem; color: rgba(243, 236, 223, 0.55); line-height: 1.55; }

.night-stats { margin-top: clamp(60px, 9vh, 100px); padding-top: clamp(36px, 5vh, 54px); border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; z-index: 1; }
.stat b { font-family: var(--serif); font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 480; color: var(--ivory); line-height: 1; display: flex; align-items: baseline; gap: 3px; font-variant-numeric: tabular-nums; }
.stat b i { font-style: normal; color: var(--brass-2); font-size: 0.6em; }
.stat span { display: block; margin-top: 9px; font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(243, 236, 223, 0.55); }

/* ============================================================
   COLLECTIONS — rail horizontal
   ============================================================ */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 26px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-card {
  flex: none; width: clamp(270px, 26vw, 360px); scroll-snap-align: start;
  border-radius: var(--r-lg); padding: var(--pad-shell);
  background: rgba(19, 26, 46, 0.045); border: 1px solid rgba(19, 26, 46, 0.07);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.rail-card:hover { transform: translateY(-6px); box-shadow: 0 32px 54px -28px rgba(13, 22, 38, 0.42); }
.rc-core { border-radius: calc(var(--r-lg) - var(--pad-shell)); overflow: clip; background: var(--card); box-shadow: inset 0 1px 1px rgba(255,255,255,.8); height: 100%; display: flex; flex-direction: column; }
.rc-media { aspect-ratio: 4 / 3.4; overflow: clip; position: relative; background: var(--paper-2); }
.rc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rail-card:hover .rc-media img { transform: scale(1.06); }
.rc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(185deg, transparent 62%, rgba(13, 22, 38, 0.3) 100%); }
.rc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.rc-kicker { font-size: 0.62rem; font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.rc-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 530; color: var(--ink); }
.rc-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.rc-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.rc-price { font-size: 0.86rem; color: var(--muted); }
.rc-price b { font-family: var(--serif); font-size: 1.2rem; font-weight: 560; color: var(--ink); font-variant-numeric: tabular-nums; }
.rc-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(19, 26, 46, 0.06); transition: background 0.4s var(--ease), transform 0.4s var(--ease); }
.rc-arrow svg { width: 13px; height: 13px; }
.rail-card:hover .rc-arrow { background: var(--brass); color: #fff; transform: translate(2px, -2px); }

.rail-progress { margin-top: 4px; margin-inline: 2px; height: 2px; background: rgba(19, 26, 46, 0.1); border-radius: 2px; overflow: clip; }
.rail-progress i { display: block; height: 100%; width: 20%; background: var(--brass); border-radius: 2px; transition: width 0.2s linear; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(19, 26, 46, 0.18); display: grid; place-items: center; transition: all 0.4s var(--ease); }
.rail-btn svg { width: 15px; height: 15px; }
.rail-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.rail-btn:active { transform: scale(0.93); }
.rail-btn[disabled] { opacity: 0.3; pointer-events: none; }

/* ============================================================
   SHOWROOM
   ============================================================ */
.showroom-split { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.show-frame { border-radius: var(--r-xl); padding: var(--pad-shell); background: rgba(19, 26, 46, 0.05); border: 1px solid rgba(19, 26, 46, 0.08); position: relative; }
.show-core { border-radius: calc(var(--r-xl) - var(--pad-shell)); overflow: clip; aspect-ratio: 16 / 11.5; }
.show-core img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.show-frame:hover .show-core img { transform: scale(1.04); }
.show-open {
  position: absolute; left: 24px; top: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(251, 248, 241, 0.88); backdrop-filter: blur(10px);
  border-radius: 999px; padding: 9px 16px; font-size: 0.78rem; font-weight: 600; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.show-open .dot { width: 7px; height: 7px; border-radius: 50%; background: #4d9e6f; animation: pulse 2.4s var(--ease) infinite; }

.show-info { display: grid; gap: 10px; margin-top: 30px; }
.info-row {
  display: flex; align-items: center; gap: 16px; padding: 17px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.info-row:hover { transform: translateX(5px); box-shadow: 0 16px 30px -18px rgba(13, 22, 38, 0.25); }
.info-row svg { width: 18px; height: 18px; color: var(--brass); flex: none; }
.info-row b { font-size: 0.93rem; font-weight: 600; color: var(--ink); display: block; }
.info-row span { font-size: 0.84rem; color: var(--muted); }
.info-row .aside { margin-left: auto; font-size: 0.8rem; font-weight: 550; color: var(--garnet); white-space: nowrap; }

.hours-note { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 0.84rem; color: var(--muted); }
.hours-note svg { width: 15px; height: 15px; color: var(--brass); }

/* ============================================================
   AVIS
   ============================================================ */
.reviews-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-bottom: clamp(40px, 6vh, 64px); }
.score-block { text-align: center; padding: 30px 40px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.score-block .score { font-family: var(--serif); font-size: 4rem; font-weight: 500; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.score-block .stars { color: var(--star); font-size: 1rem; letter-spacing: 0.18em; margin-top: 10px; }
.score-block span { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  border-radius: var(--r-lg); padding: var(--pad-shell);
  background: rgba(19, 26, 46, 0.045); border: 1px solid rgba(19, 26, 46, 0.07);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -26px rgba(13, 22, 38, 0.35); }
.review-core { border-radius: calc(var(--r-lg) - var(--pad-shell)); background: var(--card); box-shadow: inset 0 1px 1px rgba(255,255,255,.8); padding: 26px 26px 22px; height: 100%; display: flex; flex-direction: column; }
.review-core .stars { color: var(--star); font-size: 0.8rem; letter-spacing: 0.16em; }
.review-core blockquote { margin-top: 16px; font-family: var(--serif); font-size: 1.06rem; font-weight: 430; line-height: 1.5; color: var(--ink); flex: 1; }
.review-core blockquote::before { content: "« "; color: var(--brass); }
.review-core blockquote::after { content: " »"; color: var(--brass); }
.review-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--brass-2); display: grid; place-items: center; font-family: var(--serif); font-size: 0.95rem; flex: none; }
.review-meta b { display: block; font-size: 0.87rem; font-weight: 600; color: var(--ink); }
.review-meta span { font-size: 0.75rem; color: var(--muted); }
.reviews-note { text-align: center; margin-top: 30px; font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   ZONES — double marquee
   ============================================================ */
.zones { overflow: clip; padding-block: clamp(60px, 9vh, 100px); background: var(--paper-2); }
.zones .section-head { text-align: center; margin-inline: auto; margin-bottom: 44px; }
.zone-rows { display: grid; gap: 14px; }
.zone-row { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.zone-row.rev { animation-direction: reverse; }
.zone-chunk { display: flex; gap: 12px; padding-inline: 6px; flex: none; }
.zone-pill {
  font-size: 0.88rem; font-weight: 500; color: var(--text); white-space: nowrap;
  border: 1px solid rgba(19, 26, 46, 0.14); background: var(--card);
  padding: 10px 22px; border-radius: 999px;
  transition: all 0.4s var(--ease);
}
.zone-pill:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.zone-pill.hub { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.zone-pill.hub em { color: var(--brass-2); font-style: normal; }
.zones-cta { text-align: center; margin-top: 40px; font-size: 0.92rem; color: var(--muted); }
.zones-cta b { color: var(--ink); }

/* ============================================================
   FAQ — divulgation en deux colonnes
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; align-items: start; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: clip; transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.faq-item:hover { border-color: rgba(19, 26, 46, 0.22); }
.faq-item.open { box-shadow: 0 20px 40px -24px rgba(13, 22, 38, 0.28); border-color: rgba(176, 141, 87, 0.5); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; padding: 19px 22px; font-size: 0.97rem; font-weight: 550; color: var(--ink);
}
.faq-q .fx { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(19, 26, 46, 0.05); transition: background 0.4s var(--ease), transform 0.55s var(--ease); }
.faq-q .fx svg { width: 12px; height: 12px; }
.faq-item.open .faq-q .fx { background: var(--brass); color: #fff; transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 22px 20px; font-size: 0.9rem; color: var(--muted); line-height: 1.65; max-width: 58ch; }
.faq-a b { color: var(--text); }

/* ============================================================
   CTA FINALE
   ============================================================ */
.final { background: var(--ink); color: var(--ivory); text-align: center; position: relative; overflow: clip; }
.final::before {
  content: ""; position: absolute; left: 50%; top: -340px; transform: translateX(-50%);
  width: 900px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.final .container { position: relative; z-index: 1; }
.final h2 {
  font-family: var(--serif); font-weight: 480; font-variation-settings: "opsz" 120;
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ivory); margin-top: 22px; text-wrap: balance;
}
.final h2 em { font-style: italic; font-weight: 420; color: var(--brass-2); }
.final p { margin: 22px auto 0; max-width: 52ch; color: rgba(243, 236, 223, 0.62); font-size: 1rem; }
.final .hero-ctas { justify-content: center; margin-top: 38px; }
.final-phone { margin-top: 30px; font-size: 0.9rem; color: rgba(243, 236, 223, 0.55); }
.final-phone a { color: var(--brass-2); font-weight: 600; transition: color 0.3s; }
.final-phone a:hover { color: var(--ivory); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(243, 236, 223, 0.6); border-top: 1px solid var(--line-dark); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(30px, 4vw, 60px); padding-block: clamp(56px, 8vh, 84px); }
.footer .brand-name { color: var(--ivory); }
.footer-about { font-size: 0.87rem; line-height: 1.65; margin-top: 18px; max-width: 34ch; }
.footer h4 { font-size: 0.68rem; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 18px; }
.footer-col a, .footer-col li { display: block; font-size: 0.9rem; padding-block: 5px; color: rgba(243, 236, 223, 0.66); transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer-col a:hover { color: var(--ivory); transform: translateX(3px); }
.footer-col .foot-hours { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.footer-col .foot-hours span:last-child { color: var(--ivory); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.76rem; color: rgba(243, 236, 223, 0.4); }
.footer-bottom a { color: rgba(243, 236, 223, 0.55); }
.footer-bottom a:hover { color: var(--ivory); }
.footer-legal { display: flex; gap: 20px; }

/* ============================================================
   PANIER — drawer
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: rgba(13, 22, 38, 0.5); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
body.cart-open .cart-overlay { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(430px, 100vw); display: flex; flex-direction: column;
  background: var(--paper); box-shadow: -30px 0 80px -30px rgba(13, 22, 38, 0.5);
  transform: translateX(105%); transition: transform 0.65s var(--ease-expo);
}
body.cart-open .cart-drawer { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 530; color: var(--ink); }
.cart-head h3 span { color: var(--muted); font-size: 1rem; }
.cart-close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(19, 26, 46, 0.06); transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.cart-close:hover { background: rgba(19, 26, 46, 0.12); transform: rotate(90deg); }
.cart-close svg { width: 14px; height: 14px; }

.cart-ship { padding: 16px 26px 0; }
.cart-ship p { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.cart-ship p b { color: var(--garnet); }
.cart-ship p.done b { color: #35704f; }
.ship-bar { height: 5px; border-radius: 3px; background: rgba(19, 26, 46, 0.09); overflow: clip; }
.ship-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--brass), var(--brass-2)); transition: width 0.7s var(--ease); }

.cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; display: grid; gap: 14px; align-content: start; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { width: 44px; height: 44px; margin: 0 auto 16px; color: rgba(19, 26, 46, 0.25); }
.cart-empty b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-weight: 520; margin-bottom: 6px; }
.cart-empty p { font-size: 0.85rem; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.ci-img { width: 76px; height: 64px; border-radius: 10px; background: #fff; overflow: clip; }
.ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ci-name { font-size: 0.85rem; font-weight: 550; color: var(--ink); line-height: 1.3; }
.ci-variant { font-size: 0.73rem; color: var(--muted); margin-top: 2px; }
.ci-price { font-size: 0.85rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 5px; }
.ci-right { display: grid; gap: 8px; justify-items: end; }
.ci-qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.ci-qty button { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; transition: background 0.3s; }
.ci-qty button:hover { background: rgba(19, 26, 46, 0.07); }
.ci-qty button svg { width: 10px; height: 10px; }
.ci-qty b { font-size: 0.82rem; min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.ci-remove { font-size: 0.7rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.ci-remove:hover { color: var(--garnet); }

.cart-foot { border-top: 1px solid var(--line); padding: 20px 26px 26px; background: var(--card); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total span { font-size: 0.85rem; color: var(--muted); }
.cart-total b { font-family: var(--serif); font-size: 1.7rem; font-weight: 550; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-foot .btn { width: 100%; justify-content: space-between; }
.cart-note { text-align: center; font-size: 0.72rem; color: var(--muted); margin-top: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: var(--z-toast);
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--ivory);
  padding: 13px 22px 13px 15px; border-radius: 999px;
  box-shadow: 0 26px 50px -20px rgba(13, 22, 38, 0.6);
  transform: translate(-50%, 90px); opacity: 0;
  transition: transform 0.6s var(--ease-expo), opacity 0.5s var(--ease);
  font-size: 0.88rem; font-weight: 500; pointer-events: none;
  max-width: min(92vw, 440px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .t-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--brass); display: grid; place-items: center; flex: none; }
.toast .t-ico svg { width: 12px; height: 12px; color: #fff; }

/* ============================================================
   PAGE CATALOGUE
   ============================================================ */
.page-hero { padding-top: clamp(40px, 7vh, 70px); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 10px; height: 10px; opacity: 0.5; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 490; font-variation-settings: "opsz" 110;
  font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.02em; line-height: 1.04;
  color: var(--ink); margin-top: 20px; text-wrap: balance;
}
.page-hero h1 em { font-style: italic; font-weight: 420; color: var(--garnet); }
.page-hero .lede { margin-top: 16px; color: var(--muted); max-width: 56ch; font-size: 1.02rem; }

.filter-bar {
  position: sticky; top: 86px; z-index: 50;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 36px; padding: 10px;
  background: rgba(251, 248, 241, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(19, 26, 46, 0.08); border-radius: 999px;
  box-shadow: 0 14px 34px -20px rgba(13, 22, 38, 0.3);
  width: fit-content;
}
.fchip {
  padding: 10px 20px; border-radius: 999px; font-size: 0.87rem; font-weight: 500; color: var(--text);
  transition: all 0.4s var(--ease); white-space: nowrap;
}
.fchip:hover { background: rgba(19, 26, 46, 0.06); }
.fchip.on { background: var(--ink); color: var(--ivory); }
.fchip span { opacity: 0.55; font-size: 0.75rem; margin-left: 5px; font-variant-numeric: tabular-nums; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cat-grid .product-card { opacity: 0; transform: translateY(30px) scale(0.98); animation: card-in 0.7s var(--ease-expo) forwards; animation-delay: var(--d, 0s); }
@keyframes card-in { to { opacity: 1; transform: translateY(0) scale(1); } }
.cat-count { margin-top: 28px; font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   PAGE PRODUIT
   ============================================================ */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(30px, 5vw, 80px); margin-top: 40px; align-items: start; }
.gallery { position: sticky; top: 110px; }
.g-main { border-radius: var(--r-xl); padding: var(--pad-shell); background: rgba(19, 26, 46, 0.045); border: 1px solid rgba(19, 26, 46, 0.07); }
.g-main-core { border-radius: calc(var(--r-xl) - var(--pad-shell)); background: radial-gradient(120% 100% at 50% 0%, #fff 0%, var(--paper-2) 100%); aspect-ratio: 4 / 3.1; overflow: clip; position: relative; }
.g-main-core img { width: 100%; height: 100%; object-fit: contain; padding: clamp(18px, 3vw, 40px); transition: opacity 0.35s var(--ease), transform 0.6s var(--ease); }
.g-main-core img.swap { opacity: 0; transform: scale(0.97); }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.g-thumb { width: 74px; height: 62px; border-radius: 12px; overflow: clip; background: #fff; border: 1.5px solid var(--line); transition: border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.g-thumb:hover { transform: translateY(-2px); }
.g-thumb.on { border-color: var(--brass); }

.p-info .pc-cat { font-size: 0.68rem; }
.p-info h1 { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 90; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); margin-top: 12px; text-wrap: balance; }
.p-sub { margin-top: 14px; color: var(--muted); font-size: 0.98rem; max-width: 52ch; }
.p-rating { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 0.82rem; color: var(--muted); }
.p-rating .stars { color: var(--star); letter-spacing: 0.14em; font-size: 0.8rem; }

.p-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; }
.p-price { font-family: var(--serif); font-size: 2.5rem; font-weight: 540; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.p-price-was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.p-save { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--garnet); background: rgba(158, 43, 58, 0.09); border: 1px solid rgba(158, 43, 58, 0.2); padding: 5px 11px; border-radius: 999px; }

.v-label { margin-top: 30px; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.v-label a { color: var(--brass); text-transform: none; letter-spacing: 0.02em; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.variants { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.v-chip {
  padding: 11px 17px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--card); text-align: left; min-width: 104px;
  transition: all 0.35s var(--ease);
}
.v-chip b { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.v-chip span { font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.v-chip:hover { border-color: rgba(19, 26, 46, 0.35); transform: translateY(-2px); }
.v-chip.on { border-color: var(--ink); background: var(--ink); }
.v-chip.on b, .v-chip.on span { color: var(--ivory); }

.p-actions { display: flex; gap: 12px; margin-top: 30px; }
.p-actions .btn { flex: 1; justify-content: space-between; }
.qty-select { display: flex; align-items: center; gap: 4px; border: 1px solid rgba(19, 26, 46, 0.2); border-radius: 999px; padding: 5px; }
.qty-select button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; transition: background 0.3s; }
.qty-select button:hover { background: rgba(19, 26, 46, 0.07); }
.qty-select button svg { width: 12px; height: 12px; }
.qty-select b { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }

.p-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.perk { display: grid; gap: 7px; padding: 15px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 0.78rem; color: var(--muted); line-height: 1.35; }
.perk svg { width: 17px; height: 17px; color: var(--brass); }
.perk b { color: var(--ink); font-weight: 600; font-size: 0.82rem; }

.p-details { margin-top: 34px; display: grid; gap: 10px; }
.d-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: clip; }
.d-item .faq-q { padding: 16px 20px; font-size: 0.92rem; }
.d-item .faq-a p { padding: 0 20px 18px; }
.d-item ul { padding: 0 20px 18px; display: grid; gap: 7px; }
.d-item ul li { font-size: 0.88rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.d-item ul li::before { content: "—"; color: var(--brass); flex: none; }

.related { margin-top: clamp(80px, 12vh, 130px); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .bs-grid .product-card:nth-child(1) { grid-column: span 12; }
  .bs-grid .product-card:nth-child(n + 2) { grid-column: span 6; }
  .sizes-grid { grid-template-columns: repeat(2, 1fr); }
  .night-stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-head { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-top: 20px; text-align: left; }
  .hero-frame-core { aspect-ratio: 16 / 12; }
  .hero-card { left: 14px; bottom: 20px; }
  .night-split, .showroom-split, .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-top { flex-direction: column; align-items: flex-start; }
  .topbar-left .tb-extra { display: none; }
  .filter-bar { border-radius: var(--r-lg); top: 76px; }
}

@media (max-width: 620px) {
  .topbar .tb-addr { display: none; }
  .hero-badge { font-size: 0.58rem; letter-spacing: 0.15em; padding: 6px 12px; }
  .sizes-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .size-core { padding: 20px 16px 18px; }
  .bs-grid .product-card:nth-child(n + 2) { grid-column: span 12; }
  .cat-grid { grid-template-columns: 1fr; }
  .p-perks { grid-template-columns: 1fr; }
  .p-actions { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-proof { gap: 16px; }
  .topbar .tb-phone-label { display: none; }
}

/* ============================================================
   PAGES ÉTENDUES — collections, fiche collection, livraison,
   contact, guide, bases, liquidation
   ============================================================ */

/* ---------- Grand catalogue : rendu paresseux hors écran ---------- */
.cat-grid .product-card { content-visibility: auto; contain-intrinsic-size: 300px 430px; }
.filter-bar { flex-wrap: wrap; }

/* ---------- Grille de collections ---------- */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.col-card {
  position: relative; display: flex; flex-direction: column; overflow: clip;
  border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  opacity: 0; transform: translateY(30px) scale(0.98);
  animation: card-in 0.7s var(--ease-expo) forwards; animation-delay: var(--d, 0s);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.col-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(13, 22, 38, 0.4); border-color: rgba(19, 26, 46, 0.14); }
.col-media { position: relative; aspect-ratio: 4 / 3; overflow: clip; background: radial-gradient(120% 100% at 50% 0%, #fff, var(--paper-2)); }
.col-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-expo); }
.col-card:hover .col-media img { transform: scale(1.05); }
.col-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: rgba(243, 236, 223, 0.92); backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 999px;
}
.col-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.col-kicker { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.col-name { font-family: var(--serif); font-size: 1.42rem; font-weight: 560; letter-spacing: -0.01em; margin-top: 8px; color: var(--ink); }
.col-desc { margin-top: 10px; font-size: 0.9rem; color: var(--muted); line-height: 1.55; text-wrap: pretty; }
.col-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.col-tag { font-size: 0.72rem; font-weight: 500; color: var(--text); background: rgba(19, 26, 46, 0.05); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.col-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; }
.col-price { font-size: 0.95rem; color: var(--ink); }
.col-price .from { font-size: 0.72rem; color: var(--muted); margin-right: 5px; }
.col-price b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.col-go { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--garnet); }
.col-go svg { width: 15px; height: 15px; transition: transform 0.5s var(--ease); }
.col-card:hover .col-go svg { transform: translate(3px, -3px); }

/* ---------- Fiche collection ---------- */
.coll-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: 30px; }
.coll-hero-media { position: relative; border-radius: var(--r-xl); overflow: clip; aspect-ratio: 5 / 4; box-shadow: 0 40px 80px -40px rgba(13, 22, 38, 0.5); }
.coll-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.coll-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 540; line-height: 1.02; letter-spacing: -0.02em; margin-top: 14px; }
.coll-hero h1 em { font-style: italic; color: var(--garnet); }
.coll-feats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.coll-feat { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 500; color: var(--text); background: var(--card); border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; }
.coll-feat svg { width: 15px; height: 15px; color: var(--brass); }
.coll-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Module « acheter l'ensemble » ---------- */
.bundle { background: var(--ink); color: var(--ivory); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); position: relative; overflow: clip; }
.bundle::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 100% 0%, rgba(203, 167, 107, 0.16), transparent 55%); pointer-events: none; }
.bundle-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; }
.bundle h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 540; letter-spacing: -0.01em; color: var(--ivory); }
.bundle p.lede { color: rgba(243, 236, 223, 0.62); }
.bundle-list { margin-top: 22px; display: grid; gap: 2px; }
.bundle-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.bundle-row:last-child { border-bottom: 0; }
.bundle-thumb { width: 48px; height: 48px; border-radius: 10px; background: var(--ivory); overflow: clip; flex-shrink: 0; }
.bundle-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bundle-row .bn { flex: 1; font-size: 0.9rem; font-weight: 500; color: var(--ivory); }
.bundle-row .bp { font-family: var(--serif); font-size: 1.02rem; color: var(--brass-2); }
.bundle-total { background: rgba(243, 236, 223, 0.06); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 26px; text-align: center; }
.bundle-total .bt-label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 236, 223, 0.6); }
.bundle-total .bt-val { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 600; color: var(--ivory); margin: 8px 0 4px; }
.bundle-total .bt-note { font-size: 0.78rem; color: rgba(243, 236, 223, 0.55); margin-bottom: 20px; }
.bundle-total .btn { width: 100%; justify-content: center; }
.bundle-total .btn + .btn { margin-top: 10px; }

/* ---------- Grille de zones (livraison) ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.zone-region { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.zone-region:first-child { margin-top: 0; }
.zone-region span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.zone-region i { flex: 1; height: 1px; background: var(--line); }
.zone-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.zone-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -30px rgba(13, 22, 38, 0.4); border-color: rgba(19, 26, 46, 0.14); }
.zc-top { display: flex; align-items: center; justify-content: space-between; }
.zc-name { font-family: var(--serif); font-size: 1.28rem; font-weight: 560; color: var(--ink); }
.zc-km { font-size: 0.72rem; font-weight: 600; color: var(--garnet); background: rgba(158, 43, 58, 0.08); padding: 5px 11px; border-radius: 999px; }
.zc-land { margin-top: 12px; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.zc-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.zc-go svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.zone-card:hover .zc-go svg { transform: translateX(4px); }

/* ---------- Contact ---------- */
.contact-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 64px); margin-top: 36px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 42px); }
.contact-form h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 540; letter-spacing: -0.01em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text); }
.form-field label .req { color: var(--garnet); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: 0.94rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 13px 15px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.14);
}
.form-field input:user-invalid, .form-field textarea:user-invalid { border-color: var(--garnet); }
.contact-form .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok svg { width: 46px; height: 46px; color: #3f8f5b; margin-bottom: 14px; }
.form-ok h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 560; }
.form-ok p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.contact-form.sent .form-inner { display: none; }
.contact-form.sent .form-ok { display: block; }
.map-embed { margin-top: 22px; border-radius: var(--r-lg); overflow: clip; border: 1px solid var(--line); height: 260px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.02); }

/* ---------- Guide dimensions ---------- */
.guide-table-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.guide-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.guide-table th, .guide-table td { text-align: left; padding: 16px 22px; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.guide-table thead th { background: var(--ink); color: var(--ivory); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table tbody tr:hover { background: rgba(19, 26, 46, 0.03); }
.guide-table td:first-child { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); font-weight: 560; }
.guide-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.guide-card { scroll-margin-top: 130px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; gap: 22px; align-items: center; }
.guide-bed { flex-shrink: 0; width: 120px; height: 96px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; }
.guide-bed span { display: block; background: linear-gradient(160deg, var(--ivory), #fff); border: 1.5px solid var(--brass); border-radius: 6px; box-shadow: 0 6px 14px -8px rgba(13,22,38,0.4); }
.guide-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 560; }
.guide-card .gc-dims { font-size: 0.9rem; color: var(--garnet); font-weight: 500; margin-top: 3px; }
.guide-card p { font-size: 0.86rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ---------- Bandeaux confiance (liquidation / bases) ---------- */
.trust-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.trust-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.trust-item svg { width: 26px; height: 26px; color: var(--brass); }
.trust-item b { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 560; margin-top: 12px; color: var(--ink); }
.trust-item span { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 4px; }
.promo-hero { background: var(--ink); color: var(--ivory); border-radius: var(--r-xl); padding: clamp(34px, 5vw, 60px); text-align: center; overflow: clip; position: relative; }
.promo-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 130% at 50% 0%, rgba(158, 43, 58, 0.28), transparent 60%); pointer-events: none; }
.promo-hero .eyebrow { color: var(--brass-2); justify-content: center; }
.promo-hero .eyebrow::before { background: var(--garnet); }
.promo-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 540; line-height: 1.04; letter-spacing: -0.02em; margin: 14px auto 0; max-width: 16ch; }
.promo-hero h1 em { font-style: italic; color: var(--brass-2); }
.promo-hero p { margin: 16px auto 0; max-width: 60ch; color: rgba(243, 236, 223, 0.66); position: relative; }
.promo-hero .hero-ctas { justify-content: center; margin-top: 28px; }

/* ---------- Bases (sur commande) ---------- */
.bases-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; margin-top: 30px; }
.bases-media { border-radius: var(--r-xl); overflow: clip; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(13, 22, 38, 0.5); }
.bases-media img { width: 100%; height: 100%; object-fit: cover; }
.bases-list { display: grid; gap: 14px; margin-top: 24px; }
.bases-list .night-point { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }

/* ---------- Responsive : pages étendues ---------- */
@media (max-width: 1000px) {
  .col-grid, .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .coll-hero, .bundle-grid, .contact-split, .bases-split { grid-template-columns: 1fr; }
  .bundle-total { max-width: 420px; }
  .trust-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .col-grid, .zone-grid, .guide-cards, .trust-band { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .guide-card { flex-direction: column; text-align: center; align-items: center; }
  .coll-hero-media { aspect-ratio: 4 / 3; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .mask-lines .line > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .col-card { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   EXTRAS « RARES » — palette ⌘K, quiz, planificateur, devis
   ============================================================ */

/* ---------- Bouton loupe (nav) ---------- */
.search-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 13px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; color: var(--text);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.search-btn:hover { border-color: var(--brass); background: var(--card); }
.search-btn svg { width: 16px; height: 16px; }
.kbd-hint {
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 5px; color: var(--muted);
}
@media (max-width: 1080px) { .kbd-hint { display: none; } .search-btn { padding: 0 11px; } }

/* ---------- Palette ---------- */
.pal-overlay, .quiz-overlay {
  position: fixed; inset: 0; background: rgba(13, 22, 38, .45);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 240;
}
.pal-open .pal-overlay, .quiz-on .quiz-overlay { opacity: 1; pointer-events: auto; }
.pal {
  position: fixed; z-index: 250; left: 50%; top: clamp(60px, 12vh, 130px);
  width: min(640px, 93vw); transform: translateX(-50%) translateY(14px) scale(.985);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 40px 90px -18px rgba(13, 22, 38, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .28s var(--ease), transform .34s var(--ease-expo);
}
.pal-open .pal { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.pal-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.pal-top > svg { width: 19px; height: 19px; color: var(--brass); flex: none; }
.pal-top input {
  flex: 1; border: 0; background: transparent; outline: 0;
  font: 500 17px/1.4 var(--sans); color: var(--text);
}
.pal-top input::placeholder { color: var(--muted); opacity: .75; }
.pal-esc {
  font: 600 10.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 5px 8px; cursor: pointer;
}
.pal-body { max-height: min(52vh, 460px); overflow: auto; padding: 10px; }
.pal-group + .pal-group { margin-top: 6px; }
.pal-label {
  display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); padding: 10px 10px 7px;
}
.pal-item {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 9px 10px; border-radius: 12px;
  border: 0; background: transparent; cursor: pointer;
  color: inherit; text-decoration: none; font-family: var(--sans);
}
.pal-item.active { background: var(--paper-2); }
.pal-thumb {
  width: 46px; height: 46px; border-radius: 10px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.pal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pal-thumb--ghost { background: var(--paper-2); color: var(--muted); }
.pal-thumb--ghost svg { width: 18px; height: 18px; }
.pal-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pal-main b { font-weight: 600; font-size: 14.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-main b mark { background: transparent; color: var(--garnet); }
.pal-main > span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-side { display: flex; align-items: center; gap: 10px; }
.pal-price { font: 600 13.5px/1 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pal-go { font-size: 12px; color: var(--muted); }
.pal-add {
  width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.pal-add:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pal-add svg { width: 14px; height: 14px; }
.pal-empty { padding: 34px 26px 40px; text-align: center; }
.pal-empty b { font-family: var(--serif); font-size: 19px; font-weight: 550; }
.pal-empty p { color: var(--muted); font-size: 13.5px; max-width: 380px; margin: 8px auto 0; }
.pal-foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 11px 18px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted);
}
.pal-foot kbd {
  font: 600 10px/1 var(--sans); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; padding: 2px 5px; margin-right: 3px; background: var(--paper);
}
.pal-count { margin-left: auto; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .pal-count { display: none; } .pal-top input { font-size: 16px; } }

/* ---------- Quiz ---------- */
.quiz {
  position: fixed; z-index: 250; left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(.98);
  width: min(680px, 93vw); max-height: 88vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 40px 90px -18px rgba(13, 22, 38, .5);
  padding: clamp(26px, 4vw, 42px);
  opacity: 0; pointer-events: none;
  transition: opacity .28s var(--ease), transform .34s var(--ease-expo);
}
.quiz-on .quiz { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.quiz-close { position: absolute; top: 16px; right: 16px; }
.quiz-q { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 540; letter-spacing: -.01em; margin-top: 10px; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
@media (max-width: 560px) { .q-opts { grid-template-columns: 1fr; } }
.q-opt {
  text-align: left; padding: 15px 17px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--sans); color: inherit;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.q-opt:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(13,22,38,.25); }
.q-opt b { display: block; font-size: 15px; font-weight: 600; }
.q-opt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.q-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.q-back { border: 0; background: transparent; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; }
.q-back:hover { color: var(--text); }
.q-dots { display: flex; gap: 6px; }
.q-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--line); }
.q-dots i.on { background: var(--brass); }
.q-results { display: grid; gap: 14px; margin-top: 24px; }
.q-result {
  position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 18px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.q-result.top { border-color: var(--brass); box-shadow: 0 18px 40px -20px rgba(176, 141, 87, .45); }
.q-badge {
  position: absolute; top: -10px; left: 14px;
  font: 600 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--ivory); border-radius: 999px; padding: 5px 10px;
}
.q-img { display: block; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.q-img img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1; }
.q-info { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.q-info > b { font-family: var(--serif); font-weight: 560; font-size: 17px; line-height: 1.25; }
.q-why { display: flex; flex-wrap: wrap; gap: 6px; }
.q-why i {
  font: 500 11px/1 var(--sans); font-style: normal; color: var(--ink);
  background: var(--paper-2); border-radius: 999px; padding: 5px 9px;
}
.q-price { font-weight: 600; font-size: 14px; }
.q-acts { display: flex; gap: 10px; align-items: center; margin-top: 2px; flex-wrap: wrap; }
.q-acts .q-see { padding: 9px 16px; font-size: 12.5px; }
.q-add {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 9px 14px; font: 600 12.5px var(--sans); cursor: pointer; color: var(--text);
  transition: border-color .2s, background .2s;
}
.q-add:hover { border-color: var(--ink); background: var(--paper-2); }
.q-restart { margin-top: 18px; border: 0; background: transparent; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; }
.q-restart:hover { color: var(--text); }
@media (max-width: 560px) { .q-result { grid-template-columns: 92px 1fr; } }

/* Bandeau quiz (page matelas) */
.quiz-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin: 26px 0 8px; padding: 18px 22px;
  background: linear-gradient(115deg, var(--ink) 0%, var(--ink-3) 100%);
  border-radius: var(--r-lg); color: var(--ivory);
}
.quiz-strip b { font-family: var(--serif); font-size: 18px; font-weight: 550; display: block; }
.quiz-strip p { font-size: 13px; color: rgba(243, 236, 223, .75); margin-top: 2px; }
.quiz-strip .btn { background: var(--ivory); color: var(--ink); }

/* ---------- Planificateur ---------- */
.planner { display: grid; grid-template-columns: minmax(330px, 430px) 1fr; gap: clamp(24px, 4vw, 54px); align-items: start; }
@media (max-width: 960px) { .planner { grid-template-columns: 1fr; } }
.plan-label { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.plan-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.plan-presets button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; cursor: pointer; font: 600 12.5px var(--sans); color: var(--text);
  transition: border-color .2s, background .2s;
}
.plan-presets button em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan-presets button.on { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.plan-presets button.on em { color: rgba(243,236,223,.7); }
.plan-fields { display: grid; gap: 12px; }
.plan-field { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.plan-field > span:first-child { font-size: 13.5px; font-weight: 500; }
.plan-field > span:first-child em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.plan-input { display: flex; align-items: center; gap: 8px; }
.plan-input input, .plan-input select {
  width: 86px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px;
  font: 600 14px var(--sans); color: var(--text); background: #fff; outline: 0;
}
.plan-input select { width: auto; font-weight: 500; }
.plan-input input:focus, .plan-input select:focus { border-color: var(--brass); }
.plan-input b { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; cursor: pointer; }
.plan-check input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; }
.plan-check span { font-size: 13px; line-height: 1.45; }
.plan-check span em { font-style: normal; color: var(--muted); }
.plan-verdicts { display: grid; gap: 8px; margin-top: 22px; }
.verdict {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  cursor: pointer; font-family: var(--sans); color: inherit;
  transition: border-color .2s, box-shadow .25s;
}
.verdict:hover { border-color: var(--brass); }
.verdict.on { border-color: var(--ink); box-shadow: 0 10px 24px -16px rgba(13,22,38,.35); }
.verdict i {
  width: 30px; height: 30px; border-radius: 9px; font-style: normal; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.v-ok i { background: rgba(46, 125, 79, .12); color: #2e7d4f; }
.v-warn i { background: rgba(176, 123, 30, .13); color: #b07b1e; }
.v-bad i { background: rgba(158, 43, 58, .1); color: var(--garnet); }
.verdict > span:nth-child(2) { min-width: 0; }
.verdict b { font-size: 14px; font-weight: 600; display: block; }
.verdict b em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 4px; }
.verdict > span:nth-child(2) > span { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.v-go { font-size: 12px; color: var(--muted); white-space: nowrap; }
.verdict.on .v-go { color: var(--text); font-weight: 600; }
.plan-cta { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.plan-best { font-size: 13px; color: var(--muted); line-height: 1.45; }
.plan-best b { color: var(--text); }
.plan-svg-frame {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(16px, 3vw, 30px); text-align: center; position: relative;
}
.plan-svg-tag {
  position: absolute; top: 14px; left: 16px;
  font: 600 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
#planSvg svg { max-width: 100%; height: auto; margin-top: 10px; }
.plan-legend { display: block; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.plan-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.lg-ok { background: #2e7d4f; } .lg-warn { background: #b07b1e; } .lg-bad { background: var(--garnet); }
.plan-tip {
  display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center;
  margin-top: 16px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
}
.plan-tip.urgent { border-color: var(--brass); background: rgba(203, 167, 107, .08); }
.plan-tip img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.plan-tip b { font-size: 14.5px; }
.plan-tip p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.plan-tip a { color: var(--garnet); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .plan-tip { grid-template-columns: 64px 1fr; } .plan-tip img { width: 64px; height: 64px; } }

/* ---------- Soumission (impression) ---------- */
#devisSheet { display: none; }
@media print {
  body.printing-devis > *:not(#devisSheet) { display: none !important; }
  body.printing-devis #devisSheet { display: block !important; }
  body.printing-devis { background: #fff !important; }
  .grain { display: none !important; }
  .devis { font: 12.5pt/1.5 "Switzer", "Segoe UI", sans-serif; color: #111; max-width: 720px; margin: 0 auto; }
  .devis-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2.5pt solid #0d1626; padding-bottom: 12pt; margin-bottom: 16pt; }
  .devis-brand b { font-family: "Fraunces", Georgia, serif; font-size: 19pt; display: block; }
  .devis-brand span { font-size: 9.5pt; color: #555; letter-spacing: .06em; text-transform: uppercase; }
  .devis-meta { text-align: right; }
  .devis-meta b { font-size: 12pt; display: block; }
  .devis-meta span { font-size: 9.5pt; color: #555; }
  .devis-table { width: 100%; border-collapse: collapse; margin: 10pt 0 14pt; }
  .devis-table th { text-align: left; font-size: 9pt; letter-spacing: .1em; text-transform: uppercase; color: #666; border-bottom: 1pt solid #bbb; padding: 5pt 6pt; }
  .devis-table td { padding: 7pt 6pt; border-bottom: .6pt solid #ddd; font-size: 10.5pt; }
  .devis-table th:last-child, .devis-table td:last-child { text-align: right; white-space: nowrap; }
  .devis-table td:nth-child(3) { text-align: center; }
  .devis-totals { margin-left: auto; width: 46%; }
  .devis-totals > div { display: flex; justify-content: space-between; font-size: 10.5pt; padding: 3pt 6pt; }
  .devis-total { border-top: 1.5pt solid #0d1626; margin-top: 4pt; padding-top: 6pt !important; font-weight: 700; font-size: 13pt !important; }
  .devis-ship { font-size: 9.5pt; color: #444; margin-top: 10pt; text-align: right; }
  .devis-foot { margin-top: 26pt; border-top: 1pt solid #bbb; padding-top: 10pt; }
  .devis-foot span { display: block; font-size: 9pt; color: #555; margin-top: 2pt; }
  .devis-note { font-style: italic; }
}

/* Bouton devis dans le panier */
.devis-btn { width: 100%; justify-content: center; margin-top: 10px; font-size: 13px; gap: 8px; }

/* ============================================================
   Réorganisation boutique — dropdown, sous-filtres, tri, tuiles
   ============================================================ */
.nav-item.has-drop { position: relative; display: inline-flex; }
.nav-item.has-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.drop-caret { width: 12px; height: 12px; opacity: 0.6; transition: rotate 0.3s var(--ease); }
.nav-drop {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 265px; padding: 10px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -18px rgba(13, 22, 38, 0.28);
  opacity: 0; visibility: hidden; translate: -50% 6px;
  transition: opacity 0.25s var(--ease), translate 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
}
.nav-item.has-drop:hover .nav-drop,
.nav-item.has-drop:focus-within .nav-drop { opacity: 1; visibility: visible; translate: -50% 0; }
.nav-item.has-drop:hover .drop-caret { rotate: 180deg; }
.nav-drop a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 9px 12px; border-radius: 10px; font-size: 0.88rem; font-weight: 500;
  color: var(--text); transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-drop a span { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nav-drop a:hover { background: rgba(19, 26, 46, 0.06); color: var(--ink); }
.nav-drop .nav-drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 11px; color: var(--garnet); font-weight: 600; }
.mm-depts { margin: 2px 0 6px 14px; padding-left: 12px; border-left: 1px solid var(--line); }
.mm-depts li { margin: 0; }
.mm-depts a { font-size: 0.95rem !important; font-weight: 450 !important; padding: 5px 0 !important; display: flex !important; justify-content: space-between; }
.mm-depts a em { font-style: normal; color: var(--muted); font-size: 0.75rem; }

.filter-sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.filter-sub .schip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  color: var(--muted); cursor: pointer; transition: all 0.25s var(--ease);
}
.filter-sub .schip span { font-size: 0.68rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.filter-sub .schip:hover { border-color: rgba(19, 26, 46, 0.3); color: var(--ink); }
.filter-sub .schip.on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.cat-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.cat-tools .cat-count { margin: 0; }
.sort-wrap { font-size: 0.8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.sort-wrap select {
  font-family: var(--sans); font-size: 0.84rem; font-weight: 500; color: var(--ink);
  padding: 8px 30px 8px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1626' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
  appearance: none; cursor: pointer;
}
.sort-wrap select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.btn--more { margin: 34px auto 0; display: flex; }
.btn--more b { font-weight: 600; }

.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dept-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: translate 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.dept-card:hover { translate: 0 -5px; box-shadow: 0 26px 46px -24px rgba(13, 22, 38, 0.35); border-color: rgba(176, 141, 87, 0.5); }
.dc-media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; display: block; }
.dc-media img { width: 100%; height: 100%; object-fit: contain; transition: scale 0.6s var(--ease); }
.dept-card:hover .dc-media img { scale: 1.05; }
.dc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.dc-body b { font-family: var(--serif); font-size: 1.02rem; font-weight: 540; color: var(--ink); }
.dc-body > span { font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dc-arrow {
  position: absolute; right: 12px; bottom: 14px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(19, 26, 46, 0.05); color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), translate 0.3s var(--ease);
}
.dc-arrow svg { width: 15px; height: 15px; }
.dept-card:hover .dc-arrow { background: var(--garnet); color: var(--ivory); translate: 3px 0; }

@media (max-width: 1020px) { .dept-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .dc-arrow { display: none; }
  .cat-tools { align-items: flex-start; flex-direction: column; }
}

/* ---------- Panier : zone de livraison & total ---------- */
.ship-pick { padding: 16px 20px 14px; border-bottom: 1px solid var(--line); }
.ship-lab { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ship-opts { display: grid; gap: 8px; margin-top: 10px; }
.ship-opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.ship-opt:hover { border-color: rgba(19, 26, 46, 0.3); }
.ship-opt:has(input:checked) { border-color: var(--ink); background: rgba(19, 26, 46, 0.04); }
.ship-opt input { margin-top: 3px; accent-color: var(--ink); }
.ship-opt b { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.ship-opt em { font-style: normal; font-size: 0.75rem; color: var(--muted); }
.ship-far { margin-top: 10px; font-size: 0.73rem; color: var(--muted); line-height: 1.5; }
.ship-far a { color: var(--garnet); font-weight: 600; }
.cart-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.cart-line b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- Page merci ---------- */
.merci-card { max-width: 640px; margin: clamp(30px, 6vh, 70px) auto; text-align: center; }
.merci-ico { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: rgba(46, 125, 80, 0.12); color: #2e7d50; }
.merci-ico svg { width: 30px; height: 30px; }
.merci-card h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 540; color: var(--ink); }
.merci-card .lede { margin: 14px auto 0; }
.merci-steps { display: grid; gap: 10px; margin: 30px 0; text-align: left; }
.ms-step { padding: 14px 18px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.ms-step b { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.ms-step span { font-size: 0.82rem; color: var(--muted); }
.merci-ref { font-size: 0.78rem; color: var(--muted); margin-bottom: 18px; }
.merci-ref b { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--text); }
.merci-card .hero-ctas { justify-content: center; }

/* ============================================================
   Étape « Vos coordonnées » (avant Stripe)
   ============================================================ */
.coord-overlay {
  position: fixed; inset: 0; background: rgba(13, 22, 38, .45);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 240;
}
.coord-on .coord-overlay { opacity: 1; pointer-events: auto; }
.coord {
  position: fixed; z-index: 250; left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(.98);
  width: min(680px, 94vw); max-height: 90vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 40px 90px -18px rgba(13, 22, 38, .5);
  padding: clamp(24px, 4vw, 40px);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .28s var(--ease), transform .34s var(--ease-expo), visibility .28s;
}
.coord-on .coord { opacity: 1; pointer-events: auto; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.coord-close { position: absolute; top: 16px; right: 16px; }
.coord h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 540; letter-spacing: -.01em; margin-top: 8px; outline: 0;
}
.coord h2:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 4px; }
.coord-lede { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.coord .form-row { margin-top: 14px; }
.coord .form-field.full { margin-top: 14px; }
.coord textarea { min-height: 64px !important; }
/* 16 px minimum : en dessous, iOS zoome au focus et ne revient jamais. */
.coord input, .coord select, .coord textarea { font-size: max(16px, .94rem) !important; }
.form-field .opt { color: var(--muted); font-weight: 500; }
.field-help { font-size: .74rem; color: var(--muted); line-height: 1.45; }
.field-error { font-size: .76rem; color: var(--garnet); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.coord input.is-bad, .coord select.is-bad, .coord textarea.is-bad { border-color: var(--garnet); }

.coord-err {
  margin-top: 16px; padding: 13px 16px; border-radius: var(--r-md);
  border: 1px solid rgba(158, 43, 58, .35); background: rgba(158, 43, 58, .07); outline: 0;
}
.coord-err b { font-size: .87rem; color: var(--garnet); }
.coord-err ul { margin: 6px 0 0 18px; }
.coord-err li { font-size: .82rem; }
.coord-err a { color: var(--garnet); text-decoration: underline; }

.coord-sep { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.coord-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.coord-sep span {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

.coord-zone { margin-top: 14px; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--line); }
.coord-zone.is-in { border-color: rgba(63, 143, 91, .4); background: rgba(63, 143, 91, .07); }
.coord-zone.is-out { border-color: rgba(176, 141, 87, .5); background: rgba(176, 141, 87, .09); }
.coord-zone b { font-size: .88rem; color: var(--ink); }
.coord-zone p { font-size: .8rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.zone-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 11px; }
.zone-acts .btn--ghost { padding: 9px 16px; font-size: .8rem; }
.zone-acts .link-more { background: none; border: 0; cursor: pointer; font-size: .8rem; }

.coord-recap { margin-top: 24px; padding: 15px 17px; border-radius: var(--r-md); background: rgba(19, 26, 46, .04); }
.rc-line { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; color: var(--muted); }
.rc-line + .rc-line { margin-top: 6px; }
.rc-line b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-total { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.rc-total b { font-family: var(--serif); font-size: 1.25rem; font-weight: 560; color: var(--ink); }
.rc-tax { font-size: .72rem; color: var(--muted); margin-top: 7px; }

.coord-go { width: 100%; justify-content: center; margin-top: 18px; min-height: 50px; }
.coord-note { font-size: .74rem; color: var(--muted); line-height: 1.55; text-align: center; margin-top: 12px; }
.coord-note a { color: var(--garnet); font-weight: 600; }
.coord-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .coord { width: 100%; max-width: none; max-height: 100vh; height: 100%; top: 0; left: 0;
    transform: translateY(3%); border-radius: 0; border: 0;
    padding: 26px 20px calc(30px + env(safe-area-inset-bottom)); }
  .coord-on .coord { transform: translateY(0); }
  .coord-close { position: sticky; top: 0; float: right; margin: -6px -4px 0 0; z-index: 2; }
  .coord .form-row { grid-template-columns: 1fr; gap: 14px; }
  .coord .form-field { grid-column: 1 / -1 !important; }
}

/* Pastille « sur commande » — le catalogue fournisseur (6–7 jours ouvrables). */
.pc-chip--order { background: rgba(176, 141, 87, .16); color: #6d5426; border: 1px solid rgba(176, 141, 87, .4); }
.cart-delai b { font-weight: 600; color: var(--brass); }

/* ============================================================
   Pages légales + consentement SMS
   ============================================================ */
.legal-h1 {
  font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 540;
  line-height: 1.04; letter-spacing: -0.02em; margin-top: 14px;
}
.legal-h1 em { font-style: italic; color: var(--garnet); }
.legal { max-width: 780px; margin-top: 44px; }
.legal h2 {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 560;
  color: var(--ink); margin-top: 44px; scroll-margin-top: 130px;
}
.legal h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 560; margin-top: 26px; }
.legal p { margin-top: 13px; font-size: 0.95rem; line-height: 1.72; color: var(--text); }
.legal ul { margin: 13px 0 0 20px; }
.legal li { margin-top: 8px; font-size: 0.95rem; line-height: 1.68; }
.legal a { color: var(--garnet); font-weight: 550; text-decoration: underline; text-underline-offset: 2px; }
.legal-meta {
  padding: 20px 24px; border-radius: var(--r-md); background: var(--card);
  border: 1px solid var(--line); font-size: 0.9rem !important; line-height: 1.66 !important;
}
.legal-date { display: block; margin-top: 9px; font-size: 0.8rem; color: var(--muted); }
.legal-callout {
  margin-top: 18px !important; padding: 17px 20px; border-radius: var(--r-md);
  background: rgba(176, 141, 87, 0.1); border: 1px solid rgba(176, 141, 87, 0.4);
}
.legal-en {
  margin-top: 30px; padding: 22px 24px; border-radius: var(--r-md);
  background: rgba(19, 26, 46, 0.04); border: 1px solid var(--line);
}
.legal-en h3 { margin-top: 0; }
.legal-en p { font-size: 0.9rem; }
.legal-foot {
  margin-top: 40px !important; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem !important;
}
.legal-table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.legal-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.legal-table th, .legal-table td {
  text-align: left; padding: 13px 18px; font-size: 0.88rem; border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal-table thead th {
  background: var(--ink); color: var(--ivory); font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { font-weight: 600; color: var(--ink); }

.coord-optin {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 22px;
  padding: 15px 17px; border-radius: var(--r-md);
  background: rgba(19, 26, 46, 0.03); border: 1px solid var(--line); cursor: pointer;
}
.coord-optin input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; cursor: pointer; }
.coord-optin b { display: block; font-size: 0.88rem; color: var(--ink); }
.coord-optin em { display: block; margin-top: 4px; font-style: normal; font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* Le défilement d'une surface ouverte ne doit pas se propager à la page. */
.coord, .quiz, .pal-body, .cart-items, .mobile-menu { overscroll-behavior: contain; }
/* La barre de défilement garde sa gouttière : pas de saut de mise en page
   quand l'arrière-plan se fige. */
html { scrollbar-gutter: stable; }
