/* ==========================================================================
   ÉLÉGANCE · feuille de style principale
   Palette : ivoire, sable, taupe. Typographie : Playfair Display + Manrope.
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/PlayfairDisplay.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/PlayfairDisplay-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../assets/fonts/Manrope.woff2') format('woff2');
}

:root {
  --bg: #f7f2ea;
  --bg-soft: #f1e9dc;
  --sand: #e6dac8;
  --sand-deep: #d9c9b3;
  --ink: #29241f;
  --muted: #5c5347;
  --muted-soft: #665d50;
  --line: #ddd2c2;
  --line-soft: #e9e0d3;
  --accent: #7b6350;
  --accent-deep: #65503f;
  --white: #fcfaf6;
  --danger: #a3452f;

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-ui: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --header-h: 112px;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1480px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.icon { width: 20px; height: 20px; display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--bg);
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   Bandeau + en-tête
   -------------------------------------------------------------------------- */

.announcement {
  background: var(--sand);
  color: var(--ink);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px var(--gutter);
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -20px rgba(41, 36, 31, 0.5); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo { justify-self: center; text-align: center; display: block; }
.logo-word {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: 0.24em;
  line-height: 1.05;
  padding-left: 0.24em;
}
.logo-tagline {
  display: block;
  font-size: 8px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--bg-soft); }

.header-search-btn { justify-self: start; width: auto; height: 40px; padding: 0 12px; gap: 9px; border-radius: 2px; }
.header-search-label { font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }

.badge {
  position: absolute; top: 3px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--white);
  font-size: 9px; letter-spacing: 0.02em; border-radius: 999px;
  line-height: 1;
}
.badge[hidden] { display: none; }

.menu-btn { display: none; }

.main-nav {
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: center; gap: clamp(18px, 3.2vw, 46px);
  padding: 11px var(--gutter) 12px;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  position: relative; white-space: nowrap; color: var(--muted);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink);
  transition: right 0.35s var(--ease-out);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

/* --------------------------------------------------------------------------
   Couche commune : boutons, titres, sections
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px;
  background: var(--accent); color: var(--white);
  font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
  display: block;
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-soft);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) var(--gutter);
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head h1, .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.005em;
  margin-top: 8px;
}
.section-head p.lede { color: var(--muted); font-size: 12.5px; margin-top: 10px; }

.page-head { padding: clamp(36px, 5vw, 64px) var(--gutter) 0; max-width: var(--max); margin: 0 auto; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; margin-top: 10px; }
.page-head p { color: var(--muted); font-size: 13px; margin-top: 10px; max-width: 56ch; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-soft);
  padding: 20px var(--gutter); max-width: var(--max); margin: 0 auto;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--muted-soft); }

/* --------------------------------------------------------------------------
   Accueil · héros
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: clamp(420px, 47vw, 660px);
  background: var(--bg-soft);
  align-items: stretch;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(36px, 5vw, 84px) clamp(24px, 4vw, 72px);
  max-width: 640px; margin-left: auto; width: 100%;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 18px 0 22px;
}
.hero-copy p { color: var(--muted); font-size: 13px; max-width: 38ch; }
.hero-copy .btn { margin-top: 30px; align-self: flex-start; }
.hero-note { margin-top: 34px; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-soft); }
.hero-media { position: relative; overflow: hidden; background: var(--sand); min-height: 0; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(41,36,31,0.08), transparent 40%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Grille produits
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
}
.product-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.highlight { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .product-grid.highlight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
  display: block;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out), opacity 0.4s var(--ease);
}
.card:hover .card-media img { transform: scale(1.035); }

.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg);
  padding: 5px 9px;
  font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.card-tag.is-last { color: var(--danger); }

.card-fav {
  position: absolute; right: 10px; bottom: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(4px);
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card-fav .icon { width: 17px; height: 17px; }
.card-fav:hover { background: var(--bg); transform: scale(1.05); }
.card-fav.is-active { color: var(--accent); }
.card-fav.is-active .icon path { fill: currentColor; }

.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.card-name { font-size: 13px; letter-spacing: 0.02em; }
.card-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-material { font-size: 10.5px; color: var(--muted-soft); letter-spacing: 0.03em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.card-price { font-size: 12.5px; letter-spacing: 0.02em; }
.swatches { display: flex; gap: 5px; }
.swatch {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(41, 36, 31, 0.18);
}
.swatch.is-active { outline: 1px solid var(--ink); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Collection
   -------------------------------------------------------------------------- */

