/* ============================================================
   ARTISTE COUP DE COEUR — v3
   ============================================================ */

/* ── HERO ── */
.artiste-hero {
  position: relative;
  min-height: 260px;
  padding: 52px 6vw 48px;
  display: flex;
  align-items: center;
  overflow: hidden; /* repli pour les navigateurs sans `clip` */
  overflow: clip;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: blur(22px) brightness(.35) saturate(.8);
  transform: scale(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 10, .55);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Photo circulaire */
.hero-avatar { flex-shrink: 0; }
.hero-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .22);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .55);
  display: block;
}

/* Infos */
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-info h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  margin: 0;
  color: #fff;
  line-height: 1.05;
}
.hero-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-genre-pill {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
}
.hero-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, border-color .18s;
  flex-shrink: 0;
}
.hero-social-btn:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .3);
}
.hero-social-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* Bouton "Tous nos artistes" à droite */
.hero-all-artists {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .18s, border-color .18s;
  white-space: nowrap;
  align-self: flex-start;
}
.hero-all-artists:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .3);
}

/* ── BARRE DE TABS ── */
.artiste-tabs {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  position: sticky;
  top: 0;
  z-index: 50;
}
.artiste-tab {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  position: relative;
  transition: color .15s;
  font-family: inherit;
  white-space: nowrap;
}
.artiste-tab:hover { color: rgba(255, 255, 255, .8); }
.artiste-tab.active { color: #fff; }
.artiste-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  background: var(--brand);
  opacity: 0;
  transition: opacity .18s, left .18s, right .18s;
}
.artiste-tab.active::after {
  opacity: 1;
  left: 16%;
  right: 16%;
}

/* ── SECTIONS ── */
.artiste-section { display: none; }
.artiste-section.active { display: block; min-height: calc(100vh - 320px); }

/* BIO */
.section-bio {
  background: #fff;
  padding: 48px 6vw 64px;
}
.section-bio .as-inner {
  max-width: 820px;
  margin: 0 auto;
}
.section-bio .as-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 28px;
}
.section-bio .as-body {
  font-size: 16px;
  line-height: 1.8;
  color: #2a2a2a;
}

/* TITRES */
.section-titres {
  background: #0f0f0f;
  padding: 52px 6vw 64px;
  text-align: center;
}
.section-titres .as-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.jukebox-banner h2 {
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.jukebox-banner h2 span { color: var(--brand); }
.jukebox-banner .subtitle {
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  margin: 0 0 38px;
}

/* Track cards */
.titres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 220px));
  gap: 20px;
  justify-content: center;
}
.titres-grid .loading { color: rgba(255, 255, 255, .45); font-size: 14px; }
.track-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 270px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  background: #000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s;
}
.track-card.show { opacity: 1; transform: translateY(0); }
.track-cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.track-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%);
}
.track-play {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.track-play:hover { background: var(--brand); transform: translate(-50%, -50%) scale(1.08); }
.track-play svg { width: 24px; height: 24px; fill: #fff; }
.track-top-meta { position: absolute; top: 10px; left: 10px; right: 10px; text-align: left; z-index: 5; }
.track-title { font-weight: 700; font-size: 14px; color: #fff; line-height: 1.3; }
.track-album { font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.track-action-bottom { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 5; }
.add-to-text {
  cursor: pointer;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  padding: 5px 12px;
  border-radius: 999px;
  user-select: none;
  white-space: nowrap;
}

/* CONCERTS */
.section-concerts {
  background: #0f0f0f;
  padding: 52px 6vw 64px;
}
.section-concerts .as-inner {
  max-width: 820px;
  margin: 0 auto;
}
.concerts-banner h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-align: center;
}
.concerts-banner h2 span { color: var(--brand); }
.concerts-banner .subtitle {
  color: rgba(255, 255, 255, .45);
  font-size: 14px;
  margin: 0 0 38px;
  text-align: center;
}
.concerts-list { display: flex; flex-direction: column; gap: 12px; }
.concert-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 16px 20px;
  animation: concertFadeIn .35s ease both;
}
@keyframes concertFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.concert-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  min-width: 150px;
  text-transform: capitalize;
  line-height: 1.3;
}
.concert-venue {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.concert-venue-name {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.concert-city {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.concert-actions { flex-shrink: 0; }
.concert-ticket {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  transition: opacity .15s;
}
.concert-ticket:hover { opacity: .85; }
.concert-ticket--info {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
}
.concert-ticket--info:hover { background: rgba(255, 255, 255, .18); opacity: 1; }
.concerts-empty {
  text-align: center;
  padding: 48px 0;
  color: rgba(255, 255, 255, .45);
  font-size: 15px;
}
.bit-link {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.bit-link:hover { background: rgba(255, 255, 255, .08); }

/* Toast */
.playlist-toast {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  background: #111; color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  z-index: 9999;
}
.playlist-toast.show { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .hero-inner { gap: 22px; }
  .hero-avatar img { width: 110px; height: 110px; }
  .artiste-tab { padding: 14px 16px; font-size: 11px; letter-spacing: .07em; }
  .titres-grid { grid-template-columns: 1fr 1fr; }
  .section-bio { padding: 40px 5vw 48px; }
  .section-titres { padding: 40px 5vw 48px; }
  .section-concerts { padding: 40px 5vw 48px; }
  .concert-row { flex-wrap: wrap; gap: 10px; }
  .concert-date { min-width: 100%; font-size: 12px; }
  .concert-venue { min-width: 0; }
}
@media (max-width: 480px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-avatar img { width: 90px; height: 90px; }
  .titres-grid { grid-template-columns: 1fr; }
}
