/* Kaardinal v2 — inspiré du système d'import-export.cc : noir/blanc, une police, une graisse, hiérarchie par la taille.
   --accent = rouge du logo (bordures, icônes) ; --accent-text = variante plus foncée (texte, fonds à texte blanc, contraste AA). */
:root { --accent: #EE4243; --accent-text: #D32F31; --line: 2px solid #000; --gap: 10px; --pad: 12px; }
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, p, a, ul, li, img, figure, hr, iframe {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

html { font-size: 16px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-item img { transition: none; }
}

body {
  background-color: #FFFFFF;
  color: #2B2B2B;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  line-height: 1.875;
  min-height: 100vh;
}


main, footer.site-footer { position: relative; z-index: 1; }

h1, h2, h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  color: #1A1A1A;
}

a { transition: color 0.25s ease; }

.wrap { max-width: 84rem; margin: 0 auto; padding: 0 2rem; }

/* icon links — bare glyphs, no chrome */
.icon-links { display: flex; align-items: center; gap: 1.25rem; }
.icon-links a { display: inline-flex; }
.icon-links svg { width: 1.5em; height: 1.5em; fill: #2B2B2B; transition: fill 0.25s ease; }
.icon-links a:hover svg { fill: var(--accent); }

.divider {
  border: 0;
  height: 1px;
  width: 100%;
  background-color: var(--accent-text);
  margin: 1.75rem 0;
}

/* ---------- ARTIST / LIST / LEGAL top bar ---------- */
.top-bar { padding: 2rem 2rem 0; max-width: 84rem; margin: 0 auto; }

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background-color: #000000;
  color: #FFFFFF;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.875em;
  padding: 0.78125rem 1.25rem;
  border-radius: 0.875rem;
  text-decoration: none;
}

.back-button svg { width: 1em; height: 1em; fill: #FFFFFF; }
.back-button:hover { background-color: var(--accent-text); color: #FFFFFF; }
.back-button:hover svg { fill: #FFFFFF; }

/* artist list page reuses gallery grid */
.list-header { padding: 1rem 0 2rem; }
.list-header h1 { font-size: 2.5em; letter-spacing: 0.15rem;  }

/* ---------- TAG FILTER ---------- */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.tag-btn {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.8125em;
  color: #2B2B2B;
  background: transparent;
  border: 1px solid #BDB8B3;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.artist-hero .tag-btn { cursor: default; }

.tag-btn:hover { border-color: var(--accent-text); color: var(--accent-text); }
.tag-btn.active { background-color: var(--accent-text); border-color: var(--accent-text); color: #FFFFFF; }

/* ---------- LANGUAGE SWITCHER ---------- */
.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.25rem;
  background-color: #000000;
  border-radius: 999px;
  padding: 0.4rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.8125em;
}

.lang-switcher a {
  color: #F0F0F0;
  
  letter-spacing: 0.05em;
  font-weight: 400;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.lang-switcher a:hover { color: var(--accent-text); }
.lang-switcher a.active { background-color: var(--accent-text); color: #FFFFFF; }

/* ---------- ARTIST PAGE ---------- */
.artist-hero { max-width: 84rem; margin: 0 auto; padding: 1.5rem 2rem 5rem; }

.artist-hero .main-image {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  display: block;
  margin-bottom: 2rem;
}

.artist-hero h1 {
  
  font-size: 1.875em;
  letter-spacing: 0.15rem;
  margin-bottom: 0.5rem;
}

.artist-hero .tagline {
  color: #000;
  font-size: 1.25em;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 48rem;
}

.artist-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.artist-meta-row .icon-links { margin-bottom: 0; }

.concerts-link {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.875em;
  
  letter-spacing: 0.05em;
  color: #000;
}

.concerts-link:hover { color: var(--accent-text); }

.artist-hero .territoires {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  color: #2B2B2B;
  font-size: 0.9em;
  margin: -0.5rem 0 1.5rem;
}
.artist-hero .territoires svg { width: 1em; height: 1em; fill: #6B6B6B; flex: none; }
.territoires-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.85em;
  
  letter-spacing: 0.05em;
  color: #6B6B6B;
}

.artist-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; max-width: 48rem; margin: 0 0 1.5rem; padding: 0; font-weight: 400; }
.artist-stats li { display: flex; align-items: center; gap: 0.5rem; }
.artist-stats svg { width: 1.6rem; height: 1.6rem; fill: var(--accent); flex: none; }
.artist-stats strong { color: #000; font-size: 1.15em; }
.artist-credits { max-width: 48rem; color: #1A1A1A; font-weight: 400;  letter-spacing: 0.04em; font-size: 0.95em; line-height: 1.7; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 0.9rem 0; margin: 0 0 1.25rem; }
.highlight-list { max-width: 48rem; }
.highlight { display: flex; gap: 1.25rem; align-items: flex-start; margin: 0 0 1.75rem; }
.highlight-img { width: 10rem; height: auto; flex: none; border-radius: 4px; }
.highlight h3 { font-size: 1.5em; letter-spacing: 0.1rem;  color: #000; margin: 0 0 0.4rem; line-height: 1.1; }
.highlight h3 a { text-decoration: none; }
.highlight h3 a:hover { color: var(--accent-text); }
.highlight p { margin: 0; color: #2B2B2B; }
@media (max-width: 40rem) { .highlight-img { width: 6.5rem; } }
.quote-list { max-width: 48rem; }
.quote { margin: 0 0 1.75rem; }
.quote blockquote { font-style: italic; color: #2B2B2B; border-left: 2px solid #000; padding-left: 1.25rem; margin: 0 0 0.5rem; }
.quote figcaption { padding-left: 1.25rem; font-size: 0.9em; color: #555555; }
.quote figcaption strong { color: #000; }
.quote figcaption a { text-decoration: underline; }
.quote-note { font-size: 0.85em; color: #6B6B6B; }
.quote details { padding-left: 1.25rem; margin-top: 0.5rem; font-size: 0.9em; color: #555555; }
.quote summary { cursor: pointer; color: #000; }
.quote details p { margin-top: 0.5rem; font-style: italic; }
.bio-block { max-width: 48rem; }
.bio-block p { margin-bottom: 1.25rem; font-size: 1em; }
.bio-block blockquote {
  font-style: italic;
  color: #3A3A3A;
  border-left: 2px solid #000;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}
.bio-block a { text-decoration: underline; }
.bio-block a:hover { color: var(--accent-text); }
.bio-block h3 { font-size: 1.75em; letter-spacing: 0.1rem;  margin: 2.5rem 0 1.5rem; }

.references { max-width: 48rem; font-size: 1em; margin-top: 0.5rem; }
.references strong { color: #000; font-weight: 400; }

.artist-hero h2 {
  
  font-size: 1.75em;
  letter-spacing: 0.1rem;
  margin: 0 0 1.5rem;
}

.spotify-embed { max-width: 48rem; margin: 2rem 0 0; }
.spotify-embed iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; display: block; }
.video-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.video-frame {
  width: 100%;
  max-width: 48rem;
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-vedette { margin: 0.5rem 0 2.5rem; }

.concerts-widget { margin-top: 3rem; }

.concerts-historique { margin-top: 1.5rem; max-width: 60rem; }
.concerts-historique h3 { font-size: 1.1em; letter-spacing: 0.1rem;  color: #000; margin: 1.5rem 0 0.5rem; }
.concerts-historique h3:first-child { margin-top: 0; }
.concerts-dates { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.concerts-dates li { font-size: 1.05em; line-height: 1.6; break-inside: avoid; }

.concerts-artiste { margin-bottom: 3.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #000; }
.concerts-artiste h2 { font-size: 2.25em; letter-spacing: 0.1rem;  margin-bottom: 0.5rem; }
.concerts-artiste h2 a { text-decoration: none; }
.concerts-artiste h2 a:hover { color: var(--accent-text); }

/* ---------- simple text pages ---------- */
.page-content { max-width: 44rem; margin: 0 auto; padding: 1.5rem 2rem 5rem; }
.page-content h1 { font-size: 2.25em; letter-spacing: 0.15rem;  margin-bottom: 1.5rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content a { text-decoration: underline; }
.page-content a:hover { color: var(--accent-text); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid #000;
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.8em;
  color: #6B6B6B;
}

.site-footer p { margin-bottom: 0.5rem; }

.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.75rem; }
.footer-links a { color: #6B6B6B; }
.footer-links a:hover { color: var(--accent-text); }

/* ---------- responsive ---------- */



.ep-figure { margin: 1.5rem 0; max-width: 24rem; }
.ep-figure img { display: block; width: 100%; height: auto; }
.bio-block .ep-figure a { text-decoration: none; }
.ep-figure figcaption { margin-top: 0.5rem; font-size: 0.9em; color: #555555; }

.spotify-embed { margin: 2rem 0 1rem; max-width: 48rem; }
.spotify-embed iframe { display: block; width: 100%; border: 0; border-radius: 12px; }

.musician-bios h3 { font-size: 1.1em; letter-spacing: 0.1rem;  color: #000; margin: 1.5rem 0 0.75rem; }
.musician-bios h3:first-child { margin-top: 0; }
.musician-role { display: block; font-size: 0.8em; text-transform: none; letter-spacing: 0; color: #6B6B6B; font-style: italic; }

/* Bridge Audio (iframe du lien de partage) */
.bridge-embed { max-width: none; width: 100%; margin: 2rem 0 0; }
.bridge-embed iframe { width: 100%; height: var(--bridge-h, 1100px); border: 0; border-radius: 12px; display: block; background: #F7F7F7; }
@media (max-width: 40rem) { .bridge-embed iframe { height: var(--bridge-h-mobile, 1500px); } }

/* Fiche artiste : « Ressemble à » et playlist YouTube */
.bio-block h2 { font-size: 1.4em; letter-spacing: 0.1rem;  color: #000; margin: 2rem 0 0.75rem; }
.similar-block { display: flex; align-items: center; gap: 0.75rem; max-width: none; margin: 0 0 1.25rem; }
.artist-hero .similar-title, .artist-hero .playlist-title { font-family: 'Instrument Sans', sans-serif; font-size: 0.75em; font-weight: 400; letter-spacing: 0.12rem;  color: #6B6B6B; margin: 0; white-space: nowrap; }
.similar-list { list-style: none; display: flex; flex-wrap: nowrap; gap: 0.5rem; padding: 0 0 0.25rem; margin: 0; overflow-x: auto; scrollbar-width: thin; }
.similar-list li { border: 1px solid #000; border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.8125em; white-space: nowrap; flex: none; }
.artist-hero .playlist-title { margin: 1.5rem 0 0.5rem; }
.similar-list { min-width: 0; }
@media (max-width: 40rem) { .similar-block { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .similar-list { width: 100%; } }
.playlist-embed { margin: 0 0 3rem; max-width: 48rem; }

/* CTA : révèle l'adresse de contact sans mailto automatique */
.cta-block { margin: 0 0 1.5rem; }
.cta-btn { font-family: 'Instrument Sans', sans-serif; font-size: 0.9375em; font-weight: 400; color: #FFFFFF; background: var(--accent-text); border: 0; border-radius: 999px; padding: 0.75rem 1.5rem; cursor: pointer; }
.cta-btn:hover, .cta-btn[aria-expanded="true"] { background: #2B2B2B; }
.cta-panel { margin-top: 0.75rem; padding: 1rem 1.25rem; max-width: 30rem; border: 1px solid #000; border-radius: 0.875rem; background: rgba(255,255,255,0.6); }
.cta-panel[hidden] { display: none; }
.cta-addr { font-size: 1.1em; margin: 0 0 0.75rem; word-break: break-all; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0 0 0.5rem; }
.cta-copy { font-family: 'Instrument Sans', sans-serif; font-size: 0.875em; background: #2B2B2B; color: #FFFFFF; border: 0; border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; }
.cta-mail { font-size: 0.875em; text-decoration: underline; }
.cta-hint { font-size: 0.8125em; color: #6B6B6B; margin: 0; }
.cta-bottom { margin: 3rem 0 0; }
.cta-bottom-text { font-size: 1.25em; font-weight: 400; margin-bottom: 1rem; }

/* ---------- v2 : typo ---------- */
body { font-weight: 400; line-height: 1.5; letter-spacing: -0.01em; color: #000; background: #fff; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
strong, b { font-weight: 400; text-decoration: underline; text-underline-offset: 0.15em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-content h1, .list-header h1, .artist-hero h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }

/* ---------- v2 : pastilles (tags, « ressemble à », filtres) ---------- */
.pill, .tag-btn, .similar-list li {
  display: inline-block; font: inherit; font-size: 0.95rem; line-height: 1.3;
  padding: 1px 12px 2px; border: 2px solid #000; border-radius: 999px;
  background: #fff; color: #000; cursor: pointer; white-space: nowrap;
}
.pill.solid, .tag-btn.active { background: var(--accent-text); color: #fff; border-color: var(--accent-text); }
.tag-btn:hover { background: #000; color: #fff; border-color: #000; }
.similar-list li { cursor: default; border-color: #000; }
.tag-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--pad) var(--pad); }

/* ---------- v2 : HOME (deux colonnes, page qui défile naturellement) ---------- */
.home-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr); align-items: start; }
.home-main { min-width: 0; }
.home-nav {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--gap);
  padding: var(--pad); font-size: clamp(1.15rem, 1.8vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em;
}
.home-nav a:hover, .home-index a:hover .idx-name { text-decoration: underline; text-underline-offset: 0.12em; }
.home-intro { padding: 0 var(--pad) var(--pad); max-width: 46rem; font-size: clamp(1.15rem, 1.8vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em; }
.home-intro .logo-hero { display: block; width: clamp(9rem, 16vw, 15rem); height: auto; margin-bottom: 1rem; }

/* masonry en CSS pur : respecte le ratio de chaque photo */
.gallery-grid { column-count: 3; column-gap: var(--gap); padding: 0 var(--pad) 6rem; }
.gallery-item { display: block; break-inside: avoid; margin: 0 0 2.5rem; }
.gallery-item[hidden] { display: none; }
.gallery-item .thumb { display: block; overflow: hidden; margin-bottom: 8px; }
.gallery-item img { display: block; width: 100%; height: auto; transform: scale(1); transition: transform 0.9s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .name { font-size: clamp(1.15rem, 1.8vw, 1.9rem); line-height: 1.05; letter-spacing: -0.02em; display: block; }
.gallery-item .headline { display: block; font-size: 1rem; line-height: 1.3; margin-top: 2px; }
.gallery-item .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

/* colonne droite : index A→Z, sticky avec son propre défilement sur desktop */
.home-index { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none; border-left: var(--line); }
.home-index::-webkit-scrollbar { display: none; }
.home-index h2 { font-size: clamp(1.15rem, 1.8vw, 1.9rem); padding: var(--pad); border-bottom: var(--line); display: flex; justify-content: space-between; }
.home-index li a { display: block; padding: 8px var(--pad) 12px; border-bottom: var(--line); }
.idx-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 1rem; }
.idx-num { font-size: clamp(2.4rem, 3.4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; }
.idx-name { display: block; font-size: clamp(1.15rem, 1.8vw, 1.9rem); line-height: 1.05; letter-spacing: -0.02em; margin-top: 2px; }
.idx-meta { display: block; font-size: 1rem; line-height: 1.25; }
.home-index .icon-links, .home-index .home-ext { padding: var(--pad); }
.home-ext { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-links svg { fill: #000; }
.icon-links a:hover svg { fill: var(--accent); }

/* ---------- v2 : bouton langue, retour, CTA, footer ---------- */
.lang-switcher { top: 10px; right: 10px; background: #fff; border: 2px solid #000; padding: 2px; gap: 2px; }
.lang-switcher a { color: #000; padding: 0 10px; font-weight: 400; }
.lang-switcher a:hover { background: #000; color: #fff; }
.lang-switcher a.active { background: #000; color: #fff; }
.back-button { background: #fff; color: #000; border: 2px solid #000; border-radius: 999px; padding: 1px 14px 2px; }
.back-button svg { fill: #000; }
.back-button:hover { background: #000; color: #fff; } .back-button:hover svg { fill: #fff; }
.cta-btn { background: #000; color: #fff; border-radius: 999px; font-weight: 400; }
.cta-btn:hover, .cta-btn[aria-expanded="true"] { background: var(--accent-text); }
.cta-panel { background: #fff; border: 2px solid #000; border-radius: 16px; }
.cta-copy { background: #000; }
.bridge-embed iframe, .spotify-embed iframe { border-radius: 0; border: 2px solid #000; }
.bio-block blockquote, .quote blockquote { border-left: 2px solid #000; }
.divider { background-color: #000; height: 2px; }
.site-footer { border-top: var(--line); text-align: left; font-size: 1rem; padding: var(--pad); }
.footer-links { justify-content: flex-start; }
.footer-links a { color: #000; text-decoration: underline; text-underline-offset: 0.15em; }

/* ---------- v2 : responsive ---------- */
@media (max-width: 70rem) { .gallery-grid { column-count: 2; } }
@media (max-width: 56rem) {
  .home-layout { grid-template-columns: 1fr; }
  .home-index { position: static; height: auto; border-left: 0; border-top: var(--line); }
}
@media (max-width: 34rem) {
  .gallery-grid { column-count: 1; }
  .home-nav { font-size: 1.25rem; }
  .lang-switcher { position: static; margin: var(--pad) var(--pad) 0; width: max-content; }
}
@media (prefers-reduced-motion: reduce) { .gallery-item img { transition: none; } }

/* ---------- v2.1 : menu et logo dans la colonne droite, texte SEO en bas ---------- */
.home-layout { --head-h: auto; }
.idx-head { padding: var(--pad); border-bottom: var(--line); display: grid; gap: 14px; }
.idx-logo img { display: block; width: clamp(7rem, 11vw, 10rem); height: auto; }
.home-nav { padding: 0; font-size: clamp(1.1rem, 1.5vw, 1.6rem); grid-template-columns: repeat(2, 1fr); }
.idx-head .lang-switcher { position: static; width: max-content; }
.home-index h2.idx-title { border-bottom: var(--line); }
.home-main > #artistes > .tag-filter { padding-top: var(--pad); }
.home-about { padding: 2rem var(--pad) 4rem; border-top: var(--line); }
.home-about h2 { font-size: clamp(1.15rem, 1.8vw, 1.9rem); margin-bottom: 0.75rem; }
.home-about p { max-width: 40rem; font-size: 1rem; line-height: 1.4; }
.home-index { display: flex; flex-direction: column; }
.home-index .icon-links { margin-top: auto; border-top: var(--line); }
@media (max-width: 56rem) {
  .home-index { order: -1; border-top: 0; border-bottom: var(--line); }
  .home-index .idx-title, .home-index .idx-list { display: none; }
  .home-index .icon-links { border-top: 0; margin-top: 0; padding-top: 0; }
  .home-layout { display: flex; flex-direction: column; }
}
@media (max-width: 56rem) { .home-index .icon-links { border: 0; } .home-index .idx-head { border-bottom: 0; padding-bottom: 0; } }

/* ---------- v2.2 : logo en haut de la colonne gauche ---------- */
.home-logo { padding: var(--pad) var(--pad) 0; }
.home-logo img { width: clamp(8rem, 12vw, 11rem); }
.home-index .idx-head { padding-top: var(--pad); }
@media (max-width: 56rem) {
  .home-main { display: contents; }
  .home-logo { order: 0; }
  .home-index { order: 1; }
  #artistes { order: 2; }
  .home-about { order: 3; }
  .home-index .idx-head { padding-bottom: var(--pad); }
}

/* ---------- v2.3 : filtre type (artistes / playlists) et page playlist ---------- */
.idx-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--pad); border-bottom: var(--line); }
.idx-tab { font: inherit; font-size: 1.05rem; line-height: 1.3; padding: 1px 12px 2px; border: 2px solid #000; border-radius: 999px; background: #fff; color: #000; cursor: pointer; }
.idx-tab sup { font-size: 0.65em; }
.idx-tab:hover { background: #000; color: #fff; }
.idx-tab.active { background: var(--accent-text); color: #fff; border-color: var(--accent-text); }
.idx-list li[hidden] { display: none; }
.idx-top .pill { cursor: inherit; font-size: 0.85rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1rem; }
.demo-banner { display: inline-block; border: 2px dashed #000; padding: 2px 12px; margin: 0 0 1rem; font-size: 0.95rem; }
.player-soon { border: 2px solid #000; padding: 3rem 1rem; text-align: center; margin: 2rem 0; max-width: 48rem; }
.pl-artists-title { margin: 3rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.pl-grid { padding: 0 0 3rem; }
.playlist-hero .cta-block { margin-top: 1.5rem; }
.pl-grid { column-count: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--gap) var(--gap); align-items: start; padding-left: 0; padding-right: 0; }
.pl-grid .gallery-item { margin: 0; }

/* ---------- v2.4 : mobile — la colonne droite est éclatée : menu en haut, index (artistes + playlists) sous la galerie ---------- */
@media (max-width: 56rem) {
  .home-index { display: contents; }
  .home-index .idx-head { order: 1; border-bottom: 0; padding-bottom: 0; }
  .home-index .idx-filter { display: flex; order: 3; border-top: var(--line); }
  .home-index .idx-list { display: block; order: 3; border-top: 0; }
  .home-index .idx-title { display: none; }
  .home-index .icon-links { order: 3; border-top: var(--line); }
  .home-about { order: 4; }
}

/* ---------- v2.5 : mobile — burger en haut à droite, seule la liste des playlists ---------- */
.burger, .mobile-only, .idx-mobile-title { display: none; }
.home-index .idx-mobile-title { display: none; }
@media (max-width: 56rem) {
  .mobile-only { display: block; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    position: fixed; top: 10px; right: 10px; z-index: 30; width: 46px; height: 46px; padding: 0 12px;
    border: 2px solid #000; border-radius: 999px; background: #fff; cursor: pointer;
  }
  .burger span { display: block; height: 2px; background: #000; transition: transform .25s ease, opacity .25s ease; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* avec JS : le bloc menu devient un panneau plein écran ; sans JS il reste visible en ligne */
  html.js .home-index .idx-head { display: none; }
  html.js body.menu-open { overflow: hidden; }
  html.js body.menu-open .home-index .idx-head {
    display: grid; position: fixed; inset: 0; z-index: 20; background: #fff; overflow-y: auto;
    padding: 76px 12px 24px; align-content: start; gap: 28px;
  }
  html.js .home-index .idx-head .home-nav { grid-template-columns: 1fr; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.15; gap: 4px; }
  /* index : playlists uniquement, sans onglets ni pastilles de type */
  .home-index .idx-filter { display: none; }
  .idx-list li[data-type="artist"] { display: none; }
  .idx-list .idx-top .pill { display: none; }
  .home-index .idx-mobile-title { display: flex; justify-content: space-between; order: 3; padding: var(--pad); border-top: var(--line); border-bottom: var(--line); font-size: clamp(1.15rem, 1.8vw, 1.9rem); scroll-margin-top: 0; }
  .home-logo { padding-right: 70px; }
}
@media (max-width: 56rem) {
  .home-index .idx-list, .home-index .idx-mobile-title, .home-index .icon-links { width: 100%; }
  .idx-mobile-title sup { margin-left: 0.3em; }
  .home-index .idx-list { margin-bottom: 0; }
}

/* ---------- v2.6 : « Ressemble à » : pastilles sur plusieurs lignes ---------- */
.similar-block { align-items: flex-start; }
.similar-list { flex-wrap: wrap; overflow: visible; min-width: 0; padding: 0; }
.similar-list li { white-space: normal; }
@media (max-width: 40rem) { .similar-list { width: 100%; } }

/* ---------- v2.7 : section À propos de la home : paragraphes espacés, bouton détaché ---------- */
.home-about p { margin: 0 0 1em; }
.home-about p:last-child { margin-top: 1.5rem; margin-bottom: 0; }
