/* Ruff D · essai « moderne » : noir, crème, un seul accent doré, médaillon au lion */
:root {
  --bg: #0b0b0c;
  --panel: #14120d;
  --line: #2a2418;
  --ink: #f4ecd6;
  --mute: #a39870;
  --accent: #d9ac45;
  --gold-hi: #f3d98a;
  --foil: linear-gradient(180deg, #fff6d2 0%, #ecc96a 28%, #b8862a 50%, #7a5410 54%, #d6aa48 76%, #fbe9ad 100%);
  --line-gold: #3a2f17;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { margin: 0 0 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Barre du haut */
.bar { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(20px, 5vw, 64px); background: linear-gradient(var(--bg), rgba(11,11,12,0)); }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand span { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.bar nav { display: flex; gap: 28px; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--mute); transition: color .2s; }
.bar nav a:hover { color: var(--ink); }

/* Accueil */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 64px) clamp(56px, 9vh, 96px); }
.hero h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .18em; font-weight: 800; font-size: clamp(96px, 17vw, 280px); line-height: .82; letter-spacing: -.055em; }
.hero h1, .sec-head h2, .tracks-head h2 { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.5)); }
.medal { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(217,172,69,.5), 0 0 0 12px var(--bg), 0 0 0 13px rgba(217,172,69,.3), 0 40px 100px rgba(0,0,0,.9), 0 0 160px rgba(243,217,138,.22); }
.medal img { width: 100%; height: 100%; object-fit: cover; }
.shine { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255,246,214,.28) 48%, transparent 60%); background-size: 260% 100%; background-position: 120% 0; animation: shine 12s ease-in-out .4s infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes shine { 0% { background-position: 120% 0; } 18%, 100% { background-position: -60% 0; } }
.lead { max-width: 30ch; margin: 36px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.01em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--accent); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-solid:hover { background: var(--gold-hi); }
.btn-ghost { background: transparent; color: var(--gold-hi); }
.btn-ghost:hover { background: var(--accent); color: var(--bg); }

/* Lecteur : pilule flottante en haut */
.player { position: sticky; top: 64px; z-index: 20; display: flex; align-items: center; gap: 12px; width: min(960px, calc(100% - 24px)); margin: 0 auto; padding: 10px 20px 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(21,21,22,.78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.round { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; transition: background .2s; }
.round:hover { background: var(--line); }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.round-main { width: 48px; height: 48px; background: var(--accent); color: #0b0b0c; }
.round-main:hover { background: var(--gold-hi); }
.round-main svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.ic-pause, .is-playing .ic-play { display: none; }
.is-playing .ic-pause { display: block; }
.now { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.now-title { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; font-size: 16px; line-height: 1.2; }
.now-title em { font-style: normal; color: var(--mute); font-weight: 400; margin-left: 6px; }
.now-meta { flex: none; margin: 0; font-family: var(--mono); font-size: 12px; color: var(--mute); text-align: right; white-space: nowrap; }
.status:not(:empty) { margin-right: 10px; color: var(--accent); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 16px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: var(--line); }
input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; border: 0; background: var(--ink); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; border: 0; background: var(--ink); }

/* Sections */
.studio, .producer { padding: clamp(64px, 10vh, 120px) clamp(20px, 5vw, 64px) 0; }
.sec-head { margin-bottom: 32px; }
.sec-head h2, .tracks-head h2 { margin: 0; font-size: clamp(44px, 6.5vw, 96px); line-height: .95; letter-spacing: -.035em; font-weight: 800; }
.sec-sub { margin: 16px 0 0; max-width: 52ch; color: var(--mute); }
.pano, .portrait { margin: 0; }
.pano img, .portrait img { border-radius: 28px; background: var(--panel); border: 1px solid var(--line-gold); }
.pano img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.9) sepia(.35); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.1) sepia(.35); }
figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.studio-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.studio-text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.studio-text p { margin: 0; max-width: 40ch; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.01em; }

/* Titres */
.tracks { padding: clamp(72px, 12vh, 140px) clamp(20px, 5vw, 64px); }
.tracks-head { margin-bottom: 40px; }
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 18px 8px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; transition: background .2s, padding .2s; }
.row:hover { background: var(--panel); padding-left: 20px; }
.row-num { font-family: var(--mono); font-size: 14px; color: var(--mute); }
.row-main { display: flex; flex-direction: column; min-width: 0; }
.row-title { font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.row-artist { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; color: var(--mute); }
.row-dur { font-family: var(--mono); font-size: 14px; color: var(--mute); }
.is-active .row { background: var(--panel); }
.is-active .row-num, .is-active .row-title { color: var(--accent); }

/* Pied de page */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 32px clamp(20px, 5vw, 64px) 48px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--mute); }
.foot a { text-decoration: none; color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .medal { order: -1; width: min(72%, 340px); }
  .bar nav { gap: 18px; }
  .brand span { display: none; }
  .player { top: 60px; padding-right: 14px; border-radius: 28px; flex-wrap: wrap; }
  .now { flex-basis: calc(100% - 200px); }
  .now-meta { display: none; }
  .studio-row { grid-template-columns: 1fr; align-items: start; }
  .pano img { aspect-ratio: 16 / 9; }
  .bar nav a:nth-child(2) { display: none; }
  .row { grid-template-columns: 40px minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .row, .round { transition: none; }
  .shine { animation: none; }
}
