/* Band View V2 « The Music Archive » : toutes les valeurs communes (couleurs, typo, espacements, rayons).
   Le mode sombre est la référence ; le clair est un ivoire chaud, pas une inversion.
   Thème : <html data-theme="light|dark"> (choix mémorisé, voir js/theme.js) ; sans attribut = celui du système.
   Chaque couleur s'écrit light-dark(clair, sombre). Ne jamais mettre de couleur en dur ailleurs : passer par ces variables. */
:root{
  color-scheme:light dark;

  /* couleurs */
  --bv-bg:light-dark(#F4F1EB,#141416);         /* fond principal */
  --bv-side:light-dark(#EAE6DF,#101012);       /* navigation latérale */
  --bv-card:light-dark(#FFFFFF,#252528);       /* surface des cartes */
  --bv-card-2:light-dark(#E6E2DA,#303033);     /* surface secondaire */
  --bv-ink:light-dark(#141416,#F4F1EB);        /* texte principal */
  --bv-mute:light-dark(#5D5D5A,#A6A6AA);       /* texte secondaire */
  --bv-red:light-dark(#C32E29,#E33B36);        /* rouge identitaire : accents, bordures, icônes, grands titres */
  /* Le #E33B36 du brief n'atteint pas le contraste AA en petit texte sur fond sombre (4,3:1) ni sous du texte blanc (4,25:1).
     D'où deux variantes très proches, à utiliser selon le cas : */
  --bv-red-fill:light-dark(#C32E29,#D6332E);   /* fond d'un bouton rouge à texte blanc (4,8:1) */
  --bv-red-ink:light-dark(#B02924,#F7746E);    /* petit texte rouge, AA sur toutes les surfaces (4,8:1 mini) */
  --bv-on-red:#FFFFFF;
  --bv-link:light-dark(#254BB5,#779CFF);       /* liens */
  --bv-line:light-dark(#D8D4CD,#38383A);       /* bordures */
  --bv-star:light-dark(#855A00,#E7B74D);       /* étoiles et notes */
  --bv-ok:light-dark(#1E6C41,#71C99B);         /* succès, prix favorable */
  --bv-spotify:#1DB954;
  --bv-deezer:#A238FF;
  --bv-apple:#FA2D48;
  --bv-shadow-color:light-dark(rgb(20 20 22 / .10),rgb(0 0 0 / .45));
  --bv-shadow:0 1px 2px var(--bv-shadow-color);
  --bv-focus:light-dark(#254BB5,#779CFF);

  /* typographie */
  --bv-font-display:Anton,Impact,'Arial Narrow',sans-serif;
  --bv-font-text:Archivo,system-ui,sans-serif;
  --bv-font-zine:'Special Elite','Courier New',monospace;
  --bv-fs-hero:clamp(36px,6vw,80px);           /* accroche */
  --bv-fs-artist:clamp(32px,5.4vw,72px);       /* nom d'artiste */
  --bv-fs-page:clamp(28px,3.6vw,48px);         /* titre de page */
  --bv-fs-section:clamp(22px,2.4vw,32px);      /* titre de section */
  --bv-fs-card:clamp(16px,1.2vw,18px);         /* titre de carte */
  --bv-fs-body:16px;
  --bv-fs-meta:14px;
  --bv-fs-label:12px;

  /* espacements : 4, 8, 12, 16, 24, 32, 48, 64 */
  --bv-s1:4px;--bv-s2:8px;--bv-s3:12px;--bv-s4:16px;--bv-s5:24px;--bv-s6:32px;--bv-s7:48px;--bv-s8:64px;

  /* formes */
  --bv-r-card:10px;
  --bv-r-btn:7px;
  --bv-r-cover:5px;
  --bv-r-pill:999px;
  --bv-tap:44px;                               /* zone tactile minimale */

  /* mise en page */
  --bv-side-w:240px;
  --bv-bottom-h:64px;
}
:root[data-theme="light"]{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark}
