/* ============================================================
   Affiches et Compagnie — feuille de style principale
   Palette : beige / taupe, typographies serif raffinées
   ============================================================ */

:root {
  --bg: #f8f4ee;
  --bg-alt: #f1eae0;
  --beige: #e7ddce;
  --taupe: #a4957f;
  --taupe-dark: #6f6252;
  --ink: #241f1b;
  --ink-soft: #5c5349;
  --line: rgba(36, 31, 27, 0.12);
  --white: #fffdf9;
  --gold: #8a6f4e;
  --shadow: 0 18px 50px -30px rgba(36, 31, 27, 0.45);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 86px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------------------------------------------- header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease);
}

.header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20, 16, 12, 0.42), rgba(20, 16, 12, 0));
  opacity: 1;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.header.solid {
  background: rgba(248, 244, 238, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  height: 74px;
}
.header.solid::after { opacity: 0; }

.header .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  transition: color .4s var(--ease);
  line-height: 1;
}
.header.solid .logo { color: var(--ink); }
.logo span { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: 0.42em; margin-top: 6px; font-weight: 400; opacity: .8; }

.nav { display: flex; align-items: center; gap: 34px; }

.nav a {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.92);
  position: relative;
  padding: 6px 0;
  transition: color .35s var(--ease);
}
.header.solid .nav a { color: var(--ink-soft); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width .4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--white); }
.header.solid .nav a.active { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--white);
  transition: color .35s var(--ease);
}
.header.solid .cart-link { color: var(--ink); }
.cart-link svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-count.empty { display: none; }
.cart-link.bounce { animation: cartBounce .45s var(--ease); }
@keyframes cartBounce {
  0% { transform: scale(1); }
  45% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.hamburger {
  display: none;
  width: 34px; height: 26px;
  position: relative;
  z-index: 2;
}
.hamburger span {
  position: absolute; left: 4px;
  width: 26px; height: 1.5px;
  background: var(--white);
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .35s var(--ease);
}
.header.solid .hamburger span { background: var(--ink); }
.hamburger span:nth-child(1) { top: 6px; }
.hamburger span:nth-child(2) { top: 13px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.open span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu mobile */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 890;
  background: rgba(248, 244, 238, 0.97);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 60px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.mobile-menu.open { visibility: visible; opacity: 1; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 30px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .38s; }
.mobile-menu .mm-footer {
  margin-top: 36px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------------------------------------------------- boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 38px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
  text-align: center;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.link-underline {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity .3s;
}
.link-underline:hover { opacity: .6; }

/* ---------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--taupe-dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22, 18, 14, 0.72) 0%, rgba(22, 18, 14, 0.42) 45%, rgba(22, 18, 14, 0.16) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}
.hero-inner { max-width: 640px; color: var(--white); }
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.78);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.hero-kicker::before { content: ''; width: 42px; height: 1px; background: currentColor; }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1.03;
  margin-bottom: 26px;
  letter-spacing: -0.005em;
}
.hero p.lead {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 253, 249, 0.82);
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 9.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollPulse 2.4s infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .25; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

.hero.small { min-height: 58vh; }
.hero.small h1 { font-size: clamp(34px, 4.6vw, 58px); }

/* ---------------------------------------------------- sections */
.section { padding: 108px 0; }
.section.tight { padding: 74px 0; }
.section.alt { background: var(--bg-alt); }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-kicker {
  font-size: 10.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-head h2 + p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 16px;
}
.section-head.center h2 + p { margin-left: auto; margin-right: auto; }
.section-head .rule {
  width: 54px; height: 1px;
  background: var(--taupe);
  margin-top: 24px;
}
.section-head.center .rule { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------- cartes produit */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 26px;
}

/* sélection du moment : 3 affiches fixes, aucun défilement */
.grid-selection {
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 26px;
}
@media (max-width: 768px) {
  .grid-selection { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
}

.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 3 / 4;
}
.product-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .img-wrap img { transform: scale(1.055); }
/* encarts en haut du visuel (empilés : Épuisé, Best-seller, Offre) */
.product-card .card-badges {
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.product-card .badge-promo {
  background: var(--ink);
  color: var(--white);
  font-size: 9.5px;
  letter-spacing: .18em;
  padding: 6px 11px;
  text-transform: uppercase;
  white-space: nowrap;
}
/* affiche la plus demandée : encart rouge brique, bien visible */
.product-card .badge-best {
  background: #a4322b;
  color: #fffdf9;
  font-weight: 500;
  box-shadow: 0 6px 16px -10px rgba(164, 50, 43, .95);
}
.product-card .info {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .cat {
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}
.product-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.product-card .price {
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: .04em;
  margin-top: auto;
}
.product-card .price .old {
  text-decoration: line-through;
  color: var(--taupe);
  font-size: 12.5px;
  margin-left: 8px;
}
.product-card .btns { margin-top: 16px; }
.product-card .btns .btn {
  padding: 11px 0;
  width: 100%;
  font-size: 10px;
  letter-spacing: .2em;
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.product-card .btns .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* bouton « Ajouter au panier » : plein et visible, il doit donner envie de cliquer */
.product-card .btns .btn-add {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  font-weight: 400;
  letter-spacing: .18em;
  box-shadow: 0 10px 24px -16px rgba(36, 31, 27, .9);
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.product-card .btns .btn-add:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -16px rgba(138, 111, 78, .95);
}
.product-card .btns .btn-add:active { transform: translateY(0); }
.product-card .btns .btn-add.is-added {
  background: #3d5a34;
  border-color: #3d5a34;
  color: var(--white);
}

/* affiche épuisée */
.product-card .badge-out { background: var(--taupe); }
.product-card.is-out .img-wrap img { opacity: .78; filter: grayscale(.4); }
.product-card .stock-out {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 6px;
}
.product-card .stock-preorder {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--taupe-dark);
  margin-top: 4px;
}
/* nombre restant, juste au-dessus du bouton */
.product-card .stock-left {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-top: 8px;
}
.product-card .stock-left strong { font-weight: 500; color: var(--ink); }
.product-card .stock-left.is-low { color: var(--gold); }
.product-card .stock-left.is-low strong { color: var(--gold); }
.product-card .btns .btn.btn-ghost { border-color: var(--taupe); color: var(--taupe-dark); }
.product-card .btns .btn.btn-ghost:hover { background: var(--taupe); color: var(--white); border-color: var(--taupe); }

/* carrousel vedettes */
.carousel-wrap { position: relative; }
.carousel-track {
  display: flex;
  gap: 26px;
  overflow: hidden;
  transition: transform .65s var(--ease);
}
.carousel-track > * { flex: 0 0 calc((100% - 52px) / 3); }
.carousel-btn {
  position: absolute;
  top: 34%;
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: background .3s, transform .3s;
}
.carousel-btn:hover { background: var(--ink); }
.carousel-btn:hover svg { stroke: var(--white); }
.carousel-btn.prev { left: -23px; }
.carousel-btn.next { right: -23px; }
.carousel-btn svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.4; }

/* ---------------------------------------------------- collections */
.grid-collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--beige);
}
.collection-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.collection-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 18, 14, 0.62), rgba(22, 18, 14, 0.04) 55%);
}
.collection-card:hover img { transform: scale(1.06); }
.collection-card .cc-inner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 30px;
  color: var(--white);
}
.collection-card h3 { font-size: 27px; margin-bottom: 8px; }
.collection-card span {
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ---------------------------------------------------- réassurance */
.grid-reassurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reassurance-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 34px 26px;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reassurance-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.reassurance-item svg { width: 40px; height: 40px; margin: 0 auto 18px; stroke: var(--gold); fill: none; stroke-width: 1.1; }
.reassurance-item h4 { font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: .06em; margin-bottom: 7px; }
.reassurance-item p { font-size: 12.5px; color: #8d8377; line-height: 1.6; }

/* ---------------------------------------------------- éditorial */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 76px;
}
.editorial-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-text h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 24px; }
.editorial-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 15.5px; }
.editorial-text .signature {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  color: var(--taupe-dark);
  margin-top: 26px;
}

