/* ==========================================================================
   Boutique homme — feuille de styles
   Palette : noir / ivoire / gris pierre. Aucune police externe requise.
   ========================================================================== */

:root {
  --ink: #0f0f0e;
  --ink-2: #1c1c1a;
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --stone: #b9b3a6;
  --stone-dark: #645f56;      /* texte secondaire, contraste ≥ 4.5:1 sur ivoire */
  --line: rgba(15, 15, 14, .14);
  --line-light: rgba(244, 241, 234, .22);

  --serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Helvetica Neue", "Inter", "Segoe UI", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --top-h: 104px;             /* hauteur annonce + en-tête */
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Typographie ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--stone-dark);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-top: 14px;
}
.section-title--sm { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 50px; padding: 0 30px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { color: var(--paper); border-color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.tag {
  font-size: 9.5px; letter-spacing: .16em; padding: 3px 6px;
  border: 1px solid currentColor; opacity: .8;
}
.link-btn {
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  font-size: inherit;
}

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; position: relative;
}
.icon-btn svg { width: 21px; height: 21px; }

/* --- Barre du haut -------------------------------------------------------- */
.site-top { position: fixed; inset: 0 0 auto 0; z-index: 50; }

.announce {
  background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  display: grid; grid-template-columns: 1fr; align-items: center;
  min-height: 34px; padding: 6px 16px; text-align: center;
}
.announce__msg { display: flex; justify-content: center; align-items: center; gap: 12px; }
.announce__sep { opacity: .5; }
@media (min-width: 1024px) {
  .announce { grid-template-columns: 1fr auto 1fr; padding: 0 var(--gutter); }
  .announce__msg { grid-column: 2; }
}

.header {
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.site-top.is-solid .header {
  background: rgba(244, 241, 234, .97);
  color: var(--ink);
  border-color: var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.logo {
  font-family: var(--serif); font-size: 23px; letter-spacing: .26em;
  padding-left: .26em; /* compense l'espacement de la dernière lettre */
  justify-self: center; white-space: nowrap;
}
.header__burger { display: none; justify-self: start; margin-left: -10px; }
.nav { grid-column: 1; grid-row: 1; justify-self: start; }
.logo { grid-column: 2; grid-row: 1; }
.nav ul { display: flex; gap: clamp(16px, 1.6vw, 30px); }
.nav a {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header__actions { grid-column: 3; justify-self: end; display: flex; gap: 2px; margin-right: -10px; }

.mobile-menu {
  background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - var(--top-h)); overflow-y: auto;
}
.mobile-menu .mobile-nav { padding-top: 18px; padding-bottom: 22px; }
.mobile-menu .mobile-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 22px; }
.mobile-menu .mobile-nav a { display: block; padding: 8px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

.cart-btn__count {
  position: absolute; top: 6px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--paper); color: var(--ink);
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}
.site-top.is-solid .cart-btn__count { background: var(--ink); color: var(--paper); }
.cart-btn__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: var(--paper); overflow: hidden;
  background: var(--ink);
}
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%;
  animation: heroZoom 2.4s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.07); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.hero__overlay {
  background:
    linear-gradient(to top, rgba(12,12,11,.86) 0%, rgba(12,12,11,.5) 32%, rgba(12,12,11,.08) 62%, rgba(12,12,11,.42) 100%),
    linear-gradient(to right, rgba(12,12,11,.35) 0%, rgba(12,12,11,0) 60%);
}
.hero__content { position: relative; padding-bottom: clamp(72px, 13vh, 140px); }
.hero__eyebrow { color: rgba(244,241,234,.86); }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -.015em;
  max-width: 11ch; margin: 18px 0 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__lead { max-width: 40ch; font-size: 16px; color: rgba(244,241,234,.9); margin-bottom: 34px; }
