/* =====================================================================
   VELOURS — direction artistique issue de la référence Dribbble
   Crème chaud, pêche, corail, encre brun-noir · serif éditorial + grotesque
   ===================================================================== */
:root {
  --bg: #F4E6D9;          /* fond écran crème */
  --bg-2: #EFDCCB;        /* feuille produit */
  --card: #FFFDFB;
  --peach: #F2C29B;
  --peach-2: #E9AC7E;
  --peach-soft: #F8DCC4;
  --coral: #D9534F;
  --coral-2: #C2403D;
  --ink: #17110E;
  --ink-2: #3E342E;
  --muted: #8A786B;
  --line: #E6D3C2;
  --ok: #3E7B55;
  --err: #C2403D;
  --r-sm: 10px; --r: 16px; --r-lg: 28px; --r-xl: 40px;
  --shadow: 0 1px 2px rgba(60, 35, 20, .05), 0 8px 24px -12px rgba(60, 35, 20, .18);
  --shadow-lg: 0 30px 60px -30px rgba(60, 35, 20, .45);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --hdr: 68px;
  --ease: cubic-bezier(.2, .7, .2, 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: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
#app { outline: none; min-height: 60vh; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 22px; height: 22px; flex: none; }

/* ---------------- Typo ---------------- */
.display {
  font: 700 clamp(34px, 5.2vw, 64px)/1.04 var(--serif);
  font-variation-settings: 'opsz' 96; letter-spacing: -.02em;
}
.display em { font-style: italic; font-weight: 400; color: var(--ink-2); }
.display--md { font-size: clamp(28px, 3.4vw, 44px); }
.eyebrow { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.lead { font-size: 16.5px; color: var(--ink-2); max-width: 46ch; }
.page-title { font: 400 clamp(28px, 3.4vw, 40px)/1.1 var(--serif); letter-spacing: -.01em; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-title { font: 400 clamp(22px, 2.6vw, 30px)/1.15 var(--serif); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sec-link { font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .2s; }
.sec-link:hover { border-color: currentColor; }
.link-u { font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.bolt { color: #E9A23B; display: inline-flex; }
.bolt .ic { width: 22px; height: 22px; fill: #F4C35A; stroke: #E9A23B; }
.countdown { font: 600 13px/1 var(--sans); font-variant-numeric: tabular-nums; background: var(--ink); color: var(--peach); padding: 7px 10px; border-radius: 999px; letter-spacing: .04em; }

/* ---------------- Boutons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 14.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2b211c; }
.btn--peach { background: var(--peach); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .06); }
.btn--peach:hover { background: var(--peach-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--xl { min-height: 60px; padding: 0 34px; font-size: 16px; border-radius: 22px; }
.btn--block { width: 100%; }
.btn--arrow { padding-right: 8px; gap: 18px; min-height: 58px; border-radius: 22px; padding-left: 26px; }
.btn--arrow span { width: 44px; height: 44px; border-radius: 16px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; transition: transform .25s var(--ease); }
.btn--arrow:hover span { transform: translateX(3px); }
.btn.is-done { background: var(--ink); color: #fff; }
.btn:disabled { opacity: .6; pointer-events: none; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: rgba(23, 17, 14, .06); }
.icon-btn--glass { background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--coral); color: #fff; font: 600 10.5px/18px var(--sans); font-style: normal; text-align: center;
}
.badge.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.4); } }

/* ---------------- Annonce + header ---------------- */
.announce { background: var(--ink); color: var(--peach-soft); text-align: center; font-size: 12.5px; padding: 9px var(--gut); letter-spacing: .02em; }
.announce b { color: var(--peach); }
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__in { height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hdr-left, .hdr-right { display: flex; align-items: center; gap: 4px; }
.hdr-right { justify-content: flex-end; }
.logo { font: 300 30px/1 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: .06em; }
.logo--light { color: var(--bg); }
.main-nav { display: flex; gap: 28px; margin-left: 10px; }
.main-nav a { font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav a:hover::after, .main-nav a.is-on::after { transform: scaleX(1); }
.hdr-menu { display: none; }

/* ---------------- Hero (écran onboarding de la référence) ---------------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.hero__text .lead { margin-top: 22px; }
.dots { display: flex; gap: 10px; margin: 28px 0; align-items: center; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--peach); }
.dots i.on { background: var(--ink); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5.5px var(--ink); margin-inline: 4px; }
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: clamp(18px, 3vw, 40px); }
.hero__stats li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.hero__stats b { font: 600 22px/1.1 var(--serif); }
.hero__stats span { font-size: 12.5px; color: var(--muted); }
.hero__visual { position: relative; aspect-ratio: 4/4.6; max-height: 640px; justify-self: center; width: 100%; max-width: 520px; }
.hero__glow { position: absolute; inset: 8% -6% 0 -6%; background: radial-gradient(closest-side, #F1B98C 0%, rgba(241, 185, 140, .45) 45%, transparent 75%); filter: blur(10px); }
.hero__arch { position: absolute; inset: 0 8% 0 8%; border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__chip {
  position: absolute; left: -4%; bottom: 9%; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px;
  background: rgba(255, 253, 251, .92); backdrop-filter: blur(12px); border-radius: 20px; box-shadow: var(--shadow); max-width: 300px; transition: transform .25s var(--ease);
}
.hero__chip:hover { transform: translateY(-3px); }
.hero__chip img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.hero__chip span { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.hero__chip small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__chip b { font-weight: 600; margin-top: 2px; }
.hero__chip i { width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.hero__chip i .ic { width: 16px; height: 16px; }

/* ---------------- Recherche (pilule de la référence) ---------------- */
.search-band { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.search-pill { flex: 1 1 380px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 18px; box-shadow: var(--shadow); }
.search-pill .ic { color: var(--ink-2); }
.search-pill input { flex: 1; min-width: 0; border: 0; background: none; outline: none; height: 40px; font-size: 15px; }
.search-pill input::placeholder { color: #9d8c80; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; background: transparent; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- Bannière corail « Go Glueless » ---------------- */
.promo {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 300px; overflow: hidden;
  background: var(--coral); color: #fff; border-radius: var(--r-lg); isolation: isolate;
}
.promo::before { content: ''; position: absolute; inset: 0 0 0 52%; background: var(--coral-2); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); z-index: -1; }
.promo__text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }
.promo h2 { font: 300 clamp(34px, 4.6vw, 60px)/1 var(--serif); letter-spacing: -.01em; }
.promo p { max-width: 40ch; color: rgba(255, 255, 255, .88); }
.promo .btn { margin-top: 8px; }
.promo__media { position: relative; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); transition: transform .8s var(--ease); }
.promo:hover .promo__media img { transform: scale(1.04); }

/* ---------------- Cartes produit ---------------- */
.rail-sec { margin-top: clamp(44px, 6vw, 72px); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.card { position: relative; background: var(--card); border-radius: var(--r); padding: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; display: block; aspect-ratio: 4/4.4; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: opacity .45s, transform .7s var(--ease); }
.card__alt { opacity: 0; }
@media (hover: hover) { .card:hover .card__alt { opacity: 1; } .card:hover .card__media img { transform: scale(1.03); } }
.tag { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--ink); font: 600 11px/1 var(--sans); letter-spacing: .04em; padding: 6px 9px; border-radius: 999px; }
.tag--sale { background: var(--coral); color: #fff; }
.fav { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); transition: transform .2s var(--ease); }
.fav .ic { width: 18px; height: 18px; }
.fav:hover { transform: scale(1.1); }
.fav.is-on { color: var(--coral); }
.fav.is-on .ic { fill: var(--coral); animation: pop .4s var(--ease); }
.card__body { padding: 10px 8px 6px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__name { font-size: 13.5px; font-weight: 500; line-height: 1.3; display: flex; flex-direction: column; gap: 2px; }
.card__name span { font-size: 12px; color: var(--muted); font-weight: 400; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-weight: 600; font-size: 15px; }
.price s { font-size: 12px; color: var(--muted); }
.bag-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; transition: transform .2s var(--ease), background .2s; flex: none; }
.bag-btn .ic { width: 17px; height: 17px; }
.bag-btn:hover { background: var(--peach-2); transform: scale(1.08); }
.bag-btn.is-done { background: var(--ink); color: #fff; }

/* ---------------- Catégories ---------------- */
section.wrap + section.wrap:not(.rail-sec) { margin-top: clamp(44px, 6vw, 80px); }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; transition: transform .8s var(--ease); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(23, 17, 14, .72)); z-index: -1; }
.cat:hover img { transform: scale(1.05); }
.cat__label { position: absolute; left: 18px; bottom: 18px; right: 60px; display: flex; flex-direction: column; }
.cat__label b { font: 400 24px/1.1 var(--serif); }
.cat__label small { font-size: 12.5px; opacity: .85; margin-top: 4px; }
.cat i { position: absolute; right: 14px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--peach); color: var(--ink); display: grid; place-items: center; transition: transform .25s var(--ease); }
.cat i .ic { width: 16px; height: 16px; }
.cat:hover i { transform: rotate(-45deg); }

/* ---------------- Promesses ---------------- */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.promise > div { display: flex; gap: 14px; align-items: center; padding: 22px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise > div + div { border-left: 1px solid var(--line); }
.promise span { width: 46px; height: 46px; border-radius: 50%; background: var(--peach-soft); display: grid; place-items: center; flex: none; }
.promise p { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; line-height: 1.35; }
.promise b { color: var(--ink); font-size: 14.5px; font-weight: 600; }

/* ---------------- Éditorial ---------------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.editorial__media { position: relative; padding-right: 18%; padding-bottom: 12%; }
.editorial__media > img:first-child { border-radius: var(--r-xl); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.editorial__small { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 34px; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; }
.steps li::before { content: '0' counter(s); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font: 400 16px/1 var(--serif); }
.steps b { font-weight: 600; font-size: 16px; }
.steps span { color: var(--ink-2); }

/* ---------------- Avis ---------------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; background: var(--card); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.review blockquote { margin: 0; font: 400 18px/1.45 var(--serif); }
.review figcaption { margin-top: auto; font-size: 13.5px; display: flex; flex-direction: column; }
.review figcaption small { color: var(--muted); }
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars .ic { width: 15px; height: 15px; stroke: #D79A5F; }
.stars .on .ic { fill: #E3A86C; }

/* ---------------- Newsletter ---------------- */
.newsletter { background: var(--peach); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.newsletter::after { content: ''; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.newsletter p { margin-top: 12px; color: var(--ink-2); }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.newsletter input { flex: 1 1 220px; height: 52px; border-radius: 999px; border: 0; padding: 0 22px; background: #fff; outline: none; }
.newsletter .btn { min-height: 52px; }
.form-msg { flex-basis: 100%; font-size: 13px; min-height: 1em; padding-left: 8px; }
.form-msg.is-err { color: var(--err); }
.form-msg.is-ok { color: var(--ok); font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #CDBDB0; margin-top: clamp(56px, 8vw, 110px); padding-top: 64px; font-size: 14px; }
.site-footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer h3 { font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin-bottom: 18px; }
.site-footer__in > div:not(.ft-brand) { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }
.ft-brand p { margin: 16px 0 20px; max-width: 34ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a2f29; display: grid; place-items: center; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #2c231e; padding-top: 20px; padding-bottom: 28px; font-size: 12.5px; color: #8f7f73; }

/* ---------------- Boutique ---------------- */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); padding: 18px 0 14px; flex-wrap: wrap; }
.crumbs .ic { width: 13px; height: 13px; }
.crumbs a:hover { color: var(--ink); }
.shop__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.shop__head .muted { margin-top: 6px; font-size: 13.5px; }
.shop__tools { display: flex; gap: 10px; align-items: center; }
.select { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.select select { appearance: none; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); padding: 0 38px 0 16px; color: var(--ink); font-weight: 500; font-size: 13.5px; cursor: pointer; }
.select .ic { position: absolute; right: 12px; width: 16px; height: 16px; pointer-events: none; color: var(--ink); }
.chips--shop { margin-bottom: 24px; }
.shop__layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr) + 16px); }
.filters form { display: flex; flex-direction: column; gap: 22px; }
.filters fieldset { border: 0; padding: 0 0 22px; margin: 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.filters legend { font-weight: 600; font-size: 13.5px; margin-bottom: 10px; display: flex; justify-content: space-between; width: 100%; }
.filters legend output { font-weight: 400; color: var(--muted); }
.filters__head, .filters__apply, .filters-open, .filters-scrim { display: none; }
.radio { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.radio input { appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); margin: 0; transition: all .15s; }
.radio input:checked { border: 5px solid var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill input, .size input, .swatch input, .ship-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; cursor: pointer; transition: all .15s; }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span, .size input:focus-visible + span, .swatch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
input[type=range] { width: 100%; accent-color: var(--ink); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.toggle span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.toggle input:checked + span { background: var(--ink); }
.toggle input:checked + span::after { transform: translateX(16px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Pastilles couleur (référence : cercle noir coché, dégradé, rose) */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: box-shadow .15s; }
.swatch--lg span { width: 36px; height: 36px; }
.swatch .ic { width: 15px; height: 15px; opacity: 0; stroke-width: 2.4; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .5)); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px var(--ink); }
.swatch input:checked + span .ic { opacity: 1; }

/* ---------------- Fiche produit ---------------- */
.pdp { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gut) 0; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--hdr) + 16px); display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.pdp__main { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 4/4.7; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-2); }
.pdp__main > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: fade .4s; }
@keyframes fade { from { opacity: .4; } }
.pdp__back { position: absolute; left: 16px; top: 16px; display: none; }
.fav--lg { top: auto; bottom: 22px; right: 22px; width: 48px; height: 48px; background: transparent; color: #fff; border: 1.6px solid rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.fav--lg .ic { width: 22px; height: 22px; }
.fav--lg.is-on { background: #fff; }
.pdp__dots { display: none; }
.pdp__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.pdp__thumbs button { border-radius: 14px; overflow: hidden; opacity: .55; transition: opacity .2s, box-shadow .2s; aspect-ratio: 4/5; }
.pdp__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__sheet { background: var(--bg-2); border-radius: var(--r-xl); padding: 8px clamp(22px, 3vw, 40px) 32px; position: relative; }
.handle { display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--ink); margin: 10px auto 4px; }
.pdp__sheet .crumbs { padding-top: 12px; }
.pdp__title { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.pdp__title h1 { font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--sans); letter-spacing: -.015em; max-width: 14ch; }
.pdp__price .price { flex-direction: column; align-items: flex-end; gap: 0; }
.pdp__price b { font-size: clamp(20px, 2vw, 24px); font-weight: 500; }
.pdp__price s { font-size: 13px; }
.pdp__meta { margin: 12px 0 18px; font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-2); }
.pdp__meta a { text-decoration: underline; text-underline-offset: 3px; }
.bullets { margin: 0 0 24px; padding-left: 16px; font-size: 14px; display: grid; gap: 5px; color: var(--ink-2); }
.bullets li::marker { color: var(--ink); }
.opts { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; margin-bottom: 26px; }
.opt__label { font-size: 14px; font-weight: 500; margin-bottom: 12px; display: flex; gap: 8px; }
.opt__label span { color: var(--muted); font-weight: 400; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; cursor: pointer; }
.size span { display: block; padding: 10px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); transition: all .15s; }
.size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.buy { display: flex; align-items: center; gap: 18px; }
.buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; transition: background .15s; }
.qty button:hover { background: rgba(23, 17, 14, .08); }
.qty .ic { width: 16px; height: 16px; stroke-width: 2; }
.qty output { min-width: 40px; height: 40px; border-radius: 10px; background: var(--card); display: grid; place-items: center; font-weight: 500; box-shadow: var(--shadow); }
.stock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ok); }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.stock.is-low { color: #B5651D; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 26px 0; }
.specs div { background: var(--bg); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.specs small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.specs b { font-size: 13.5px; font-weight: 600; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { width: 18px; height: 18px; transition: transform .25s; }
.acc details[open] summary .ic { transform: rotate(180deg); }
.acc p { padding-bottom: 18px; color: var(--ink-2); font-size: 14px; }
.buybar { display: none; }

/* ---------------- Panneaux ---------------- */
.panel { position: fixed; inset: 0; z-index: 60; background: rgba(23, 17, 14, .38); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.panel.is-open { opacity: 1; visibility: visible; }
.panel__box { position: absolute; background: var(--bg); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
.panel--right .panel__box { right: 0; top: 0; bottom: 0; width: min(440px, 100%); transform: translateX(100%); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.panel--left .panel__box { left: 0; top: 0; bottom: 0; width: min(360px, 88%); transform: translateX(-100%); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.panel--top .panel__box { left: 50%; top: 0; width: min(720px, 100%); transform: translate(-50%, -100%); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 20px; max-height: 88vh; }
.panel.is-open .panel__box { transform: none; }
.panel--top.is-open .panel__box { transform: translateX(-50%); }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel__head h2 { font: 400 24px/1 var(--serif); }
.panel__body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.menu > a { padding: 16px 24px; font: 400 22px/1.2 var(--serif); border-bottom: 1px solid var(--line); }
.menu__promo { margin: 24px; padding: 18px; border-radius: var(--r); background: var(--peach); font-size: 14px; }
.s-results { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.s-results > .muted { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin: 4px 6px 8px; }
.s-item { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; }
.s-item:hover { background: var(--bg-2); }
.s-item img { width: 48px; height: 60px; object-fit: cover; border-radius: 10px; }
.s-item span { flex: 1; display: flex; flex-direction: column; font-weight: 500; font-size: 14.5px; }
.s-item small { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.s-results .btn { margin-top: 10px; }
.s-empty { padding: 16px 8px; color: var(--muted); }
.search-pill--lg { box-shadow: none; }

/* ---------------- Panier ---------------- */
.ship-meter p { font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.ship-meter .ic { width: 16px; height: 16px; color: var(--ok); }
.meter { height: 6px; border-radius: 6px; background: var(--line); margin-top: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--peach-2), var(--coral)); border-radius: inherit; transition: width .5s var(--ease); }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; background: var(--card); padding: 8px; border-radius: var(--r); box-shadow: var(--shadow); }
.line img { width: 78px; height: 98px; object-fit: cover; border-radius: 10px; }
.line__info { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; min-width: 0; }
.line__name { font-weight: 500; font-size: 14.5px; line-height: 1.25; }
.line__var { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.line__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.line__foot .qty output { height: 32px; min-width: 34px; font-size: 13.5px; }
.line__foot .qty button { width: 30px; height: 30px; }
.line__rm { width: 36px; height: 36px; color: var(--muted); }
.line__rm .ic { width: 18px; height: 18px; }
.promo-form { display: flex; gap: 8px; flex-wrap: wrap; }
.promo-form input { flex: 1; min-width: 0; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); padding: 0 16px; outline: none; text-transform: uppercase; }
.promo-form input:focus { border-color: var(--ink); }
.promo-ok { font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ok); }
.promo-ok .ic { width: 16px; height: 16px; }
.promo-ok .link-u { color: var(--ink); font-size: 12.5px; }
.sum { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-weight: 500; }
.sum__disc dd { color: var(--ok); }
.sum__total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 17px; }
.sum__total dt { color: var(--ink); font-weight: 600; }
.sum__total dd { font-weight: 700; }
.pay-note { text-align: center; font-size: 12px; color: var(--muted); }
.cart-page__body { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }

/* ---------------- États vides ---------------- */
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty > span { width: 72px; height: 72px; border-radius: 50%; background: var(--peach-soft); display: grid; place-items: center; margin-bottom: 8px; }
.empty h2 { font: 400 26px/1.2 var(--serif); }
.empty p { color: var(--muted); margin-bottom: 12px; }

/* ---------------- Checkout ---------------- */
.checkout__layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; margin-top: 24px; }
.checkout__form { display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--card); border: 0; border-radius: var(--r-lg); padding: 24px; margin: 0; box-shadow: var(--shadow); }
.box legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font: 400 22px/1 var(--serif); margin-bottom: 18px; }
.box legend i { width: 30px; height: 30px; border-radius: 50%; background: var(--peach); font: 600 13px/30px var(--sans); text-align: center; font-style: normal; }
.box legend + * { clear: both; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 13px; font-weight: 500; }
.field input { height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); padding: 0 16px; outline: none; font-size: 15px; transition: border-color .15s, background .15s; }
.field input:focus { border-color: var(--ink); background: #fff; }
.field.is-err input { border-color: var(--err); }
.err { color: var(--err); font-size: 12px; font-weight: 400; min-height: 0; }
.ship-opts { display: grid; gap: 8px; margin-top: 4px; }
.ship-opt { position: relative; cursor: pointer; }
.ship-opt span { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 16px 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); position: relative; transition: border-color .15s; }
.ship-opt span::before { content: ''; position: absolute; left: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; transition: border .15s; }
.ship-opt input:checked + span { border-color: var(--ink); background: #fff; }
.ship-opt input:checked + span::before { border: 5px solid var(--ink); }
.ship-opt b { font-weight: 500; font-size: 14.5px; }
.ship-opt small { font-weight: 600; }
.demo-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); background: var(--peach-soft); padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.demo-note .ic { width: 16px; height: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 2px 0 0; }
.check .err { flex-basis: 100%; padding-left: 28px; }
.checkout__aside { position: sticky; top: calc(var(--hdr) + 16px); display: flex; flex-direction: column; gap: 18px; }
.checkout__aside h2 { font: 400 22px/1 var(--serif); }
.mini-lines { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 12px; }
.mini-lines li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.mini-lines p { flex: 1; display: flex; flex-direction: column; font-weight: 500; line-height: 1.3; }
.mini-lines small { color: var(--muted); font-weight: 400; }
.mini-img { position: relative; flex: none; }
.mini-img img { width: 48px; height: 60px; object-fit: cover; border-radius: 10px; }
.mini-img i { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 11px/20px var(--sans); text-align: center; font-style: normal; }

/* ---------------- Confirmation ---------------- */
.confirm { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 56px; }
.confirm__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--peach); display: grid; place-items: center; margin-bottom: 8px; animation: pop .6s var(--ease); }
.confirm__icon .ic { width: 34px; height: 34px; stroke-width: 2.2; }
.confirm .eyebrow { margin: 0; }
.confirm__box { width: 100%; text-align: left; margin: 12px 0; }