/* ---------------------------------------------------- présentation */
.presentation .editorial-media::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 253, 249, 0.34);
  pointer-events: none;
}
.presentation .editorial-media { aspect-ratio: 3 / 4; }
.presentation .editorial-media img { object-position: center 22%; }
.presentation .editorial-text .section-kicker { margin-bottom: 14px; }
.presentation .editorial-text h2 { margin-bottom: 22px; }
.presentation .editorial-text p { max-width: 520px; }
.presentation .editorial-text .signature {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: inline-block;
}

/* ---------------------------------------------------- footer */
.footer {
  background: #211c18;
  color: rgba(250, 246, 240, 0.72);
  padding: 82px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .logo { color: var(--white); font-size: 20px; letter-spacing: .2em; margin-bottom: 20px; }
.footer p { font-size: 13.5px; line-height: 1.85; max-width: 320px; color: rgba(250,246,240,.6); }
.footer h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 400;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13.5px; color: rgba(250,246,240,.62); transition: color .3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 0;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(250,246,240,.42);
}
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-legal a { font-size: 11.5px; letter-spacing: .06em; color: rgba(250,246,240,.42); transition: color .3s; }
.footer-legal a:hover { color: var(--white); }
.footer-legal .sep { color: rgba(250,246,240,.28); }

