/* =====================================================================
   BOURGEOISIE ABJ — site.css (refonte Étape 2)
   Identité conservée : noir / or / ivoire · Cormorant Garamond + Inter
   Organisation : tokens → base → utilitaires → composants → pages
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Couleurs de marque (inchangées) */
  --noir: #0a0a0a;
  --noir-2: #141414;          /* surfaces élevées sur fond noir */
  --noir-3: #1e1c18;
  --or: #d4a94a;
  --or-clair: #e5bd5e;
  --or-20: rgba(212, 169, 74, .20);
  --or-10: rgba(212, 169, 74, .10);
  --ivoire: #f5f3ef;
  --creme: #e8e4dc;
  --blanc: #ffffff;

  --texte: #1a1a1a;
  --texte-2: #555555;
  --texte-3: #8a8a8a;
  --bord: #e2ded6;
  --whatsapp: #25D366;
  --danger: #c0392b;

  /* Typo */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --t-xs: 11px; --t-sm: 13px; --t-base: 15px; --t-md: 17px;
  --t-lg: clamp(19px, 2.2vw, 22px);
  --t-xl: clamp(24px, 3.2vw, 30px);
  --t-2xl: clamp(30px, 4.5vw, 42px);
  --t-3xl: clamp(38px, 7vw, 68px);
  --track-1: 2px; --track-2: 3px; --track-3: 6px;

  /* Espacement / layout */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px;
  --s-5: 40px; --s-6: 64px; --s-7: 96px;
  --max: 1280px;
  --header-h: 68px;
  --r-1: 3px; --r-2: 8px; --r-3: 16px;

  /* Mouvement (signature maison : lent, précis, jamais brusque) */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --d-1: .22s;   /* micro-interactions */
  --d-2: .55s;   /* révélations */
  --d-3: .9s;    /* moments orchestrés */

  --ombre-1: 0 2px 10px rgba(10,10,10,.06);
  --ombre-2: 0 14px 40px rgba(10,10,10,.14);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--d-1) var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: var(--t-3xl); letter-spacing: 1px; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
em, .em-or { font-style: italic; color: var(--or); }
::selection { background: var(--or); color: var(--noir); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s-3); }
.section { padding: var(--s-7) 0; }
.section--ivoire { background: var(--ivoire); }
.section--noir { background: var(--noir); color: var(--ivoire); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--t-xs); text-transform: uppercase;
  letter-spacing: var(--track-2); color: var(--or); font-weight: 500;
}
/* détail couture : petit fil pointillé de part et d'autre */
.eyebrow::before, .eyebrow::after {
  content: ''; width: 26px; height: 1px;
  background-image: linear-gradient(90deg, var(--or) 55%, transparent 0);
  background-size: 6px 1px;
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto var(--s-6); }
.section-head h2 { text-transform: uppercase; letter-spacing: var(--track-1); margin: var(--s-2) 0; }
.section-head .sous {
  font-family: var(--serif); font-style: italic;
  color: var(--texte-3); font-size: var(--t-lg);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. RÉVÉLATIONS AU DÉFILEMENT ---------- */
.rv { opacity: 0; transform: translateY(22px); }
.rv.in {
  opacity: 1; transform: none;
  transition: opacity var(--d-2) var(--ease), transform var(--d-2) var(--ease);
  transition-delay: var(--d, 0s);
}
/* Sans JS : tout reste visible */
html.no-js .rv { opacity: 1; transform: none; }

/* ---------- 4. BOUTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 30px;
  font-size: var(--t-sm); font-weight: 500;
  letter-spacing: var(--track-1); text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--r-1);
  transition: transform var(--d-1) var(--ease), background var(--d-1) var(--ease),
              color var(--d-1) var(--ease), border-color var(--d-1) var(--ease),
              box-shadow var(--d-1) var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--or { background: var(--or); color: var(--noir); border-color: var(--or); }
.btn--or:hover { background: var(--or-clair); border-color: var(--or-clair); box-shadow: var(--ombre-2); }
.btn--noir { background: var(--noir); color: var(--or); border-color: var(--noir); }
.btn--noir:hover { background: var(--or); color: var(--noir); border-color: var(--or); }
.btn--contour { background: transparent; color: var(--ivoire); border-color: rgba(245,243,239,.5); }
.btn--contour:hover { background: var(--ivoire); color: var(--noir); border-color: var(--ivoire); }
.btn--wa { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn--wa:hover { background: #1eb958; border-color: #1eb958; box-shadow: var(--ombre-2); }
.btn--bloc { width: 100%; }
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- 5. ICÔNES SVG ---------- */
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none;
      stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- 6. HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease);
}
.header.scrolle { border-bottom-color: var(--or-20); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.header-in {
  max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--s-3);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-3);
}
.h-gauche, .h-droite { display: flex; align-items: center; gap: var(--s-2); }
.h-droite { justify-content: flex-end; }