.hero__content > * { animation: fadeUp 1.1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__content > :nth-child(4) { animation-delay: .36s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px; width: 44px; height: 64px;
  display: grid; place-items: center;
}
.hero__scroll span { width: 1px; height: 52px; background: rgba(244,241,234,.35); position: relative; overflow: hidden; }
.hero__scroll span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: var(--paper); animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* --- Sections ------------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Catégories : recadrages des visuels de campagne */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-card { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); color: var(--paper); }
.cat-card__media {
  position: absolute; inset: 0; background-repeat: no-repeat;
  filter: contrast(1.05) saturate(1.06);
  transition: transform 1.2s var(--ease);
}
.cat-card::after { /* voile sombre : lisibilité du texte blanc sur fonds showroom clairs */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,11,.84) 0%, rgba(12,12,11,.42) 34%, rgba(12,12,11,.1) 62%, rgba(12,12,11,.06) 100%);
}
.cat-card:hover .cat-card__media { transform: scale(1.05); }
/* Tuiles : une photo réelle du catalogue par catégorie */
.cat-card--down .cat-card__media,
.cat-card--jackets .cat-card__media,
.cat-card--knit .cat-card__media { background-size: cover; background-position: 50% 45%; }
.cat-card--down .cat-card__media { background-image: url("assets/abby/doudoune-gris-showroom-froid.jpg"); }
.cat-card--jackets .cat-card__media { background-image: url("assets/abby/veste-hybride-capuche-maille-bleu-marine-showroom-froid.jpg"); }
.cat-card--knit .cat-card__media { background-image: url("assets/abby/cardigan-hybride-matelasse-maille-creme-showroom-froid.jpg"); }
.cat-card__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; gap: 6px;
}
.cat-card__name { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.cat-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .92;
}
.cat-card__cta svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__cta svg { transform: translateX(4px); }
.cat-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* --- Produits ------------------------------------------------------------- */
.products { padding-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px; padding: 0 16px; border: 1px solid var(--line);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.results-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--line); padding: 14px 0; margin-bottom: 22px;
  font-size: 12px; letter-spacing: .08em; color: var(--stone-dark);
}

.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); /* 9 fiches : grille 3 × 3 */
  gap: clamp(28px, 3vw, 48px) clamp(12px, 1.6vw, 24px);
}
.product { display: flex; flex-direction: column; animation: fadeUp .6s var(--ease) both; }

.p-visual {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--visual-bg, linear-gradient(160deg, #e9e5dc, #d3cdc0));
  color: var(--garment, #151515);
  display: grid; place-items: center;
  transition: background .5s var(--ease);
}
.p-visual::before { /* lumière studio */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255,255,255,.28), rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.p-visual::after { /* ombre portée au sol */
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 5%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.22), rgba(0,0,0,0) 70%);
}
.p-visual > svg {
  position: relative; z-index: 1; width: 64%; height: auto; aspect-ratio: 200 / 260;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.18));
  transition: transform .9s var(--ease), color .5s var(--ease);
}
/* Photo réelle du coloris choisi (src et alt remplacés par app.js, sans filtre) */
.p-visual--photo { background: #c8c6c1; }
.p-visual > img {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  opacity: 0;
  transition: opacity .5s var(--ease), transform 1.1s var(--ease);
}
.p-visual > img.is-loaded { opacity: 1; }
.product:hover .p-visual > img { transform: scale(1.04); }
.p-visual--dark { --visual-bg: linear-gradient(160deg, #2b2a27, #161615); }
.product:hover .p-visual > svg { transform: scale(1.04) translateY(-4px); }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--paper); color: var(--ink);
  font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 9px;
}
.badge--exclu { background: var(--ink); color: var(--paper); }
.p-visual--dark .badge--exclu { background: var(--paper); color: var(--ink); }

.qv-btn {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  min-height: 44px; background: rgba(244,241,234,.95); color: var(--ink);
  font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .3s;
}
.qv-btn:hover { background: var(--ink); color: var(--paper); }
.product:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .qv-btn { opacity: 1; transform: none; } }

.p-info { padding-top: 16px; display: grid; gap: 4px; }
/* Marque de l'article (jamais la boutique) */
.p-brand { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.p-brand--lg { font-size: 12.5px; letter-spacing: .28em; }
.p-name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400; line-height: 1.25;
  text-align: left;
}
.p-name button { text-align: left; }
.p-name button:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.p-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.p-price { font-size: 13.5px; letter-spacing: .04em; }