/* ---------------------------------------------------- pages légales */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}
.legal-content h2 {
  font-size: clamp(22px, 2.4vw, 29px);
  color: var(--ink);
  margin: 46px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.legal-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--taupe);
}
.legal-content strong { color: var(--ink); font-weight: 500; }
.legal-content a { color: var(--taupe-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--gold); }
.legal-content .legal-update {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--taupe-dark);
}
@media (max-width: 768px) {
  .legal-content { font-size: 15.5px; line-height: 1.8; }
  .legal-content h2 { margin-top: 34px; }
}

/* ---------------------------------------------------- page catalogue */
.page-top { padding: calc(var(--header-h) + 70px) 0 56px; background: var(--bg-alt); }
.page-top h1 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 14px; }
.page-top p { color: var(--ink-soft); max-width: 560px; }
.breadcrumb { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--ink); }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button {
  padding: 9px 20px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filters button:hover { border-color: var(--taupe); }
.filters button.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.toolbar select {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------------------------------------------------- fiche produit */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 66px;
  align-items: start;
}
.gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 3 / 4;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  background: rgba(255, 253, 249, 0.86);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
  z-index: 3;
}
.gallery-arrow:hover { background: var(--white); }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-arrow svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs button {
  width: 84px; height: 106px;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: .62;
  transition: opacity .3s, border-color .3s;
}
.gallery-thumbs button.active { opacity: 1; border-color: var(--taupe); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-cat { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.product-detail h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.pd-price { font-size: 24px; letter-spacing: .03em; margin-bottom: 22px; font-family: var(--serif); }
.pd-price .old { font-size: 16px; color: var(--taupe); text-decoration: line-through; margin-left: 12px; }
.pd-desc { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 26px; }
/* mention cadre / accessoires : deux interlignes après la description */
.pd-note-frame {
  margin-top: 2.6em;
  margin-bottom: 26px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-left: 2px solid var(--taupe);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.pd-note-frame strong { color: var(--ink); font-weight: 500; }
.pd-meta { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pd-meta div { display: flex; gap: 12px; font-size: 13px; color: var(--ink-soft); }
.pd-meta span:first-child { min-width: 96px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; padding-top: 3px; color: var(--taupe); }

.qty-row { display: flex; align-items: stretch; gap: 14px; margin-bottom: 18px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); }
.qty-control button { width: 42px; height: 48px; font-size: 16px; color: var(--ink-soft); }
.qty-control button:hover { color: var(--ink); }
.qty-control input {
  width: 48px; height: 48px;
  text-align: center;
  border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  background: transparent;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row .btn { flex: 1; }

.product-reassurance {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-reassurance div { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); }
.product-reassurance svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 1.3; flex-shrink: 0; margin-top: 1px; }

/* ---------------------------------------------------- panier */
.cart-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item img { width: 104px; height: 132px; object-fit: cover; background: var(--beige); }
.cart-item h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.cart-item .ci-meta { font-size: 11.5px; letter-spacing: .1em; color: var(--taupe); text-transform: uppercase; margin-bottom: 12px; }
.cart-item .ci-preorder {
  font-size: 11px;
  line-height: 1.55;
  color: var(--taupe-dark);
  margin: -4px 0 12px;
  padding-left: 10px;
  border-left: 2px solid var(--taupe);
}
.cart-item .ci-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); width: fit-content; }
.cart-item .ci-qty button { width: 32px; height: 32px; font-size: 14px; }
.cart-item .ci-qty span { width: 36px; text-align: center; font-size: 13px; }
.cart-item .ci-price { font-size: 15px; text-align: right; }
.cart-item .ci-remove {
  display: block; margin-top: 10px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--taupe); text-align: right;
}
.cart-item .ci-remove:hover { color: #a4322b; }

.cart-summary {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 34px 30px;
  position: sticky;
  top: 106px;
}
.cart-summary h3 { font-size: 24px; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; padding: 10px 0; color: var(--ink-soft); }
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px; padding-top: 18px;
  font-size: 18px; color: var(--ink); font-family: var(--serif);
}
.summary-hint { font-size: 11.5px; color: var(--taupe); margin: 14px 0 22px; line-height: 1.7; }
.summary-preorder {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--taupe-dark);
  background: var(--white);
  border-left: 2px solid var(--taupe);
  padding: 10px 12px;
  margin: 0 0 18px;
}

