:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --soft: #f2f2f0;
  --muted: #8a8a8a;
  --line: #e4e4e4;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(16px, 2.2vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 10px; }
.link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff;
  display: grid; place-items: center;
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1);
  clip-path: inset(0 0 0 0);
}
.intro.out { clip-path: inset(0 0 100% 0); }
.intro { background: #000; }
.intro.gone { display: none; }
#introVideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.intro-meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.55); z-index: 1;
}
.intro-gate {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: #fff; text-align: center; background: radial-gradient(ellipse at center, rgba(0,0,0,.25), rgba(0,0,0,.75));
  transition: opacity .6s ease, visibility .6s;
}
.intro-gate.hide { opacity: 0; visibility: hidden; }
.gate-word { font-weight: 800; font-stretch: 62%; font-size: clamp(56px, 11vw, 150px); line-height: .9; }
.gate-sub { color: rgba(255,255,255,.6); margin-bottom: 18px; }
.gate-enter, .gate-mute { display: none; }
.intro-gate.ready .gate-loading { display: none; }
.intro-gate.ready .gate-enter, .intro-gate.ready .gate-mute { display: inline-flex; }
.gate-loading { color: rgba(255,255,255,.5); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.gate-enter {
  align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.85); padding: 16px 34px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; transition: background .25s, color .25s;
}
.gate-enter span { font-size: 10px; letter-spacing: .08em; opacity: .6; }
.gate-enter:hover { background: #fff; color: #000; }
.gate-mute { color: rgba(255,255,255,.45); font-size: 10px; }
.gate-mute:hover { color: #fff; }
.intro-skip { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.intro-skip:hover { color: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #fff; text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; padding: 9px var(--pad); }
.nav {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px var(--pad); background: var(--paper); border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s, border-color .35s;
}
.nav.over { background: transparent; color: #fff; border-color: transparent; }
.nav-side { display: flex; gap: 24px; }
.nav-side.right { justify-content: flex-end; }
.nav-link { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.nav-link:hover { opacity: .6; }
.logo { font-weight: 800; font-stretch: 62%; font-size: 30px; letter-spacing: -.01em; line-height: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100svh - 34px); min-height: 560px; margin-top: -63px; overflow: hidden; background: #9c9c9a; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.08); transition: transform 2.4s cubic-bezier(.2, .8, .2, 1); }
body.ready .hero img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 22%, transparent 55%, rgba(0,0,0,.5)); }
.hero-text { position: absolute; left: var(--pad); bottom: var(--pad); z-index: 1; color: #fff; }
.hero h1 { font-weight: 800; font-stretch: 62%; font-size: clamp(96px, 19vw, 300px); line-height: .8; letter-spacing: -.02em; margin: 12px 0 22px -.04em; }
.hero-corner { position: absolute; right: var(--pad); bottom: var(--pad); z-index: 1; color: #fff; }
.btn-light { display: inline-block; background: #fff; color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; padding: 14px 28px; transition: background .2s, color .2s; }
.btn-light:hover { background: var(--ink); color: #fff; }

/* ---------- Drop grid ---------- */
.drop { padding-top: 72px; }
.head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--pad) 18px; }
.head h2 { font-weight: 800; font-stretch: 62%; font-size: 44px; line-height: 1; letter-spacing: -.01em; word-spacing: .12em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.card { background: var(--paper); display: block; }
.card-img { aspect-ratio: 3/4; background: var(--soft); overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-img img { transform: scale(1.04); }
.card-info { display: flex; justify-content: space-between; gap: 12px; padding: 14px var(--pad) 22px; font-size: 13px; }
.card-info h3 { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.card-info .mono { margin-top: 4px; }
.price s { color: var(--muted); margin-left: 6px; }
.card.locked { pointer-events: none; }
.card.locked .card-img { background: #e9e9e7; display: grid; place-items: center; }
.lock { text-align: center; color: #b3b3b0; }
.lock strong { display: block; font-weight: 800; font-stretch: 62%; font-size: 64px; line-height: 1; color: #d6d6d3; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.gallery { border-right: 1px solid var(--line); }
.g-main { aspect-ratio: 1116/2000; overflow: hidden; background: var(--soft); }
.g-main img { width: 100%; height: 100%; object-fit: cover; animation: fade .5s ease; }
@keyframes fade { from { opacity: .3; } }
.g-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.g-thumbs button { aspect-ratio: 3/4; overflow: hidden; background: var(--soft); opacity: .5; transition: opacity .2s; }
.g-thumbs button.active, .g-thumbs button:hover { opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding: 48px var(--pad); }
.sticky { position: sticky; top: 100px; max-width: 460px; }
.pdp-info h3 { font-weight: 800; font-stretch: 62%; font-size: clamp(44px, 5vw, 72px); line-height: .88; letter-spacing: -.01em; margin: 12px 0 14px; }
.p-price { font-size: 16px; }
.p-price s { color: var(--muted); margin-left: 8px; }
.p-desc { margin-top: 22px; line-height: 1.6; color: #3a3a3a; font-size: 14px; }
.opt { margin-top: 28px; }
.opt-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 26px; height: 26px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline-offset: 3px; }
.swatch.active { outline: 1px solid var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.size { background: var(--paper); padding: 14px 0; font-family: var(--mono); font-size: 12px; transition: background .15s, color .15s; }
.size:hover { background: var(--soft); }
.size.active { background: var(--ink); color: #fff; }
.btn-dark { width: 100%; margin-top: 24px; background: var(--ink); color: #fff; padding: 17px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; transition: opacity .2s; }
.btn-dark:hover { opacity: .85; }
.btn-dark:disabled { background: #cfcfcc; cursor: not-allowed; opacity: 1; }
.acc { margin-top: 32px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 0; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; }
.acc details[open] summary::after { content: "−"; }
.acc p { padding: 0 0 18px; font-size: 13.5px; line-height: 1.65; color: #3a3a3a; }

/* ---------- Signup ---------- */
.signup { padding: 120px var(--pad); text-align: center; }
.signup h2 { font-weight: 800; font-stretch: 62%; font-size: clamp(48px, 8vw, 120px); line-height: .86; margin: 14px 0 36px; }
.signup form { display: flex; max-width: 520px; margin: 0 auto; border: 1px solid var(--ink); }
.signup input { flex: 1; border: 0; padding: 16px 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; outline: none; min-width: 0; }
.signup button { background: var(--ink); color: #fff; padding: 0 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 56px var(--pad) 22px; overflow: hidden; }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 760px; }
.f-cols p { margin-bottom: 14px; }
.f-cols a { display: block; font-size: 14px; margin-bottom: 8px; color: #d9d9d9; }
.f-cols a:hover { color: #fff; }
.f-word { font-weight: 800; font-stretch: 62%; font-size: 26vw; line-height: .78; letter-spacing: -.02em; margin: 72px 0 18px -.03em; white-space: nowrap; }
.f-bottom { display: flex; justify-content: space-between; }

/* ---------- Drawers ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.4); }
.side { position: fixed; top: 0; bottom: 0; z-index: 45; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.77, 0, .18, 1); }
.side.left { left: 0; transform: translateX(-100%); }
.side.right { right: 0; transform: translateX(100%); }
.side.open { transform: none; }
.side-head { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--pad); border-bottom: 1px solid var(--line); }
.menu-links { padding: 24px var(--pad); display: flex; flex-direction: column; gap: 4px; }
.menu-links a { font-weight: 800; font-stretch: 62%; font-size: 52px; line-height: 1; }
.menu-links a:hover { opacity: .5; }
.cart-items { flex: 1; overflow: auto; }
.empty { padding: 80px var(--pad); text-align: center; }
.line { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 18px var(--pad); border-bottom: 1px solid var(--line); }
.line img { width: 90px; aspect-ratio: 1116/2000; object-fit: cover; background: var(--soft); }
.line h4 { margin: 0 0 4px; font-size: 13px; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 14px; font-family: var(--mono); font-size: 12px; }
.qty button { width: 30px; height: 30px; }
.qty span { min-width: 18px; text-align: center; }
.line-right { text-align: right; font-size: 13px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.cart-foot { padding: 20px var(--pad); border-top: 1px solid var(--line); }
.ship { margin-bottom: 14px; }
.bar { height: 2px; background: var(--line); margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--ink); transition: width .4s; }
.row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; }
.cart-foot .btn-dark { margin-top: 16px; }
.cart-foot .small { margin-top: 10px; text-align: center; }

/* ---------- Size guide ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.modal-box { position: relative; background: var(--paper); width: min(560px, 100%); }
.modal-box table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.modal-box th, .modal-box td { text-align: left; padding: 12px var(--pad); border-bottom: 1px solid var(--line); font-weight: 400; }
.modal-box th { color: var(--muted); font-size: 10.5px; letter-spacing: .06em; }
.modal-box > p { padding: 14px var(--pad) 20px; }

.toast { position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 200%); background: var(--ink); color: #fff; padding: 13px 20px; transition: transform .35s; pointer-events: none; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .gallery { border-right: 0; }
  .sticky { position: static; max-width: none; }
  .hero-corner { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Espacement des mots dans les titres condensés */
.hero h1, .pdp-info h3, .signup h2, .menu-links a, .f-word, .logo { word-spacing: .12em; }

/* Stock + barre d'achat mobile */
.stock { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #2f7a46; }
.stock i { width: 7px; height: 7px; border-radius: 50%; background: #2f9a52; box-shadow: 0 0 0 3px rgba(47,154,82,.15); }
.buybar { display: none; }
@media (max-width: 900px) {
  .buybar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .buybar.show { transform: none; }
  .buybar p { margin: 0; font-size: 13px; font-weight: 500; }
  .buybar .btn-dark { width: auto; margin: 0; padding: 15px 22px; }
}

/* Bouton son de l'intro (égaliseur animé quand le son est actif) */
.sound-btn { display: inline-flex; align-items: flex-end; gap: 2px; }
.sound-btn i { display: inline-block; width: 2px; height: 3px; background: currentColor; margin-right: 0; }
.sound-btn i:last-of-type { margin-right: 8px; }
.sound-btn.on i { animation: eq .9s ease-in-out infinite; }
.sound-btn.on i:nth-child(2) { animation-delay: -.3s; } .sound-btn.on i:nth-child(3) { animation-delay: -.6s; } .sound-btn.on i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 11px; } }
.intro { cursor: default; }

/* Sélecteur de devise */
.cur-select, .lang-select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: inherit; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 0 14px 0 0;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 4px center, right 0 center; background-size: 4px 4px; background-repeat: no-repeat;
  max-width: 64px;
}
.cur-select option, .lang-select option { color: #000; }
.nav-side.right { align-items: center; }
.f-cur { display: inline-flex; gap: 8px; align-items: center; }
.f-cur .cur-select { max-width: none; color: #d9d9d9; }
@media (max-width: 600px) { .nav-side.right .cur-select { max-width: 48px; } }
.nav-side.right { gap: 18px; }
.lang-select { max-width: 40px; }
.f-prefs { display: inline-flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.f-cur .lang-select { max-width: none; color: #d9d9d9; }
.ship { line-height: 1.6; }

/* Photo produit : face → dos au survol (ordinateur) ou au toucher (téléphone) */
.g-main { position: relative; }
.g-main img.back { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); transform: scale(1.02); animation: none; }
.g-main img.front { transition: opacity .55s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) {
  .g-main.can-flip { cursor: pointer; }
  .g-main.can-flip:hover img.back { opacity: 1; transform: scale(1); }
  .g-main.can-flip:hover img.front { opacity: 0; transform: scale(1.02); }
}
.g-main.flipped img.back { opacity: 1; transform: scale(1); }
.g-main.flipped img.front { opacity: 0; }

/* Mention « vente finale » visible avant l'achat (règle de l'État de New York sur la politique de remboursement) */
.final-sale { margin: 12px 0 0; text-align: center; color: var(--ink); }
.final-sale a { text-decoration: underline; text-underline-offset: 3px; }

/* Inscription Drop 02 */
.signup input.hp { position: absolute; left: -9999px; width: 1px; height: 1px; padding: 0; }
.sub-note { margin: 14px 0 0; font-size: 12px; }
.sub-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