.logo { text-align: center; color: var(--or); }
.logo b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 19px; letter-spacing: var(--track-3); text-transform: uppercase;
  white-space: nowrap;
}
.logo small {
  display: block; margin-top: 1px; font-size: 8.5px; font-style: italic;
  letter-spacing: var(--track-2); color: var(--texte-3);
}
.logo:hover { color: var(--or-clair); }

.nav-desktop { display: none; gap: var(--s-4); }
.nav-desktop a {
  position: relative; padding: 6px 0;
  color: var(--ivoire); font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: var(--track-1);
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--or);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--d-2) var(--ease);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--or); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left;
}

.h-btn {
  position: relative; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ivoire); border-radius: var(--r-1);
  transition: color var(--d-1) var(--ease), transform var(--d-1) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.h-btn:hover { color: var(--or); }
.h-btn:active { transform: scale(.92); }

.badge {
  position: absolute; top: 5px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: none; align-items: center; justify-content: center;
  background: var(--or); color: var(--noir);
  font-size: 10px; font-weight: 600; border-radius: 99px;
}
.badge.on { display: inline-flex; }
.badge.pop { animation: pop var(--d-2) var(--ease); }
@keyframes pop { 40% { transform: scale(1.45); } }

.lang { display: flex; align-items: center; gap: 6px; color: var(--texte-3); font-size: var(--t-xs); }
.lang button {
  padding: 10px 4px; letter-spacing: 1px; color: var(--texte-3);
  transition: color var(--d-1) var(--ease);
}
.lang button.on, .lang button:hover { color: var(--or); }

/* ---------- 7. MENU MOBILE (plein écran, moment maison) ---------- */
.menu-ouvrir { display: inline-flex; }
.menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--noir); color: var(--ivoire);
  display: flex; flex-direction: column;
  padding: var(--s-4) var(--s-4) calc(var(--s-5) + env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0;
  transition: opacity var(--d-2) var(--ease), visibility 0s var(--d-2);
}
.menu.ouvert { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu-haut { display: flex; justify-content: space-between; align-items: center; }
.menu-liens { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s-3); }
.menu-liens a {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 56px);
  letter-spacing: 2px; text-transform: uppercase; line-height: 1.1;
  padding: 6px 0;
  opacity: 0; transform: translateY(26px);
}
.menu.ouvert .menu-liens a {
  opacity: 1; transform: none;
  transition: opacity var(--d-2) var(--ease) var(--d, 0s),
              transform var(--d-2) var(--ease) var(--d, 0s),
              color var(--d-1) var(--ease);
}
.menu-liens a:hover, .menu-liens a[aria-current="page"] { color: var(--or); font-style: italic; }
.menu-bas { display: flex; gap: var(--s-3); color: var(--texte-3); font-size: var(--t-xs); letter-spacing: var(--track-1); }
body.fige { overflow: hidden; }

