@font-face { font-family: "Swink Display"; src: url("/fonts/SubjectivitySerif-ExtraBold.otf") format("opentype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Swink Display"; src: url("/fonts/SubjectivitySerif-ExtraBoldSlanted.otf") format("opentype"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Kalmansk"; src: url("/fonts/Kalmansk-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2"), url("/fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* =========================================================
   SWINK — base : polices, tokens, reset, utilitaires
   ========================================================= */
/* Polices : Subjectivity Serif Extra Bold (titres), sa version slanted (titres des kits
   et des prods) et Kalmansk (textes, libellés). Les @font-face sont générés par build.mjs
   juste au-dessus de cette feuille, à partir des fichiers de public/fonts/. */
:root {
  --bg: #0e0e0e;
  --bg-2: #121110;
  --panel: #141312;
  --panel-2: #191716;
  --panel-3: #211e1c;
  --line: rgba(255, 219, 164, .10);
  --line-2: rgba(255, 219, 164, .22);
  --text: #f6f2ec;
  --dim: #a59a8c;
  --faint: #6d6459;
  --cream: #ffdba4;
  --ice: #ffdba4;          /* accent principal (crème) */
  --blue: #ffdba4;         /* ancien accent bleu → crème */
  --blue-2: #e9a74f;
  --blue-soft: rgba(255, 219, 164, .12);
  --coral: #ff7a63;
  --coral-soft: rgba(255, 122, 99, .14);
  --ok: #9fd6a0;

  --f-display: "Swink Display", Impact, sans-serif;
  --f-body: "Kalmansk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-ui: "Kalmansk", system-ui, sans-serif; /* libellés : nav, boutons, méta */

  --wrap: 1180px;
  --gutter: clamp(16px, 3vw, 40px);
  --r-xl: 6px;
  --r-lg: 4px;
  --r-md: 3px;
  --r-sm: 2px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --player-h: 0px;
  --level: 0;          /* niveau audio 0→1, mis à jour en JS */
  --mx: 50%;           /* position de la souris (spot) */
  --my: 30%;
  color-scheme: dark;
}
body.has-player { --player-h: 76px; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: clip;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom));
}
body::before { /* vignette */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 20%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--f-ui); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pixel { font-family: var(--f-ui); letter-spacing: .06em; }
.muted { color: var(--dim); }
.display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; color: var(--cream); }
.h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; font-size: clamp(25px, 2.8vw, 36px); color: var(--cream); }
.h3 { font-family: var(--f-ui); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; }
.accent { color: var(--cream); }
.star { flex: none; color: var(--ice); display: inline-block; vertical-align: -1px; }
.ico { flex: none; }

.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 6px 12px; color: var(--dim); background: rgba(255, 255, 255, .02); }
.chip b { color: var(--text); font-weight: 400; }
.tag { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-sm); padding: 4px 10px; font-size: 10.5px; }
.tag--new { background: var(--cream); color: #17120c; }
.tag--sold { background: var(--coral-soft); color: var(--coral); }
mark.todo { background: var(--coral-soft); color: var(--coral); padding: 0 6px; border-radius: 6px; }

.onair-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); display: inline-block; flex: none; transition: background .3s, box-shadow .3s; }
body.is-playing .onair-dot { background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 122, 99, .6); animation: onair 1.6s infinite; }
@keyframes onair { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 99, .55); } 70% { box-shadow: 0 0 0 8px rgba(255, 122, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 99, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Layout : en-tête, footer, panneaux, boutons
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  border-bottom: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.site-header::before { /* le flou est sur un pseudo-élément pour ne pas piéger le menu mobile */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 18px; height: 62px; padding: 0 clamp(14px, 3vw, 40px); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__glyph { width: 20px; height: auto; opacity: .9; filter: drop-shadow(0 0 calc(var(--level) * 12px) rgba(255, 219, 164, .7)); transform: rotate(calc(var(--level) * 12deg)); transition: transform .08s linear; }
.brand__word { font-family: var(--f-ui); font-weight: 400; font-size: 13px; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  padding: 8px 12px;
  font-family: var(--f-ui); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
  transition: color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: currentColor; }
.nav-tools { display: flex; align-items: center; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: inline-grid; place-items: center; color: var(--dim);
  transition: color .2s, background .2s;
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.icon-btn[aria-pressed="true"] { color: var(--ice); }
.nav-burger { display: none; }

.lang-switch { display: flex; gap: 2px; }
.lang-opt { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: var(--r-sm); font-family: var(--f-ui); font-weight: 400; font-size: 10px; letter-spacing: .06em; color: var(--faint); transition: color .2s, background .2s; }
.lang-opt .flag { width: 16px; height: auto; border-radius: 1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); filter: grayscale(1) brightness(.7); transition: filter .2s; }
.lang-opt:hover { color: var(--text); }
.lang-opt:hover .flag, .lang-opt.is-active .flag { filter: none; }
.lang-opt.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }

.mobile-menu {
  pointer-events: auto;
  position: fixed; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, .98);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 90px var(--gutter) 40px;
}
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 9vw, 42px); letter-spacing: .01em; color: var(--cream); line-height: 1.05; opacity: 0; transform: translateY(18px); animation: menu-in .5s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms); }
.mobile-menu a .mono { color: var(--faint); font-size: 12px; }
.mobile-menu a[aria-current="page"] { color: var(--ice); }
.mobile-menu__lang .lang-switch { width: max-content; }
@keyframes menu-in { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-grid; }
  .nav-tools .lang-switch { display: none; }
}

