/* =========================================================
   ORDELIS — design system : voir design-system/ordelis/
   Monochrome · Bodoni Moda + Jost · rayon 0 · sans ombres
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --surface: #F4F4F5;
  --ink: #0A0A0A;
  --muted: #52525B;
  --line: #E4E4E7;
  --line-strong: #A1A1AA;
  --night: #0A0A0A;
  --night-2: #141416;
  --on-night: #FAFAFA;
  --on-night-muted: #A1A1AA;
  --on-night-line: #2A2A2E;
  --error: #B91C1C;
  /* Panneaux produits : toujours clairs, pour les photos détourées */
  --stage: #F4F4F5;
  --stage-muted: #52525B;
  --header-bg: rgba(255, 255, 255, .94);
  /* Bandeau inversé */
  --inverse: #0A0A0A;
  --on-inverse: #FAFAFA;
  --on-inverse-muted: #A1A1AA;
  --on-inverse-line: #2A2A2E;
  color-scheme: light;

  --f-head: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(3rem, 6vw, 6.4rem);
  --fs-h2: clamp(2.1rem, 3.6vw, 3.6rem);
  --fs-lead: clamp(1.125rem, 1.25vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-6: 3rem; --s-8: 4rem; --s-12: 6rem;
  --section: clamp(5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 80px;

  --t-fast: 200ms;
  --t-base: 300ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-header: 40; --z-menu: 30; --z-overlay: 100; --z-toast: 110; --z-intro: 200;
}

/* ---------- Mode sombre ---------- */
:root[data-theme="dark"] {
  --bg: #0A0A0A;
  --surface: #141416;
  --ink: #FAFAFA;
  --muted: #A1A1AA;
  --line: #27272A;
  --line-strong: #52525B;
  --error: #F87171;
  --header-bg: rgba(10, 10, 10, .92);
  --inverse: #FAFAFA;
  --on-inverse: #0A0A0A;
  --on-inverse-muted: #52525B;
  --on-inverse-line: #D4D4D8;
  color-scheme: dark;
}
:root[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
body, .header, .section, .collection, .figures, .menu, .cart__panel, .pm__inner { transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--fs-body); font-weight: 400; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.is-dark :focus-visible { outline-color: var(--on-night); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--ink); color: var(--bg); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; flex: 0 0 auto; }
.hy { font-family: var(--f-body); font-weight: 300; }

/* Sections sombres */
.is-dark { background: var(--night); color: var(--on-night); }
.is-dark .label, .is-dark .lead { color: var(--on-night-muted); }

/* ---------- Typo ---------- */
.label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; color: var(--muted); }
.hero__title, .h2, .step__num, .cart__title, .footer__pitch, .menu__nav a, .maison__text, .tech__title, .figure__n, .ticker span {
  /* Taille optique fixée : en automatique, les déliés du Bodoni deviennent invisibles sur les grands titres */
  font-family: var(--f-head); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 28;
}
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; margin-top: var(--s-2); }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; color: var(--muted); max-width: 34rem; margin-top: var(--s-3); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3.25rem; padding: 0 1.75rem; border: 1px solid var(--ink);
  font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), border-color var(--t-base);
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--light { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn--light:hover { background: transparent; color: var(--on-night); }
.btn--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: .75rem; }
.btn--wide { width: 100%; }
.btn:active { transform: scale(.98); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-block: .5rem; border-bottom: 1px solid currentColor; }
.lead .text-link { margin-left: .4rem; padding-block: .1rem; }
.text-link .ico { transition: transform var(--t-base) var(--ease-out); }
.text-link:hover .ico { transform: translateX(4px); }
.icon-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color var(--t-fast); }
.icon-btn:hover { border-color: var(--ink); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: var(--z-intro); display: grid; place-items: center; background: var(--bg); color: var(--ink); }
.intro__logo { display: grid; justify-items: center; gap: .9rem; }
.intro__logo { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
.intro__word { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; letter-spacing: .04em; padding-left: .04em; line-height: 1; }
.intro__rule { width: 86%; height: 3px; background: var(--ink); transform-origin: left; }
.intro__sub { font-size: .8125rem; letter-spacing: .9em; padding-left: .9em; color: var(--muted); }
.reduced .intro { display: none; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  background: var(--header-bg); color: var(--ink); border-bottom: 1px solid var(--line);
  transition: transform 450ms var(--ease-out), background-color var(--t-base), color var(--t-base), border-color var(--t-base);
}
.header.at-top { border-bottom-color: transparent; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.logo { display: inline-grid; justify-items: center; gap: 5px; line-height: 1; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
.logo__word { font-size: 1.25rem; font-weight: 400; letter-spacing: .04em; padding-left: .04em; }
.logo__rule { width: 86%; height: 1.5px; background: currentColor; }
.logo__sub { font-size: .5rem; letter-spacing: 1em; padding-left: 1em; opacity: .6; }
.nav { display: flex; gap: clamp(1.1rem, 2.2vw, 2.5rem); }
.nav a { position: relative; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding-block: .75rem; opacity: .65; transition: opacity var(--t-fast); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-base) var(--ease-out); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: var(--s-3); }
.quote-link { min-height: 2.75rem; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.quote-link__count { display: inline-block; font-variant-numeric: tabular-nums; }
.theme-toggle { position: relative; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color var(--t-fast); }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .ico { grid-area: 1 / 1; transition: transform 500ms var(--ease-out), opacity 300ms; }
.theme-toggle .ico--sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .ico--moon { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .ico--sun { opacity: 1; transform: none; }
.burger { display: none; width: 2.75rem; height: 2.75rem; position: relative; }
.burger span { position: absolute; left: 50%; width: 22px; height: 1px; background: currentColor; transform: translateX(-50%); transition: transform var(--t-base) var(--ease-out), top var(--t-base) var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: translateX(-50%) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg); padding: calc(var(--header-h) + var(--s-4)) var(--gutter) var(--s-4); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__nav { display: grid; }
.menu__nav a { font-size: clamp(1.9rem, 7.5vw, 2.6rem); line-height: 1.3; border-bottom: 1px solid var(--line); padding-block: .3rem; }
.menu__foot { display: grid; gap: .25rem; color: var(--muted); font-size: var(--fs-small); margin-top: var(--s-4); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + var(--s-4)); padding-bottom: var(--s-8); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); align-items: center; }
.hero__copy { grid-column: 1 / span 7; }
.hero__label { margin-bottom: var(--s-4); }
.hero__title { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.025em; }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__in { display: inline-block; }
.swap { display: inline-grid; }
.swap > span { grid-area: 1 / 1; white-space: nowrap; }
.hero__lead { font-size: var(--fs-lead); font-weight: 300; color: var(--muted); max-width: 30rem; margin-block: var(--s-4) var(--s-6); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.hero__side { grid-column: 8 / -1; }
.stage { position: relative; display: block; width: 100%; text-align: inherit; aspect-ratio: 1; background: var(--stage); overflow: hidden; cursor: pointer; }
.stage__items { position: absolute; inset: 0; }
.stage__item { position: absolute; inset: 0; visibility: hidden; background: var(--stage); }
.stage__item.is-active { visibility: visible; }
.stage__item .cq { position: absolute; inset: 7%; }
.stage__item .cq--fill { inset: 0; }
.stage__item img { width: 100%; height: 100%; object-fit: contain; }
.stage__item img.blend { mix-blend-mode: multiply; }
.stage__meta { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); font-size: var(--fs-small); }
.stage__count { color: var(--muted); font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.stage__count b { color: var(--ink); font-weight: 500; }
.stage__name { flex: 1; }
.stage__price { color: var(--muted); }
.stage__toggle { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color var(--t-fast); }
.stage__toggle:hover { border-color: var(--ink); }
.stage__bar { display: block; height: 1px; background: var(--line); position: relative; overflow: hidden; margin-top: var(--s-2); }
.stage__bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero__scroll { position: absolute; left: 50%; bottom: var(--s-3); transform: translateX(-50%); display: grid; justify-items: center; gap: .5rem; color: var(--muted); font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 36px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease-out) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Bandeau ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(1.25rem, 2.5vw, 2rem); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); }
.ticker span { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.1; white-space: nowrap; letter-spacing: -.01em; }
.ticker i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink); flex: 0 0 auto; }