/* code promo */
.promo-box { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.promo-box > label {
  display: block;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 10px;
}
.promo-row { display: flex; gap: 8px; }
.promo-row input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 0;
}
.promo-row input:focus { outline: none; border-color: var(--taupe); }
.promo-row .btn {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  font-size: 9.5px;
  letter-spacing: .14em;
  white-space: nowrap;
}
.promo-msg { font-size: 12px; margin-top: 10px; line-height: 1.6; display: none; }
.promo-msg.ok { display: block; color: #3d5a34; }
.promo-msg.err { display: block; color: #8e3a30; }
.promo-applied {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: #eef3ea;
  border-left: 2px solid #6b8a5e;
  font-size: 12px;
  color: #3d5a34;
}
.promo-applied button {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5c5349;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  flex-shrink: 0;
}
.promo-applied button:hover { color: #8e3a30; }
.summary-row.remise { color: #3d5a34; }
.summary-row.remise span:last-child { white-space: nowrap; }

/* offre automatique « 2 affiches » dans le récapitulatif */
.summary-row.duo { color: #3d5a34; align-items: baseline; }
.summary-row.duo em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--taupe);
  margin-top: 2px;
  text-transform: none;
}
.summary-row.duo span:last-child { white-space: nowrap; }

/* ---------------------------------------- bannière offre 2 affiches */
.promo-banner {
  background: var(--taupe-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 20px;
  text-align: center;
}
.promo-banner .pb-badge {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}
.promo-banner .pb-text {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, .9);
}
.promo-banner .pb-link {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 253, 249, .5);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color .35s var(--ease), opacity .35s var(--ease);
}
.promo-banner .pb-link:hover { border-color: var(--white); opacity: .82; }
.promo-banner.top { margin-top: var(--header-h); }

/* encart d'offre : visible dès l'arrivée, compact (il ne prend pas toute la largeur) */
.promo-bar {
  position: absolute;
  top: calc(var(--header-h) + 18px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: auto;
  max-width: min(600px, calc(100% - 40px));
  background: var(--beige);
  color: var(--ink);
  border: 1px solid rgba(36, 31, 27, 0.16);
  border-radius: 8px;
  box-shadow: 0 20px 44px -26px rgba(20, 16, 12, 0.9);
}
.pb-inner {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  text-align: center;
}
.pb-flag {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  padding: 4px 10px;
  white-space: nowrap;
  line-height: 1.4;
}
.promo-bar .pb-text {
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: none;
}
.promo-bar .pb-text strong { font-weight: 500; }
/* petite précision : l'offre ne vaut que sur les affiches à l'unité */
.pb-note {
  display: inline-block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  opacity: .8;
  margin-left: 8px;
  vertical-align: 1px;
}
.promo-banner .pb-note { color: rgba(255, 253, 249, .68); }
/* date de fin de l'offre, discrète, sous la mention « hors duos et trios » */
.pb-date {
  display: inline-block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  opacity: .72;
  margin-left: 8px;
  vertical-align: 1px;
}
.promo-banner .pb-date { color: rgba(255, 253, 249, .58); }
.pb-date:empty { display: none; }
.pb-cta {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}
.pb-cta:hover { opacity: .6; }

/* décalage du contenu du hero pour ne pas passer sous la barre */
.hero-promo .container { padding-top: calc(var(--header-h) + 104px); }

@media (max-width: 768px) {
  .promo-bar { top: calc(var(--header-h) + 12px); max-width: calc(100% - 32px); border-radius: 6px; }
  .pb-inner { padding: 9px 14px; gap: 6px 10px; }
  .pb-flag { font-size: 8.5px; letter-spacing: .18em; padding: 3px 8px; }
  .promo-bar .pb-text { font-size: 12px; letter-spacing: .02em; }
  .pb-note { font-size: 9.5px; margin-left: 6px; }
  .pb-cta { font-size: 9.5px; letter-spacing: .14em; }
  .hero-promo .container { padding-top: calc(var(--header-h) + 112px); }
}

/* encart dans la page « Les affiches » */
.promo-banner.inset {
  margin-bottom: 38px;
  border-radius: 8px;
  justify-content: space-between;
  text-align: left;
  padding: 16px 22px;
  gap: 12px;
}
.promo-banner.inset .pb-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

@media (max-width: 768px) {
  .promo-banner { gap: 6px 12px; padding: 12px 16px; }
  .promo-banner .pb-badge { font-size: 17px; }
  .promo-banner .pb-text { font-size: 9.5px; letter-spacing: .1em; }
  .promo-banner .pb-link { font-size: 9.5px; }
  .promo-banner.inset {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    margin-bottom: 28px;
  }
  .promo-banner.inset .pb-group { flex-direction: column; align-items: flex-start; gap: 5px; }
}

/* mode de livraison */
.ship-modes { display: flex; flex-direction: column; gap: 12px; }
.ship-mode {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.ship-mode:hover { border-color: var(--taupe); }
.ship-mode input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 17px; height: 17px;
  margin-top: 2px;
  border: 1px solid var(--taupe);
  border-radius: 50%;
  background: var(--white);
  position: relative;
  cursor: pointer;
}
.ship-mode input::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--taupe-dark);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.ship-mode input:checked::after { opacity: 1; }
.ship-mode:has(input:checked) { border-color: var(--taupe-dark); background: var(--bg-alt); }
.ship-mode-off { opacity: .55; cursor: not-allowed; }
.ship-mode-off:hover { border-color: var(--line); }
.sm-body { flex: 1; min-width: 0; }
.sm-title {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 4px;
}
.sm-tag {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-left: 6px;
}
.sm-desc { display: block; font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
.sm-price {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  white-space: nowrap;
  padding-top: 1px;
}
@media (max-width: 768px) {
  .ship-mode { padding: 15px 16px; gap: 12px; }
  .sm-title { font-size: 12.5px; }
  .sm-desc { font-size: 11.5px; }
  .sm-price { font-size: 15px; }
}

/* point relais : aide à la recherche */
.relais-box {
  margin-top: 18px;
  padding: 24px 24px 4px;
  background: var(--white);
  border: 1px solid var(--line);
}
.relais-help { margin-bottom: 20px; }
.relais-help-title {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
}
.relais-help p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.relais-map-btn {
  padding: 12px 22px;
  font-size: 10px;
  letter-spacing: .16em;
}
.relais-box .field.full { padding-bottom: 20px; }

/* recherche automatique des points relais */
.relais-search { margin-bottom: 26px; }
.relais-search-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.relais-search-row .field { flex: 1 1 190px; min-width: 0; }
.relais-go { padding: 13px 20px; font-size: 10px; letter-spacing: .16em; white-space: nowrap; }
.relais-results { display: flex; flex-direction: column; gap: 10px; }
.relais-results:empty { margin-top: 0; }
.relais-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.relais-item:hover { border-color: var(--taupe); }
.relais-item.selected { border-color: var(--taupe-dark); background: var(--white); }
.relais-item input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--taupe-dark); }
.relais-item-body { flex: 1 1 auto; min-width: 0; }
.relais-item-nom {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 3px;
}
.relais-item-adresse { display: block; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.relais-item-dist {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .relais-box { padding: 20px 16px 2px; }
  .relais-help-title { font-size: 17px; }
  .relais-map-btn { width: 100%; }
  .relais-search-row { flex-direction: column; align-items: stretch; }
  .relais-search-row .field { flex: 1 1 auto; }
  .relais-go { width: 100%; }
  .relais-item { padding: 12px 13px; gap: 10px; }
  .relais-item-nom { font-size: 15px; }
  .relais-item-dist { font-size: 9.5px; }
}

/* ---------------------------------------------------- formulaires */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe-dark); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 300;
  transition: border-color .3s;
  border-radius: 0;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--taupe);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 11.5px; color: var(--taupe); margin-top: 4px; }
