/* ═══════════════════════════════════════════════════════════
   QUE DU FULL — V3 (prototype A) « Noir »
   Page noire, petite police à chasse fixe, les pièces détourées
   en grille. Accents : bande déchirée « NEW DROP », contour rouge
   au survol / à l'appui, fiche encadrée sur page floutée.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #000;
  --ink: #f2f1ed;          /* texte principal */
  --mute: #8f8e8a;         /* texte secondaire (lisible sur noir) */
  --line: #262626;         /* filets */
  --tile: #e7e6e2;         /* fond uni derrière les pièces */
  --card: #f3f2ee;         /* fond de la fiche encadrée */
  --paper: #ebe8df;        /* papier de la bande déchirée */
  --red: #ff2a1f;          /* contour façon Diesel, story en direct */
  --blue: #10208a;         /* bleu Que Du Full */
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --cond: "Anton", Impact, "Arial Narrow", sans-serif;
  --gut: 16px;
  --bar: 48px;
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  --sl: env(safe-area-inset-left, 0px);
  --sr: env(safe-area-inset-right, 0px);
  color-scheme: dark;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + var(--st) + 8px);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font: 400 12px/1.5 var(--mono);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
a { color: inherit; }
sup { font-size: 9px; vertical-align: top; position: relative; top: -1px; color: var(--mute); margin-left: 2px; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 8px; top: 8px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: #000; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
.lbl { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 8px; }
.mute { color: var(--mute); }
.lnk {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 12px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.lnk:hover { color: var(--red); }

/* ─── Point rouge « en direct » ─── */
.dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-left: 6px; vertical-align: middle; position: relative; top: -1px; }
body.story-live .dot { display: inline-block; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* ═════════ BARRE FIXE (téléphone) ═════════ */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: calc(var(--bar) + var(--st));
  padding: var(--st) max(6px, var(--sr)) 0 max(6px, var(--sl));
  display: flex; align-items: center; gap: 4px;
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-105%); visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s .35s;
}
body.show-bar .bar { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.bar__logo { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.bar__logo img { width: 26px; height: auto; }
.bar__logo::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px solid transparent; }
.bar__logo.is-live::before { border-color: var(--red); }
.bar__logo.is-seen::before { border-color: #4a4a4a; }
.bar__mid {
  flex: 1; min-width: 0; min-height: 44px; display: grid; place-items: center;
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.bar__mid > * { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bar__filter { display: none; min-height: 44px; padding: 0 8px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
body.in-shop .bar__clock { display: none; }
body.in-shop .bar__filter { display: block; }
.bar__filter b { font-weight: 400; color: var(--mute); }
.bar__filter::after { content: " ▾"; color: var(--mute); }
.bar__filter[aria-expanded="true"]::after { content: " ▴"; }
.bar__menu { min-height: 44px; min-width: 56px; padding: 0 10px; font-size: 12px; }

/* Filtres rapides (sous la barre) */
.filterpop {
  position: fixed; z-index: 39; left: 0; right: 0; top: calc(var(--bar) + var(--st));
  max-height: calc(100svh - var(--bar) - var(--st)); overflow-y: auto;
  padding: 18px max(var(--gut), var(--sr)) calc(18px + var(--sb)) max(var(--gut), var(--sl));
  background: #000; border-bottom: 1px solid var(--line);
  animation: drop-in .25s ease-out;
}
.filterpop__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.filterpop .flist button { min-height: 44px; }
.filterpop__ok {
  width: 100%; min-height: 48px; margin-top: 12px;
  border: 1px solid var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }

/* ═════════ INTRO / COLONNE ═════════ */
.side {
  position: relative;
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  padding: calc(var(--st) + 64px) max(var(--gut), var(--sr)) 72px max(var(--gut), var(--sl));
  text-align: center;
}
.side__clock {
  position: absolute; left: 0; right: 0; top: calc(var(--st) + 18px);
  font-size: 11px; letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.side__id { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo { position: relative; width: 124px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; cursor: default; }
.logo img { width: 72%; height: auto; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.storyring__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; transition: border-color .3s; }
.logo.is-live, .logo.is-seen { cursor: pointer; }
.logo.is-live .storyring__ring { border-color: var(--red); animation: ring 2.4s ease-out infinite; }
.logo.is-seen .storyring__ring { border-color: #4a4a4a; }
.logo.is-live:hover img, .logo.is-seen:hover img { transform: scale(.94); }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 42, 31, .45); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(255, 42, 31, 0); }
}
.live { min-height: 18px; font-size: 11px; color: var(--mute); }
.live .rec { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 7px; position: relative; top: -1px; animation: blink 1.6s steps(2, start) infinite; }
.live b { font-weight: 400; color: var(--ink); }
.live a, .live button { text-decoration: underline; text-underline-offset: 3px; }

.menu { display: flex; flex-direction: column; align-items: center; }
.menu a {
  display: block; padding: 11px 18px; font-size: 13px; line-height: 22px;
  text-decoration: none; text-transform: lowercase;
}
.menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.side__filters { display: none; }
.side__foot { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); line-height: 1.8; }
.side__down {
  position: absolute; bottom: calc(14px + var(--sb)); left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; text-decoration: none; color: var(--mute);
  animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translate(-50%, 5px); } }

/* Listes de filtres (colonne ordinateur + filtres rapides) */
.flist { margin: 0 0 18px; }
.flist button {
  display: flex; align-items: center; width: 100%; min-height: 26px; padding: 2px 0;
  text-align: left; font-size: 12px; text-transform: lowercase; color: var(--mute);
}
.flist button::before { content: "["; visibility: hidden; }
.flist button::after { content: "]"; visibility: hidden; }
.flist button[aria-pressed="true"] { color: var(--ink); }
.flist button[aria-pressed="true"]::before, .flist button[aria-pressed="true"]::after { visibility: visible; }
.flist button:hover { color: var(--ink); }
.flist sup { order: 3; }

/* ═════════ BANDE DÉCHIRÉE « NEW DROP » ═════════ */
.drop { position: relative; padding: 44px 0 0; overflow: hidden; }
.drop__paper {
  position: relative; z-index: 1;
  width: 114%; margin-left: -7%;
  padding: 30px calc(7% + var(--gut)) 30px;
  color: #0b0b0b;
  transform: rotate(-2.2deg);
}
.drop__fibre, .drop__sheet { position: absolute; inset: 0; }
.drop__fibre { background: #fbfaf6; }
.drop__sheet {
  inset: 4px 0;
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(97deg, transparent 0 38%, rgba(0, 0, 0, .045) 38.3%, transparent 39% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(0, 0, 0, .04));
}
.drop__title {
  position: relative; margin: 0;
  font: 400 clamp(64px, 25vw, 200px)/.84 var(--cond);
  letter-spacing: -.004em; text-transform: uppercase;
}
.drop__title span { display: block; }
.drop__meta {
  position: relative; margin-top: 14px; max-width: 50%;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.drop__piece {
  position: absolute; z-index: 2;
  right: 3%; top: 14px; bottom: 0; width: 46%;
}
.drop__piece img {
  width: 100%; height: 100%; object-fit: contain; object-position: 50% 40%;
  filter: url(#contour);
  transform: rotate(3deg);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.drop__piece:hover img { transform: rotate(0deg) scale(1.03); }
.drop__cta {
  position: relative; z-index: 3; display: flex; align-items: center; min-height: 44px;
  margin: 18px 0 0 var(--gut); font-size: 12px;
  text-decoration: underline; text-underline-offset: 4px;
}
.drop__cta:hover { color: var(--red); }

/* ═════════ TITRES DE SECTION ═════════ */
.h {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 0 var(--gut) 6px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 500; text-transform: lowercase;
}
.h__n { font-weight: 400; color: var(--mute); text-align: right; }
.sec { padding-top: 84px; }

/* ═════════ BOUTIQUE ═════════ */
.shop { padding-top: 36px; }
.rows { margin: 0 0 6px; }
.row {
  display: flex; overflow-x: auto; scrollbar-width: none;
  padding: 0 calc(var(--gut) - 8px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 88%, transparent);
  mask-image: linear-gradient(90deg, #000 0 88%, transparent);
}
.row::-webkit-scrollbar { display: none; }
.row:last-child { padding-right: 40px; }
.chip {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font-size: 12px; text-transform: lowercase; color: var(--mute); white-space: nowrap;
}
.chip::before { content: "["; visibility: hidden; }
.chip::after { content: "]"; visibility: hidden; }
.chip[aria-pressed="true"] { color: var(--ink); }
.chip[aria-pressed="true"]::before, .chip[aria-pressed="true"]::after { visibility: visible; }
.chip:hover { color: var(--ink); }
.chip sup { order: 3; }
.chip.is-zero, .flist .is-zero { opacity: .4; }
.row + .row { margin-top: -6px; }

.brandstory {
  display: flex; align-items: center; gap: 10px; min-height: 52px;
  margin: 0 var(--gut) 10px; font-size: 11px; text-decoration: none;
}
.brandstory img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #000, 0 0 0 3.5px var(--red); }
.brandstory span { text-decoration: underline; text-underline-offset: 3px; }
.brandstory:hover span { color: var(--red); }

.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 8px; padding: 10px var(--gut) 0;
  transition: opacity .2s;
}
.grid.is-swapping { opacity: 0; }
.piece { min-width: 0; animation: piece-in .5s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes piece-in { from { opacity: 0; transform: translateY(10px); } }
.piece__hit { display: block; width: 100%; text-align: left; }
.piece__img { display: block; position: relative; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.piece__main { position: absolute; }
.is-cut .piece__main { inset: 7% 8%; width: 84%; height: 86%; object-fit: contain; }
.is-photo .piece__bg {
  position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover;
  filter: blur(16px) brightness(.72) saturate(.9);
}
.is-photo .piece__main {
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; max-width: 74%; max-height: 80%;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.piece__tags { position: absolute; top: 7px; left: 7px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 1; }
.tag {
  display: inline-block; padding: 3px 5px 2px; font-size: 9px; line-height: 1.2; letter-spacing: .08em;
  text-transform: uppercase; background: #0b0b0b; color: #fff;
}
.tag--unique { background: var(--blue); }
.tag--last { background: #fff; color: #0b0b0b; }
.piece__cap { display: grid; gap: 1px; padding-top: 9px; font-size: 11px; line-height: 1.38; text-transform: uppercase; letter-spacing: .02em; }
.piece__brand { color: var(--mute); font-size: 10px; letter-spacing: .05em; }
.piece__name i { font-style: normal; color: var(--mute); }
.piece__meta { display: flex; gap: 10px; color: var(--mute); }
.piece__meta b { font-weight: 400; color: var(--ink); }

/* Contour rouge : survol (souris) ou appui (doigt) */
@media (hover: hover) {
  .piece__hit:hover .is-cut .piece__main { filter: url(#contour); }
  .piece__hit:hover .is-photo .piece__main { border-color: var(--red); box-shadow: 0 0 0 3px var(--red), 0 10px 26px rgba(0, 0, 0, .35); }
  .piece__hit:hover .piece__name { text-decoration: underline; text-underline-offset: 3px; }
}
.piece.is-press .is-cut .piece__main { filter: url(#contour); }
.piece.is-press .is-photo .piece__main { border-color: var(--red); box-shadow: 0 0 0 3px var(--red); }
.piece__hit:focus-visible { outline-offset: 4px; }

.empty { padding: 40px var(--gut); color: var(--mute); }
.empty button { text-decoration: underline; color: var(--ink); min-height: 44px; }

/* ═════════ STORY ═════════ */
.snap > .h { margin-bottom: 14px; }
.h__n.is-live { color: var(--ink); }
.h__n.is-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 7px; position: relative; top: -1px; animation: blink 1.6s steps(2, start) infinite; }
.snap__live { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gut); }
.snap__live::-webkit-scrollbar { display: none; }
.snap__live:empty { display: none; }
.snapthumb { flex: none; width: 104px; text-align: left; }
.snapthumb__img {
  display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #111;
  border: 1px solid var(--line);
}
.snapthumb__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.snapthumb:hover .snapthumb__img img { transform: scale(1.04); }
.snapthumb__img svg { position: absolute; right: 6px; top: 6px; width: 14px; height: 14px; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.snapthumb__t { display: block; padding-top: 6px; font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.snapthumb--new .snapthumb__img { border-color: var(--red); }
.snap__none { padding: 6px 0 4px; color: var(--mute); max-width: 46ch; }
.snap__une { padding: 26px 0 0; }
.snap__une .lbl { margin: 0 var(--gut) 10px; }
.bubbles { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gut) 2px; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble { flex: none; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.bubble__img { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #000, 0 0 0 3.5px #5a5a5a; background: #111; }
.bubble__img img { width: 100%; height: 100%; object-fit: cover; }
.bubble:hover .bubble__img { box-shadow: 0 0 0 2px #000, 0 0 0 3.5px var(--red); }
.bubble__t { font-size: 10px; line-height: 1.25; text-align: center; text-transform: lowercase; color: var(--mute); overflow-wrap: anywhere; }
.snap__fallback { padding: 0 var(--gut); }
.snap__msg { color: var(--mute); margin-bottom: 14px; max-width: 46ch; }
.snap__embed { width: 100%; max-width: 416px; aspect-ratio: 416 / 692; background: #0c0c0c; border: 1px solid var(--line); }
.snap__embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.snap > .lnk { margin: 10px var(--gut) 0; }
.skel { flex: none; width: 104px; aspect-ratio: 9 / 16; background: linear-gradient(100deg, #0d0d0d 30%, #1a1a1a 50%, #0d0d0d 70%) 0 0 / 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -150% 0; } }

/* ═════════ BIENTÔT ═════════ */
.soon { margin: 0 var(--gut); }
.soon li {
  display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.soon__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #111; }
.soon__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.soon__when { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.soon__name { margin: 3px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.soon__name i { font-style: normal; color: var(--mute); }
.soon__note { color: var(--mute); font-size: 11px; line-height: 1.5; max-width: 52ch; }
.soon .lnk { font-size: 11px; }

/* ═════════ LE FILM ═════════ */
.filmcard {
  position: relative; display: block; width: calc(100% - 2 * var(--gut)); max-width: 420px;
  margin: 10px var(--gut) 0; aspect-ratio: 4 / 5; overflow: hidden; background: #111; text-align: left;
}
.filmcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; filter: brightness(.8); }
.filmcard:hover img { transform: scale(1.03); filter: brightness(.95); }
.filmcard__play {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid #fff; background: rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.filmcard__play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.filmcard__txt {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px;
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.filmcard__txt b { font-weight: 500; color: #fff; font-size: 11px; }

/* ═════════ CONTACT ═════════ */
.contact__grid { display: grid; gap: 26px; padding: 14px var(--gut) 0; }
.snapcode { display: inline-flex; flex-direction: column; gap: 10px; width: 148px; text-decoration: none; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.snapcode img { width: 148px; height: 148px; }
.snapcode:hover span { color: var(--ink); }
.contact__big { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.links { margin: 18px 0 0; border-top: 1px solid var(--line); }
.links li { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.links span { color: var(--mute); font-size: 11px; }
.links a { display: flex; align-items: center; min-height: 46px; text-decoration: none; overflow-wrap: anywhere; }
.links a::after { content: "↗"; margin-left: 8px; color: var(--mute); }
.links a:hover { color: var(--red); }
.facts { margin-top: 18px; display: grid; gap: 6px; color: var(--mute); font-size: 11px; }
.facts li::before { content: "— "; }
.partners { margin: 44px var(--gut) 0; }
.partners ul { border-top: 1px solid var(--line); }
.partners li { padding: 2px 0 12px; border-bottom: 1px solid var(--line); }
.partners a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 12px; }
.partners a::after { content: "↗"; margin-left: 8px; color: var(--mute); }
.partners a:hover { color: var(--red); }
.partners small { display: block; font-size: 11px; color: var(--mute); }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px;
  margin: 96px var(--gut) 0; padding: 14px 0 calc(18px + var(--sb));
  border-top: 1px solid var(--line);
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute);
}
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ═════════ MENU PLEIN ÉCRAN ═════════ */
.menusheet {
  position: fixed; inset: 0; z-index: 70; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  padding: calc(var(--st) + 60px) var(--gut) calc(var(--sb) + 40px);
  animation: fade .25s ease-out;
}
.menusheet__clock { position: absolute; top: calc(var(--st) + 18px); left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .06em; }
.menu--big a { font-size: 17px; padding: 12px 22px; }
.menusheet__x { position: absolute; top: calc(var(--st) + 4px); right: max(4px, var(--sr)); }
.menusheet__foot {
  position: absolute; left: 0; right: 0; bottom: calc(var(--sb) + 18px);
  display: flex; justify-content: center; gap: 4px 18px; flex-wrap: wrap;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.menusheet__foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
@keyframes fade { from { opacity: 0; } }

/* Bouton « fermer » commun */
.x { width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.x:focus-visible { outline-offset: -6px; }
.x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ═════════ FICHE PIÈCE (cadre central, page floutée) ═════════ */
.sheet {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--st) + 14px) max(12px, var(--sr)) calc(var(--sb) + 14px) max(12px, var(--sl));
}
.sheet__veil {
  position: absolute; inset: 0; touch-action: none;
  background: rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(16px) saturate(.85);
  backdrop-filter: blur(16px) saturate(.85);
  animation: fade .3s ease-out;
}
.card {
  position: relative; width: 100%; max-width: 980px; max-height: 100%;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); color: #0b0b0b;
  outline: 1px solid rgba(255, 255, 255, .4); outline-offset: 6px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  animation: card-in .38s cubic-bezier(.2, .8, .2, 1);
  scrollbar-width: thin;
}
.card:focus { outline: 1px solid rgba(255, 255, 255, .4); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.975); } }
.card.is-dragging { transition: none; }
.card.is-back { transition: transform .25s ease-out; }
.card__top {
  position: sticky; top: 0; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 8px;
  padding-left: 14px; height: 46px; background: var(--card);
  font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 1px solid #dcdad4;
}
.card__count { color: #6b6a66; font-variant-numeric: tabular-nums; }
.card__stage { position: relative; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; touch-action: pan-y; }
.card__stage > * { animation: fade .3s ease-out; }
.card__stage .cut { position: absolute; inset: 5% 6%; width: 88%; height: 90%; object-fit: contain; }
.card__stage .bg { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(22px) brightness(.7); }
.card__stage .photo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; max-width: 84%; max-height: 88%;
  border: 1px solid #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.card__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b0b0b; }
.card__stage .badge {
  position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 3px 6px 2px;
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .7); color: #fff;
}
.card__thumbs { display: flex; gap: 6px; padding: 10px 14px 0; overflow-x: auto; scrollbar-width: none; }
.card__thumbs::-webkit-scrollbar { display: none; }
.thumb {
  position: relative; flex: none; width: 48px; height: 60px; background: var(--tile); overflow: hidden;
  outline: 1px solid transparent; outline-offset: 2px;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.thumb--photo img, .thumb--video img { object-fit: cover; padding: 0; }
.thumb--video::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6));
}
.thumb[aria-current="true"] { outline-color: #0b0b0b; }
.card__info { padding: 16px 14px 20px; }
.card__tags { display: flex; gap: 4px; min-height: 0; margin-bottom: 8px; }
.card__tags:empty { display: none; }
.card__name { margin: 0 0 12px; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; }
.specs { margin: 0 0 18px; border-top: 1px solid #dcdad4; }
.specs div { display: grid; grid-template-columns: 82px minmax(0, 1fr); padding: 8px 0; border-bottom: 1px solid #dcdad4; font-size: 11px; }
.specs dt { color: #6b6a66; }
.specs dd { margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.specs dd small { font-size: 10px; color: #6b6a66; text-transform: lowercase; margin-left: 8px; letter-spacing: 0; }
.lbl--ink { color: #6b6a66; }
.lbl--ink span { text-transform: none; letter-spacing: 0; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  position: relative; min-width: 52px; height: 48px; padding: 0 10px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  border: 1px solid #0b0b0b; font-size: 12px; line-height: 1.1;
}
.size small { font-size: 9px; color: #6b6a66; letter-spacing: .04em; }
.size[aria-pressed="true"] { background: #0b0b0b; color: #fff; }
.size[aria-pressed="true"] small { color: #bbb; }
.size.is-out {
  border-color: #c9c7c1; color: #a3a19b; cursor: not-allowed;
  background: linear-gradient(to top right, transparent calc(50% - .6px), #b3b1ab 50%, transparent calc(50% + .6px));
}
.size.is-out b { text-decoration: line-through; }
.size b { font-weight: 500; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; margin-top: 20px; padding: 0 18px;
  background: #0b0b0b; color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { background: var(--red); }
.card__hint { margin-top: 10px; font-size: 11px; color: #5d5c58; line-height: 1.5; }
.card__auth { margin-top: 14px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #6b6a66; }
.card__nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dcdad4; }
.card__nav button { min-height: 50px; font-size: 11px; text-transform: lowercase; }
.card__nav button + button { border-left: 1px solid #dcdad4; }
.card__nav button:hover { background: #e8e6e0; }

/* Film */
.filmbox {
  position: relative; margin: 0; width: min(100%, calc((100dvh - 120px) * 9 / 16)); min-width: 220px;
  display: flex; flex-direction: column; gap: 10px;
  outline: 1px solid rgba(255, 255, 255, .4); outline-offset: 6px;
  background: #000; animation: card-in .38s cubic-bezier(.2, .8, .2, 1);
}
.filmbox video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.filmbox figcaption { padding: 0 12px 12px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.x--light { position: absolute; top: 4px; right: 4px; z-index: 2; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }

/* ═════════ LECTEUR DE STORY ═════════ */
.viewer {
  position: fixed; inset: 0; z-index: 80; background: #000; color: #fff;
  display: flex; align-items: center; justify-content: center;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  animation: fade .2s ease-out;
}
.viewer__bg { position: absolute; inset: -10%; background: center / cover no-repeat; filter: blur(40px) brightness(.4); opacity: 0; transition: opacity .4s; }
.viewer__frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; transition: transform .25s ease-out, opacity .25s; }
.viewer__frame.is-dragging { transition: none; }
.viewer__media { position: absolute; inset: 0; }
.viewer__media img, .viewer__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.viewer__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .55), transparent 18%, transparent 78%, rgba(0, 0, 0, .55));
}
.viewer__bars { position: absolute; z-index: 3; top: calc(var(--st) + 8px); left: 8px; right: 8px; display: flex; gap: 3px; }
.viewer__bars span { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.viewer__bars i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.viewer__head { position: absolute; z-index: 3; top: calc(var(--st) + 16px); left: 10px; right: 2px; display: flex; align-items: center; gap: 10px; }
.viewer__avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.viewer__who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.viewer__who b { font-weight: 500; font-size: 12px; }
.viewer__who span { font-size: 10px; letter-spacing: .04em; color: rgba(255, 255, 255, .8); text-transform: lowercase; }
.viewer__btn { width: 44px; height: 44px; display: grid; place-items: center; flex: none; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.viewer__btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.viewer__btn .ic-on { display: none; }
.viewer__btn.is-on .ic-on { display: block; }
.viewer__btn.is-on .ic-off { display: none; }
.viewer__pause {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 6px 10px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s; pointer-events: none;
}
.viewer.is-paused .viewer__pause { opacity: 1; }
.viewer.is-paused .viewer__head, .viewer.is-paused .viewer__foot, .viewer.is-paused .viewer__bars { opacity: .25; transition: opacity .2s; }
.viewer__foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 0 16px calc(var(--sb) + 18px); }
.viewer__reply {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; width: min(100%, 320px);
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; text-decoration: none; font-size: 12px; letter-spacing: .04em;
}
.viewer__reply::after { content: " ↗"; white-space: pre; }
.viewer__reply:hover { background: #fff; color: #000; }
.viewer__side { display: none; }
.viewer__msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--mute); }

/* Petit message en bas */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(var(--sb) + 18px);
  max-width: calc(100% - 32px); padding: 10px 14px;
  background: #0b0b0b; color: #fff; border: 1px solid #3a3a3a;
  font-size: 11px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ═════════ TABLETTE ═════════ */
@media (min-width: 700px) {
  :root { --gut: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 12px; }
  .drop__title { font-size: clamp(64px, 17vw, 210px); }
  .drop__title span { display: inline; }
  .drop__paper { padding-top: 34px; padding-bottom: 34px; }
  .drop__piece { width: 30%; right: 6%; top: 6px; bottom: -6px; }
  .drop__meta { max-width: none; }
  .contact__grid { grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
  .soon li { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .viewer__frame { width: auto; height: min(calc(100dvh - 32px), 900px); aspect-ratio: 9 / 16; border-radius: 10px; }
  .viewer__bg { opacity: 1; }
  .viewer__bars { top: 10px; }
  .viewer__head { top: 18px; }
  .viewer__foot { padding-bottom: 18px; }
  .viewer__side {
    display: grid; place-items: center; position: relative; z-index: 2;
    width: 56px; height: 56px; margin: 0 18px; border-radius: 50%;
    font-size: 26px; line-height: 1; color: #fff; background: rgba(255, 255, 255, .12);
  }
  .viewer__side:hover { background: rgba(255, 255, 255, .25); }
  .card__thumbs { padding-left: 18px; padding-right: 18px; }
  .card__info { padding: 22px 18px 24px; }
}

/* ═════════ ORDINATEUR : colonne fixe à gauche ═════════ */
@media (min-width: 1024px) {
  html { scroll-padding-top: 24px; }
  .bar, .filterpop { display: none !important; }
  .layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); }
  .side {
    position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 0;
    align-items: stretch; justify-content: flex-start; gap: 26px; text-align: left;
    padding: 24px 24px 24px 28px; overflow-y: auto; scrollbar-width: none;
    border-right: 1px solid var(--line);
  }
  .side__clock { position: static; }
  .side__id { align-items: flex-start; gap: 10px; }
  .logo { width: 92px; margin-left: -8px; }
  .menu { align-items: flex-start; }
  .menu a { padding: 3px 0; font-size: 12px; line-height: 20px; }
  .side__filters { display: block; }
  .side__foot { margin-top: auto; }
  .side__down { display: none; }
  .rows { display: none; }
  .shop { padding-top: 40px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 14px; }
  .drop { padding-top: 72px; }
  .drop__title { font-size: clamp(90px, 13vw, 210px); }
  .drop__piece { width: 26%; right: 7%; top: 0; bottom: -10px; }
  .card { max-height: min(100%, 860px); }
  .card__body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .card__media { border-right: 1px solid #dcdad4; padding-bottom: 14px; }
  .card__stage { aspect-ratio: auto; height: min(calc(100dvh - 240px), 640px); min-height: 380px; }
  .card__info { padding: 26px 26px 26px; display: flex; flex-direction: column; }
  .card__auth { margin-top: auto; padding-top: 28px; }
  .snapthumb, .skel { width: 140px; }
  .card__name { font-size: 17px; }
}
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 14px; }
}
@media (min-width: 1800px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ═════════ MOUVEMENTS RÉDUITS ═════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