/* ---------- 8. HERO ÉDITORIAL ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--noir); color: var(--ivoire);
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: var(--s-6) 0;
}
.hero::before { /* halos or très discrets */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 18% 12%, var(--or-10), transparent 65%),
    radial-gradient(640px 520px at 85% 88%, rgba(212,169,74,.07), transparent 65%);
}
.hero-in {
  position: relative; width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 var(--s-3);
  display: grid; gap: var(--s-6); align-items: center;
}
.hero-titre {
  font-size: clamp(44px, 8.4vw, 86px);
  font-weight: 600;
  color: var(--ivoire);
  text-transform: uppercase;
  letter-spacing: 1px; line-height: 1.05;
  margin: var(--s-3) 0 var(--s-2);
}
.hero-titre em { color: var(--or); font-weight: 500; }
.hero-ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-ligne > span { display: block; transform: translateY(112%); }
.hero.pret .hero-ligne > span {
  transform: none;
  transition: transform var(--d-3) var(--ease);
}
.hero.pret .hero-ligne:nth-child(2) > span { transition-delay: .12s; }
.hero-sous {
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-lg); color: var(--texte-3);
  margin-bottom: var(--s-4);
}
.hero-fil {
  width: 84px; height: 1px; border: 0; margin: 0 0 var(--s-4);
  background: var(--or); transform: scaleX(0); transform-origin: left;
}
.hero.pret .hero-fil { transform: none; transition: transform var(--d-3) var(--ease) .35s; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-texte > .eyebrow, .hero-sous, .hero-ctas { opacity: 0; transform: translateY(14px); }
.hero.pret .hero-texte > .eyebrow,
.hero.pret .hero-sous,
.hero.pret .hero-ctas {
  opacity: 1; transform: none;
  transition: opacity var(--d-3) var(--ease) var(--d, .2s),
              transform var(--d-3) var(--ease) var(--d, .2s);
}

/* L'arche : vitrine de maison de couture */
.hero-arche {
  position: relative;
  width: min(78vw, 400px);
  margin: 0 auto;
  aspect-ratio: 3 / 4.1;
  border-radius: 999px 999px 14px 14px;
  padding: 10px;
  border: 1px solid var(--or-20);
  opacity: 0; transform: translateY(18px) scale(.985);
}
.hero.pret .hero-arche {
  opacity: 1; transform: none;
  transition: opacity var(--d-3) var(--ease) .25s, transform var(--d-3) var(--ease) .25s;
}
.hero-arche::after { /* fine double ligne intérieure */
  content: ''; position: absolute; inset: 4px;
  border: 1px solid var(--or-10);
  border-radius: inherit; pointer-events: none;
}
.hero-arche .cadre {
  width: 100%; height: 100%; overflow: hidden;
  border-radius: 995px 995px 10px 10px;
  background: var(--noir-2);
}
.hero-arche img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
}
.hero.pret .hero-arche img {
  transform: scale(1.02);
  transition: transform 2.6s var(--ease) .25s;
}
.hero-griffe {
  position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%);
  background: var(--noir); padding: 2px 14px;
  font-size: var(--t-xs); letter-spacing: var(--track-2);
  text-transform: uppercase; color: var(--or); white-space: nowrap;
}