.collection {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 0;
}
.collection-media { overflow: hidden; background: var(--sand); min-height: 460px; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; }
.collection-panel {
  background: var(--bg-soft);
  padding: clamp(32px, 5vw, 76px);
  display: flex; flex-direction: column; justify-content: center;
}
.collection-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1;
  margin: 16px 0 16px;
}
.collection-panel p { color: var(--muted); font-size: 12.5px; max-width: 40ch; }
.collection-links { margin: 28px 0 34px; border-top: 1px solid var(--line); }
.collection-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: padding 0.3s var(--ease), color 0.2s var(--ease);
}
.collection-links a .icon { width: 16px; height: 16px; color: var(--muted); transition: transform 0.3s var(--ease-out); }
.collection-links a:hover { padding-left: 6px; }
.collection-links a:hover .icon { transform: translateX(3px); color: var(--ink); }
.collection-panel .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Avis
   -------------------------------------------------------------------------- */

.reviews { background: var(--bg-soft); }
.reviews-inner { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 84px) var(--gutter); }
.reviews-head { text-align: center; }
.reviews-head h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); margin-top: 10px; }
.reviews-head p { color: var(--muted-soft); font-size: 11px; letter-spacing: 0.1em; margin-top: 8px; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(28px, 4vw, 50px);
}
.review { text-align: center; padding: 0 8px; }
.stars { display: flex; justify-content: center; gap: 3px; color: var(--accent); }
.stars .icon { width: 11px; height: 11px; }
.review blockquote {
  margin: 16px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-style: italic;
  line-height: 1.42;
}
.review cite { display: block; font-style: normal; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.review .verified { display: block; margin-top: 4px; font-size: 9px; letter-spacing: 0.1em; color: var(--muted-soft); }
.reviews-more { text-align: center; margin-top: 34px; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.services-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 34px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
}
.service { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.service .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 4px; }
.service strong { font-weight: 400; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.service span { font-size: 10px; color: var(--muted-soft); letter-spacing: 0.06em; }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.newsletter { background: var(--sand); }
.newsletter-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.newsletter h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.06; margin-top: 10px; }
.newsletter-form { display: flex; gap: 12px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.field label { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 2px;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--ink);
  font-size: 13px;
  border-radius: 0;
  transition: border-color 0.2s var(--ease);
}
.field input::placeholder { color: var(--muted-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field select { cursor: pointer; }
.field select:disabled { opacity: 0.55; cursor: not-allowed; }
.field .error-msg { font-size: 10px; color: var(--danger); letter-spacing: 0.03em; min-height: 14px; }
.field.has-error input, .field.has-error select { border-bottom-color: var(--danger); }
.newsletter .btn { padding: 13px 20px; }
.form-note { font-size: 10px; color: var(--muted); margin-top: 12px; max-width: 46ch; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.newsletter-success { font-size: 12px; color: var(--accent); margin-top: 10px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
.footer-top {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 4vw, 56px) var(--gutter) clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px);
}
.footer-logo { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.22em; }
.footer-claim { margin-top: 14px; font-size: 11px; color: var(--muted); line-height: 1.7; max-width: 30ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 32px; height: 32px; border: 1px solid var(--line);
  display: grid; place-items: center; border-radius: 50%;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.socials a:hover { border-color: var(--ink); }
.socials .icon { width: 16px; height: 16px; }
.socials a { color: var(--muted); }
.socials a:hover { color: var(--ink); }

.footer-col h2 {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-soft); margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 9px; line-height: 1.6; }
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-note { font-size: 9.5px; color: var(--muted-soft); margin-top: 12px; }

.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter);
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 9.5px; color: var(--muted-soft); letter-spacing: 0.05em;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--ink); }
.payments { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.payments li {
  border: 1px solid var(--line);
  height: 26px; padding: 0 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.payments img { height: 15px; width: auto; display: block; }
.payments-local { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Boutique
   -------------------------------------------------------------------------- */

.shop-toolbar {
  max-width: var(--max); margin: 0 auto;
  padding: 24px var(--gutter) 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.toolbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sort-select {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.sort-select select {
  border: 0; background: transparent; padding: 6px 2px;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); border-radius: 0; cursor: pointer;
}
.result-count { font-size: 10.5px; color: var(--muted-soft); letter-spacing: 0.05em; }

.shop-grid { padding-top: 30px; }

.price-filter { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-filter input[type="range"] {
  width: 110px; height: 14px;
  -webkit-appearance: none; appearance: none;
  background: transparent; cursor: pointer;
}
.price-filter input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line); border-radius: 2px; }
.price-filter input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; margin-top: -5px;
  border-radius: 50%; background: var(--accent);
  border: 1px solid var(--bg);
  transition: transform 0.15s var(--ease);
}
.price-filter input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
.price-filter input[type="range"]::-moz-range-track { height: 2px; background: var(--line); border-radius: 2px; }
.price-filter input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 1px solid var(--bg); border-radius: 50%; background: var(--accent); }

/* --------------------------------------------------------------------------
   Produit
   -------------------------------------------------------------------------- */

.product-view {
  max-width: var(--max); margin: 0 auto;
  padding: 8px var(--gutter) clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.gallery { display: grid; grid-template-columns: 88px 1fr; gap: 14px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumbs button {
  aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft);
  border: 1px solid transparent;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  opacity: 0.72;
}
.gallery-thumbs button.is-active { border-color: var(--ink); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding-top: 6px; position: sticky; top: calc(var(--header-h) + 16px); }
.product-info h1 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin: 10px 0 12px; }
.product-price { font-size: 15px; letter-spacing: 0.04em; }
.product-material { font-size: 11.5px; color: var(--muted); margin-top: 7px; }
.stock-line { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stock-dot { width: 6px; height: 6px; border-radius: 50%; background: #6f7f5e; }
.stock-line.is-low .stock-dot { background: #a3772f; }

.option-group { margin-top: 26px; }
.option-label { display: flex; justify-content: space-between; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 44px; padding: 9px 12px;
  border: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: 0.08em;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.size-btn[disabled] { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }

.product-actions { display: flex; gap: 12px; margin-top: 26px; align-items: stretch; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
}
.qty button { width: 40px; height: 48px; display: grid; place-items: center; transition: background-color 0.2s var(--ease); }
.qty button:hover { background: var(--bg-soft); }
.qty button .icon { width: 14px; height: 14px; }
.qty output { min-width: 36px; text-align: center; font-size: 12px; }
.product-actions .btn { flex: 1; }
.wishlist-btn {
  width: 48px; border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.wishlist-btn:hover { border-color: var(--ink); }
.wishlist-btn.is-active { color: var(--accent); border-color: var(--accent); }
.wishlist-btn.is-active .icon path { fill: currentColor; }

.accordion { margin-top: 30px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase;
  cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(90deg); }
.accordion .acc-body { padding: 0 0 18px; font-size: 12px; color: var(--muted); line-height: 1.75; }
.accordion .acc-body ul { margin: 6px 0 0; }
.accordion .acc-body li { padding-left: 12px; position: relative; }
.accordion .acc-body li::before { content: '·'; position: absolute; left: 0; opacity: 0.5; }

.product-note { display: flex; gap: 10px; margin-top: 22px; font-size: 11px; color: var(--muted); align-items: flex-start; }
.product-note .icon { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

.related { padding-top: clamp(34px, 4vw, 56px); }

/* --------------------------------------------------------------------------
   Panier / favoris / commande
   -------------------------------------------------------------------------- */

.cart-view { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-line-media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); }
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info { display: flex; flex-direction: column; gap: 4px; }
.cart-line-info .name { font-size: 13.5px; }
.cart-line-info .meta { font-size: 10.5px; color: var(--muted-soft); }
.cart-line-info .unit { font-size: 11.5px; margin-top: 4px; }
.cart-line-controls { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.qty.small button { width: 32px; height: 36px; }
.qty.small output { min-width: 30px; font-size: 11px; }
.text-link { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.cart-line-total { font-size: 12.5px; text-align: right; }

.summary {
  background: var(--bg-soft);
  padding: clamp(22px, 3vw, 34px);
  position: sticky; top: calc(var(--header-h) + 16px);
}
.summary h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; padding: 7px 0; color: var(--muted); }
.summary-row strong { color: var(--ink); font-weight: 400; }
.summary-row.is-discount strong { color: var(--accent); }
.summary-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; font-size: 13px; }
.summary-total strong { font-weight: 400; font-size: 16px; }
.summary .btn { width: 100%; margin-top: 20px; }
.summary-note { font-size: 10px; color: var(--muted-soft); text-align: center; margin-top: 12px; }
.promo { display: flex; gap: 8px; margin-top: 18px; }
.promo input { flex: 1; min-width: 0; padding: 10px 2px; background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: 11.5px; border-radius: 0; }
.promo input:focus { outline: none; border-bottom-color: var(--accent); }
.promo .btn { width: auto; margin: 0; padding: 10px 16px; }
.promo-msg { font-size: 10px; margin-top: 8px; min-height: 14px; color: var(--muted); }
.promo-msg.is-ok { color: #5c6f4c; }
.promo-msg.is-err { color: var(--danger); }

.empty-state { text-align: center; padding: clamp(40px, 7vw, 90px) 20px; border: 1px dashed var(--line); background: var(--bg-soft); }
.empty-state .icon { width: 52px; height: 52px; margin: 0 auto 16px; color: var(--muted-soft); }
.empty-state h2 { font-family: var(--font-display); font-size: 27px; }
.empty-state p { color: var(--muted); font-size: 12.5px; margin: 8px auto 22px; max-width: 36ch; }

/* Checkout */
.checkout { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.form-section { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 30px; }
.form-section h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .span-2 { grid-column: span 2; }
.delivery-options { display: grid; gap: 10px; }
.delivery-option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.delivery-option:hover { border-color: var(--muted-soft); }
.delivery-option:has(input:checked) { border-color: var(--ink); background: var(--bg-soft); }
.delivery-option input { accent-color: var(--accent); }
.delivery-option .d-name { font-size: 12px; }
.delivery-option .d-sub { font-size: 10.5px; color: var(--muted); }
.delivery-option .d-price { margin-left: auto; font-size: 11.5px; }
.checkout-summary-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkout-summary-item img { width: 54px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bg-soft); }
.checkout-summary-item .cs-name { font-size: 11.5px; }
.checkout-summary-item .cs-meta { font-size: 10px; color: var(--muted-soft); }
.checkout-summary-item .cs-price { margin-left: auto; font-size: 11.5px; }
.payment-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line);
  padding: 12px 14px; margin-top: 16px;
  font-size: 10.5px; color: var(--muted); line-height: 1.6;
}
.payment-note .icon { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 1px; }

.confirmation { max-width: 720px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 40px; text-align: center; }
.confirmation .check-circle {
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--accent); display: grid; place-items: center;
  margin: 0 auto 22px; color: var(--accent);
}
.confirmation .check-circle .icon { width: 24px; height: 24px; }
.confirmation h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); line-height: 1.05; }
.confirmation p { color: var(--muted); font-size: 13px; margin-top: 12px; }
.order-card { text-align: left; background: var(--bg-soft); padding: clamp(20px, 3vw, 30px); margin-top: 30px; }
.order-card h2 { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.order-ref { font-size: 14px; letter-spacing: 0.08em; }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; font-size: 11.5px; color: var(--muted); }
.order-meta strong { display: block; color: var(--ink); font-weight: 400; font-size: 12px; margin-bottom: 2px; }
.order-lines { margin-top: 20px; border-top: 1px solid var(--line); }
.order-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 11.5px; color: var(--muted); }
.confirmation .actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Recherche
   -------------------------------------------------------------------------- */

.search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.search-overlay.is-open { opacity: 1; }
.search-overlay[hidden] { display: none; }
.search-panel { max-width: 1040px; margin: 0 auto; padding: clamp(16px, 4vw, 48px) var(--gutter) 60px; }
.search-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.search-form { display: flex; align-items: center; gap: 14px; }
.search-form > .icon { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0;
  font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 40px);
  padding: 6px 0;
}
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: var(--muted-soft); }
.search-suggestions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-soft); }
.search-suggestions button { font-size: 10px; letter-spacing: 0.08em; border-bottom: 1px solid var(--line); padding-bottom: 1px; color: var(--muted); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.search-suggestions button:hover { color: var(--ink); border-color: var(--ink); }
.search-results { margin-top: 30px; }
.search-results .product-grid { grid-template-columns: repeat(4, 1fr); }
.search-empty { padding: 50px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* --------------------------------------------------------------------------
   Tiroirs (panier, menu mobile)
   -------------------------------------------------------------------------- */

.drawer-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(41, 36, 31, 0.34);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer-overlay.is-open { opacity: 1; }
.drawer-overlay[hidden] { display: none; }

.cart-drawer, .mobile-menu {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 90;
  width: min(430px, 100%);
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.42s var(--ease-out);
  visibility: hidden;
}
.cart-drawer.is-open, .mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu { left: 0; right: auto; width: min(360px, 88vw); transform: translateX(-102%); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-title { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.drawer-count { color: var(--muted-soft); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px 22px; background: var(--bg-soft); }
.cart-empty { padding: 48px 8px; text-align: center; color: var(--muted); font-size: 12.5px; }
.cart-empty .icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--muted-soft); }

.drawer-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.drawer-line img { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bg-soft); }
.drawer-line .dl-name { font-size: 11.5px; }
.drawer-line .dl-meta { font-size: 9.5px; color: var(--muted-soft); }
.drawer-line .dl-price { font-size: 11px; }
.drawer-line .qty.small button { width: 26px; height: 28px; }
.drawer-line .qty.small output { min-width: 24px; font-size: 10px; }

.drawer-total { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 12px; }
.drawer-total strong { font-weight: 400; }
.drawer-foot-note { font-size: 9.5px; color: var(--muted-soft); text-align: center; margin-top: 10px; }

.mobile-nav { display: flex; flex-direction: column; padding: 8px 20px; overflow-y: auto; }
.mobile-nav a {
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-menu-note { padding: 20px; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-soft); }

/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */

.toast-stack { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 150; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  padding: 11px 18px;
  font-size: 11px; letter-spacing: 0.04em;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  max-width: min(90vw, 420px);
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast .icon { width: 14px; height: 14px; flex: none; }

/* --------------------------------------------------------------------------
   Animations d'apparition
   -------------------------------------------------------------------------- */

.reveal.is-visible { animation: rise 0.7s var(--ease-out) both; }

@keyframes rise {
  from { transform: translateY(14px); }
  to { transform: none; }
}

/* --------------------------------------------------------------------------
   Échelle typographique · lisibilité (base 17px)
   -------------------------------------------------------------------------- */

.announcement { font-size: 11px; letter-spacing: 0.16em; }
.logo-word { font-size: 31px; letter-spacing: 0.22em; }
.logo-tagline { font-size: 9.5px; }
.header-search-label { font-size: 12.5px; }
.main-nav { font-size: 12px; letter-spacing: 0.13em; }
.badge { font-size: 10px; }
.btn, .btn-ghost { font-size: 12px; letter-spacing: 0.12em; }
.btn { padding: 16px 28px; }
.btn-ghost { padding: 15px 24px; }
.link-arrow { font-size: 12px; letter-spacing: 0.1em; }
.eyebrow { font-size: 11px; letter-spacing: 0.26em; }
.section-head h1, .section-head h2 { font-size: clamp(34px, 3.6vw, 52px); }
.section-head p.lede { font-size: 15px; }
.page-head p { font-size: 15px; }
.breadcrumb { font-size: 11.5px; }
.hero-copy h1 { font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; }
.hero-copy p { font-size: 15.5px; line-height: 1.7; }
.hero-note { font-size: 11px; }
.card-tag { font-size: 10px; }
.card-name { font-size: 15px; }
.card-material { font-size: 12.5px; }
.card-price { font-size: 14.5px; }
.collection-panel p { font-size: 14.5px; line-height: 1.7; }
.collection-links a { font-size: 13px; }
.reviews-head p { font-size: 12.5px; }
.review blockquote { font-size: clamp(19px, 1.7vw, 23px); }
.review cite { font-size: 11px; }
.review .verified { font-size: 10.5px; }
.service strong { font-size: 12.5px; }
.service span { font-size: 11.5px; }
.newsletter-form .field label,
.field label { font-size: 10.5px; letter-spacing: 0.16em; }
.field input, .field select, .field textarea { font-size: 15px; }
.form-note { font-size: 11.5px; }
.footer-col h2 { font-size: 10.5px; }
.footer-col a, .footer-col p { font-size: 13px; }
.footer-note { font-size: 11px; }
.footer-bottom { font-size: 11px; }
.chip { font-size: 11.5px; }
.sort-select, .sort-select select { font-size: 11.5px; }
.result-count { font-size: 12px; }
.price-filter { font-size: 11.5px; }
.product-price { font-size: 17px; }
.product-material { font-size: 13px; }
.stock-line { font-size: 11px; }
.option-label { font-size: 11px; }
.size-btn { font-size: 12px; }
.accordion summary { font-size: 12px; }
.accordion .acc-body { font-size: 14px; }
.product-note { font-size: 12.5px; }
.cart-line-info .name { font-size: 15px; }
.cart-line-info .meta { font-size: 12px; }
.cart-line-info .unit { font-size: 13px; }
.cart-line-total { font-size: 14px; }
.summary h2 { font-size: 26px; }
.summary-row { font-size: 13.5px; }
.summary-total { font-size: 14px; }
.summary-total strong { font-size: 18px; }
.summary-note { font-size: 11.5px; }
.promo input { font-size: 13px; }
.promo-msg { font-size: 11.5px; }
.delivery-option .d-name { font-size: 13px; }
.delivery-option .d-sub { font-size: 11.5px; }
.delivery-option .d-price { font-size: 12.5px; }
.payment-note { font-size: 12px; }
.checkout-summary-item .cs-name { font-size: 13px; }
.checkout-summary-item .cs-meta { font-size: 11px; }
.checkout-summary-item .cs-price { font-size: 13px; }
.confirmation p { font-size: 15px; }
.order-meta { font-size: 13px; }
.order-meta strong { font-size: 13.5px; }
.order-line { font-size: 13px; }
.drawer-title { font-size: 11.5px; }
.drawer-line .dl-name { font-size: 13px; }
.drawer-line .dl-meta { font-size: 11px; }
.drawer-line .dl-price { font-size: 12.5px; }
.drawer-total { font-size: 13.5px; }
.drawer-foot-note { font-size: 11px; }
.search-suggestions { font-size: 11px; }
.search-suggestions button { font-size: 11.5px; }
.search-empty { font-size: 15px; }
.toast { font-size: 12.5px; }
.mobile-nav a { font-size: 14px; }
.empty-state p { font-size: 14px; }
.text-link { font-size: 11px; }
.footer-legal { font-size: 11px; }

/* Retours au press : léger, immédiat */
.btn:active, .btn-ghost:active, .icon-btn:active, .card-fav:active { transform: scale(0.97); }
.btn, .btn-ghost, .icon-btn, .card-fav { transition-timing-function: var(--ease-out); }

/* Tiroirs : courbe iOS, sous 300 ms */
.cart-drawer, .mobile-menu { transition: transform 300ms var(--ease-drawer); }
.drawer-overlay { transition: opacity 200ms var(--ease); }
.toast { transition: opacity 200ms var(--ease), transform 200ms var(--ease); }

/* Les effets de survol ne s'appliquent qu'aux pointeurs fins */
@media (hover: none) {
  .card:hover .card-media img { transform: none; }
  .card-fav:hover { transform: none; }
  .link-arrow:hover .icon, .btn:hover .icon { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-results .product-grid { grid-template-columns: repeat(3, 1fr); }
  .services-inner { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-search-label { display: none; }
  .header-search-btn { width: 40px; padding: 0; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo-word { font-size: 22px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-copy { padding: 34px 24px 42px; max-width: none; }
  .hero-copy h1 { font-size: clamp(36px, 9vw, 54px); }
  .hero-note { margin-top: 24px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .search-results .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .collection { grid-template-columns: 1fr; padding: 0; }
  .collection-media { min-height: 0; aspect-ratio: 4 / 3; }
  .collection-panel { padding: 36px 24px; }

  .reviews-grid { grid-template-columns: 1fr; gap: 28px; }
  .review { text-align: left; padding: 0; }
  .stars { justify-content: flex-start; }

  .newsletter-inner { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .product-view { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; order: 2; }
  .gallery-thumbs button { width: 68px; flex: none; }

  .cart-view, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .announcement { font-size: 9px; letter-spacing: 0.12em; }
  .header-inner { padding: 12px 18px; }
  .logo-tagline { font-size: 7px; }
  .badge { top: 1px; right: 0; }

  .hero-copy { padding: 28px 20px 34px; }
  .section { padding: 40px 18px 52px; }
  .page-head { padding: 26px 18px 0; }
  .shop-toolbar { padding: 18px 18px 0; }
  .shop-toolbar { padding-bottom: 14px; }
  .cart-view, .checkout { padding-left: 18px; padding-right: 18px; }
  .product-view { padding-left: 18px; padding-right: 18px; }
  .breadcrumb { padding: 14px 18px; }

  .product-grid { gap: 20px 12px; }
  .card-tag { font-size: 7.5px; padding: 4px 7px; top: 8px; left: 8px; }
  .card-fav { width: 32px; height: 32px; right: 8px; bottom: 8px; }
  .card-name { font-size: 14px; }
  .card-material { font-size: 11.5px; }
  .card-price { font-size: 13.5px; }

  .cart-line { grid-template-columns: 74px 1fr; }
  .cart-line-total { grid-column: 2; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-col:last-child { grid-column: span 1; }
  .toast-stack { width: calc(100% - 32px); }
  .toast { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal.is-visible { animation: none; }
}

/* ==========================================================================
   Direction éditoriale : moins de gabarit, plus de rythme
   ========================================================================== */

::selection { background: var(--accent); color: var(--bg); }

/* Grain discret, texture analogue */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Libellés : italique de titre plutôt que petites capitales espacées */
.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

/* Les photos de stock retrouvent une lumière commune */
.card-media img,
.gallery-main img,
.gallery-thumbs img,
.cart-line-media img,
.checkout-summary-item img,
.collection-media img,
.matieres-media img {
  filter: saturate(0.82) contrast(1.02) sepia(0.05);
  background: var(--bg-soft);
}

/* Héros : composition basse, légende d'atelier */
.hero { min-height: clamp(460px, 44vw, 640px); }
.hero-copy {
  justify-content: flex-end;
  padding-top: clamp(44px, 5vw, 76px);
  padding-bottom: clamp(44px, 4.5vw, 68px);
}
.hero-copy p { max-width: 37ch; }
.media-caption {
  position: absolute;
  left: clamp(16px, 2.2vw, 28px);
  bottom: clamp(16px, 2.2vw, 24px);
  z-index: 2;
  margin: 0;
  padding: 7px 12px;
  background: rgba(41, 36, 31, 0.42);
  backdrop-filter: blur(8px);
  color: #f7f2ea;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Matières */
.matieres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) var(--gutter);
  border-top: 1px solid var(--line);
}
.matieres-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-soft); order: 2; }
.matieres-copy { order: 1; }
.matieres-media img { width: 100%; height: 100%; object-fit: cover; }
.matieres-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  margin: 14px 0 16px;
}
.matieres-copy > p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.matieres-list { margin: 28px 0 26px; border-top: 1px solid var(--line); }
.matieres-list div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.matieres-list dt { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; }
.matieres-list dd { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Avis : un moment sombre, éditorial */
.reviews { background: var(--ink); color: var(--bg); }
.reviews-inner { padding: clamp(56px, 7vw, 104px) var(--gutter); }
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}
.reviews-head .eyebrow { color: rgba(247, 242, 234, 0.55); }
.reviews-head h2 { font-size: clamp(32px, 3.6vw, 50px); margin-top: 6px; }
.reviews-head p { color: rgba(247, 242, 234, 0.5); font-size: 12px; letter-spacing: 0.04em; }
.reviews-grid {
  grid-template-columns: 1.3fr 1fr;
  gap: 0 clamp(24px, 4vw, 72px);
  margin-top: clamp(34px, 4vw, 56px);
}
.review { text-align: left; padding: 0; }
.review:first-child {
  grid-row: span 2;
  padding-right: clamp(24px, 4vw, 64px);
  border-right: 1px solid rgba(247, 242, 234, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.review:not(:first-child) { padding: 24px 0; border-bottom: 1px solid rgba(247, 242, 234, 0.16); }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review .stars { justify-content: flex-start; color: #cbb28a; }
.review blockquote { color: rgba(247, 242, 234, 0.92); font-size: 21px; margin: 14px 0 16px; }
.review:first-child blockquote { font-size: clamp(27px, 2.8vw, 40px); line-height: 1.22; margin: 18px 0 24px; }
.review cite { color: var(--bg); }
.review .verified { color: rgba(247, 242, 234, 0.62); }
.reviews-more { text-align: left; margin-top: 36px; }
.reviews-more .link-arrow { color: rgba(247, 242, 234, 0.78); }

/* Services : bandeau fin, aligné à gauche */
.services-inner { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 30px var(--gutter); }
.service {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 13px;
  padding: 4px 22px;
  border-left: 1px solid var(--line);
}
.service:first-child { border-left: 0; padding-left: 0; }
.service .icon { width: 24px; height: 24px; margin: 0; flex: none; }
.service > div { display: flex; flex-direction: column; gap: 3px; }
.service strong { font-size: 11.5px; letter-spacing: 0.08em; }
.service span { font-size: 11px; line-height: 1.5; }

/* Newsletter plus compacte */
.newsletter-inner { padding: clamp(36px, 4vw, 54px) var(--gutter); }
.newsletter h2 { font-size: clamp(26px, 2.8vw, 36px); }
.form-note { max-width: 42ch; }

/* Pied de page sombre, pour finir la page */
.site-footer {
  background: #262220;
  color: #f3ece2;
  border-top: 0;
  margin-top: clamp(48px, 6vw, 88px);
}
.site-footer .footer-logo { color: #f7f2ea; }
.site-footer .footer-claim,
.site-footer .footer-col a,
.site-footer .footer-col p,
.site-footer .footer-legal,
.site-footer .footer-bottom { color: rgba(247, 242, 234, 0.62); }
.site-footer .footer-col h2 { color: rgba(247, 242, 234, 0.62); }
.site-footer .footer-col a:hover,
.site-footer .footer-legal a:hover { color: #ffffff; }
.site-footer .footer-note { color: rgba(247, 242, 234, 0.38); }
.site-footer .socials a { border-color: rgba(247, 242, 234, 0.22); color: rgba(247, 242, 234, 0.62); }
.site-footer .socials a:hover { color: #f7f2ea; border-color: rgba(247, 242, 234, 0.55); }
.site-footer .footer-bottom { border-top-color: rgba(247, 242, 234, 0.12); }
.site-footer .payments li { border-color: rgba(247, 242, 234, 0.18); }
.site-footer .payments img { filter: brightness(0) invert(1); opacity: 0.82; }
.site-footer .payments-local { color: rgba(247, 242, 234, 0.55); }

@media (max-width: 1200px) {
  .services-inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .service { padding: 0 18px; }
  .service:nth-child(odd) { border-left: 0; padding-left: 0; }
}

@media (max-width: 900px) {
  .hero-copy { justify-content: flex-start; padding: 30px 24px 38px; }
  .matieres { grid-template-columns: 1fr; }
  .matieres-media { aspect-ratio: 4 / 3; order: -1; }
  .matieres-copy { order: 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review:first-child {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 242, 234, 0.16);
    padding: 0 0 26px;
  }
  .review:not(:first-child) { padding: 22px 0; }
  .services-inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .service { padding: 0 18px; }
  .service:nth-child(odd) { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
  .eyebrow { font-size: 16px; }
  .media-caption { font-size: 9px; letter-spacing: 0.12em; }
  .matieres-list div { grid-template-columns: 1fr; gap: 4px; }
  .services-inner { grid-template-columns: 1fr; row-gap: 18px; }
  .service, .service:nth-child(odd) { border-left: 0; padding: 0; }
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
