:root {
  --ink: #141414;
  --muted: #5A5A5A;
  --line: #EDEDEA;
  --soft: #FAFAF8;
  --cream: #F3EEE7;
  --accent: #8A6A4F;
  --white: #FFFFFF;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.serif { font-family: var(--serif); font-weight: 400; }
em { font-style: italic; }

/* Bandeau + header */
.announce { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-align: center; padding: 10px 16px; border-bottom: 1px solid var(--line); color: #3A3A3A; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; position: sticky; top: 0; background: rgba(255,255,255,0.96); z-index: 20; }
.site-header .side { display: flex; gap: 4px; flex: 1 1 0; align-items: center; }
.site-header .side.end { justify-content: flex-end; }
.logo { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; text-decoration: none; color: var(--ink); }
.icon-btn { background: none; border: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); position: relative; text-decoration: none; padding: 0; }
.cart-count { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.cart-count:empty { display: none; }
.nav-panel { display: none; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); }
.nav-panel.open { display: block; }
.nav-panel a { display: block; padding: 10px 0; font-family: var(--serif); font-size: 28px; text-decoration: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--white); border: 0; text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; }
.btn:hover { color: var(--white); background: #333; }
.btn[disabled] { background: #B8B8B4; cursor: not-allowed; }
.btn.wide { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.text-btn { background: none; border: 0; padding: 8px 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }

/* Hero */
.hero { padding: 16px 24px 88px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.hero img { width: 100%; max-width: 540px; aspect-ratio: 1 / 1; object-fit: contain; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 72px); line-height: 1; }
.countdown { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); min-height: 21px; }
.hero .btn { width: 100%; max-width: 420px; }

/* Rangées produits */
.row-section { padding-bottom: 88px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 24px 24px; }
.row-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 46px); }
.row-head a { font-size: 14px; font-weight: 500; }
.row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 24px 8px; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row > .tile { flex: 0 0 min(76vw, 340px); scroll-snap-align: start; }
.row-empty { margin: 0 24px; padding: 48px 24px; background: var(--soft); text-align: center; color: var(--muted); }
.row-empty strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--ink); margin-bottom: 6px; }