/* ---------- 9. BANDEAU DÉFILANT ---------- */
.marquee {
  overflow: hidden; background: var(--noir);
  border-top: 1px solid var(--or-20); border-bottom: 1px solid var(--or-20);
  padding: 14px 0; user-select: none;
}
.marquee-piste { display: flex; width: max-content; animation: defile 34s linear infinite; }
.marquee:hover .marquee-piste { animation-play-state: paused; }
.marquee-piste span {
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-md); letter-spacing: var(--track-2);
  text-transform: uppercase; color: var(--or);
  padding: 0 26px; white-space: nowrap;
}
.marquee-piste span::after { content: '✦'; margin-left: 52px; font-size: 11px; opacity: .7; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- 10. CARTES PRODUIT ---------- */
.grille {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3) var(--s-2);
}
.carte { display: block; -webkit-tap-highlight-color: transparent; }
.carte-img {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: var(--r-2);
  background: var(--creme);
}
.carte-img::before { /* shimmer pendant le chargement */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 1.6s ease infinite;
}
.carte-img.ok::before { display: none; }
@keyframes shimmer { to { transform: translateX(100%); } }
.carte-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity var(--d-2) ease, transform 1.1s var(--ease);
}
.carte-img img.ok { opacity: 1; }
.carte:hover .carte-img img { transform: scale(1.05); }
.carte-img .voile {
  position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(10,10,10,.55));
  color: #fff; font-size: var(--t-xs); letter-spacing: var(--track-1);
  text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--d-1) var(--ease), transform var(--d-1) var(--ease);
  display: flex; align-items: center; gap: 8px;
}
.carte:hover .voile { opacity: 1; transform: none; }
.tag-new {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--noir); color: var(--or);
  font-size: 10px; font-weight: 500; letter-spacing: var(--track-1);
  text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-1);
}
.tag-rupture {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  background: rgba(255,255,255,.92); color: var(--danger);
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-1);
}
.carte-infos { padding: 12px 2px 0; text-align: center; }
.carte-nom { font-family: var(--serif); font-size: var(--t-md); letter-spacing: .5px; }
.carte-prix { margin-top: 3px; font-size: var(--t-sm); font-weight: 600; color: var(--texte); }
.carte-prix small { font-weight: 400; color: var(--texte-3); margin-left: 3px; }

/* ---------- 11. SECTION VALEURS ---------- */
.valeurs { display: grid; gap: var(--s-5); text-align: center; }
.valeur .rond {
  width: 64px; height: 64px; margin: 0 auto var(--s-3);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--or); border-radius: 50%;
  color: var(--or); background: var(--blanc);
  transition: transform var(--d-2) var(--ease), background var(--d-2) var(--ease), color var(--d-2) var(--ease);
}
.valeur:hover .rond { transform: translateY(-4px); background: var(--noir); }
.valeur h3 { font-size: var(--t-lg); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--s-2); }
.valeur p { color: var(--texte-2); max-width: 300px; margin: 0 auto; }

/* ---------- 12. PAGE COLLECTION ---------- */
.page-tete { text-align: center; padding: var(--s-6) 0 var(--s-5); }
.page-tete h1 { text-transform: uppercase; }
.page-tete .sous { font-family: var(--serif); font-style: italic; color: var(--texte-3); font-size: var(--t-lg); margin-top: var(--s-2); }

.filtres {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bord);
  padding: 10px 0;
}
.filtres-in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--s-3);
  display: flex; align-items: center; gap: var(--s-3);
}
.puces {
  display: flex; gap: var(--s-2); overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none; flex: 1;
}
.puces::-webkit-scrollbar { display: none; }
.puce {
  flex: none; min-height: 40px; padding: 8px 18px;
  border: 1px solid var(--bord); border-radius: 99px;
  font-size: var(--t-sm); color: var(--texte-2);
  transition: all var(--d-1) var(--ease); white-space: nowrap;
}
.puce:hover { border-color: var(--noir); color: var(--noir); }
.puce.on { background: var(--noir); border-color: var(--noir); color: var(--or); }
.tri select {
  min-height: 40px; padding: 6px 12px;
  border: 1px solid var(--bord); border-radius: var(--r-1);
  background: var(--blanc); color: var(--texte-2); font-size: var(--t-sm);
}
.compte { color: var(--texte-3); font-size: var(--t-sm); white-space: nowrap; }
.catalogue { padding: var(--s-5) 0 var(--s-7); }
.vide {
  text-align: center; padding: var(--s-7) var(--s-3); color: var(--texte-3);
  font-family: var(--serif); font-style: italic; font-size: var(--t-lg);
}