.form-message { font-size: 13.5px; padding: 14px 18px; margin-top: 18px; display: none; }
.form-message.ok { display: block; background: #eef3ea; color: #3d5a34; border-left: 2px solid #6b8a5e; }
.form-message.err { display: block; background: #fbeeec; color: #8e3a30; border-left: 2px solid #b5554a; }

/* ---------------------------------------------------- contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-infos { display: flex; flex-direction: column; gap: 30px; }
.contact-block h4 { font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); margin-bottom: 12px; font-weight: 400; }
.contact-block a, .contact-block p { font-family: var(--serif); font-size: 21px; color: var(--ink); line-height: 1.5; }
.contact-block a:hover { color: var(--gold); }
.map-frame { margin-top: 34px; border: 1px solid var(--line); overflow: hidden; }
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(.4) contrast(.95); }

/* ---------------------------------------------------- auth / compte */
.auth-layout { max-width: 520px; margin: 0 auto; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.auth-tabs button {
  flex: 1;
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--taupe);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color .3s, border-color .3s;
}
.auth-tabs button.active { color: var(--ink); border-color: var(--ink); }

.compte-layout { display: grid; grid-template-columns: 240px 1fr; gap: 52px; align-items: start; }
.compte-nav { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding-right: 24px; }
.compte-nav button {
  text-align: left;
  padding: 13px 0;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color .3s;
}
.compte-nav button.active, .compte-nav button:hover { color: var(--ink); }
.order-card { border: 1px solid var(--line); padding: 24px; margin-bottom: 18px; background: var(--white); }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.order-head strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.badge { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 11px; border: 1px solid var(--line); }
.badge.en_attente { background: #fbf3e2; color: #8a6a20; border-color: #eddfbe; }
.badge.confirmee { background: #eaf1f7; color: #2f5d84; border-color: #cfe0ee; }
.badge.expediee { background: #eef3ea; color: #3d5a34; border-color: #d5e2cd; }
.badge.livree { background: #e7f2e8; color: #2e6b39; border-color: #c9e3cd; }
.badge.annulee { background: #fbeeec; color: #8e3a30; border-color: #edcfca; }
.order-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 7px 0; color: var(--ink-soft); }
.tracking-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.tracking-box .btn { padding: 11px 22px; font-size: 10px; }

/* ---------------------------------------------------- toast */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 20px);
  z-index: 2000;
  background: var(--ink);
  color: var(--white);
  padding: 14px 26px;
  font-size: 12.5px;
  letter-spacing: .06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #8e3a30; }

/* ---------------------------------------------------- état vide */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state h3 { font-size: 26px; margin-bottom: 12px; }
.empty-state p { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------------------------------------------------- avis clients */
.product-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  min-height: 16px;
  line-height: 1;
}
.stars { display: inline-flex; gap: 2px; }
.star { color: rgba(164, 149, 127, 0.34); font-size: 12px; line-height: 1; }
.star.on { color: var(--gold); }
.rating-num { font-size: 11.5px; color: var(--ink-soft); letter-spacing: .04em; }
.rating-count { font-size: 11px; color: var(--taupe); }
.rating-empty { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); opacity: .75; }

/* résumé de note sur la fiche produit */
.pd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 20px;
  cursor: pointer;
}
.pd-rating .stars .star { font-size: 15px; }
.pd-rating .rating-num { font-size: 13px; color: var(--ink); }
.pd-rating .rating-count { font-size: 12px; }
.pd-rating .rating-empty { text-decoration: underline; text-underline-offset: 3px; }

/* section avis */
.reviews { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.reviews-head h2 { font-size: clamp(26px, 3vw, 38px); }
.reviews-avg { display: flex; align-items: center; gap: 12px; }
.reviews-avg .avg-big { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink); }
.reviews-avg .stars .star { font-size: 16px; }
.reviews-avg small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-top: 4px; }

.review-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.review-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.review-item:first-child { padding-top: 0; }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-top .stars .star { font-size: 13px; }
.review-author { font-size: 13px; letter-spacing: .06em; color: var(--ink); font-weight: 400; }
.review-date { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.review-text { color: var(--ink-soft); font-size: 14.5px; line-height: 1.75; }

.review-form-wrap { margin-top: 44px; background: var(--bg-alt); border: 1px solid var(--line); padding: 34px 30px; }
.review-form-wrap h3 { font-size: 24px; margin-bottom: 8px; }
.review-form-wrap > p { font-size: 13px; color: var(--taupe-dark); margin-bottom: 24px; }
.review-stars-input { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.review-stars-input button {
  font-size: 26px;
  line-height: 1;
  color: rgba(164, 149, 127, 0.38);
  transition: color .2s, transform .2s;
  padding: 2px;
}
.review-stars-input button.on { color: var(--gold); }
.review-stars-input button:hover { transform: scale(1.12); }
.review-stars-input .rs-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); margin-left: 8px; }
.review-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

@media (max-width: 768px) {
  .reviews { margin-top: 56px; padding-top: 44px; }
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .review-form-wrap { padding: 24px 18px; }
  .review-stars-input button { font-size: 30px; }
  .review-form-wrap .form-grid { grid-template-columns: 1fr; }
  .pd-rating { margin-bottom: 18px; }
}

/* ---------------------------------------------------- aperçu du panier */
.mini-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(20, 16, 12, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mini-cart-overlay.show { opacity: 1; pointer-events: auto; }

.mini-cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1950;
  width: 384px;
  max-width: 100%;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px -34px rgba(36, 31, 27, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .45s var(--ease);
  will-change: transform;
}
.mini-cart.show { transform: translateX(0); }

.mc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.mc-head h3 { font-size: 22px; }
.mc-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--taupe-dark);
  transition: color .3s var(--ease);
}
.mc-close:hover { color: var(--ink); }

.mc-items {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 24px 0;
}
.mc-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mc-item img {
  width: 60px; height: 76px;
  object-fit: cover;
  background: var(--beige);
}
.mc-item-body { min-width: 0; }
.mc-item-nom {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 4px;
  display: block;
}
.mc-item-meta {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
}
/* la mention « Précommande » doit passer sous la dimension, jamais collée à elle */
.mc-item-meta + .mc-item-meta { margin-top: 3px; }
.mc-item-prix { font-size: 14px; text-align: right; white-space: nowrap; }
.mc-item-prix small { display: block; font-size: 11px; color: var(--taupe); margin-top: 3px; }

.mc-foot {
  flex: 0 0 auto;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.mc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}
.mc-foot .btn { padding: 13px 24px; font-size: 10.5px; }
.mc-continue {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  padding: 8px 0;
  transition: color .3s var(--ease);
}
.mc-continue:hover { color: var(--ink); }
.mc-note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--taupe-dark);
  margin-bottom: 14px;
}
.mc-empty { padding: 36px 0; text-align: center; color: var(--ink-soft); font-size: 14px; }

