/* Ruff D · style « royal » noir et or, commun aux versions D4 (lion/) et D5 (juda/) */
:root {
  --bg: #070605;
  --bg-deep: #040303;
  --line: #2a2212;
  --line-gold: #5a4214;
  --gold: #c8962e;
  --gold-2: #d4a93c;
  --cream: #e9d391;
  --text: #e8dcb6;
  --muted: #b9a46c;
  --dim: #8a6a24;
  --light: #fff6d2;
  --foil: linear-gradient(180deg, #fff6d2 0%, #ecc96a 28%, #b8862a 50%, #7a5410 54%, #d6aa48 76%, #fbe9ad 100%);
  --foil-flat: linear-gradient(180deg, #f8e6a8 0%, #d4a93c 46%, #b8862a 54%, #e2b955 100%);
  --roman: "Cinzel", "Times New Roman", serif;
  --deco: "Cinzel Decorative", "Cinzel", serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "Space Mono", "Courier New", monospace;
  --tag: "Sedgwick Ave Display", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--serif); font-size: 21px; line-height: 1.45; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cream); }
a:hover { color: var(--light); }
button { font: inherit; color: inherit; }
h1, h2, p, figure, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.foil { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foil-bg { background: var(--foil-flat); color: var(--bg); }
.deco { font-family: var(--deco); font-weight: 900; }
.flute { background: linear-gradient(90deg, rgba(255,246,210,0) 0%, rgba(255,246,210,.45) 50%, rgba(255,246,210,0) 100%), linear-gradient(180deg, #fff6d2 0%, #ecc96a 30%, #c8962e 52%, #a8761e 58%, #e2b955 80%, #fbe9ad 100%); box-shadow: 0 1px 0 rgba(0,0,0,.7), 0 0 14px rgba(236,201,106,.22); }
.band { height: 12px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 5px; text-transform: uppercase; }
.lead { font-size: 27px; line-height: 1.4; color: var(--text); }
.italic { font-style: italic; }
.center { text-align: center; }
.rule { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; }
.rule::before, .rule::after { content: ""; flex: 1; max-width: 220px; height: 1px; background: linear-gradient(90deg, rgba(200,150,46,0), var(--gold)); }
.rule::after { background: linear-gradient(90deg, var(--gold), rgba(200,150,46,0)); }
.rule span { font-family: var(--mono); font-size: 12px; letter-spacing: 5px; }
.tag-bg { position: absolute; left: -40px; right: -40px; text-align: center; font-family: var(--tag); line-height: 1; color: rgba(212,169,60,.04); white-space: nowrap; pointer-events: none; user-select: none; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.logo { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.logo span { font-family: var(--roman); font-weight: 900; font-size: 30px; letter-spacing: 4px; }
.logo small { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 32px; font-family: var(--roman); font-size: 15px; letter-spacing: 3px; }
.site-header nav a { text-decoration: none; }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.btn { font-family: var(--roman); font-weight: 700; font-size: 17px; letter-spacing: 3px; padding: 16px 34px; min-height: 56px; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; border: 0; }
.btn-gold { box-shadow: 0 0 30px rgba(236,201,106,.25); }
.btn-gold:hover { filter: brightness(1.1); }
.btn-line { border: 1px solid var(--gold); font-weight: 600; }

/* Hero commun */
.hero { position: relative; overflow: hidden; }
.hero h1 { display: flex; flex-direction: column; gap: 12px; font-weight: 400; }
.hero h1 span { font-size: clamp(72px, 11vw, 140px); line-height: .95; letter-spacing: 5px; }
.hero h1 small { font-family: var(--roman); font-weight: 600; font-size: clamp(18px, 2.4vw, 30px); letter-spacing: 14px; }
.halo { position: absolute; pointer-events: none; }
.is-playing .halo { animation: halo 2.4s ease-in-out infinite alternate; }
@keyframes halo { from { opacity: .65; } to { opacity: 1; } }

/* D4 : bandeau avec le médaillon */
.hero-banner { padding: 48px 0 88px; text-align: center; }
.hero-banner .tag-bg { top: 120px; font-size: clamp(160px, 26vw, 340px); transform: rotate(-5deg); }
.hero-banner .halo { left: 50%; top: 300px; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; background: radial-gradient(circle, rgba(236,201,106,.30) 0%, rgba(200,150,46,.10) 30%, rgba(7,6,5,0) 58%); }
.rays { position: absolute; inset: 0; pointer-events: none; background: repeating-conic-gradient(from 0deg at 50% 300px, rgba(236,201,106,.06) 0deg 5deg, rgba(236,201,106,0) 5deg 15deg); -webkit-mask-image: radial-gradient(circle at 50% 300px, #000 0, rgba(0,0,0,.6) 260px, transparent 640px); mask-image: radial-gradient(circle at 50% 300px, #000 0, rgba(0,0,0,.6) 260px, transparent 640px); }
.banner-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.banner-inner .rule { max-width: 640px; }
.banner-inner .rule span { font-family: var(--roman); font-size: 13px; letter-spacing: 6px; color: var(--gold-2); }
.banner-inner .lead { max-width: 560px; }
.banner-inner .actions { justify-content: center; }
.banner-inner h1 { align-items: center; }
.medal-row { display: flex; align-items: center; gap: 28px; width: 100%; justify-content: center; }
.medal-flute { flex: 0 1 260px; height: 10px; }
.medal { position: relative; width: 460px; max-width: 72vw; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(200,150,46,.45), 0 0 0 10px var(--bg), 0 0 0 11px rgba(200,150,46,.35), 0 40px 90px rgba(0,0,0,.9), 0 0 140px rgba(236,201,106,.28); }
.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; }
/* Un passage de lumière 0,4 s après l'ouverture, puis un nouveau toutes les 12 s */
@keyframes shine { 0% { background-position: 120% 0; } 18%, 100% { background-position: -60% 0; } }
.shimmer { background: linear-gradient(100deg, #b8862a 0%, #ecc96a 20%, #fff6d2 30%, #d6aa48 42%, #8a6214 55%, #ecc96a 75%, #fbe9ad 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 100% 0; } }

/* D5 : texte + chevalière du lion de Juda */
.hero-split { min-height: 760px; display: flex; align-items: center; }
.hero-split .tag-bg { top: 60px; font-size: clamp(160px, 26vw, 360px); transform: rotate(-5deg); }
.split-inner { position: relative; width: 100%; padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 26px; }
.hero-text .lead { max-width: 500px; font-size: 28px; }
.signet { flex: 0 1 480px; position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.signet .halo { inset: -80px; background: radial-gradient(circle at 50% 44%, rgba(236,201,106,.32) 0%, rgba(200,150,46,.10) 36%, rgba(7,6,5,0) 64%); }
.signet-ring { position: relative; display: flex; align-items: stretch; filter: drop-shadow(0 34px 50px rgba(0,0,0,.8)); }
.signet-flute { width: 46px; margin: 26px 0; }
.signet-flute.left { border-radius: 22px 0 0 22px; }
.signet-flute.right { border-radius: 0 22px 22px 0; }
.signet-plate { width: 360px; max-width: 64vw; padding: 12px; border-radius: 18px; box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(0,0,0,.35); }
.onyx { border-radius: 10px; padding: 34px 26px 26px; background: radial-gradient(circle at 50% 30%, #1c1810 0%, #0a0806 62%, #040303 100%); box-shadow: inset 0 0 0 1px #8a6214, inset 0 14px 30px rgba(0,0,0,.9); }
.signet .rule span { font-family: var(--roman); font-size: 14px; letter-spacing: 6px; color: var(--gold-2); }

/* Lecteur */
.player { position: sticky; top: 0; z-index: 10; background: var(--bg-deep); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); }
.player-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.round-main { width: 58px; height: 58px; border: 0; background: var(--foil-flat); color: var(--bg); box-shadow: 0 0 0 4px var(--bg-deep), 0 0 0 5px #8a6214; }
.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 320px; display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-left: 8px; }
.now-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.now-title { font-family: var(--roman); font-weight: 600; font-size: 22px; letter-spacing: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.now-title em { font-family: var(--serif); font-size: 20px; letter-spacing: 0; color: var(--muted); }
.now-meta { font-family: var(--mono); font-size: 13px; color: var(--gold-2); }
.status { color: #e0715a; }
input[type="range"] { width: 100%; accent-color: var(--gold-2); cursor: pointer; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 96px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 52px; }
.section-head h2 { font-family: var(--roman); font-weight: 900; font-size: clamp(52px, 7vw, 88px); letter-spacing: 6px; line-height: 1; }
.section-head h2.small { font-size: clamp(40px, 5vw, 56px); letter-spacing: 4px; }
.section-head .lead { max-width: 560px; font-size: 24px; }

/* Mur */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.photo { padding: 6px; background: linear-gradient(180deg, #f8e6a8, #c8962e); box-shadow: 0 10px 24px rgba(0,0,0,.7); }
.photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: sepia(.45) contrast(1.08) brightness(.95); transition: filter .3s; }
.photo:hover img { filter: none; }

/* Studio */
.pano-frame { padding: 10px; border: 1px solid var(--gold); outline: 1px solid var(--line-gold); outline-offset: 8px; margin-bottom: 40px; }
.pano { min-height: 520px; background: linear-gradient(180deg, rgba(7,6,5,.1) 0%, rgba(7,6,5,.05) 45%, rgba(7,6,5,.9) 100%), url(../assets/img/studio-panoramique.jpg) center / cover; filter: sepia(.25); }
#studio .lead { max-width: 760px; margin: 0 auto; font-size: 25px; }

/* Écoute */
.album-head { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; margin-bottom: 56px; }
.album-head > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.album-head h2 { font-family: var(--roman); font-weight: 900; font-size: clamp(44px, 5vw, 64px); letter-spacing: 4px; line-height: 1; }
.album-head .lead { font-size: 24px; }
.cover { padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.7); }
.cover img { width: 220px; height: 220px; object-fit: cover; }
.tracklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); column-gap: 56px; border-top: 1px solid var(--line-gold); }
.row { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; width: 100%; min-height: 70px; padding: 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.row:hover { background: rgba(200,150,46,.07); }
.row:hover .row-title { color: var(--light); }
.row-num { font-family: var(--roman); font-weight: 700; font-size: 28px; color: var(--dim); }
.row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-title { font-family: var(--roman); font-weight: 600; font-size: 19px; letter-spacing: 2px; }
.row-artist { font-size: 18px; font-style: italic; color: var(--muted); }
.row-dur { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.compact .row { min-height: 62px; padding: 8px 10px; }
.compact .row-num { font-size: 24px; }
.compact .row-title { font-size: 18px; }
.is-active .row { background: rgba(200,150,46,.10); }
.is-active .row-num { color: var(--light); }

/* Le producteur, entre les deux listes */
.producer { margin: 96px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 52px; }
.producer figure { flex: 0 1 300px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.7); }
.producer figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: sepia(.3); }
.producer figure.wide { flex: 0 1 440px; }
.producer figure.wide img { aspect-ratio: 16 / 10; object-position: center 22%; }
.producer-text { flex: 0 1 280px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.producer-text .kicker { font-size: 12px; }
.producer-text .deco { font-size: 56px; line-height: 1; }
.producer-text p { font-size: 22px; line-height: 1.4; color: var(--muted); }

/* Pied de page */
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer span { font-family: var(--roman); font-weight: 900; font-size: 24px; letter-spacing: 4px; }
.site-footer a { font-family: var(--mono); font-size: 15px; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header nav { gap: 18px; font-size: 13px; }
  .medal-flute, .signet-flute { display: none; }
  .hero h1 small { letter-spacing: 8px; }
  .hero-split { min-height: 0; }
  .split-inner { gap: 40px; padding-top: 40px; padding-bottom: 48px; }
  .section { padding-top: 72px; padding-bottom: 64px; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .photo { padding: 3px; }
  .pano { min-height: 260px; }
  .row { grid-template-columns: 44px 1fr auto; gap: 12px; }
  .row-num { font-size: 22px; }
  .producer { gap: 32px; margin: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shine, .shimmer, .is-playing .halo { animation: none; }
  .photo img { transition: none; }
}

/* Les ancres ne passent pas sous le lecteur collant */
section[id] { scroll-margin-top: 84px; }
