/* D'cibel, D.A « le disque ».
   Le rond jaune du logo = l'étiquette d'un vinyle. Chaque pochette a son disque, les sorties sont « dans les bacs »,
   un article se lit comme les notes au dos d'un album (Face A, Face B, papier crème).
   Polices : Danbury (nom, gros titres), Adjust Smile (titres d'articles, citations), Satoshi (texte). */
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
/* version en ligne : Danbury -> « Dcibel Titre » (Unbounded Black penchée, OFL), Adjust Smile -> Satoshi */
@font-face { font-family: "Danbury"; src: url("fonts/DcibelTitre.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Adjust"; src: url("fonts/Satoshi-700.woff2") format("woff2"); font-display: swap; }
:root {
  --jaune: #FCBB15;
  --noir: #0E0E0E;
  --blanc: #FDFDFD;
  --papier: #F2ECE0;      /* le papier des notes de pochette */
  --encre: #1A1712;       /* texte sur papier */
  --gris: rgba(253, 253, 253, .6);
  --trait: rgba(255, 255, 255, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--noir); color: var(--blanc); font: 500 18px/1.6 Satoshi, system-ui, sans-serif; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
[id] { scroll-margin-top: 70px; } /* le titre ne passe pas sous l'en-tête fixe */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.page { width: min(1200px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }

/* grain léger, comme une pochette imprimée */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* en-tête */
.entete { background: var(--jaune); color: var(--noir); position: sticky; top: 0; z-index: 20; }
.entete .page { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nom { font-family: Danbury; font-size: 36px; line-height: 1; text-decoration: none; }
.entete nav { display: flex; gap: 28px; font-weight: 700; font-size: 15px; }
.entete nav a { text-decoration: none; }
.entete nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* le disque : sillons + étiquette jaune D'cibel */
.disque { position: absolute; border-radius: 50%; aspect-ratio: 1;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255,255,255,.06) 17.5% 18%, transparent 18.5%),
    repeating-radial-gradient(circle, #101010 0 2px, #1c1c1c 2px 3px),
    #111;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 0 0 2px #000; }
.disque::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,.12) 14%, transparent 20% 60%, rgba(255,255,255,.08) 64%, transparent 70%); }
.disque::after { content: ""; position: absolute; inset: 32%; border-radius: 50%;
  background: url("img/logo.svg") center / cover; }
@keyframes tourner { to { transform: rotate(360deg); } }

/* une pochette avec son disque qui dépasse */
.pochette { position: relative; }
.pochette .disque { width: 92%; top: 4%; left: 4%; transition: left .5s cubic-bezier(.2,.8,.2,1); }
.pochette img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.pochette:hover .disque, .pochette.sorti .disque { left: 42%; }
.pochette.sorti .disque { animation: tourner 6s linear infinite; }

/* boutons */
.bouton { display: inline-flex; align-items: center; gap: 10px; background: var(--jaune); color: var(--noir); font-weight: 900; text-decoration: none; padding: 14px 24px; border-radius: 999px; }
.bouton.noir { background: var(--noir); color: var(--jaune); }
.bouton:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .pochette.sorti .disque { animation: none; }
  .pochette .disque, .bouton { transition: none; }
  html { scroll-behavior: auto; }
}