.swatches { display: flex; gap: 4px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
}
.swatch::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.swatch[aria-pressed="true"], .swatch:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.empty-state { padding: 48px 0; text-align: center; color: var(--stone-dark); }
.grid-note { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--stone-dark); }

/* --- Éditorial ------------------------------------------------------------ */
.editorial { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper); }
.editorial__media { overflow: hidden; }
.editorial__media img {
  width: 100%; height: min(100vh, 74vw); min-height: 560px;
  object-fit: cover; object-position: 50% 28%;
}
.editorial__text { display: flex; align-items: center; padding: clamp(56px, 7vw, 120px) var(--gutter); }
.editorial__inner { max-width: 520px; }
.editorial .eyebrow { color: var(--stone); }
.editorial .section-title { margin-bottom: 26px; }
.editorial p { color: rgba(244,241,234,.82); }
.specs { margin: 36px 0 40px; border-top: 1px solid var(--line-light); }
.specs > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.specs dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); padding-top: 3px; }
.specs dd { font-size: 14px; color: rgba(244,241,234,.86); }
.editorial .btn--dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.editorial .btn--dark:hover { background: transparent; color: var(--paper); }

/* --- Services ------------------------------------------------------------- */
.services { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.service svg { width: 34px; height: 34px; margin-bottom: 18px; }
.service h3 { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.service p { font-size: 14px; color: var(--stone-dark); max-width: 30ch; }

/* --- Rubriques d'aide : tailles, livraison, FAQ, contact ------------------ */
.info { padding: clamp(72px, 9vw, 128px) 0; border-bottom: 1px solid var(--line); }
.info__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.info__lead { margin-top: 18px; color: var(--stone-dark); max-width: 46ch; }
.info__subtitle { margin: 40px 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.info__aside { margin-top: 28px; font-size: 14px; color: var(--stone-dark); max-width: 46ch; }
.info__note { margin-top: 18px; font-size: 12px; color: var(--stone-dark); }
.info a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Guide des tailles */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li {
  counter-increment: step; position: relative; padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--line); font-size: 14px; color: var(--stone-dark);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 15px;
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
}
.steps strong { display: block; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.table-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.size-table { width: 100%; min-width: 440px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-table caption { caption-side: bottom; text-align: left; padding-top: 14px; font-size: 12px; color: var(--stone-dark); }
.size-table th, .size-table td { padding: 18px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-dark); padding-top: 16px; padding-bottom: 16px; }
.size-table tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.size-table td { font-size: 14.5px; }
.size-table tbody tr { transition: background-color .25s; }
.size-table tbody tr:hover { background: var(--paper-2); }
.size-table th:first-child, .size-table td:first-child { padding-left: 4px; }
.size-table tbody th, .size-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); }
.size-table tbody tr:hover th { background: var(--paper-2); }
.table-hint { display: none; margin-top: 10px; font-size: 11px; letter-spacing: .08em; color: var(--stone-dark); }

/* Livraison & retours */
.delivery { background: var(--paper-2); }
.delivery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.delivery__item { border-top: 1px solid var(--ink); padding-top: 24px; }
.delivery__figure { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; margin-bottom: 22px; white-space: nowrap; }
.delivery__figure span { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-dark); margin-left: 4px; }
.delivery__item h3 { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.delivery__item p:not(.delivery__figure) { font-size: 14px; color: var(--stone-dark); max-width: 32ch; }
.delivery__note { margin-top: clamp(36px, 4vw, 56px); padding-top: 16px; border-top: 1px solid var(--line); }

/* FAQ */
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { /* signe + / − */
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1px; background: currentColor;
  transition: transform .35s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.faq__item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq__answer { padding: 0 48px 26px 0; }
.faq__answer p { font-size: 14.5px; color: var(--stone-dark); max-width: 62ch; }
.faq__item[open] .faq__answer { animation: fadeUp .45s var(--ease) both; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); border-bottom: 0; }
.contact .eyebrow { color: var(--stone); }
.contact .info__lead { color: rgba(244,241,234,.8); }
.contact__demo { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line-light); font-size: 13px; color: rgba(244,241,234,.78); max-width: 46ch; }
.contact__form { display: grid; gap: 22px; }
.contact__required { font-size: 12px; color: rgba(244,241,234,.7); }
.field { display: grid; gap: 8px; }
.field label { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.field__opt { text-transform: none; letter-spacing: .04em; color: rgba(244,241,234,.66); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: rgba(244,241,234,.04); color: var(--paper);
  border: 1px solid rgba(244,241,234,.38); border-radius: 0; font-size: 15px;
  transition: border-color .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: rgba(244,241,234,.7); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; border-color: var(--paper); background: rgba(244,241,234,.08); }
.field [aria-invalid="true"] { border-color: #f0a199; }
.field__error { min-height: 0; font-size: 12.5px; color: #f6b3ab; }
.field__error:empty { display: none; }
.contact__form .btn { justify-self: start; margin-top: 4px; }
.contact__form .btn:focus-visible { outline-color: var(--paper); }
.contact__status { margin-top: 0; color: rgba(244,241,234,.9); }
.contact__status.is-error { color: #f6b3ab; }
.contact__status.is-success { padding: 14px 16px; border-left: 2px solid var(--paper); background: rgba(244,241,234,.06); }

/* --- Newsletter ----------------------------------------------------------- */
.newsletter { background: var(--paper-2); padding: clamp(64px, 8vw, 112px) 0; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.newsletter__lead { margin-top: 14px; color: var(--stone-dark); max-width: 44ch; }
.field-row { display: flex; border-bottom: 1px solid var(--ink); }
.field-row input {
  flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; padding: 0 4px;
  font-size: 15px;
}
.field-row input::placeholder { color: var(--stone-dark); }
.field-row input:focus { outline: none; }
.field-row:focus-within { box-shadow: 0 1px 0 0 var(--ink); }
.newsletter .btn--light { color: var(--ink); border: 0; padding: 0 8px 0 20px; }
.newsletter .btn--light:hover { background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.form-msg { min-height: 1.6em; margin-top: 10px; font-size: 13px; }
.form-msg.is-error { color: #8a1f17; }
.newsletter__legal { font-size: 12px; color: var(--stone-dark); }

/* --- Pied de page --------------------------------------------------------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.logo--footer { display: inline-block; font-size: 22px; margin-bottom: 14px; padding-left: 0; }
.footer__brand p { color: rgba(244,241,234,.7); font-size: 14px; max-width: 28ch; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__title { font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-bottom: 18px; }
.footer__cols li + li { margin-top: 10px; }
.footer__cols a, .footer__cols .link-btn {
  font-size: 14px; color: rgba(244,241,234,.82); text-decoration: none; transition: color .25s;
}
.footer__cols a:hover, .footer__cols .link-btn:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 12px; color: rgba(244,241,234,.6); letter-spacing: .04em; }

.footer__legal { padding: 34px 0; border-bottom: 1px solid var(--line-light); color: rgba(244,241,234,.72); }
.footer__legal .legal__note { max-width: 70ch; margin-bottom: 24px; }
.legal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.footer__legal .legal__grid section { border-color: var(--line-light); scroll-margin-top: var(--top-h); }
.footer__legal .legal__grid p { font-size: 13px; }

/* Panier intégré à la page */
.cart-section { margin-top: clamp(56px, 8vw, 96px); scroll-margin-top: var(--top-h); }
.cart--inline { border: 1px solid var(--line); background: var(--paper); }
.cart-section__head { padding: clamp(24px, 4vw, 42px); border-bottom: 1px solid var(--line); }
.cart__shipping { padding: 16px 24px; font-size: 13px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.cart__shipping[hidden] { display: none; }
.progress { height: 2px; background: var(--line); margin-top: 10px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease); }
.cart__items { padding: 0 24px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line .p-visual { aspect-ratio: 3 / 4; }
.cart-line .p-visual::after { display: none; }
.cart-line .p-visual > svg { width: 72%; filter: none; }
.cart-line__top { display: flex; justify-content: space-between; gap: 12px; }
.cart-line__name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
.cart-line__meta { font-size: 12px; color: var(--stone-dark); margin-top: 4px; }
.cart-line__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 36px; height: 36px; font-size: 16px; }
.qty button:hover { background: var(--paper-2); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 28px; text-align: center; font-size: 13px; }
.cart-line__remove { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-dark); text-decoration: underline; text-underline-offset: 4px; min-height: 32px; }
.cart-line__remove:hover { color: var(--ink); }
.cart-line__price { font-size: 13.5px; white-space: nowrap; }

.cart__empty { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 22px; min-height: 220px; padding: 24px; text-align: center; }
.cart__empty p { font-family: var(--serif); font-size: 1.5rem; }
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__items, .cart.is-empty .cart__footer, .cart.is-empty .cart__shipping { display: none; }
.cart__footer { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.cart__totals { margin-bottom: 18px; display: grid; gap: 6px; font-size: 13.5px; }
.cart__totals > div { display: flex; justify-content: space-between; }
.cart__totals dt { color: var(--stone-dark); }
.cart__total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 15px; }
.cart__total dt { color: var(--ink); }

/* Recherche intégrée à la sélection */
.inline-search { margin: 0 0 28px; padding: 18px 0 10px; scroll-margin-top: var(--top-h); }
.search__form { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); }
.search__form svg { width: 24px; height: 24px; flex-shrink: 0; }
.search__form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.4rem); padding: 12px 0;
}
.search__form input::-webkit-search-cancel-button { cursor: pointer; }
.search__form:focus-within { box-shadow: 0 1px 0 0 var(--ink); }
.search__status { font-size: 12px; letter-spacing: .08em; color: var(--stone-dark); margin: 14px 0; min-height: 1.6em; }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; }
.search-hit {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; width: 100%;
  padding: 8px; text-align: left; transition: background-color .25s;
}
.search-hit:hover, .search-hit:focus-visible { background: var(--paper-2); }
.search-hit .p-visual > svg { width: 74%; filter: none; }
.search-hit .p-visual::after { display: none; }
.search-hit__name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }

.search-hit__price { font-size: 13px; }

/* Informations légales */
.legal section h3 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.legal section { padding-top: 14px; border-top: 1px solid var(--line); width: 100%; scroll-margin-top: 20px; }
.legal__note { font-size: 13px; }

/* Détail produit intégré à la page */
.product-detail { margin-top: clamp(42px, 6vw, 72px); border: 1px solid var(--line); background: var(--paper-2); scroll-margin-top: var(--top-h); }
.product-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.qv { display: grid; grid-template-columns: 1.05fr 1fr; }
.qv .p-visual { aspect-ratio: auto; min-height: 100%; }
.qv .p-visual > svg { width: 58%; }
.qv-gallery { min-width: 0; background: #d8d8d6; border-right: 1px solid var(--line); }
.qv-gallery__stage { position: relative; height: min(520px, calc(100dvh - 190px)); overflow: hidden; background: #d8d8d6; }
.qv-gallery__stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qv-gallery__thumbs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
  padding: 4px; background: var(--paper); border-top: 1px solid var(--line);
}
.qv-gallery__thumb {
  aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid transparent; background: #d8d8d6;
  transition: border-color .2s, opacity .2s; opacity: .7;
}
.qv-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-gallery__thumb:hover, .qv-gallery__thumb:focus-visible { opacity: 1; }
.qv-gallery__thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.qv__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.qv__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; margin-top: 6px; }
.qv__price { font-size: 16px; letter-spacing: .04em; }
.qv__desc { color: var(--stone-dark); font-size: 14.5px; }
.qv fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qv legend { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.qv legend span { color: var(--stone-dark); text-transform: none; letter-spacing: .04em; margin-left: 6px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt--size span {
  display: grid; place-items: center; min-width: 50px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); font-size: 12.5px; letter-spacing: .06em; cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s;
}
.opt--size span:hover { border-color: var(--ink); }
.opt--size input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt--color span {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
}
.opt--color span::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.opt--color input:checked + span { box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.qv__cat { margin-top: 8px; }
.qv__details {font-size: 13.5px; color: var(--stone-dark); border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
.qv__details li::before { content: "— "; }
.qv__note { font-size: 12px; color: var(--stone-dark); letter-spacing: .02em; }

/* Apparition au défilement (uniquement si JS actif) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive ----------------------------------------------------------- */
/* Nom de marque long : navigation plus serrée, puis menu burger avant tout chevauchement */
@media (max-width: 1380px) {
  .nav a { letter-spacing: .13em; }
}

@media (min-width: 1261px) {
  .hero__media img { object-position: 0% 40%; } /* visuel v2 : éloigne le premier visage des liens de navigation */
}

@media (max-width: 1260px) {
  .nav { display: none; }
  .header__burger { display: inline-grid; grid-column: 1; grid-row: 1; }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --top-h: 96px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .editorial__media img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter__inner { grid-template-columns: 1fr; }
  .qv { grid-template-columns: 1fr; }
  .qv .p-visual { aspect-ratio: 1 / 1; min-height: 0; }
  .qv .p-visual > svg { width: 38%; }
  .qv-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .qv-gallery__stage { height: auto; aspect-ratio: 4 / 5; }
  .qv-gallery__thumbs { display: flex; overflow-x: auto; scrollbar-width: thin; }
  .qv-gallery__thumb { flex: 0 0 72px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .legal__grid { grid-template-columns: 1fr; }
  .info__grid { grid-template-columns: minmax(0, 1fr); }
  .delivery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 600px) {
  .cat-grid--3 { grid-template-columns: 1fr; }
  .cat-grid--3 .cat-card { aspect-ratio: 4 / 3; }
  body { font-size: 14.5px; }
  .announce { font-size: 9.5px; letter-spacing: .07em; gap: 6px; padding: 6px 10px; }
  .announce span { white-space: nowrap; }
  .cat-card__media { filter: brightness(.84) contrast(1.14) saturate(1.12); }
  .cat-card::after {
    background:
      linear-gradient(to top, rgba(10,10,9,.92) 0%, rgba(10,10,9,.66) 30%, rgba(10,10,9,.3) 60%, rgba(10,10,9,.2) 100%),
      linear-gradient(to right, rgba(10,10,9,.4) 0%, rgba(10,10,9,0) 65%);
  }
  .cat-card__name { font-size: 1.75rem; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
  .cat-card__cta { font-size: 0; opacity: 1; }
  .cat-card__cta svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.5)); }
  .header__inner { height: 60px; }
  .mobile-menu .mobile-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo { font-size: 16px; letter-spacing: .18em; padding-left: .18em; }
  .header__account { display: none; }
  .hero__media img { object-position: 38% 40%; } /* visuel v2 : mannequin anthracite centré, visage hors en-tête */
  .hero__lead { font-size: 15px; }
  .hero__scroll { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .chips { gap: 6px; }
  .chip { padding: 0 12px; font-size: 10.5px; }
  .p-name { font-size: 1rem; }
  .p-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .swatches { margin-left: -6px; }
  .qv-btn { left: auto; right: 8px; bottom: 8px; min-height: 34px; padding: 0 10px; font-size: 9px; letter-spacing: .12em; }
  .badge { top: 8px; left: 8px; }
  .services__grid { grid-template-columns: 1fr; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .field-row { flex-direction: column; border-bottom: 0; gap: 12px; }
  .field-row input { border-bottom: 1px solid var(--ink); }
  .newsletter .btn--light { background: var(--ink); color: var(--paper); padding: 0 24px; }
  .product-detail__head { align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
  .table-hint { display: block; }
  .size-table th, .size-table td { padding: 14px 10px; }
  .delivery__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .faq__answer { padding-right: 0; }
  .contact__form .btn { justify-self: stretch; }
}

@media (max-width: 360px) {
  .logo { font-size: 14.5px; letter-spacing: .14em; padding-left: .14em; }
}

@media (max-width: 340px) {
  .logo { font-size: 13px; letter-spacing: .1em; padding-left: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__scroll span::after { display: none; }
}