/* ---------------- Toast ---------------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px; font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease), opacity .3s, visibility .3s; max-width: calc(100% - 32px); white-space: nowrap; opacity: 0; visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .ic { width: 18px; height: 18px; color: var(--peach); flex: none; }
.toast span { overflow: hidden; text-overflow: ellipsis; }
.toast button { background: var(--peach); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 12.5px; flex: none; }

/* ---------------- Onboarding mobile ---------------- */
.onboard { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(64px + env(safe-area-inset-top)) 28px 0; display: flex; flex-direction: column; overflow: hidden; transition: opacity .4s, transform .4s var(--ease); }
.onboard.is-out { opacity: 0; transform: translateY(-20px); }
.onboard h2 { font: 700 32px/1.12 var(--serif); letter-spacing: -.02em; max-width: 12ch; animation: fade .5s; }
.onboard .dots { margin: 26px 0 0; }
.onboard__img { position: relative; flex: 1; margin: 12px -28px 0; }
.onboard__img .hero__glow { inset: 0 -10% -10%; }
.onboard__img img { position: absolute; left: 12%; right: 12%; top: 4%; bottom: 0; width: 76%; height: 96%; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px 0 0; box-shadow: var(--shadow-lg); animation: fade .6s; }
.onboard__next { position: absolute; right: 24px; bottom: calc(44px + env(safe-area-inset-bottom)); width: 86px; height: 52px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.onboard__skip { position: absolute; right: 22px; top: calc(18px + env(safe-area-inset-top)); font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 8px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .main-nav { gap: 18px; }
  .shop__layout { grid-template-columns: 1fr; }
  .filters-open { display: inline-flex; }
  .filters { position: fixed; z-index: 70; top: 0; bottom: 0; left: 0; width: min(360px, 90%); background: var(--bg); padding: 0 20px 20px; overflow-y: auto; transform: translateX(-102%); transition: transform .4s var(--ease); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
  .filters-on .filters { transform: none; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--bg); padding: 16px 0; z-index: 1; font-size: 18px; }
  .filters__apply { display: inline-flex; position: sticky; bottom: 0; }
  .filters-scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(23, 17, 14, .38); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .filters-on .filters-scrim { opacity: 1; visibility: visible; }
  .grid, .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .checkout__layout { grid-template-columns: 1fr; }
  .checkout__aside { position: static; order: -1; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hdr-menu { display: grid; }
  .hero { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: 1fr 1fr; }
  .promise > div:nth-child(3) { border-left: 0; }
  .promise > div:nth-child(n+3) { border-top: 0; }
  .editorial { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: relative; top: 0; }
}

/* ---- Mobile : reprend fidèlement les écrans 2 et 3 de la référence ---- */
@media (max-width: 767px) {
  :root { --hdr: 60px; }
  body { font-size: 14.5px; }
  .announce { font-size: 11.5px; padding-block: 8px; }
  .logo { font-size: 26px; }
  .hdr-search, .hdr-fav { display: none; }
  .hdr-left .icon-btn, .hdr-right .icon-btn { width: 42px; height: 42px; }

  .hero { padding-top: 12px; gap: 8px; }
  .hero__text { order: 2; }
  .hero__visual { order: 1; aspect-ratio: 1/1.02; max-width: none; }
  .hero__arch { inset: 0 6%; }
  .hero__chip { left: 0; bottom: 6%; max-width: 250px; }
  .display { font-size: 34px; }
  .hero .eyebrow { margin-top: 10px; }
  .hero .dots { margin: 22px 0; }
  .hero__cta { gap: 16px; }
  .hero__stats { margin-top: 28px; gap: 14px; }
  .hero__stats b { font-size: 18px; }
  .hero__stats span { font-size: 11.5px; }

  .search-band { margin-top: 8px; gap: 12px; }
  .search-pill { flex-basis: 100%; }
  .search-band .btn { display: none; }

  .promo { grid-template-columns: 1fr 1fr; min-height: 168px; border-radius: 20px; }
  .promo__text { padding: 22px 0 22px 20px; gap: 6px; }
  .promo h2 { font-size: 30px; }
  .promo .eyebrow, .promo p { display: none; }
  .promo .btn { min-height: 34px; padding: 0 12px; font-size: 12px; margin-top: 10px; }

  .rail { grid-auto-columns: 46%; gap: 10px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .card { padding: 5px; border-radius: 14px; }
  .card__media { border-radius: 11px; }
  .card__body { padding: 8px 4px 4px; gap: 8px; }
  .card__name { font-size: 12.5px; }
  .card__name span { font-size: 11.5px; }
  .price b { font-size: 13.5px; }
  .bag-btn { width: 32px; height: 32px; }
  .fav { width: 30px; height: 30px; top: 11px; right: 11px; }
  .sec-title { font-size: 22px; }
  .countdown { font-size: 12px; padding: 6px 9px; }

  .cats { gap: 10px; }
  .cat { border-radius: 20px; }
  .cat__label { left: 14px; bottom: 14px; right: 14px; }
  .cat__label b { font-size: 19px; }
  .cat__label small, .cat i { display: none; }
  .promise { grid-template-columns: 1fr; }
  .promise > div { border-left: 0 !important; border-top: 0; padding: 16px 4px; }
  .promise > div:first-child { border-top: 1px solid var(--line); }
  .review { padding: 22px; }
  .review blockquote { font-size: 16.5px; }
  .site-footer__in { grid-template-columns: 1fr 1fr; gap: 28px 16px; }

  .grid, .grid--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop__head { align-items: center; }
  .chips--shop { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }

  /* Fiche produit : image plein cadre + feuille crème arrondie qui remonte */
  body[data-route^="produit"] .announce { display: none; }
  body[data-route^="produit"] .site-header { display: none; }
  .pdp { padding: 0; gap: 0; }
  .pdp__gallery { display: block; }
  .pdp__main { border-radius: 0; aspect-ratio: auto; height: 62vh; min-height: 420px; }
  .pdp__thumbs { display: none; }
  .pdp__back { display: grid; top: calc(14px + env(safe-area-inset-top)); }
  .pdp__dots { display: flex; gap: 6px; position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); }
  .pdp__dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .6); transition: width .25s; }
  .pdp__dots i.on { width: 18px; background: #fff; }
  .fav--lg { bottom: 50px; right: 18px; }
  .pdp__sheet { margin-top: -34px; border-radius: 32px 32px 0 0; padding: 4px 22px 28px; z-index: 2; }
  .pdp__sheet .crumbs { display: none; }
  .pdp__title { margin-top: 18px; }
  .pdp__title h1 { font-size: 21px; }
  .pdp__price b { font-size: 18px; }
  .bullets { font-size: 13px; gap: 3px; }
  .opts { gap: 20px 28px; }
  .buy .btn { min-height: 56px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .buybar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; background: var(--ink); color: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); transform: translateY(150%); transition: transform .4s var(--ease); }
  .buybar.is-on { transform: none; }
  .buybar div { display: flex; flex-direction: column; min-width: 0; }
  .buybar small { font-size: 11.5px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { min-height: 46px; border-radius: 16px; }

  .panel--right .panel__box { width: 100%; border-radius: 0; }
  .panel--top .panel__box { border-radius: 0 0 24px 24px; padding: 14px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .box { padding: 20px 16px; border-radius: 20px; }
  .toast { bottom: 16px; font-size: 13px; }
}

@media (max-width: 380px) {
  .display { font-size: 30px; }
  .hero__stats li:last-child { display: none; }
  .opts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Ajouts v2 — back-end : sous-menus, logo image, paiements, suivi
   ===================================================================== */
[hidden] { display: none !important; }
.loading { padding-block: 48px; }
.logo img { max-height: 40px; width: auto; display: block; margin-inline: auto; }
.logo--light img { margin: 0; filter: brightness(0) invert(1); }
.main-nav { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-caret { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; }
.nav-caret .ic { width: 14px; height: 14px; transition: transform .2s; }
.subnav { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 230px; padding: 8px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 50; }
.subnav::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.subnav a { padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.subnav a::after { display: none; }
.subnav a:hover { background: var(--bg); }
@media (hover: hover) { .nav-item.has-sub:hover .subnav { opacity: 1; visibility: visible; transform: none; } .nav-item.has-sub:hover .nav-caret .ic { transform: rotate(180deg); } }
.nav-item.is-open .subnav { opacity: 1; visibility: visible; transform: none; }
.menu__list { display: flex; flex-direction: column; overflow-y: auto; }
.menu__list > a, .menu__group summary { padding: 16px 24px; font: 400 22px/1.2 var(--serif); border-bottom: 1px solid var(--line); }
.menu__group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary .ic { width: 18px; height: 18px; transition: transform .2s; }
.menu__group[open] summary .ic { transform: rotate(180deg); }
.menu__sub { display: block; padding: 12px 24px 12px 40px; font-size: 15px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.site-footer__in > .ft-menus { display: contents; }
.ft-menus > div { display: flex; flex-direction: column; gap: 10px; }
.radio--sub { padding-left: 26px; font-size: 13.5px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; position: relative; z-index: 1; }
.contact-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.btn .ic { flex: none; }
.btn.is-disabled { opacity: .5; pointer-events: none; }
.bag-btn:disabled { opacity: .4; cursor: not-allowed; }
.checkout__note { margin-top: 8px; }
.field textarea { border-radius: 14px; border: 1px solid var(--line); background: var(--bg); padding: 12px 16px; font: inherit; outline: none; resize: vertical; }
.field textarea:focus { border-color: var(--ink); background: #fff; }
.ship-opt b { display: flex; flex-direction: column; gap: 2px; }
.ship-opt b small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ship-opt em { font-style: normal; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.ship-opts { margin-bottom: 16px; }
.pay-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pay-opt { position: relative; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt > span { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); height: 100%; transition: border-color .15s, box-shadow .15s; }
.pay-opt b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.pay-opt small { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.pay-opt input:checked + span { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pay-logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; overflow: hidden; }
.pay-logo img { width: 100%; height: 100%; object-fit: cover; }
.pay-logo .ic { width: 20px; height: 20px; }
.pay-detail { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); }
.pay-detail:empty { display: none; }
.pay-account { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; background: var(--peach-soft); border-radius: 14px; padding: 14px 16px; }
.pay-account div { display: flex; flex-direction: column; }
.pay-account small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pay-account b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-account .btn { margin-left: auto; }
.sum dt small { color: var(--muted); font-size: 12px; }
.track { list-style: none; padding: 0; margin: 12px 0; display: flex; width: 100%; max-width: 560px; }
.track li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); position: relative; text-align: center; }
.track li::before { content: ''; position: absolute; top: 7px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.track li:first-child::before { display: none; }
.track li i { width: 16px; height: 16px; border-radius: 50%; background: var(--line); position: relative; z-index: 1; }
.track li.done { color: var(--ink); font-weight: 600; }
.track li.done i, .track li.done::before { background: var(--ink); }
.pay-reminder { display: flex; gap: 14px; text-align: left; width: 100%; font-size: 14px; }
.pay-reminder p { margin-top: 4px; color: var(--ink-2); }
.track-page .track-form { max-width: 520px; display: grid; gap: 4px; margin: 20px 0; }
.track-page .confirm { padding-top: 16px; }
@media (max-width: 1080px) { .subnav { left: auto; right: -8px; } }
@media (max-width: 767px) {
  .pay-opts { grid-template-columns: 1fr 1fr; }
  .track li { font-size: 10.5px; }
  .pay-account .btn { margin-left: 0; }
}