/* ---------- 13. PAGE PRODUIT ---------- */
.fil-ariane {
  padding: var(--s-3) 0; font-size: var(--t-sm); color: var(--texte-3);
}
.fil-ariane a:hover { color: var(--or); }
.produit { display: grid; gap: var(--s-5); padding-bottom: var(--s-7); }
.galerie-principale {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: var(--r-3); background: var(--creme);
}
.galerie-principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie-principale img.change { animation: fondu var(--d-2) var(--ease); }
@keyframes fondu { from { opacity: 0; transform: scale(1.02); } }
.vignettes { display: flex; gap: var(--s-2); margin-top: var(--s-2); overflow-x: auto; padding-bottom: 4px; }
.vignettes button {
  flex: none; width: 72px; aspect-ratio: 3/4; overflow: hidden;
  border-radius: var(--r-2); border: 2px solid transparent; padding: 0;
  transition: border-color var(--d-1) var(--ease); background: var(--creme);
}
.vignettes button.on { border-color: var(--or); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; }

.p-infos .eyebrow { margin-bottom: var(--s-2); }
.p-infos h1 { font-size: var(--t-2xl); margin-bottom: var(--s-2); }
.p-prix { font-size: var(--t-xl); font-family: var(--serif); margin-bottom: var(--s-3); }
.p-prix small { font-size: var(--t-sm); font-family: var(--sans); color: var(--texte-3); margin-left: 4px; }
.p-desc { color: var(--texte-2); margin-bottom: var(--s-4); max-width: 520px; }

.opt { margin-bottom: var(--s-4); }
.opt-titre {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--t-xs); text-transform: uppercase; letter-spacing: var(--track-1);
  color: var(--texte-2); margin-bottom: var(--s-2);
}
.opt-titre b { font-weight: 500; color: var(--texte); }
.choix { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.taille {
  min-width: 48px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--bord); border-radius: var(--r-1);
  font-size: var(--t-sm); transition: all var(--d-1) var(--ease);
}
.taille:hover { border-color: var(--noir); }
.taille.on { background: var(--noir); color: var(--or); border-color: var(--noir); }
.couleur {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--bord); padding: 3px;
  background-clip: content-box !important;
  transition: border-color var(--d-1) var(--ease), transform var(--d-1) var(--ease);
}
.couleur:hover { transform: scale(1.08); }
.couleur.on { border-color: var(--or); }
.qte { display: inline-flex; align-items: center; border: 1px solid var(--bord); border-radius: var(--r-1); }
.qte button { width: 46px; height: 46px; font-size: 19px; transition: background var(--d-1); }
.qte button:hover { background: var(--ivoire); }
.qte input {
  width: 52px; height: 46px; text-align: center; border: 0;
  border-left: 1px solid var(--bord); border-right: 1px solid var(--bord);
  -moz-appearance: textfield; appearance: textfield;
}
.qte input::-webkit-outer-spin-button, .qte input::-webkit-inner-spin-button { -webkit-appearance: none; }

.p-actions { display: grid; gap: var(--s-2); margin-top: var(--s-4); max-width: 440px; }
.p-note { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--texte-3); display: flex; gap: 8px; align-items: center; }

/* Barre d'achat mobile collante */
.barre-achat {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: flex; align-items: center; gap: var(--s-3);
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--bord);
  padding: 10px var(--s-3) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(102%);
  transition: transform var(--d-2) var(--ease);
}
.barre-achat.visible { transform: none; }
.barre-achat .b-prix { font-family: var(--serif); font-size: var(--t-lg); white-space: nowrap; }
.barre-achat .btn { flex: 1; }

