/* 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 */
/* image fixe plutôt qu'un filtre SVG : le filtre était recalculé à chaque défilement */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .05;
  background: url("img/grain.png"); will-change: transform; }

/* verre : fond fumé flouté, liseré clair en haut comme un reflet */
:root {
  --verre: rgba(22, 20, 16, .55);
  --verre-clair: rgba(255, 255, 255, .07);
  --liseré: rgba(255, 255, 255, .14);
  --flou: blur(14px);
}
.verre { background: rgba(255,255,255,.075); border: 1px solid var(--liseré); border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 50px rgba(0,0,0,.35); }

/* halo jaune derrière la page, pour que le verre ait quelque chose à flouter */
body::after { content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none; will-change: transform;
  background: radial-gradient(40vmax 30vmax at 85% 10%, rgba(252,187,21,.16), transparent 70%),
              radial-gradient(35vmax 30vmax at 5% 70%, rgba(252,140,21,.10), transparent 70%); }

/* en-tête : une pastille de verre qui flotte */
.entete { position: sticky; top: 12px; z-index: 20; margin-top: 12px; color: var(--blanc); }
.entete .page { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 62px; padding: 0 12px 0 24px;
  background: var(--verre); border: 1px solid var(--liseré); border-radius: 999px;
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 34px rgba(0,0,0,.35); }
.nom { font-family: Danbury; font-size: 32px; line-height: 1; text-decoration: none; color: var(--jaune); }
.entete nav { display: flex; gap: 4px; font-weight: 700; font-size: 15px; overflow-x: auto; scrollbar-width: none; }
.entete nav a { text-decoration: none; white-space: nowrap; padding: 9px 16px; border-radius: 999px; transition: background .2s; }
.entete nav a:hover { background: rgba(255,255,255,.1); }
header.entete nav a:last-child { background: var(--jaune); color: var(--noir); }
@media (max-width: 760px) {
  /* sur téléphone : le nom en haut, les 4 onglets en dessous (glisser si besoin) */
  .entete .page { height: auto; flex-wrap: wrap; gap: 6px; padding: 10px 8px 8px; width: calc(100% - 20px); border-radius: 26px; }
  .nom { font-size: 26px; padding-left: 10px; }
  .entete nav { width: 100%; font-size: 14px; }
  .entete nav a { padding: 8px 12px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .entete .page { background: rgba(22,20,16,.94); }
}

/* 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;
  will-change: transform; contain: paint; } /* tourne sur la carte graphique, sans redessiner les sillons */
.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: 15px 26px; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 30px rgba(252,187,21,.28); transition: transform .2s, box-shadow .2s; }
.bouton.noir { background: var(--noir); color: var(--jaune); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.bouton:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 38px rgba(252,187,21,.4); }

@media (prefers-reduced-motion: reduce) {
  .pochette.sorti .disque { animation: none; }
  .pochette .disque, .bouton { transition: none; }
  html { scroll-behavior: auto; }
}

/* onglet actif */
.entete nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
header.entete nav a:last-child[aria-current="page"] { box-shadow: 0 0 0 2px var(--blanc) inset; }

/* haut de page commun aux onglets */
.tete { position: relative; padding: 80px 0 60px; }
.tete h1 { font-family: Danbury; font-weight: 400; font-size: clamp(46px, 6.5vw, 92px); line-height: 1.05; margin: 0 0 22px; max-width: 14ch; }
.tete .chapo { font-family: Adjust; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.28; margin: 0; max-width: 34ch; color: rgba(253,253,253,.9); }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.bouton.verre-bouton { background: rgba(255,255,255,.08); color: var(--blanc); border: 1px solid var(--liseré); box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}

/* grille de cartes en verre */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-bottom: 80px; }
.carte { padding: 30px 28px 32px; text-decoration: none; display: block; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s; }
a.carte:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.carte h2, .carte h3 { font-family: Danbury; font-weight: 400; font-size: 34px; line-height: 1.1; margin: 18px 0 10px; color: var(--jaune); }
.carte p { margin: 0; color: rgba(253,253,253,.82); }
.carte .suite { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 15px; color: var(--blanc); }
/* petite étiquette de disque en haut de carte */
.pastille { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--jaune); color: var(--noir);
  font-family: Danbury; font-size: 26px; box-shadow: 0 0 0 6px rgba(252,187,21,.15); }

/* titre de section */
.section-titre { font-family: Danbury; font-weight: 400; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.1; margin: 0 0 26px; }

/* le chiffre mis en avant */
.chiffre { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; padding: 34px 38px; margin-bottom: 80px; }
.chiffre b { font-family: Danbury; font-weight: 400; font-size: clamp(64px, 9vw, 120px); line-height: 1; color: var(--jaune); }
.chiffre p { margin: 0; font-size: 19px; }
.chiffre small { display: block; margin-top: 6px; color: var(--gris); font-size: 15px; }

/* pied de page : la pastille @100dcibel posée sur un disque qui sort du bas */
.pied { position: relative; overflow: hidden; isolation: isolate; width: min(1280px, 100% - 20px); margin: 60px auto 0; padding: 64px 0 34px;
  border-radius: 40px 40px 0 0; border: 1px solid var(--liseré); border-bottom: 0; background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.pied .disque { width: 620px; right: -140px; bottom: -380px; z-index: -1; animation: tourner 18s linear infinite; opacity: .9; }
.pied-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.badge { display: inline-flex; align-items: center; gap: 18px; padding: 10px 34px 10px 10px; border-radius: 999px; background: var(--noir); color: var(--blanc);
  text-decoration: none; font-weight: 900; font-size: clamp(26px, 4vw, 46px); letter-spacing: -.01em; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 50px rgba(0,0,0,.5);
  transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.badge-logo { width: 1.75em; height: 1.75em; border-radius: 50%; background: url("img/logo.svg") center / cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.badge:hover { transform: translateY(-3px); }
.badge:hover .badge-logo { transform: rotate(360deg); }
.ronds { display: flex; gap: 12px; }
.ronds a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--liseré); transition: background .2s, transform .2s; }
.ronds a:hover { background: var(--jaune); transform: translateY(-3px); }
.ronds i { width: 24px; height: 24px; background: var(--blanc); -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.ronds a:hover i { background: var(--noir); }
.pied-phrase { font-family: Adjust; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin: 34px 0 54px; max-width: 26ch; color: rgba(253,253,253,.9); }
.pied-phrase span { color: var(--jaune); }
.pied-bas { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--gris); }
.pied-bas a { color: var(--blanc); font-weight: 700; text-decoration: none; }
.pied-bas a:hover { color: var(--jaune); }
@media (prefers-reduced-motion: reduce) { .pied .disque { animation: none; } }
@media (max-width: 760px) {
  .tete { padding: 44px 0 40px; }
  .chiffre { grid-template-columns: 1fr; gap: 10px; padding: 26px 24px; }
  .pied { border-radius: 28px 28px 0 0; padding-top: 44px; }
  .pied .disque { width: 380px; right: -160px; bottom: -220px; opacity: .55; }
  .badge { gap: 12px; padding-right: 24px; }
  .ronds a { width: 50px; height: 50px; }
  .pied-phrase { margin: 26px 0 36px; }
}
/* petit téléphone : les onglets passent sur deux lignes plutôt que d'être coupés */
@media (max-width: 480px) { .entete nav { flex-wrap: wrap; overflow: visible; } }