/* ---------- sections & panneaux ---------- */
main { display: block; outline: none; }
.section { padding-block: clamp(40px, 5vw, 64px) 0; }
.section--tight { padding-top: 28px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-head .kicker { margin-bottom: 8px; }
.section-lede { color: var(--dim); max-width: 60ch; margin: -12px 0 24px; }
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); padding: 8px 0; transition: color .2s, gap .2s; white-space: nowrap; }
.link-arrow:hover { color: var(--text); gap: 12px; }

.page-head { padding-top: clamp(100px, 11vw, 130px); }
.page-title { font-size: clamp(34px, 5vw, 60px); margin-bottom: 14px; }
.page-lede { color: var(--dim); font-size: clamp(14px, 1.2vw, 16px); max-width: 60ch; }

/* ---------- boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 18px; border-radius: var(--r-sm);
  font-family: var(--f-ui); font-weight: 400; font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  will-change: transform;
}
.btn--primary { background: var(--cream); color: #17120c; border: 1px solid var(--cream); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: transparent; }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .04); }
.btn--sm { height: 32px; padding: 0 12px; font-size: 10px; gap: 7px; }
.btn--lg { height: 48px; padding: 0 24px; font-size: 12px; }
.btn__price { padding-left: 12px; margin-left: 2px; border-left: 1px solid currentColor; }
.btn:active { transform: scale(.97); }

/* Gumroad injecte ses propres styles sur .gumroad-button : on garde les nôtres */
.btn.gumroad-button { font-family: var(--f-ui) !important; font-weight: 400 !important; line-height: 1 !important; border-radius: var(--r-sm) !important; text-decoration: none !important; box-shadow: none !important; }
.btn--primary.gumroad-button { background: var(--cream) !important; color: #17120c !important; border: 1px solid var(--cream) !important; }
.btn--ghost.gumroad-button { background: transparent !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; }
.btn--ghost.gumroad-button:hover { border-color: var(--text) !important; }
.gumroad-button .gumroad-button-logo, .gumroad-button-logo { display: none !important; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.foot-logo { width: 104px; margin: -6px 0 10px -6px; opacity: .9; }
.foot-brand p { color: var(--dim); max-width: 28ch; }
.foot-col__title { color: var(--faint); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 8px; }
.foot-col a { color: var(--dim); transition: color .2s; font-size: 14px; word-break: break-word; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 28px; color: var(--faint); border-top: 1px solid var(--line); }
.foot-bottom span { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom a:hover { color: var(--text); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* =========================================================
   Accueil : hero, dernier drop, prods, artiste, FAQ
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 14vw, 170px) 0 clamp(50px, 7vw, 80px); min-height: min(62vh, 620px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
/* fond noir : seule la lueur qui suit la souris éclaire légèrement */
.hero__spot { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 219, 164, calc(.05 + var(--level) * .10)), transparent 70%); }
.hero__sparks { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { width: clamp(150px, 17vw, 210px); margin-bottom: 20px; }
.hero__logo img { width: 100%; height: auto; animation: logo-in .9s var(--ease) both; }
@keyframes logo-in { from { opacity: 0; } }
.hero__tagline { font-family: var(--f-ui); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(11px, 1.1vw, 13px); color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }

/* ---------- dernier drop ---------- */
.drop { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(16px, 2vw, 26px); overflow: hidden; align-items: start; }
.drop::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); pointer-events: none; border-radius: inherit; }
.drop__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px color-mix(in srgb, var(--accent) 25%, transparent); transform-style: preserve-3d; }
.drop__media img { width: 100%; height: 100%; object-fit: cover; }
.drop__info { position: relative; display: flex; flex-direction: column; min-width: 0; }
.drop__title { font-size: clamp(28px, 3.4vw, 44px); margin: 4px 0 2px; }
.drop__sub { color: var(--dim); font-size: 15px; }
.drop__price { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.03em; margin: 16px 0 10px; text-transform: none; }
.drop__text { color: var(--dim); max-width: 52ch; margin-bottom: 18px; }
.drop__info .chips { margin-bottom: 18px; }
.drop__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.drop__note { color: var(--faint); margin-top: 14px; }
@media (max-width: 860px) { .drop { grid-template-columns: minmax(0, 1fr); } .drop__media { max-width: 320px; } }