/* ---------- 14. PANIER ---------- */
.panier-liste { display: grid; gap: var(--s-3); }
.ligne {
  display: grid; grid-template-columns: 88px 1fr auto; gap: var(--s-3);
  padding: var(--s-3); border: 1px solid var(--bord); border-radius: var(--r-2);
  background: var(--blanc); align-items: center;
  transition: box-shadow var(--d-1) var(--ease);
}
.ligne:hover { box-shadow: var(--ombre-1); }
.ligne-img { width: 88px; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r-1); background: var(--creme); }
.ligne-img img { width: 100%; height: 100%; object-fit: cover; }
.ligne-nom { font-family: var(--serif); font-size: var(--t-md); }
.ligne-meta { font-size: var(--t-sm); color: var(--texte-3); margin: 2px 0 8px; }
.ligne-prix { font-weight: 600; font-size: var(--t-sm); }
.ligne-actions { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
.ligne-suppr {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--texte-3); border-radius: var(--r-1);
  transition: color var(--d-1) var(--ease), background var(--d-1) var(--ease);
}
.ligne-suppr:hover { color: var(--danger); background: #faf1ef; }
.ligne.sortie { animation: sortie var(--d-2) var(--ease) forwards; }
@keyframes sortie { to { opacity: 0; transform: translateX(24px); height: 0; } }

.recap {
  border: 1px solid var(--bord); border-radius: var(--r-2);
  padding: var(--s-4); background: var(--ivoire);
  position: sticky; top: calc(var(--header-h) + var(--s-3));
}
.recap h3 { text-transform: uppercase; letter-spacing: 1px; font-size: var(--t-md); margin-bottom: var(--s-3); }
.recap-ligne { display: flex; justify-content: space-between; padding: 7px 0; font-size: var(--t-sm); color: var(--texte-2); }
.recap-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--bord); margin-top: var(--s-2); padding-top: var(--s-3);
  font-weight: 600;
}
.recap-total .montant { font-family: var(--serif); font-size: var(--t-xl); font-weight: 500; }
.recap .btn { margin-top: var(--s-3); }

/* ---------- 15. COMMANDE (checkout) ---------- */
.co-grid { display: grid; gap: var(--s-5); align-items: start; padding-bottom: var(--s-7); }
.champ { margin-bottom: var(--s-3); }
.champ label { display: block; font-size: var(--t-sm); font-weight: 500; margin-bottom: 6px; }
.champ input, .champ textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--bord); border-radius: var(--r-1);
  background: var(--blanc); transition: border-color var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease);
}
.champ input:focus, .champ textarea:focus {
  outline: none; border-color: var(--or); box-shadow: 0 0 0 3px var(--or-20);
}
.champ .aide { font-size: var(--t-xs); color: var(--texte-3); margin-top: 5px; }
.champ .erreur-msg { display: none; font-size: var(--t-xs); color: var(--danger); margin-top: 5px; }
.champ.erreur input { border-color: var(--danger); }
.champ.erreur .erreur-msg { display: block; }

.radio-carte {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid var(--bord); border-radius: var(--r-2);
  padding: var(--s-3); margin-bottom: var(--s-2); cursor: pointer;
  transition: border-color var(--d-1) var(--ease), background var(--d-1) var(--ease);
}
.radio-carte:hover { border-color: var(--noir); }
.radio-carte input { margin-top: 3px; accent-color: var(--or); width: 18px; height: 18px; }
.radio-carte.on { border-color: var(--or); background: var(--or-10); }
.radio-carte .rc-titre { font-weight: 500; font-size: var(--t-sm); }
.radio-carte .rc-meta { font-size: var(--t-xs); color: var(--texte-3); margin-top: 2px; }
.radio-carte .rc-prix { margin-left: auto; font-weight: 600; font-size: var(--t-sm); white-space: nowrap; }

.paiement {
  border: 1px dashed var(--or); border-radius: var(--r-2);
  background: var(--or-10); padding: var(--s-3); margin: var(--s-4) 0;
  font-size: var(--t-sm);
}
.paiement b { display: block; margin-bottom: 4px; letter-spacing: .5px; }
.paiement .modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.paiement .mode {
  background: var(--blanc); border: 1px solid var(--bord);
  border-radius: 99px; padding: 4px 12px; font-size: var(--t-xs); font-weight: 500;
}