/* ---------- La maison ---------- */
.maison__text { font-size: clamp(1.9rem, 3.6vw, 3.6rem); line-height: 1.18; letter-spacing: -.015em; max-width: 24ch; margin-block: var(--s-3) var(--s-8); }
.maison__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
.maison__grid .lead { grid-column: 1 / span 5; margin-top: 0; }
.values { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.value { border-top: 1px solid var(--ink); padding-top: var(--s-2); }
.value dt { font-weight: 500; margin-bottom: .4rem; }
.value dd { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Atelier ---------- */
.atelier { background: var(--surface); }
.atelier__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
.atelier__copy { grid-column: 1 / span 5; }
.config { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.field { display: grid; gap: .5rem; }
.field__label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.field__label span { color: var(--muted); }
.field__input {
  width: 100%; min-height: 3.25rem; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
  font: inherit; font-size: 1.0625rem; color: var(--ink); outline: none; resize: vertical; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.atelier .field__input { font-family: var(--f-head); font-size: 1.75rem; padding-block: .5rem; }
.field__input::placeholder { color: #A1A1AA; }
.field__input:focus { border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field.is-invalid .field__input { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field__error { color: var(--error); font-size: var(--fs-small); }
.field__help { color: var(--muted); font-size: .875rem; }
textarea.field__input { min-height: 6rem; line-height: 1.5; }
.opt { display: grid; grid-template-columns: 11rem 1fr; align-items: center; gap: var(--s-2); border-top: 1px solid #D4D4D8; padding-top: .5rem; }
.opt__legend { float: left; padding: 0; font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.opt__legend [data-ink-name] { color: var(--ink); }
.opt__list { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); }
.opt__list label, .opt__swatches label { position: relative; cursor: pointer; }
.opt__list input, .opt__swatches input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt__list span { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); box-shadow: inset 0 -1px 0 transparent; transition: color var(--t-fast), box-shadow var(--t-fast); }
.opt__list label:hover span { color: var(--ink); }
.opt__list input:checked + span { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.opt__list input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt__swatches { display: flex; gap: .25rem; }
.opt__swatches label { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; }
.opt__swatches span { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c); border: 1px solid rgba(10, 10, 10, .2); transition: box-shadow var(--t-fast); }
.opt__swatches input:checked + span { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--ink); }
.opt__swatches input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 5px; }
.opt__swatches { flex-wrap: wrap; }
.opt__swatches label[hidden] { display: none; }
/* Dépôt du logo */
.upload { position: relative; }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload__drop { display: flex; align-items: center; gap: .75rem; min-height: 4.5rem; padding: 1rem 1.25rem; border: 1px dashed var(--line-strong); color: var(--muted); font-size: var(--fs-small); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.upload__drop b { color: var(--ink); font-weight: 500; }
.upload__drop .ico { width: 1.4rem; height: 1.4rem; color: var(--ink); }
.upload__drop:hover, .upload.is-over .upload__drop { border-color: var(--ink); background: var(--bg); }
.upload__input:focus-visible + .upload__drop { outline: 2px solid var(--ink); outline-offset: 3px; }
.upload.has-file .upload__drop { display: none; }
.upload__file { display: flex; align-items: center; gap: .75rem 1rem; padding: .5rem .75rem; border: 1px solid var(--line-strong); background: var(--bg); }
.upload__file[hidden] { display: none; }
.upload.is-over .upload__file { border-color: var(--ink); }
.upload__thumb { flex: 0 0 auto; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--stage); }
.upload__thumb img { max-width: 80%; max-height: 80%; object-fit: contain; }
.upload__name { flex: 1; min-width: 0; font-size: var(--fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__link { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color var(--t-fast); }
.upload__link:hover { color: var(--ink); }
/* Pastilles de coloris (cartes, fiche) */
.product__colors { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product__color { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.swatch-row { display: flex; flex-wrap: wrap; margin-right: -.55rem; }
.sw { width: 2.25rem; height: 2.75rem; display: grid; place-items: center; }
.sw::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; background: var(--c); border: 1px solid rgba(10, 10, 10, .25); transition: box-shadow var(--t-fast), transform var(--t-fast); }
:root[data-theme="dark"] .sw::before { border-color: rgba(255, 255, 255, .3); }
.sw:hover::before { transform: scale(1.15); }
.sw[aria-pressed="true"]::before { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.cart__color { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c); border: 1px solid rgba(10, 10, 10, .25); margin-right: .35rem; vertical-align: .05em; }
.preview { grid-column: 7 / -1; position: sticky; top: calc(var(--header-h) + var(--s-4)); perspective: 1200px; }
.preview__stage { aspect-ratio: 1; background: var(--stage); display: grid; place-items: center; overflow: hidden; will-change: transform; }
.preview__fit { width: 88%; aspect-ratio: 1; }
.preview__stage { position: relative; }
.view-toggle { position: absolute; top: var(--s-2); right: var(--s-2); z-index: 5; display: flex; border: 1px solid rgba(10, 10, 10, .2); background: rgba(255, 255, 255, .85); }
.view-toggle button { min-width: 3.5rem; min-height: 2.75rem; padding: 0 .9rem; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #52525B; transition: background-color var(--t-fast), color var(--t-fast); }
.view-toggle button[aria-pressed="true"] { background: #0A0A0A; color: #FAFAFA; }
.view-toggle button:hover:not([aria-pressed="true"]) { color: #0A0A0A; }
.preview__hint { position: absolute; left: var(--s-2); bottom: var(--s-2); z-index: 5; max-width: calc(100% - 2rem); padding: .5rem .75rem; background: rgba(255, 255, 255, .9); color: #52525B; font-size: .8125rem; }
.preview__hint[hidden] { display: none; }
.pm__media { position: relative; }
.pm__media .view-toggle { top: var(--s-2); left: var(--s-2); right: auto; }
.preview__caption { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-2); font-size: var(--fs-small); }
.preview__note { color: var(--muted); text-align: right; max-width: 22rem; }

/* ---------- Marquages ---------- */
.cq { container-type: inline-size; position: relative; display: block; background: var(--stage); }
.cq img.blend { mix-blend-mode: multiply; }
.cq > img { width: 100%; height: 100%; object-fit: contain; }
/* Vêtement teint : couleur masquée par la silhouette, ombrage en produit */
.garment { position: absolute; inset: 0; display: block; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .1)); }
.garment__fill { position: absolute; inset: 0; background: var(--g); -webkit-mask: var(--shade) center / contain no-repeat; mask: var(--shade) center / contain no-repeat; }
.garment__shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
/* Logo déposé */
.mark.mark--logo {
  width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw); font-size: 0; color: transparent; text-shadow: none; filter: none;
  background: var(--logo) center / contain no-repeat; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}
.mark.mark--logo.is-mono { background: var(--ink-c); }
.mark.mark--logo.mark--broderie::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(118deg, rgba(255, 255, 255, .14) 0 .6px, rgba(0, 0, 0, .2) .6px 1.5px); }
.mark.mark--logo.mark--gravure { background: #7C7E82; opacity: .8; mix-blend-mode: multiply; }
.mark.mark--logo.mark--onlight.mark--impression { mix-blend-mode: multiply; }
.mark {
  --ink-c: #F5F5F5;
  position: absolute; left: var(--x, 50%); top: var(--y, 50%); z-index: 2;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  font-family: var(--f-body); font-weight: 600; font-size: calc(var(--f, 4) * 1cqw);
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; line-height: 1; color: var(--ink-c); pointer-events: none;
}
.mark--broderie {
  background-image: repeating-linear-gradient(118deg, var(--ink-c) 0 .05em, color-mix(in srgb, var(--ink-c) 82%, #000) .05em .075em);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .03em 0 rgba(0, 0, 0, .45));
}
.mark--impression.mark--onlight { mix-blend-mode: multiply; }
.mark--gravure { --ink-c: #7C7E82; font-weight: 500; letter-spacing: .2em; text-shadow: 0 1px 0 rgba(255, 255, 255, .85), 0 -1px 0 rgba(0, 0, 0, .12); }
.mark--ph { border: 1px dashed currentColor; padding: .45em .7em; font-weight: 500; letter-spacing: .16em; opacity: .8; }
.opt[hidden] { display: none; }
.mark--measure { position: absolute; left: -9999px; top: 0; visibility: hidden; font-size: 100px; transform: none; }

/* ---------- Collection ---------- */
.collection { position: relative; background: var(--bg); }
.collection__note { grid-column: 9 / -1; color: var(--muted); font-size: var(--fs-small); }
[data-brand-inline] { font-style: italic; }
.product { min-width: 0; display: flex; flex-direction: column; }
.product__back { position: absolute; inset: 0; background: var(--stage); opacity: 0; transition: opacity 500ms var(--ease-out); }
.product__side { position: absolute; right: var(--s-2); top: var(--s-2); z-index: 3; font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--stage-muted); opacity: 0; transition: opacity 300ms; }
@media (hover: hover) {
  .product__media:hover .product__back, .product__media:focus-visible .product__back { opacity: 1; }
  .product__media:hover .product__side, .product__media:focus-visible .product__side { opacity: 1; }
}
.product__media { position: relative; display: block; width: 100%; aspect-ratio: 1; background: var(--stage); overflow: hidden; cursor: pointer; }
.product__zoom { position: absolute; inset: 0; transition: transform 700ms var(--ease-out); }
.product__media:hover .product__zoom { transform: scale(1.04); }
.product__media .cq { position: absolute; inset: 7%; }
.product__media .cq--fill { inset: 0; }
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__media img.blend, .pm__media img.blend, .macro img.blend { mix-blend-mode: multiply; }
.product__meta { display: grid; grid-template-columns: 1fr auto; gap: .15rem var(--s-2); padding-top: var(--s-2); }
.product__name { font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.product__price { font-size: 1rem; font-variant-numeric: tabular-nums; }
.product__sub { grid-column: 1 / -1; color: var(--muted); font-size: var(--fs-small); }
.product__actions { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-2); padding-top: .25rem; border-top: 1px solid var(--line); }
.product__add { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.product__add .ico { transition: transform var(--t-base) var(--ease-out); }
.product__add:hover .ico { transform: rotate(90deg); }
.product__more { min-height: 2.75rem; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color var(--t-fast); }
.product__more:hover { color: var(--ink); }

/* ---------- Techniques ---------- */
.tech__head { max-width: 44rem; margin-bottom: var(--s-6); }
.tech__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.tech__visual { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + var(--s-4)); align-self: start; }
.tech__stage { position: relative; aspect-ratio: 1; background: var(--stage); overflow: hidden; max-height: calc(100svh - var(--header-h) - 7rem); margin-inline: auto; }
.macro { position: absolute; inset: 0; overflow: hidden; background: var(--stage); opacity: 0; transform: scale(1.06); transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out); }
.macro.is-active { opacity: 1; transform: scale(1); }
.macro .cq { position: absolute; inset: 0; transform-origin: var(--ox) var(--oy); transform: translate(var(--tx), var(--ty)) scale(var(--z)); }
.macro img { width: 100%; height: 100%; object-fit: contain; }
.tech__caption { display: flex; justify-content: space-between; margin-top: var(--s-2); font-size: var(--fs-small); color: var(--muted); }
.tech__zoom { font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.tech__list { grid-column: 8 / -1; }
.tech__item { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--s-6); border-top: 1px solid var(--line); }
.tech__item:first-child { border-top: 0; padding-top: 0; min-height: 60svh; justify-content: flex-start; }
.tech__title { font-size: clamp(1.9rem, 2.8vw, 2.75rem); line-height: 1.12; margin-block: var(--s-2) var(--s-3); }
.tech__text { color: var(--muted); max-width: 30rem; }
.macro--inline { display: none; }
.specs { margin-top: var(--s-4); }
.specs div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s-2); padding-block: .85rem; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs a { border-bottom: 1px solid var(--line-strong); transition: border-color var(--t-fast); overflow-wrap: anywhere; }
.specs a:hover { border-color: var(--ink); }

/* ---------- Usages ---------- */

/* ---------- Réalisations ---------- */
.works { background: var(--surface); }
.works__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); align-items: center; }
.works__copy { grid-column: 1 / span 4; }
.works .specs div { border-color: #D4D4D8; }
.compare { grid-column: 6 / -1; position: relative; }
.compare__frame { --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 732 / 487; background: #fff; user-select: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ink); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--ink); }
.compare__range { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 732 / 487; height: auto; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:focus-within .compare__frame { outline: 2px solid var(--ink); outline-offset: 4px; }
.compare__legend { display: flex; justify-content: space-between; margin-top: var(--s-2); font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Chiffres ---------- */
.figures { padding-block: clamp(4rem, 7vw, 6.5rem); background: var(--inverse); color: var(--on-inverse); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.figure { border-top: 1px solid var(--on-inverse-line); padding-top: var(--s-3); display: grid; gap: var(--s-2); align-content: start; }
.figure__n { font-size: clamp(2.75rem, 5vw, 5rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.figure__n small { font-family: var(--f-body); font-size: .28em; font-weight: 400; letter-spacing: .08em; margin-left: .35em; color: var(--on-inverse-muted); text-transform: uppercase; vertical-align: .2em; }
.figure__t { color: var(--on-inverse-muted); font-size: var(--fs-small); max-width: 16rem; }

/* ---------- Méthode ---------- */
.method__head { max-width: 46rem; margin-bottom: var(--s-8); }
.method__rail { margin-bottom: var(--s-4); }
.method__line { display: block; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.method__line i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.step__num { display: block; font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 1; color: #D4D4D8; margin-bottom: var(--s-3); transition: color 600ms var(--ease-out); font-variant-numeric: lining-nums; }
.step.is-on .step__num { color: var(--ink); }
.step__title { font-size: 1.125rem; font-weight: 500; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: var(--fs-small); max-width: 18rem; }

/* ---------- Préparer ---------- */

.checklist { grid-column: 7 / -1; border-top: 1px solid var(--ink); }
.check { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s-2); padding-block: var(--s-4); border-bottom: 1px solid #D4D4D8; }
.check__ico { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--ink); stroke-width: 1.5; margin-top: .15rem; }
.check__title { font-size: 1.125rem; font-weight: 500; margin-bottom: .35rem; }
.check p { color: var(--muted); font-size: var(--fs-small); max-width: 32rem; }

/* ---------- Livraison ---------- */
.ship__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.ship__grid > :first-child { grid-column: 1 / span 5; }
.ship__grid > :last-child { grid-column: 7 / -1; }
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.rates thead th { font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-block: .75rem; border-bottom-color: var(--ink); }
.rates tbody th { font-weight: 500; }
.rates td.num { white-space: nowrap; }
.rates small { display: block; color: var(--muted); font-size: .875rem; margin-top: .25rem; }
.ship__notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-6); }
.ship__notes p { color: var(--muted); font-size: var(--fs-small); margin-top: .5rem; }
.ship { background: var(--surface); }
.ship .rates th, .ship .rates td { border-bottom-color: color-mix(in srgb, var(--line) 55%, var(--line-strong)); }
.ship__cgv { margin-top: var(--s-3); color: var(--muted); font-size: var(--fs-small); }
.contact { background: var(--surface); }
.section-head .collection__note { max-width: 27rem; }
.collection .filters { margin: 0 0 var(--s-6); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + var(--s-4)); }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid #D4D4D8; }
.qa h3 { margin: 0; font: inherit; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-height: 4.5rem; padding-block: 1.25rem; text-align: left; font-size: 1.125rem; line-height: 1.4; transition: color var(--t-fast); }
.faq__q:hover { color: var(--muted); }
.faq__q .ico { transition: transform var(--t-base) var(--ease-out); }
.qa.is-open .faq__q .ico { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease-out); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { color: var(--muted); padding: 0 3rem 1.5rem 0; max-width: 42rem; }

/* ---------- Instagram (icône) ---------- */
.footer__insta { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; margin-block: -.45rem; }
@media (pointer: coarse) { .footer__nav a:not(.footer__insta) { padding-block: .35rem; } }
.footer__insta .ico, .menu__insta .ico { width: 1.35rem; height: 1.35rem; }
.header__insta .ico { width: 1.2rem; height: 1.2rem; }
.insta-mini { display: inline-flex; align-items: center; gap: .45rem; }
.menu__insta { margin-top: var(--s-2); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.form { grid-column: 7 / -1; display: grid; gap: var(--s-4); align-content: start; }
.form__required { color: var(--muted); font-size: .875rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form__hint { color: var(--muted); font-size: .875rem; }
.form__ok { padding: var(--s-3); border: 1px solid var(--ink); }
.form__ok[hidden] { display: none; }
.form__ok [hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Pied de page ---------- */
.footer { padding-top: var(--section); }
.footer .label { margin-bottom: var(--s-2); }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.footer__pitch { grid-column: 1 / span 4; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.3; }
.footer__nav { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.footer__nav div { display: grid; gap: .5rem; align-content: start; }
.footer__nav a { font-size: var(--fs-small); width: fit-content; opacity: .82; transition: opacity var(--t-fast); overflow-wrap: anywhere; }
.footer__nav a:hover { opacity: 1; }
.footer__mark { display: grid; justify-items: center; gap: clamp(.5rem, 1vw, 1rem); padding-block: var(--s-12) var(--s-6); overflow: hidden; }
.footer__mark { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
.footer__word { font-size: clamp(3rem, 17vw, 17rem); font-weight: 400; letter-spacing: .04em; padding-left: .04em; line-height: .9; white-space: nowrap; }
.footer__word .ch { display: inline-block; }
.footer__rule { width: 62%; height: clamp(2px, .55vw, 8px); background: var(--on-night); transform-origin: left; }
.footer__sub { font-size: clamp(.7rem, 1.2vw, 1rem); letter-spacing: .9em; padding-left: .9em; color: var(--on-night-muted); }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--s-2); padding-block: var(--s-3); border-top: 1px solid var(--on-night-line); color: var(--on-night-muted); font-size: .875rem; }
.footer__bottom a:hover { color: var(--on-night); }

/* ---------- Devis (tiroir) ---------- */
.cart { position: fixed; inset: 0; z-index: var(--z-overlay); }
.cart[hidden] { display: none; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .5); }
.cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; padding: var(--s-3) var(--s-4) var(--s-4); }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--s-3); border-bottom: 1px solid var(--ink); }
.cart__title { font-size: 1.75rem; }
.cart__list { flex: 1; }
.cart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s-2); align-items: center; padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.cart__thumb { position: relative; width: 64px; height: 64px; background: var(--stage); }
.cart__thumb .cq { position: absolute; inset: 6px; display: block; }
.cart__thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart__thumb img:not(.garment__shade) { mix-blend-mode: multiply; }
.cart__name { font-weight: 500; line-height: 1.3; }
.cart__unit { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: .5rem; }
.qty button { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; }
.qty button:hover { background: var(--surface); }
.qty input { width: 3.5rem; height: 2.75rem; border: 0; border-inline: 1px solid var(--line); text-align: center; font: inherit; font-variant-numeric: tabular-nums; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart__right { display: grid; justify-items: end; gap: .25rem; }
.cart__line { font-variant-numeric: tabular-nums; }
.cart__remove { color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; min-height: 2.75rem; }
.cart__remove:hover { color: var(--ink); }
.cart__empty { padding: var(--s-6) 0; color: var(--muted); display: grid; gap: var(--s-2); justify-items: start; }
.cart__empty .text-link { color: var(--ink); }
.cart__foot { padding-top: var(--s-3); display: grid; gap: var(--s-2); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total strong { font-size: 1.375rem; font-weight: 500; }
.cart__note { color: var(--muted); font-size: .875rem; }
.cart.is-empty .cart__foot { display: none; }
.cart:not(.is-empty) .cart__empty { display: none; }

/* ---------- Fiche article (panneau) ---------- */
.pm { padding: 0; border: 0; background: transparent; width: min(1080px, calc(100% - 2rem)); max-width: none; max-height: calc(100svh - 2rem); margin: auto; color: var(--ink); overflow: visible; }
.pm::backdrop { background: rgba(10, 10, 10, .5); }
.pm__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--bg); max-height: calc(100svh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.pm__close { position: absolute; right: var(--s-2); top: var(--s-2); z-index: 6; background: var(--bg); }
.pm__media { background: var(--stage); }
.pm__sticky { position: sticky; top: 0; }
.pm__stage { position: relative; aspect-ratio: 1; overflow: hidden; perspective: 1200px; }
.pm__stage .cq { position: absolute; inset: 7%; }
.pm__stage .cq--fill { inset: 0; }
.pm__stage .view-toggle { left: var(--s-2); right: auto; }
.view-toggle[hidden] { display: none; }
.pm__media img { width: 100%; height: 100%; object-fit: contain; }
.pm__hint { padding: 0 var(--s-3) var(--s-3); font-size: .875rem; color: #52525B; }
.pm__hint .link { color: #0A0A0A; }
.pm__body { padding: clamp(1.5rem, 3.5vw, 3rem); padding-top: clamp(2rem, 4vw, 3.5rem); display: grid; gap: var(--s-2); align-content: start; }
.pm__title { font-family: var(--f-body); font-weight: 400; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.15; letter-spacing: -.01em; padding-right: 3rem; }
.pm__price strong { font-size: 1.375rem; font-weight: 500; }
.pm__price span { color: var(--muted); font-size: var(--fs-small); }
.pm__note { color: var(--muted); font-size: .875rem; }
.pm__desc { color: var(--muted); }
.pm__body .specs { margin-top: var(--s-2); }
.pm__body > .text-link { justify-self: start; }
.pdp__block { padding-top: var(--s-2); border-top: 1px solid var(--line); }
.pdp__block[hidden], .specs div[hidden] { display: none; }
.pdp__block > .label { margin-bottom: .25rem; }
.pdp__block > .label span { color: var(--ink); letter-spacing: .08em; text-transform: none; font-size: .8125rem; }
.pdp__buy { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: stretch; padding-top: var(--s-2); border-top: 1px solid var(--line); }
.pdp__add { flex: 1; }
/* Tailles et guide */
.sizes { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .5rem; }
.sizes--pick button { min-width: 3.25rem; min-height: 2.75rem; padding: 0 .75rem; border: 1px solid var(--line-strong); font-size: .875rem; font-variant-numeric: tabular-nums; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.sizes--pick button:hover { border-color: var(--ink); }
.sizes--pick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size-guide { margin-top: var(--s-2); padding: var(--s-3); background: var(--surface); }
.size-guide__title { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-body); font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .5rem; }
.size-guide__title span { color: var(--muted); letter-spacing: .12em; }
.guide { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.guide th, .guide td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; transition: background-color var(--t-fast), color var(--t-fast); }
.guide thead th { color: var(--muted); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; border-bottom-color: var(--ink); }
.guide tbody th { font-weight: 500; }
.guide tr.is-on th, .guide tr.is-on td { background: var(--ink); color: var(--bg); }
.size-guide__how { margin-top: .75rem; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.size-guide__how b { color: var(--ink); font-weight: 500; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: var(--s-3); z-index: var(--z-toast); transform: translate(-50%, calc(100% + 3rem)); background: var(--ink); color: var(--bg); padding: .9rem 1.25rem; font-size: var(--fs-small); max-width: calc(100% - 2rem); transition: transform 400ms var(--ease-out); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  /* Une seule colonne : sur petit écran, les 11 gouttières d'une grille de 12 dépassent la largeur */
  .hero__grid, .maison__grid, .atelier__grid, .tech__grid, .works__grid, .ship__grid, .faq__grid, .contact__grid, .footer__top, .doc__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy, .hero__side, .atelier__copy, .preview, .works__copy, .compare, .tech__visual, .tech__list, .ship__grid > :first-child, .ship__grid > :last-child, .faq__head, .faq__list, .checklist, .form, .footer__pitch, .footer__nav, .collection__note, .maison__grid .lead, .values { grid-column: 1 / -1; }
  .hero { min-height: 0; padding-bottom: var(--s-12); }
  .hero__side { max-width: 520px; margin-top: var(--s-4); }
  .hero__scroll { display: none; }
  .preview { position: static; margin-top: var(--s-4); }
  .faq__head { position: static; }
  .tech__visual { display: none; }
  .macro--inline { display: block; position: relative; inset: auto; aspect-ratio: 1; opacity: 1; transform: none; margin-bottom: var(--s-3); max-width: 520px; }
  .tech__item, .tech__item:first-child { min-height: 0; padding-block: var(--s-6); border-top: 1px solid var(--line); }
  .tech__item:first-child { border-top: 0; padding-top: 0; }
  .figures__grid { grid-template-columns: 1fr 1fr; row-gap: var(--s-6); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s-6); }
  .values { margin-top: var(--s-4); }
  .grid-products { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-3); }
  .product { width: auto; min-width: 0; }
}
@media (max-width: 640px) {
  .steps, .form__row, .ship__notes, .footer__nav, .grid-products, .values { grid-template-columns: 1fr; }
  .figures__grid { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-3); }
  .opt { grid-template-columns: 1fr; gap: 0; }
  .preview__caption { flex-direction: column; }
  .preview__note { text-align: left; }
  .pm { width: 100%; height: 100%; max-height: none; margin: 0; }
  .pm__inner { grid-template-columns: 1fr; height: 100%; max-height: none; }
  .pm__sticky { position: static; }
  .pm__stage { width: min(100%, 52svh); margin-inline: auto; }
  .pm__body { padding: var(--s-4) var(--gutter) var(--s-6); }
  .rates thead { display: none; }
  .rates tr { display: grid; grid-template-columns: 1fr auto; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .rates th, .rates td { border: 0; padding: 0; }
  .rates td:last-child { grid-column: 1 / -1; color: var(--muted); margin-top: .25rem; }
  .footer__bottom { flex-direction: column; }
  .header__actions { gap: var(--s-1); }
  .header__insta { display: none; }
  .stage__name { font-size: .875rem; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.reduced .stage__toggle, .reduced .stage__bar { display: none; }

/* =========================================================
   Éléments partagés avec les pages légales
   ========================================================= */

/* Transition vers / depuis les pages légales */
.curtain { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; background: var(--ink); color: var(--bg); transform: scaleY(0); transform-origin: 50% 100%; pointer-events: none; }
.curtain__logo { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: .1em; opacity: .9; }
.is-arriving .curtain { transform: scaleY(1); }
.reduced .curtain { display: none; }

/* En-têtes de page */
.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-head .lead { max-width: 40rem; }
.page-head--center { text-align: center; display: grid; justify-items: center; min-height: 70svh; align-content: center; }
.page-head--center .hero__ctas { justify-content: center; margin-top: var(--s-4); }
.page-title { font-family: var(--f-head); font-weight: 400; font-optical-sizing: none; font-variation-settings: "opsz" 28; font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; margin-top: var(--s-2); }
.section--tight { padding-top: clamp(1rem, 2vw, 2rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }
.section-head .h2 { margin-top: var(--s-2); }

/* Grille d'articles */
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-4); }
.product[hidden] { display: none; }
.sw-more { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding-left: .2rem; font-size: .8125rem; color: var(--muted); transition: color var(--t-fast); }
.sw-more:hover { color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-4); }
.filter { min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.filter sup { font-size: .6rem; margin-left: .2rem; color: var(--muted); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.is-active sup { color: inherit; opacity: .7; }

/* Bannière (maquette) */
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-8); padding: clamp(2rem, 4vw, 3.5rem); }
.banner .h2 { font-size: clamp(1.75rem, 2.6vw, 2.6rem); margin-block: var(--s-1); }
.banner p:not(.label) { color: var(--on-night-muted); font-size: var(--fs-small); }
:root[data-theme="dark"] .banner { border: 1px solid var(--line); }

/* Fiche article : quantité et pastilles */
.qty--lg { margin-top: 0; }
.qty--lg button { width: 3.25rem; height: 3.25rem; }
.qty--lg input { width: 4rem; height: 3.25rem; }
.swatch-row--big { margin: .25rem 0 0 -.4rem; }
.swatch-row--big .sw { width: 2.75rem; }
.swatch-row--big .sw::before { width: 1.5rem; height: 1.5rem; }

/* Atelier : actions */
.config__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid #D4D4D8; }

/* Pages légales */
.doc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
.toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + var(--s-3)); display: grid; gap: .15rem; }
.toc .label { margin-bottom: var(--s-1); }
.toc a { padding-block: .35rem; font-size: .875rem; color: var(--muted); border-left: 1px solid var(--line); padding-left: var(--s-2); transition: color var(--t-fast), border-color var(--t-fast); }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.prose { grid-column: 5 / -1; max-width: 46rem; }
.prose h2 { font-family: var(--f-body); font-size: 1.375rem; font-weight: 500; line-height: 1.3; margin: var(--s-6) 0 var(--s-2); scroll-margin-top: calc(var(--header-h) + var(--s-2)); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: var(--s-2); }
.prose ul { display: grid; gap: .5rem; padding-left: 1.1rem; list-style: square; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose .rates { margin-top: var(--s-2); }
.form-model { padding: var(--s-3); border: 1px solid var(--line); line-height: 2; }
mark.todo { background: #FDE68A; color: #3F2D00; padding: .05em .3em; border-radius: 2px; }
.link { border-bottom: 1px solid currentColor; transition: color var(--t-fast); }
.link:hover { color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.clear-status { margin-top: var(--s-2); font-size: .875rem; }

/* Contact */
.contact__grid { align-items: start; }
.contact .form { grid-column: 1 / span 7; }
.contact__aside { grid-column: 9 / -1; display: grid; gap: var(--s-6); position: sticky; top: calc(var(--header-h) + var(--s-4)); }
.specs--first { margin-top: 0; }
.checklist-box .label { margin-bottom: var(--s-2); }
.checklist-box .checklist { border-top: 1px solid var(--ink); }
.checklist-box .check { padding-block: var(--s-3); }
.checklist-box .check__title { font-size: 1rem; }
.form__legal { color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.footer__hours { color: var(--on-night-muted); font-size: var(--fs-small); }

@media (max-width: 900px) {
  .doc__grid { grid-template-columns: minmax(0, 1fr); }
  .toc, .prose, .contact .form, .contact__aside { grid-column: 1 / -1; }
  .toc { position: static; margin-bottom: var(--s-4); }
  .contact__aside { position: static; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-3); }
}
@media (max-width: 640px) {
  .grid-products { grid-template-columns: 1fr; }
  .pdp__buy { flex-direction: column; }
}

/* Atelier sur mobile : l'aperçu reste visible pendant qu'on règle les options */
@media (max-width: 900px) {
  /* Titre, puis aperçu collant, puis options */
  .atelier__copy { display: contents; }
  .atelier .preview { order: 1; position: sticky; top: var(--header-h); z-index: 5; margin-top: var(--s-4); padding-block: .5rem .75rem; background: var(--surface); transition: top 300ms var(--ease-out); }
  .atelier .config { order: 2; margin-top: var(--s-2); }
  .header.is-hidden ~ main .atelier .preview { top: 0; }
  .atelier .preview__stage { width: min(100%, 40svh); margin-inline: auto; }
  .atelier .preview__caption { display: none; }
  .atelier .view-toggle button { min-width: 3rem; padding: 0 .6rem; }
}