body.mc-locked { overflow: hidden; }

@media (max-width: 768px) {
  .mini-cart { width: 100%; }
  .mc-head { padding: 18px 18px; }
  .mc-head h3 { font-size: 20px; }
  .mc-items { padding: 6px 18px 0; }
  .mc-item { grid-template-columns: 54px 1fr auto; gap: 12px; }
  .mc-item img { width: 54px; height: 68px; }
  .mc-item-nom { font-size: 15px; }
  .mc-foot { padding: 18px 18px 22px; }
}

/* ---------------------------------------------------- animations */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealFallback .9s var(--ease) .3s forwards; }

/* ---------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .carousel-track > * { flex: 0 0 calc((100% - 26px) / 2); }
  .carousel-btn.prev { left: -10px; }
  .carousel-btn.next { right: -10px; }
  .product-detail { gap: 42px; }
  .editorial { gap: 44px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .grid-reassurance { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .compte-layout { grid-template-columns: 1fr; }
  .compte-nav { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 12px; gap: 20px; }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section.tight { padding: 48px 0; }
  .section-head { margin-bottom: 36px; }

  .logo { font-size: 16px; letter-spacing: .16em; }
  .logo span { font-size: 7px; letter-spacing: .3em; margin-top: 5px; }

  .hero { min-height: 92vh; }
  .hero .container { padding-top: calc(var(--header-h) + 30px); }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero p.lead { font-size: 15px; }
  .hero-actions .btn { flex: 1; min-width: 150px; padding: 14px 20px; font-size: 10px; }
  .hero-scroll { display: none; }

  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .product-card h3 { font-size: 17px; }
  .product-card .btns .btn { font-size: 9px; letter-spacing: .12em; }

  /* carrousel : scroll natif, pas de transform JS */
  .carousel-track {
    transform: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-track > * { flex: 0 0 62%; scroll-snap-align: start; }
  .carousel-btn { display: none; }

  .grid-collections { grid-template-columns: 1fr; gap: 16px; }
  .collection-card { aspect-ratio: 4 / 3; }

  .grid-reassurance { grid-template-columns: 1fr 1fr; gap: 12px; }
  .reassurance-item { padding: 24px 14px; }
  .reassurance-item svg { width: 30px; height: 30px; margin-bottom: 12px; }
  .reassurance-item h4 { font-size: 12px; }
  .reassurance-item p { font-size: 11px; }

  .editorial { grid-template-columns: 1fr; gap: 30px; }
  .editorial-media { aspect-ratio: 3 / 2; }
  .editorial-text h2 { font-size: 28px; }

  /* portrait de la présentation : on garde le cadrage vertical sur téléphone */
  .presentation .editorial-media { aspect-ratio: 4 / 5; }
  .presentation .editorial-media::after { inset: 10px; }

  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .page-top { padding: calc(var(--header-h) + 44px) 0 36px; }
  .toolbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .toolbar select { width: 100%; }

  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .gallery-thumbs button { width: 64px; height: 82px; }
  .gallery-arrow { display: none; }
  .pd-meta div { flex-direction: column; gap: 2px; }

  .cart-item { grid-template-columns: 78px 1fr; gap: 16px; }
  .cart-item img { width: 78px; height: 100px; }
  .cart-item .ci-price { grid-column: 2; text-align: left; }
  .cart-item .ci-remove { text-align: left; }
  .cart-summary { padding: 24px 20px; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .map-frame iframe { height: 240px; }
  .contact-block a, .contact-block p { font-size: 18px; }

  .compte-nav { gap: 14px; }
  .compte-nav button { font-size: 10px; }

  .btn { padding: 14px 26px; font-size: 10.5px; }
  .mobile-menu a { font-size: 25px; }
}