/* ---------- 16. À PROPOS ---------- */
.citation {
  text-align: center; max-width: 760px; margin: 0 auto;
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-2xl); line-height: 1.3; color: var(--ivoire);
}
.citation footer { margin-top: var(--s-3); font-family: var(--sans); font-style: normal; font-size: var(--t-xs); letter-spacing: var(--track-2); text-transform: uppercase; color: var(--or); }
.histoire { display: grid; gap: var(--s-5); align-items: center; }
.histoire-img { overflow: hidden; border-radius: 999px 999px var(--r-3) var(--r-3); aspect-ratio: 3/4; max-width: 380px; margin: 0 auto; border: 1px solid var(--or-20); padding: 8px; }
.histoire-img .cadre { width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.histoire-img img { width: 100%; height: 100%; object-fit: cover; }
.histoire-texte p { color: var(--texte-2); margin-bottom: var(--s-3); max-width: 560px; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-4); }
.chiffre { text-align: center; }
.chiffre b { display: block; font-family: var(--serif); font-size: var(--t-xl); color: var(--noir); }
.chiffre span { font-size: var(--t-xs); letter-spacing: 1px; text-transform: uppercase; color: var(--texte-3); }

/* ---------- 17. CONTACT ---------- */
.contact-grid { display: grid; gap: var(--s-5); padding-bottom: var(--s-7); }
.coord { display: grid; gap: var(--s-3); }
.coord-item { display: flex; gap: var(--s-3); align-items: flex-start; }
.coord-item .rond {
  flex: none; width: 46px; height: 46px; border: 1px solid var(--or);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--or);
}
.coord-item b { display: block; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 1px; color: var(--texte-3); margin-bottom: 2px; font-weight: 500; }

/* ---------- 18. FOOTER ---------- */
.footer { background: var(--noir); color: var(--creme); padding: var(--s-6) 0 var(--s-4); }
.footer a:hover { color: var(--or); }
.footer-grid { display: grid; gap: var(--s-5); }
.footer-marque .devise { font-family: var(--serif); font-style: italic; font-size: var(--t-lg); color: var(--or); }
.footer-marque .lieu { margin-top: var(--s-2); font-size: var(--t-xs); letter-spacing: var(--track-2); color: var(--texte-3); }
.footer h4 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--track-1); color: var(--texte-3); margin-bottom: var(--s-3); }
.footer li { margin-bottom: 10px; font-size: var(--t-sm); }
.footer-social { display: flex; gap: var(--s-2); }
.footer-social a {
  width: 44px; height: 44px; border: 1px solid rgba(245,243,239,.2); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--d-1) var(--ease), color var(--d-1) var(--ease), transform var(--d-1) var(--ease);
}
.footer-social a:hover { border-color: var(--or); color: var(--or); transform: translateY(-3px); }
.footer-bas {
  margin-top: var(--s-5); padding-top: var(--s-4);
  border-top: 1px solid rgba(245,243,239,.1);
  font-size: var(--t-xs); color: var(--texte-3);
  display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between;
}

/* ---------- 19. TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--s-4) + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px); z-index: 300;
  display: flex; align-items: center; gap: 12px;
  background: var(--noir); color: var(--ivoire);
  border: 1px solid var(--or-20); border-radius: var(--r-2);
  padding: 13px 18px; box-shadow: var(--ombre-2);
  font-size: var(--t-sm); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px);
  transition: opacity var(--d-2) var(--ease), transform var(--d-2) var(--ease);
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ic { color: var(--or); flex: none; }
.toast a { color: var(--or); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- 20. 404 ---------- */
.p404 { text-align: center; padding: var(--s-7) var(--s-3); }
.p404 .grand { font-family: var(--serif); font-size: clamp(80px, 20vw, 160px); color: var(--or); line-height: 1; }