/* Tuiles */
.tile { display: flex; flex-direction: column; gap: 8px; }
.tile-link { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.tile-media { position: relative; aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.tile-media .hover { position: absolute; inset: 0; opacity: 0; }
.tile-link:hover .tile-media .hover { opacity: 1; }
.tile-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 28px; color: #B5B0A8; }
.ribbons { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.ribbon { background: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tile-name { font-size: 16px; font-weight: 500; margin-top: 4px; }
.tile-price { font-size: 15px; color: var(--muted); }
.tile-price s, .price s { color: #8F8F8A; margin-right: 6px; }
.tile-meta { font-size: 13px; color: var(--muted); }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); }
.tile-status { font-size: 13px; font-weight: 600; color: var(--accent); }

/* Éditorial */
.editorial { padding: 0 24px 88px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.editorial-media { width: 100%; max-width: 820px; aspect-ratio: 4 / 5; background: var(--cream); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.editorial-media img { width: 78%; aspect-ratio: 1 / 1; object-fit: contain; }
.editorial-media span { position: absolute; top: 47%; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(34px, 6vw, 54px); color: var(--white); padding: 0 16px; }
.editorial .btn { width: 100%; max-width: 820px; }

/* Valeurs */
.values { padding: 0 24px 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; max-width: 1100px; margin: 0 auto; text-align: center; }
.values h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.values p { margin: 0; color: var(--muted); font-size: 15px; }

/* À propos */
.about { padding: 0 24px 96px; }
.about-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-media { flex: 1 1 340px; background: var(--cream); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.about-media img { width: 72%; }
.about-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.about-text h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 54px); line-height: 1.02; }
.about-text p { margin: 0; line-height: 1.75; color: #3A3A3A; }
.about-text .sign { font-family: var(--serif); font-style: italic; font-size: 26px; }

/* Rejoindre */
.join { padding: 72px 24px; border-top: 1px solid var(--line); text-align: center; }
.join h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: 40px; }
.join p { margin: 0 auto 20px; max-width: 460px; color: var(--muted); }

/* Footer */
.site-footer { padding: 40px 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer .logo { font-size: 30px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.site-footer nav a { padding: 10px 0; }

/* Listing */
.page-head { padding: 24px 24px 8px; max-width: 1240px; margin: 0 auto; }
.page-head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 7vw, 64px); line-height: 1.05; }
.page-head p { color: var(--muted); max-width: 560px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.listing { max-width: 1240px; margin: 0 auto; padding: 8px 24px 88px; }
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 20px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #D6D6D2; background: var(--white); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; font-size: 14px; }
.chip[aria-pressed="true"], .chip.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.chip .dot { width: 14px; height: 14px; border-radius: 999px; border: 1px solid rgba(0,0,0,.2); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.toolbar select { min-height: 40px; border: 1px solid #D6D6D2; border-radius: 999px; padding: 0 14px; background: var(--white); }
.filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters legend { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; padding: 0; }
.price-pair { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.price-pair input { width: 96px; min-height: 40px; border: 1px solid #D6D6D2; border-radius: 999px; padding: 0 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 20px; }
.grid.dim { opacity: .5; }
.state { padding: 56px 24px; text-align: center; background: var(--soft); color: var(--muted); }
.state strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); margin-bottom: 6px; }
.more { display: flex; justify-content: center; margin-top: 40px; }

/* Fiche produit */
.pdp { max-width: 1240px; margin: 0 auto; padding: 16px 24px 88px; display: flex; flex-wrap: wrap; gap: 40px; }
.pdp-gallery { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdp-main { aspect-ratio: 1 / 1; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 52px); line-height: 1.05; }
.price { font-size: 20px; font-weight: 500; }
.price-note { font-size: 13px; color: var(--muted); }
.opt { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opt legend { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.swatch { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; box-shadow: 0 0 0 0 var(--ink); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.swatch[disabled] { opacity: .35; cursor: not-allowed; }
.text-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.text-field input { min-height: 48px; border: 1px solid #D6D6D2; border-radius: 14px; padding: 0 16px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #D6D6D2; border-radius: 999px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper span { min-width: 28px; text-align: center; }
.blocked { font-size: 14px; color: var(--muted); margin: 0; }
.alert { font-size: 14px; color: #A1361F; margin: 0; }
.desc { line-height: 1.75; color: #3A3A3A; }
.desc p { margin: 0 0 12px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 500; min-height: 28px; }
.notify { display: flex; gap: 8px; flex-wrap: wrap; }
.notify input { flex: 1 1 200px; min-height: 48px; border: 1px solid #D6D6D2; border-radius: 999px; padding: 0 18px; }

/* Panier */
.cart-backdrop { position: fixed; inset: 0; background: rgba(20,20,20,.35); z-index: 50; display: flex; justify-content: flex-end; }
.cart-backdrop[hidden] { display: none; }
.cart-panel { width: min(440px, 100%); height: 100%; background: var(--white); display: flex; flex-direction: column; outline: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.cart-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 20px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 84px; height: 84px; background: var(--soft); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-line .name { font-weight: 500; }
.cart-line .meta { font-size: 13px; color: var(--muted); }
.cart-line .line-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cart-line .stepper button { width: 36px; height: 36px; }
.cart-foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-foot .sum { display: flex; justify-content: space-between; font-size: 15px; }
.cart-foot .sum.total { font-weight: 600; font-size: 17px; }
.cart-foot .note { font-size: 13px; color: var(--muted); margin: 0; }
.cart-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.cart-empty strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--ink); margin-bottom: 8px; }

@media (min-width: 900px) {
  .site-header, .row-head, .hero, .editorial, .values, .about, .site-footer { padding-left: 40px; padding-right: 40px; }
  .row { padding-left: 40px; padding-right: 40px; }
  .row-head { margin-left: 40px; margin-right: 40px; }
  .row-empty { margin-left: 40px; margin-right: 40px; }
  .pdp-info { position: sticky; top: 90px; align-self: flex-start; }
}