/* CERCLE · catalogue — graphite, blanc cassé et rouge course */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter.woff2") format("woff2-variations"), url("../fonts/inter.woff2") format("woff2"); }

:root {
  --bg: #0F1012;
  --bg-2: #141518;
  --surface: #191B1E;
  --tile: #E6E6E3;
  --ink: #F1EFEA;
  --ink-2: #C9C7C1;
  --muted: #8B8E93;
  --line: #26282C;
  --line-2: #34373C;
  --red: #D7262E;
  --red-2: #FF3B3F;
  --amber: #F2A93B;
  --green: #3FBF6B;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 3px;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { margin: 0 0 12px; font: 600 11px/1.4 var(--display); font-stretch: 118%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow::before { content: ""; width: 3px; height: 12px; background: var(--red); flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; font-stretch: 112%; letter-spacing: -0.02em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.06; }
.lead { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }

/* ruban, en-tête, shift lights */
.ribbon { background: #08090A; color: var(--muted); text-align: center; font-size: 11.5px; letter-spacing: 0.08em; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(15, 16, 18, 0.86); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo b { font: 700 15px/1 var(--display); font-stretch: 125%; letter-spacing: 0.34em; margin-right: -0.34em; }
.logo-mark { position: relative; width: 22px; height: 22px; border: 2.5px solid var(--ink); border-radius: 50%; }
.logo-mark::after { content: ""; position: absolute; top: -3px; left: 50%; width: 3px; height: 6px; margin-left: -1.5px; background: var(--red); border-radius: 1px; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; text-decoration: none; font-size: 13.5px; color: var(--ink-2); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; border-radius: var(--r); }
.shift { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; pointer-events: none; }
.shift i { background: transparent; transition: background .25s, box-shadow .25s; }
.shift i.on { background: var(--green); box-shadow: 0 0 6px var(--green); }
.shift i.on.y { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.shift i.on.r { background: var(--red-2); box-shadow: 0 0 8px var(--red-2); }
.shift.max i.on { animation: blink .18s steps(2) 4; }
@keyframes blink { 50% { opacity: .15; } }

/* boutons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; white-space: nowrap; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); border-radius: var(--r); font: 600 12.5px/1 var(--display); font-stretch: 112%; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-18deg); transition: left .6s var(--ease); pointer-events: none; }
.btn:hover::after { left: 120%; }
.btn:hover { background: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-2); border-color: var(--red-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.ghost::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .cta { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 13.5px; text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; width: fit-content; }

/* hero */
.hero { position: relative; padding: 64px 0 80px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(215, 38, 46, 0.10), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.018) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.018) 0 6px, transparent 6px 12px); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-txt .lead { margin: 22px 0 0; }
.lights { display: inline-flex; gap: 5px; margin-left: 4px; }
.lights i { width: 7px; height: 7px; border-radius: 50%; background: #2A2C30; box-shadow: inset 0 0 0 1px #3A3D42; transition: background .12s, box-shadow .12s; }
.lights i.on { background: var(--red-2); box-shadow: 0 0 8px var(--red-2); }
.hero h1, .hero .lead, .hero .cta, .hero .facts { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero .lead { transition-delay: .08s; } .hero .cta { transition-delay: .16s; } .hero .facts { transition-delay: .24s; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 46px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.facts dt { font: 600 21px/1.2 var(--display); font-stretch: 112%; }
.facts dd { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.hero-art { position: relative; aspect-ratio: 1 / 0.92; }
.hero-art figure { position: absolute; margin: 0; background: var(--tile); overflow: hidden; border-radius: var(--r); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.h1f { inset: 0 18% 8% 0; }
.h1f::before { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 4px; height: 12px; margin-left: -2px; background: var(--red); }
.h2f { width: 36%; aspect-ratio: 1; right: 0; top: 6%; outline: 6px solid var(--bg); }
.h3f { width: 30%; aspect-ratio: 1; right: 6%; bottom: 0; outline: 6px solid var(--bg); }
.hero-art img.steer { transition: transform .9s var(--ease); }

/* film de l'atelier */
.film { padding: 72px 0 0; }
.film-in { position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.film-in video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-in::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 11, 13, 0.82) 0%, rgba(10, 11, 13, 0.55) 34%, rgba(10, 11, 13, 0) 62%); }
.film-in::after { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 4px; height: 14px; margin-left: -2px; background: var(--red); }
.film-cap { position: absolute; z-index: 2; left: clamp(20px, 5vw, 64px); bottom: clamp(20px, 6vw, 72px); max-width: 420px; }
.film-cap h2 { font-size: clamp(26px, 3.2vw, 44px); }
.film-cap .muted { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; max-width: 36ch; }
.film-btn { position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(15, 16, 18, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.film-btn:hover { background: var(--red); border-color: var(--red); }
.film-btn .i-pause { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.film-btn.paused .i-pause { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 640px) {
  .film { padding-top: 40px; }
  .film-in { aspect-ratio: 4 / 5; }
  .film-in::before { background: linear-gradient(0deg, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.5) 38%, rgba(10, 11, 13, 0) 65%); }
  .film-cap { left: 18px; right: 18px; bottom: 22px; }
  .film-cap .muted { font-size: 13.5px; }
  .film-btn { top: 12px; bottom: auto; right: 12px; width: 38px; height: 38px; }
}

/* catalogue */
.cat { padding-top: 76px; padding-bottom: 92px; }
.cat-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.cat-count { margin: 0; font: 600 13px/1 var(--display); font-stretch: 118%; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: baseline; gap: 8px; }
.cat-count #count { font-size: 34px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 34px; position: sticky; top: var(--hdr); z-index: 30; background: rgba(15, 16, 18, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: transparent; padding: 8px 15px; border-radius: 40px; font-size: 13px; cursor: pointer; display: inline-flex; gap: 7px; align-items: baseline; transition: border-color .2s, background .2s, color .2s; }
.chip small { font-size: 11px; color: var(--muted); }
.chip.sm { padding: 6px 13px; font-size: 12.5px; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] small { color: #5E6166; }
.chip.sm[aria-pressed="true"] { background: transparent; color: var(--ink); border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.tools { display: flex; gap: 10px; margin-left: auto; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 12px; height: 38px; min-width: 240px; background: var(--surface); color: var(--muted); transition: border-color .2s; }
.search:focus-within { border-color: var(--ink-2); }
.search input { border: 0; outline: 0; background: transparent; color: var(--ink); width: 100%; font-size: 13.5px; }
.sort select { height: 38px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 0 30px 0 12px; font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.card[hidden] { display: none; }
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.ph { position: relative; display: block; aspect-ratio: 1; background: var(--tile); overflow: hidden; border-radius: var(--r); }
.ph::before { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 4px; height: 0; margin-left: -2px; background: var(--red); transition: height .4s var(--ease); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .9s var(--ease); }
.ph .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .ph::before { height: 22px; }
  .card:hover .ph img { transform: scale(1.04) rotate(-7deg); }
  .card:hover .ph .alt { opacity: 1; }
}
.meta { display: flex; flex-direction: column; gap: 3px; padding-top: 15px; }
.meta .eyebrow { margin: 0; font-size: 10px; letter-spacing: 0.16em; }
.meta .eyebrow::before { display: none; }
.nm { font: 600 18px/1.25 var(--display); font-stretch: 108%; letter-spacing: -0.01em; color: var(--ink); }
.fit { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr { margin-top: 8px; font: 600 15px/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; display: flex; gap: 6px; align-items: baseline; }
.pr small { font: 400 12px/1 var(--body); color: var(--muted); }
.pending { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 26px 22px; justify-content: center; background: var(--bg-2); }
.pend-in { display: flex; flex-direction: column; gap: 12px; }
.pending .nm { font-size: 22px; }
.pending .fit { white-space: normal; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.empty a { color: var(--ink); }

/* étapes */
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 92px 0; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 46px 0 0; }
.steps li { counter-increment: s; position: relative; border-top: 1px solid var(--line-2); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--red); transition: width 1s var(--ease); transition-delay: calc(var(--i) * .15s); }
.steps.in li::after { width: 40px; }
.steps li::before { content: "0" counter(s); font: 600 34px/1 var(--display); font-stretch: 118%; color: var(--ink); }
.steps b { font-weight: 500; }
.steps span { color: var(--muted); font-size: 14px; }

/* atelier */
.atelier { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.atelier-txt .lead { margin: 18px 0 0; }
.atelier-sw { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.atelier-sw img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); transition: transform .4s var(--ease); }
.atelier-sw img:hover { transform: scale(1.06); }

/* fiche produit */
.crumbs { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); padding-top: 24px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.prod { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding-top: 22px; padding-bottom: 84px; align-items: start; }
.gal { position: sticky; top: calc(var(--hdr) + 20px); }
.stage { position: relative; background: var(--tile); aspect-ratio: 1; overflow: hidden; border-radius: var(--r); }
.stage::before { content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 4px; height: 12px; margin-left: -2px; background: var(--red); }
.stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .25s; will-change: transform; }
.stage img.swap { opacity: .25; }
.nav-b { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(15, 16, 18, 0.78); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.nav-b:hover { background: var(--red); }
.prev { left: 14px; } .next { right: 14px; }
.idx { position: absolute; z-index: 3; bottom: 14px; right: 14px; background: rgba(15, 16, 18, 0.78); color: var(--ink); font: 600 11px/1 var(--display); font-stretch: 118%; padding: 6px 10px; letter-spacing: 0.1em; border-radius: 2px; }
.steer-hint { position: absolute; z-index: 3; bottom: 14px; left: 14px; background: rgba(15, 16, 18, 0.78); color: var(--ink-2); font-size: 11.5px; padding: 6px 10px; border-radius: 2px; transition: opacity .6s; }
.steer-hint.gone { opacity: 0; }
.ths { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.th { position: relative; padding: 0; border: 0; background: var(--tile); cursor: pointer; aspect-ratio: 1; opacity: .55; border-radius: 2px; overflow: hidden; transition: opacity .2s; }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.th:hover { opacity: .9; }
.th[aria-current="true"] { opacity: 1; }
.th[aria-current="true"]::after { transform: scaleX(1); }
.info h1 { font-size: clamp(30px, 3.3vw, 46px); }
.fitl { margin: 14px 0 0; color: var(--ink-2); font-size: 14px; }
.fitl span { display: inline-block; margin-right: 8px; font: 600 10.5px/1 var(--display); font-stretch: 118%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.price { margin: 24px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.price strong { font: 600 38px/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price .from { font-size: 13px; color: var(--muted); }
.price .muted { font-size: 12.5px; }
.var { border: 0; padding: 0; margin: 22px 0 0; }
.var legend { font: 600 10.5px/1 var(--display); font-stretch: 118%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; gap: 8px; align-items: baseline; border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 16px; font-size: 13.5px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.opt em { font-style: normal; color: var(--muted); font-size: 12px; }
.opt span:hover { border-color: var(--ink-2); }
.opt input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.opt input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 2px; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.buy .btn { flex: 1 1 210px; }
.info > .small { margin: 12px 0 0; }
.feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.feats li { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 12px; }
.feats li::before { content: ""; width: 3px; height: 14px; margin-top: 5px; background: var(--red); grid-row: span 2; }
.feats b { font-weight: 500; font-size: 14.5px; }
.feats span { color: var(--muted); font-size: 13.5px; }
.perso-mini { margin-top: 30px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.pm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.pm-head b { font-weight: 500; }
.pm-head a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; border-bottom: 1px solid var(--red); }
.pm-sw { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; margin: 14px 0 12px; }
.pm-sw img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.perso-mini .small { margin: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 26px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 0; font-weight: 500; font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.rel { padding-bottom: 100px; border-top: 1px solid var(--line); padding-top: 64px; }
.rel h2 { margin-bottom: 30px; }

/* pages éditoriales */
.phead { padding-top: 64px; padding-bottom: 36px; }
.phead .lead { margin: 18px 0 0; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 13px; }
.toc a { text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.toc a:hover { color: var(--ink); border-color: var(--red); }
.psec { padding-top: 48px; padding-bottom: 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.psec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.psec-h p { margin: 0; max-width: 56ch; font-size: 14px; }
.sw { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 16px; align-items: start; }
.sw-b { all: unset; display: block; cursor: pointer; position: relative; }
.sw-b:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
.sw-b img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--tile); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .25s; }
.sw-b:hover img { transform: translateY(-3px); }
.sw-b[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--red); }
.sw-b[aria-pressed="true"]::after { content: ""; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.sw-b .cap { font-size: 13px; margin-top: 10px; display: flex; flex-direction: column; }
.sw-b .cap small { color: var(--muted); font-size: 12px; }
.sw.pat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sw.pat img { aspect-ratio: 470 / 146; }
.sw.lth { --lc: #4A4D52; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sw-b .tx { display: block; aspect-ratio: 1; border-radius: var(--r); background-color: var(--lc); background-size: cover; background-position: center; background-blend-mode: multiply; transition: background-color .5s var(--ease), transform .35s var(--ease), box-shadow .25s; }
.sw-b:hover .tx { transform: translateY(-3px); }
.sw-b[aria-pressed="true"] .tx { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--red); }
.mix-items .tx { width: 38px; height: 38px; flex: none; border-radius: 3px; background-color: var(--lc); background-size: cover; background-blend-mode: multiply; animation: pop .35s var(--ease); }
.psec-h.sub { margin: 44px 0 20px; }
.psec-h h3 { font: 600 20px/1.2 var(--display); font-stretch: 112%; }
.sw.col { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px 14px; }
.sw-b .cc { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--c) url("../img/perso/trame-cuir-2.webp") center / 180% auto; background-blend-mode: multiply; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), inset 0 -8px 14px rgba(0,0,0,0.25); transition: transform .35s var(--ease), box-shadow .25s; }
.sw-b:hover .cc { transform: translateY(-3px); }
.sw-b[aria-pressed="true"] .cc { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--red); }
.sw.col .sw-b[aria-pressed="true"]::after { top: -2px; right: -2px; }
.sw.col .cap { text-align: center; font-size: 12px; }
.mix-items .dot { width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--c) url("../img/perso/trame-cuir-2.webp") center / 180% auto; background-blend-mode: multiply; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); animation: pop .35s var(--ease); }
.sw.rep { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sw.rep img { aspect-ratio: 415 / 165; background: #fff; }
.rim, .rp { position: relative; display: block; overflow: hidden; background: var(--tile); }
.rim { aspect-ratio: 16 / 10; border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .25s; }
.rim::before, .rp::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, #1E2023 0 3px, #2C2F33 3px 6px), #222;
  -webkit-mask: radial-gradient(ellipse 125% 150% at 50% 135%, transparent 55%, #000 55.5%, #000 73%, transparent 73.5%);
          mask: radial-gradient(ellipse 125% 150% at 50% 135%, transparent 55%, #000 55.5%, #000 73%, transparent 73.5%); }
.rim .st, .rp .st { position: absolute; inset: 0; display: flex; justify-content: center;
  -webkit-mask: radial-gradient(ellipse 125% 150% at 50% 135%, transparent 55%, #000 55.5%, #000 73%, transparent 73.5%);
          mask: radial-gradient(ellipse 125% 150% at 50% 135%, transparent 55%, #000 55.5%, #000 73%, transparent 73.5%); }
.rim .st i { width: 4.5%; height: 100%; }
.sw-b:hover .rim { transform: translateY(-3px); }
.sw-b[aria-pressed="true"] .rim { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--red); }
.mix-items img[src*='repere-'] { width: 70px; object-fit: cover; background: #fff; }
.mix-items .rp { width: 54px; height: 38px; flex: none; border-radius: 3px; animation: pop .35s var(--ease); }
.rp .st i { width: 7%; height: 100%; }
.plus { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.plus li { border-top: 1px solid var(--line-2); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.plus b { font-weight: 500; }
.plus span { color: var(--muted); font-size: 13.5px; }
.prose { margin-top: 26px; max-width: 70ch; }
.prose p { color: var(--ink-2); }
.mix { position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(760px, calc(100% - 24px)); transform: translate(-50%, 140%); transition: transform .5s var(--ease); background: rgba(25, 27, 30, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); border-radius: 6px; padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); }
.mix.show { transform: translate(-50%, 0); }
.mix-t { font: 600 10.5px/1 var(--display); font-stretch: 118%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.mix-items { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mix-items::-webkit-scrollbar { display: none; }
.mix-items img { width: 38px; height: 38px; object-fit: cover; border-radius: 3px; flex: none; animation: pop .35s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.mix .btn { min-height: 42px; padding: 0 18px; flex: none; }
.mix-x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; padding: 4px 6px; }

/* formulaire */
.form { display: grid; gap: 16px; padding-bottom: 32px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.form small { font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 12px 14px; font-size: 15px; font-weight: 400; color: var(--ink); transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.form .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.hp { position: absolute; left: -9999px; }
.sel-prod { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--r); }
.sel-prod[hidden] { display: none; }
.sel-prod img { width: 84px; height: 84px; object-fit: cover; border-radius: 2px; }
.sel-prod .eyebrow { margin: 0 0 4px; }
.sel-prod .eyebrow::before { display: none; }
.sel-prod b { font: 600 18px/1.25 var(--display); font-stretch: 108%; display: block; }
.contact-side { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 28px 0 92px; border-top: 1px solid var(--line); font-size: 14px; }
.contact-side p { margin: 0; color: var(--ink-2); }
.contact-side b { font-weight: 500; color: var(--ink); }
.done-flag { width: 72px; height: 48px; margin: 0 auto 26px; border-radius: 3px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--bg) 0 50%) 0 0 / 16px 16px; transform-origin: left center; animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-5deg) scaleX(.96); } }

/* pied de page */
.ftr { border-top: 1px solid var(--line); background: #0B0C0D; padding: 56px 0 32px; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.ftr p { font-size: 13.5px; margin: 14px 0 0; }
.ftr nav { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.ftr nav a { text-decoration: none; color: var(--ink-2); }
.ftr nav a:hover { color: var(--ink); }
.ftr-t { font: 600 10.5px/1.4 var(--display); font-stretch: 118%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ftr .legal { font-size: 11.5px; color: var(--muted); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }

/* responsive */
@media (max-width: 1100px) {
  .grid, .g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sw.lth { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --hdr: 58px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: var(--hdr); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red-2); }
  .hero { padding: 32px 0 52px; }
  .hero-in, .prod, .atelier { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-art { order: -1; aspect-ratio: 1 / 0.8; }
  .gal { position: static; }
  .steps, .plus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { position: static; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tools { margin-left: 0; width: 100%; }
  .search { flex: 1; min-width: 0; }
  .atelier { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .grid, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .nm { font-size: 15.5px; }
  .fit { font-size: 11.5px; }
  .pr { font-size: 14px; }
  .meta .eyebrow { font-size: 9px; letter-spacing: 0.12em; }
  .facts { gap: 10px; }
  .facts dt { font-size: 16px; }
  .facts dd { font-size: 11px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; width: calc(100% + 40px); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .filters { gap: 10px; }
  .cat-count #count { font-size: 28px; }
  .sw { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .sw.pat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw.lth { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .sw.lth .cap small { display: none; }
  .psec-h.sub { margin: 28px 0 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .row2, .contact-side, .ftr-in { grid-template-columns: minmax(0, 1fr); }
  .pm-sw { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .atelier-sw { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-b { width: 38px; height: 38px; }
  .ths { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ths::-webkit-scrollbar { display: none; }
  .ribbon { font-size: 10.5px; letter-spacing: 0.04em; }
  .mix { padding: 10px; gap: 10px; top: calc(var(--hdr) + 10px); bottom: auto; transform: translate(-50%, calc(-100% - var(--hdr) - 20px)); }
  .mix.show { transform: translate(-50%, 0); }
  .sw.col { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 10px; }
  .sw.rep { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .sw.rep .cap { font-size: 12px; }
  .mix-t { display: none; }
  .mix .btn { padding: 0 14px; font-size: 11px; }
  .steer-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WhatsApp */
.wa-ico { width: 1.25em; height: 1.25em; flex: none; color: #25D366; }
.btn .wa-ico { width: 18px; height: 18px; }
.wa-line { display: inline-flex; align-items: center; gap: 8px; }
.wa-tag { color: var(--ink-2); }
.wa-link { font-size: 17px; font-weight: 500; letter-spacing: 0.02em; }
@media (min-width: 701px) { .buy .wa-tag { display: none; } }