/* ---------- 21. RESPONSIVE ≥ 768px ---------- */
@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .grille { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
  .valeurs { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1.1fr .9fr; }
  .hero-texte { order: 0; }
  .hero-arche { order: 1; width: min(36vw, 430px); margin: 0; justify-self: end; }
  .produit { grid-template-columns: 1.05fr .95fr; gap: var(--s-6); }
  .galerie { position: sticky; top: calc(var(--header-h) + var(--s-3)); }
  .co-grid { grid-template-columns: 1.1fr .9fr; }
  .panier-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--s-5); align-items: start; }
  .histoire { grid-template-columns: .8fr 1.2fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .barre-achat { display: none; }
}

/* ---------- 22. RESPONSIVE ≥ 1024px ---------- */
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-ouvrir { display: none; }
  .grille { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 23. MOUVEMENT RÉDUIT (accessibilité) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rv, .hero-texte > *, .hero-arche, .hero-ligne > span, .hero-fil, .menu-liens a {
    opacity: 1 !important; transform: none !important;
  }
  .marquee-piste { animation: none; }
  .carte-img::before { display: none; }
}

/* ---------- 24. CHAMP-PIÈGE ANTI-BOT ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 25. PALETTES (personnalisation encadrée du back-office) ---------- */
:root { --page: var(--blanc); }
body { background: var(--page); }

html[data-palette="ivoire"] { --page: var(--ivoire); }
html[data-palette="ivoire"] .section--ivoire { background: var(--blanc); }
html[data-palette="ivoire"] .recap { background: var(--blanc); }

html[data-palette="nuit"] {
  --page: #121009;
  --blanc: #16130e;
  --ivoire: #1c1812;
  --creme: #262019;
  --texte: #f5f3ef;
  --texte-2: #cfc8ba;
  --texte-3: #948c7c;
  --bord: #322b20;
  --ombre-1: 0 2px 10px rgba(0,0,0,.5);
  --ombre-2: 0 14px 40px rgba(0,0,0,.6);
}
html[data-palette="nuit"] .filtres { background: rgba(18,16,9,.94); }
html[data-palette="nuit"] .barre-achat { background: rgba(22,19,14,.96); }
html[data-palette="nuit"] .tag-rupture { background: rgba(20,18,13,.92); color: #ff9a8c; }
html[data-palette="nuit"] .champ input,
html[data-palette="nuit"] .champ textarea,
html[data-palette="nuit"] .tri select { background: var(--creme); color: var(--texte); }

/* ---------- 26. NIVEAU D'ANIMATION ---------- */
html[data-motion="calme"] .rv { opacity: 1; transform: none; transition: none; }
html[data-motion="calme"] .marquee-piste { animation: none; }
html[data-motion="calme"] .carte-img::before { display: none; }
html[data-motion="calme"] .hero-ligne > span,
html[data-motion="calme"] .hero-fil,
html[data-motion="calme"] .hero-texte > .eyebrow,
html[data-motion="calme"] .hero-sous,
html[data-motion="calme"] .hero-ctas,
html[data-motion="calme"] .hero-arche,
html[data-motion="calme"] .hero-arche img { opacity: 1; transform: none; transition: none; }

html[data-motion="vivant"] { --d-1: .26s; --d-2: .7s; --d-3: 1.15s; }
html[data-motion="vivant"] .marquee-piste { animation-duration: 26s; }
html[data-motion="vivant"] .carte:hover .carte-img img { transform: scale(1.07); }

/* ---------- 27. BANNIÈRE MAINTENANCE ---------- */
.bandeau-pause {
  background: var(--or); color: var(--noir);
  text-align: center; font-size: 14px; font-weight: 500;
  letter-spacing: .3px; padding: 10px 16px;
}