/* ---------- beats (liste) ---------- */
.beats { padding: 6px clamp(10px, 2vw, 22px); }
.beat {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 90px 120px auto; align-items: center; gap: 14px;
  padding: 9px 6px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.beat:last-child { border-bottom: 0; }
.beat:hover { background: rgba(255, 255, 255, .025); }
.beat__dot { width: 40px; display: grid; place-items: center; }
.beat__dot .star { width: 10px; color: var(--faint); transition: color .2s, transform .4s; }
.beat:hover .beat__dot .star { color: var(--ice); transform: rotate(90deg) scale(1.3); }
.beat__title { font-family: var(--f-ui); font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beat__pack { color: var(--faint); font-size: 10.5px; }
.beat__bpm { font-size: 14px; color: var(--text); text-align: right; }
.beat__bpm small { font-size: 9px; color: var(--faint); }
.beat__preview { color: var(--faint); font-size: 10px; text-align: right; }
.beat.is-sold { opacity: .45; }
.beat.is-sold .beat__title { text-decoration: line-through; }
@media (max-width: 720px) {
  .beat { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .beat__preview { display: none; }
  .beat__action { grid-column: 2 / -1; }
  .beat__bpm { text-align: left; }
}

/* ---------- artiste ---------- */
.artist-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); padding: clamp(22px, 3.4vw, 44px); align-items: center; overflow: hidden; }
.artist-teaser__art { position: relative; display: grid; place-items: center; min-height: 340px; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-glyph { width: min(78%, 340px); position: relative; z-index: 1; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 50px rgba(255, 170, 120, .45)) drop-shadow(0 0 calc(var(--level) * 40px) rgba(255, 219, 164, .8)); transform: scale(calc(1 + var(--level) * .08)) rotate(calc(var(--level) * -6deg)); transition: transform .08s linear; }
@keyframes float { 50% { translate: 0 -16px; } }
.artist-teaser .display { font-size: clamp(34px, 4vw, 52px); margin-bottom: 10px; }
.artist-teaser .lead { color: var(--dim); margin-bottom: 20px; max-width: 48ch; }
.artist-teaser .chips { margin-bottom: 26px; }
@media (max-width: 860px) { .artist-teaser { grid-template-columns: minmax(0, 1fr); } .artist-teaser__art { min-height: 260px; } }

/* ---------- FAQ ---------- */
.faq { padding: 6px clamp(14px, 2.4vw, 28px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary { list-style: none; display: grid; grid-template-columns: 36px 1fr 30px; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; font-weight: 400; font-size: 15px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .mono { color: var(--faint); }
.faq__plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .3s var(--ease), background .2s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq__item p { color: var(--dim); padding: 0 44px 22px 52px; max-width: 75ch; animation: fade-down .35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- newsletter ---------- */
.stay { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: end; padding: clamp(20px, 3vw, 36px); overflow: hidden; }
.stay::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; background: url("/img/brand/glyph-256.webp") center / contain no-repeat; opacity: .08; transform: rotate(20deg); pointer-events: none; }
.stay__title { font-size: clamp(26px, 3.2vw, 42px); }
.stay__side p { color: var(--dim); margin-bottom: 18px; }
@media (max-width: 760px) { .stay { grid-template-columns: 1fr; } }

/* =========================================================
   Shop : cartes produit, filtres, fiche produit, prods
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.card:hover { border-color: color-mix(in srgb, var(--accent, #ffdba4) 45%, transparent); box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 50px color-mix(in srgb, var(--accent, #ffdba4) 14%, transparent); }
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--panel-2); transform-style: preserve-3d; }
.card__link { display: block; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22), transparent 55%); opacity: 0; transition: opacity .3s; mix-blend-mode: overlay; }
[data-tilt]:hover .card__glare { opacity: 1; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--f-mono); font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(255, 170, 120, .4); }
.badge--coral { background: var(--coral); color: #1a0606; box-shadow: 0 6px 18px rgba(255, 122, 99, .35); }
.card__play { position: absolute; left: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s, transform .3s var(--ease); }
.card:hover .card__play, .card__play.is-current, .card:focus-within .card__play { opacity: 1; transform: none; }
@media (hover: none) { .card__play { opacity: 1; transform: none; } }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
.card__meta { color: var(--faint); font-size: 9.5px; }
.card__meta span { color: var(--blue); }
.card__title { font-family: var(--f-ui); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; line-height: 1.2; }
.card__title a:hover { color: var(--ice); }
.card__sub { color: var(--dim); font-size: 13px; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 13px; color: var(--text); letter-spacing: .02em; }
.card--soon .card__media--soon { display: grid; place-items: center; background: radial-gradient(80% 60% at 50% 40%, rgba(255, 122, 99, .16), transparent), var(--panel-2); }
.card--soon .card__media--soon img { width: 78%; height: auto; object-fit: contain; filter: drop-shadow(0 16px 40px rgba(255, 122, 99, .35)); animation: float 7s ease-in-out infinite; }
.card--soon:hover { border-color: rgba(255, 122, 99, .4); }

/* play button */
.play-btn {
  --s: 40px;
  position: relative; width: var(--s); height: var(--s); border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: rgba(8, 10, 16, .72); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.play-btn:hover { transform: scale(1.08); box-shadow: inset 0 0 0 1px var(--ice), 0 0 24px rgba(255, 219, 164, .5); }
.play-btn--sm { --s: 32px; background: var(--panel-3); }
.play-btn .ico-pause, .play-btn .eq { display: none; }
.play-btn.is-current { background: var(--blue); box-shadow: 0 0 0 4px rgba(255, 219, 164, .2), 0 0 calc(10px + var(--level) * 30px) rgba(255, 219, 164, .7); }
.play-btn.is-current.is-playing .ico-play { display: none; }
.play-btn.is-current.is-playing .eq { display: flex; }
.play-btn.is-current.is-playing:hover .eq { display: none; }
.play-btn.is-current.is-playing:hover .ico-pause { display: block; }
.play-btn.is-current:not(.is-playing) .ico-play { display: block; }
.eq { gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; border-radius: 1px; background: currentColor; animation: eq .8s ease-in-out infinite; height: 4px; }
.eq i:nth-child(2) { animation-delay: -.25s; } .eq i:nth-child(3) { animation-delay: -.5s; } .eq i:nth-child(4) { animation-delay: -.12s; }
@keyframes eq { 50% { height: 14px; } }

/* ---------- filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--dim); font-weight: 400; transition: all .2s; }
.filter .mono { font-size: 10px; color: var(--faint); }
.filter:hover:not(:disabled) { color: var(--text); border-color: var(--ice); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter.is-active .mono { color: var(--bg); }
.filter:disabled { opacity: .45; cursor: not-allowed; }
.card.is-filtered { display: none; }
.empty { color: var(--dim); padding: 40px 0; text-align: center; }


/* ---------- fiche produit ---------- */
.product { padding-top: clamp(100px, 13vw, 130px); }
.crumbs { color: var(--faint); margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--text); }
.product__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.product__media { position: sticky; top: 96px; }
.product__cover { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1; background: var(--panel-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 90px color-mix(in srgb, var(--accent) 22%, transparent); transform-style: preserve-3d; }
.product__cover img { width: 100%; height: 100%; object-fit: cover; }
.product__play { position: absolute; right: 18px; bottom: 18px; --s: 64px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 64px; border-radius: 10px; overflow: hidden; opacity: .5; box-shadow: inset 0 0 0 1px var(--line-2); transition: opacity .2s; }
.thumb img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.thumb.is-active, .thumb:hover { opacity: 1; box-shadow: 0 0 0 2px var(--ice); }
.product__title { font-size: clamp(34px, 4.6vw, 62px); margin: 4px 0 8px; overflow-wrap: anywhere; }
.product__sub { color: var(--dim); font-size: clamp(14px, 1.3vw, 17px); }
.product__buy { margin: 22px 0; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%); }
.product__buy .btn { width: 100%; }
.product__secure { color: var(--faint); margin-top: 12px; text-align: center; }
.product__desc p { color: var(--dim); margin-bottom: 14px; max-width: 60ch; }
.product__desc p:first-child { color: var(--text); font-size: 18px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 26px; border-radius: var(--r-md); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.specs > div { background: var(--panel); padding: 14px 16px; }
.specs dt { color: var(--faint); margin-bottom: 4px; }
.specs dd { font-weight: 400; }
.product__lower { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(14px, 2vw, 22px); margin-top: clamp(40px, 6vw, 80px); }
.product__block { padding: clamp(18px, 2.6vw, 30px); }
.product__block .h3 { margin-bottom: 14px; }
.product__block--notes { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: baseline; }
.product__block--notes .h3 { margin: 0; }
.product__block--notes p { color: var(--dim); }
.contents { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.contents li { padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.contents b { display: block; font-size: 34px; line-height: 1; color: var(--ice); margin-bottom: 6px; }
.contents span { color: var(--dim); font-size: 14px; }
.contents__total { color: var(--faint); margin-top: 14px; }
.sticky-buy {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 14px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 999px;
  background: rgba(12, 15, 22, .88); border: 1px solid var(--line-2); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transform: translate(-50%, 160%); transition: transform .45s var(--ease);
}
.sticky-buy.is-visible { transform: translate(-50%, 0); }
.sticky-buy img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; }
.sticky-buy { max-width: calc(100% - 24px); }
.sticky-buy > div { min-width: 0; }
.sticky-buy__title { font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .mono { color: var(--faint); font-size: 9.5px; }
@media (max-width: 900px) {
  .product__grid, .product__lower { grid-template-columns: minmax(0, 1fr); }
  .product__media { position: relative; top: 0; max-width: 520px; }
  .product__block--notes { grid-template-columns: 1fr; }
}

/* ---------- toolbar prods ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.toolbar input, .toolbar select, .field input, .field select, .field textarea {
  height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  color: var(--text); outline: none; transition: border-color .2s, background .2s;
}
.toolbar input { width: min(320px, 100%); }
.toolbar select, .field select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.toolbar select option, .field select option { background: var(--panel); }
.toolbar input:focus, .toolbar select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ice); background: rgba(255, 219, 164, .05); }
.toolbar__count { margin-left: auto; color: var(--faint); }
.beat.is-hidden { display: none; }

/* =========================================================
   Audio : lecteur persistant, pistes
   ========================================================= */
.player {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
  border-radius: 22px; border: 1px solid var(--line-2);
  background: rgba(10, 12, 19, .86); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
  animation: player-in .5s var(--ease);
}
@keyframes player-in { from { transform: translateY(120%); opacity: 0; } }
.player__inner { display: grid; grid-template-columns: auto minmax(120px, 1fr) auto minmax(180px, 2fr) auto auto auto auto; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; height: 64px; }
.player__cover img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--panel-3); }
body.is-playing .player__cover img { animation: pulse-cover 1.8s ease-in-out infinite; }
@keyframes pulse-cover { 50% { box-shadow: 0 0 0 3px rgba(255, 219, 164, .35); } }
.player__meta { min-width: 0; display: flex; flex-direction: column; }
.player__title { font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__title:hover { color: var(--ice); }
.player__sub { color: var(--faint); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: 2px; }
.player__main { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); transition: transform .2s; }
.player__main:hover { transform: scale(1.07); }
.player__main .ico-pause, .player__main .spinner { display: none; }
body.is-playing .player__main .ico-play { display: none; }
body.is-playing .player__main .ico-pause { display: block; }
.player.is-loading .player__main .ico-play, .player.is-loading .player__main .ico-pause { display: none; }
.player.is-loading .player__main .spinner { display: block; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.player__progress { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--faint); }
.player__progress .mono { font-size: 10.5px; min-width: 34px; text-align: center; }
.player__wave { flex: 1; min-width: 0; height: 30px; cursor: pointer; display: flex; align-items: center; }
.player__wave canvas { width: 100%; height: 26px; }
.player__viz { width: 64px; height: 32px; }
.player__vol { display: flex; align-items: center; gap: 6px; color: var(--dim); }
.player__vol input { width: 80px; accent-color: var(--blue); }
.player__close { width: 32px; height: 32px; }
@media (max-width: 1080px) { .player__viz, .player__vol { display: none; } .player__inner { grid-template-columns: auto minmax(100px, 1fr) auto minmax(140px, 1.6fr) auto auto; } }
@media (max-width: 720px) {
  body.has-player { --player-h: 72px; }
  .player { left: 6px; right: 6px; border-radius: 18px; }
  .player__inner { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; height: 60px; position: relative; }
  .player__progress { position: absolute; left: 14px; right: 14px; top: -1px; height: 3px; }
  .player__progress .mono { display: none; }
  .player__wave, .player__wave canvas { height: 3px; }
  .player__controls [data-player="prev"] { display: none; }
  .player__buy { display: none !important; }
}

/* ---------- pistes ---------- */
.tracks { display: grid; }
.track { display: grid; grid-template-columns: 26px 36px minmax(0, 1fr) minmax(60px, 160px) 40px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.track:last-child { border-bottom: 0; }
.track__n { color: var(--faint); font-size: 10.5px; }
.track__main { min-width: 0; display: flex; flex-direction: column; }
.track__title { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__from { color: var(--faint); font-size: 10px; }
a.track__from:hover { color: var(--ice); }
.track__wave { width: 100%; height: 22px; opacity: .85; }
.track__dur { color: var(--faint); text-align: right; font-size: 10.5px; }
.track.is-current .track__title { color: var(--ice); }
.tracks--compact .track { padding: 7px 0; }
@media (max-width: 560px) { .track { grid-template-columns: 36px minmax(0, 1fr) 40px; } .track__n, .track__wave { display: none; } }

/* =========================================================
   Effets : curseur, grain, transition de page, apparitions
   ========================================================= */
.cursor { position: fixed; inset: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-tilt] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 219, 164, .55);
  display: grid; place-items: center;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.cursor__label { opacity: 0; color: #fff; font-size: 9.5px; letter-spacing: .12em; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--ice); background: rgba(255, 219, 164, .08); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--blue); border-color: transparent; box-shadow: 0 0 30px rgba(255, 219, 164, .6); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.8); }
.cursor-bit { position: fixed; z-index: 119; pointer-events: none; font: 400 10px/1 var(--f-mono); color: rgba(246, 242, 236, .5); transform: translate(-50%, -50%); animation: bit .7s steps(5) forwards; }
@keyframes bit { 40% { opacity: .5; } 60% { opacity: .15; } 80% { opacity: .4; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))); opacity: 0; } }

.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* transition entre les pages */
.wipe { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #0f1a30, #05060a 70%); clip-path: inset(100% 0 0 0); }
.wipe img { width: 64px; opacity: 0; filter: drop-shadow(0 0 20px rgba(255, 219, 164, .8)); }
.wipe.is-in { clip-path: inset(0 0 0 0); transition: clip-path .42s var(--ease-in-out); }
.wipe.is-in img { opacity: 1; transition: opacity .2s .15s; animation: spin 1.2s linear infinite; }
.wipe.is-out { clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease-in-out); }

/* apparitions au scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; filter: none; } }

/* scramble */
[data-scramble] .sw { display: inline-block; white-space: nowrap; }
[data-scramble] .sc { position: relative; }
[data-scramble] .sc.is-glitch { color: transparent; text-shadow: none; }
[data-scramble] .sc.is-glitch::after {
  content: attr(data-g); position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  color: var(--ice); text-shadow: 0 0 12px rgba(255, 219, 164, .8);
}

/* inclinaison */
[data-tilt] { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .5s var(--ease); }
[data-tilt].is-tilting { transition: transform .08s linear; }

/* =========================================================
   Pages : artiste, contact, mentions, 404
   ========================================================= */
.artist { padding-top: clamp(120px, 16vw, 180px); }
.artist__intro { max-width: 680px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.artist__intro .kicker { justify-content: center; }
.artist__logo { margin: 4px 0 18px; }
.artist__logo img { width: clamp(140px, 16vw, 190px); filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .6)); }
.artist__bio { color: var(--text); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; max-width: 46ch; text-wrap: balance; }
.artist__cta { justify-content: center; margin-top: 34px; }
.btn--icon .ico { margin-right: -2px; }

/* bandeau des labels / chaînes */
.partners {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(22px, 5vw, 56px);
  width: 100%; margin-top: 30px; padding: 16px 0;
  border-block: 1px solid var(--line);
}
.partners img { height: clamp(22px, 2.8vw, 30px); width: auto; opacity: .42; transition: opacity .3s; }
.partners img[src*="retro-jungle"] { height: clamp(30px, 3.8vw, 40px); }
.partners li:hover img { opacity: .75; }

.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.contact__form { padding: clamp(18px, 3vw, 36px); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field__label { color: var(--faint); }
.field input, .field select { width: 100%; border-radius: 14px; }
.field textarea { width: 100%; height: auto; min-height: 160px; padding: 14px 16px; border-radius: 14px; resize: vertical; }
.contact__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.contact__actions .muted { font-size: 10px; max-width: 36ch; }
.contact__side { display: grid; gap: 14px; }
.contact__side .panel { padding: 22px; }
.contact__side .h3 { margin-bottom: 8px; }
.contact__side p { color: var(--dim); margin-bottom: 8px; }
.contact__mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 400; font-size: 14px; margin-top: 4px; word-break: break-all; }
.contact__mail:hover { color: var(--ice); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

.prose { padding: clamp(22px, 4vw, 48px); max-width: 860px; }
.prose h2 { font-family: var(--f-ui); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin: 26px 0 10px; color: var(--cream); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--dim); margin-bottom: 10px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.notfound { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding-top: 100px; }
.notfound__code { font-size: clamp(90px, 20vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--blue); text-shadow: 0 0 60px rgba(255, 219, 164, .4); }

/* Gumroad ajoute son logo dans les boutons d'achat : on le masque */
.gumroad-button .logo-full { display: none !important; }

/* =========================================================
   Thème sombre et chaud (crème sur noir, esprit hip-hop)
   Surcharges des composants : formes nettes, peu de lueurs,
   titres en police display crème, libellés en police large.
   ========================================================= */

/* ---------- dernier drop ---------- */
.drop::before { background: radial-gradient(50% 60% at 0% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); }
.drop__media { box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.drop__title { font-size: clamp(28px, 3.4vw, 44px); }
.drop__sub { font-size: 15px; max-width: 48ch; margin-top: 6px; }
.drop__price { font-family: var(--f-ui); font-weight: 400; font-size: 20px; letter-spacing: .02em; color: var(--text); margin: 14px 0 12px; }

/* ---------- cartes ---------- */
.card { background: var(--panel); }
.card:hover { border-color: var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
/* titres des kits et des prods : Subjectivity Extra Bold Slanted */
.card__title, .drop__title, .product__title, .beat__title, .sticky-buy__title {
  font-family: var(--f-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; color: var(--text);
}
.card__title { font-size: 16px; line-height: 1.1; }
.beat__title { font-size: 15px; letter-spacing: 0; }
.sticky-buy__title { font-size: 14px; }
.card__meta span { color: var(--faint); }
.cart-item__title, .track__title, .player__title { font-family: var(--f-ui); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.badge { border-radius: var(--r-sm); background: var(--cream); color: #17120c; box-shadow: none; font-family: var(--f-ui); font-weight: 400; }
.badge--coral { background: var(--coral); color: #120404; }
.card--soon .card__media--soon { background: radial-gradient(70% 55% at 50% 45%, rgba(255, 122, 99, .1), transparent), var(--panel-2); }
.card--soon:hover { border-color: rgba(255, 122, 99, .35); }
.card__glare { background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .14), transparent 55%); }

/* ---------- boutons lecture ---------- */
.play-btn { background: rgba(10, 10, 10, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.play-btn:hover { box-shadow: inset 0 0 0 1px var(--text); }
.play-btn--sm { background: var(--panel-3); }
.play-btn.is-current { background: var(--cream); color: #17120c; box-shadow: 0 0 calc(6px + var(--level) * 22px) rgba(255, 219, 164, .45); }

/* ---------- listes ---------- */
.contents b { font-family: var(--f-ui); font-weight: 400; font-size: 22px; line-height: 1.2; letter-spacing: .02em; color: var(--cream); }
.filter { border-radius: var(--r-sm); font-family: var(--f-ui); font-weight: 400; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.toolbar input, .toolbar select, .field input, .field select, .field textarea { border-radius: var(--r-sm); background: var(--bg-2); }
.toolbar input:focus, .toolbar select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); background: var(--bg-2); }
.faq__plus { border-radius: var(--r-sm); }
.faq__item[open] .faq__plus { background: var(--text); border-color: var(--text); color: var(--bg); }
.faq__item summary { font-weight: 400; }

/* ---------- fiche produit ---------- */
.product__cover { box-shadow: 0 40px 90px rgba(0, 0, 0, .65); }
.product__title { font-size: clamp(34px, 4.6vw, 62px); }
.product__buy { background: none; border-color: var(--line); }
.thumb { border-radius: var(--r-sm); }
.thumb.is-active, .thumb:hover { box-shadow: 0 0 0 1px var(--text); }
.sticky-buy { border-radius: var(--r-md); background: rgba(12, 12, 13, .94); }
.sticky-buy img { border-radius: var(--r-sm); }

/* ---------- artiste ---------- */
.artist-teaser { grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-inline: clamp(22px, 5vw, 64px); }
.artist-teaser__art { min-height: 0; }
.float-glyph--sm { width: clamp(84px, 10vw, 124px); }
.artist-teaser .display { font-size: clamp(34px, 4vw, 52px); margin-bottom: 10px; }
@media (max-width: 860px) { .artist-teaser { grid-template-columns: minmax(0, 1fr); } .artist-teaser__art { min-height: 0; justify-items: start; } }
.float-glyph { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 calc(var(--level) * 30px) rgba(255, 219, 164, .6)); }
.artist-role { font-family: var(--f-ui); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); font-size: 12px; margin: 4px 0 22px; }

/* ---------- newsletter ---------- */
.stay::after { opacity: .05; filter: grayscale(1); }
.stay__title { font-size: clamp(26px, 3.2vw, 42px); }

/* ---------- lecteur ---------- */
.player { border-radius: var(--r-md); background: rgba(12, 12, 13, .94); }
.player__cover img { border-radius: var(--r-sm); }
.player__main { background: var(--cream); color: #17120c; }
.player__vol input { accent-color: var(--text); }

/* ---------- effets ---------- */
.cursor__ring { border-color: rgba(255, 255, 255, .4); }
.cursor.is-hover .cursor__ring { border-color: var(--text); background: rgba(255, 255, 255, .05); }
.cursor.is-label .cursor__ring { background: var(--text); box-shadow: none; }
.cursor.is-label .cursor__label { color: var(--bg); font-family: var(--f-ui); }
.grain { opacity: .07; }
.wipe { background: var(--bg); }
.wipe img { filter: none; opacity: .8; }
[data-scramble] .sc.is-glitch::after { color: var(--text); text-shadow: 0 0 8px rgba(255, 255, 255, .45); }
.notfound__code { -webkit-text-stroke: 1px var(--dim); text-shadow: none; font-size: clamp(90px, 20vw, 240px); }
.prose h2 { color: var(--cream); }
.contact__mail { font-family: var(--f-ui); font-weight: 400; }
.faq__item[open] .faq__plus { transform: none; }
.faq__item[open] .faq__plus .ico { transform: rotate(45deg); }
.faq__plus .ico { transition: transform .3s var(--ease); }
@media (max-width: 700px) { .hero { min-height: auto; padding-bottom: 40px; } }

/* ---------- boutons : survol façon « bug », sans changement de couleur ---------- */
.btn--primary:hover, .btn--primary.gumroad-button:hover { background: var(--cream) !important; border-color: var(--cream) !important; color: #17120c !important; box-shadow: none !important; }
.btn:hover .btn__label, .btn:focus-visible .btn__label { animation: btn-bug .32s steps(2) 1; }
@keyframes btn-bug {
  0%   { transform: translate(0); clip-path: inset(0 0 0 0); }
  25%  { transform: translate(-1.5px, 0); clip-path: inset(0 0 45% 0); }
  50%  { transform: translate(1.5px, 0); clip-path: inset(40% 0 0 0); }
  75%  { transform: translate(-.5px, 0); clip-path: inset(0 0 0 0); }
  100% { transform: translate(0); clip-path: inset(0 0 0 0); }
}
.btn__label { display: inline-block; }
.contact__insta { margin-top: 10px; }

/* logos fixes : pas de flottement ni de rotation */
.float-glyph { animation: none; transform: none; transition: none; }
.brand__glyph { transform: none; }
.card--soon .card__media--soon img { animation: none; }

/* =========================================================
   Panier : bouton d'ajout, compteur, tiroir, page /cart/
   ========================================================= */

/* ---------- bouton « ajouter au panier » ---------- */
.add-to-cart .btn__label--in, .add-to-cart .ico-in { display: none; }
.add-to-cart.is-in-cart .btn__label--add, .add-to-cart.is-in-cart .ico-add { display: none; }
.add-to-cart.is-in-cart .btn__label--in, .add-to-cart.is-in-cart .ico-in { display: inline-block; }
.btn--primary.add-to-cart.is-in-cart { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--primary.add-to-cart.is-in-cart:hover { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost.add-to-cart.is-in-cart { border-color: var(--text); }

/* ---------- compteur dans l'en-tête ---------- */
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--text); color: var(--bg); font-size: 9.5px; letter-spacing: 0; line-height: 1;
}
.cart-count[hidden] { display: none; }
.cart-btn.is-bump .cart-count { animation: cart-bump .45s var(--ease); }
@keyframes cart-bump { 40% { transform: scale(1.35); } }

/* ---------- tiroir ---------- */
.cart-layer { position: fixed; inset: 0; z-index: 90; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.cart {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: var(--panel); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform .35s var(--ease);
  outline: none;
}
.cart-layer.is-open .cart-backdrop { opacity: 1; }
.cart-layer.is-open .cart { transform: none; }
body.cart-open { overflow: hidden; }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.cart__n { color: var(--faint); letter-spacing: .08em; }
.cart .cart__body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 20px 24px; display: flex; flex-direction: column; }

/* ---------- contenu (tiroir + page) ---------- */
.cart__list { display: grid; }
.cart-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 32px; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__img img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); background: var(--panel-2); }
.cart-item__main { display: grid; gap: 3px; min-width: 0; }
.cart-item__title { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item__title:hover { color: var(--ice); }
.cart-item__type { color: var(--faint); font-size: 10.5px; }
.cart-item__price { color: var(--text); font-size: 13px; }
.cart-item__rm { width: 32px; height: 32px; }
.cart-item__rm:hover { color: var(--coral); }

.cart__empty { display: grid; justify-items: start; gap: 16px; padding: 28px 0; color: var(--dim); }
.cart__empty[hidden], .cart__foot[hidden] { display: none; }
.cart__foot { display: grid; gap: 14px; padding-top: 18px; }
.cart__total { display: flex; align-items: baseline; justify-content: space-between; }
.cart__total .mono { color: var(--faint); }
.cart__total b { font-family: var(--f-ui); font-weight: 400; font-size: 20px; letter-spacing: .02em; color: var(--cream); }
.cart__checkout { width: 100%; }
.cart__checkout:disabled { opacity: .6; cursor: progress; }
.cart__status { color: var(--ice); font-size: 14px; }
.cart__fallback { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2); }
.cart__fallback p { font-size: 13px; }
.cart__fallback ul { display: grid; }
.cart__fallback .link-arrow { font-size: 11px; white-space: normal; }
.cart__note { color: var(--faint); font-size: 12.5px; line-height: 1.5; }
.cart__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cart__links .link-arrow { font-size: 11px; }
.cart__clear { color: var(--faint); }
.cart__clear:hover { color: var(--coral); }

.cart-page { max-width: 760px; padding: clamp(18px, 3vw, 36px); }
.cart-page .cart__foot { max-width: 420px; margin-left: auto; }

/* ---------- confirmation d'ajout ---------- */
.cart-toast {
  position: fixed; z-index: 95; left: 50%; top: 70px;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 24px); padding: 10px 12px 10px 14px;
  background: var(--text); color: var(--bg); border-radius: var(--r-sm);
  font-size: 11px; letter-spacing: .06em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  opacity: 0; transform: translate(-50%, -8px); transition: opacity .25s, transform .25s var(--ease);
}
.cart-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cart-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-toast button { flex: none; padding: 5px 9px; border: 1px solid currentColor; border-radius: var(--r-sm); font: inherit; text-transform: uppercase; }
.cart-toast button:hover { background: var(--bg); color: var(--text); }

@media (max-width: 560px) {
  .cart-item { grid-template-columns: 48px minmax(0, 1fr) auto 28px; gap: 10px; }
  .cart-item__img img { width: 48px; height: 48px; }
}
