/* Menu du haut et pied de page, communs à toutes les pages de thamis.fr.
   Utilise les couleurs et polices déjà définies par chaque page (--ink, --gold-2, --f-mono…). */

/* ---------- Menu du haut ---------- */
.menu { display: flex; flex-wrap: wrap; gap: 0 20px; }
.menu a {
  padding: 10px 0 8px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font: 500 .74rem/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.menu a:hover { color: var(--text); }
.menu a[aria-current="page"] { color: var(--gold-2); border-bottom-color: var(--gold-3); }

/* Barre du haut (logo + menu) : sur téléphone, le menu passe sous le logo, sur toute la largeur */
.topbar { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 600px) {
  .topbar .menu { width: 100%; justify-content: space-between; border-top: 1px solid var(--line); }
}

/* Accueil : pas de barre, le menu est seul en haut de page */
.menu-seul {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 10px;
  justify-content: center;
}
@media (max-width: 600px) {
  .menu-seul { justify-content: space-between; border-bottom: 1px solid var(--line); }
}
@media (min-width: 900px) {
  .menu-seul { justify-content: flex-end; padding-top: 24px; }
}

/* ---------- « Écouter Thamis » : liens vers les pages artiste ---------- */
.ecouter-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ecouter-liste a {
  --brand: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--text);
  font: 500 .74rem/1 var(--f-mono);
  letter-spacing: .06em;
  text-decoration: none;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.ecouter-liste svg { width: 16px; height: 16px; flex: none; fill: var(--text); transition: fill .2s; }
.ecouter-liste a:hover, .ecouter-liste a:focus-visible {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, var(--ink-2));
  transform: translateY(-1px);
}
.ecouter-liste a:hover svg, .ecouter-liste a:focus-visible svg { fill: var(--brand); }

/* ---------- Pied de page ---------- */
.pied-site {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 .76rem/1.6 var(--f-mono);
}
.pied-ecouter { display: grid; gap: 12px; }
.pied-titre {
  margin: 0;
  font: 500 .72rem/1.4 var(--f-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
}
.pied-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.pied-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pied-menu a {
  color: var(--muted);
  font: 500 .72rem/1.6 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.pied-menu a:hover { color: var(--gold-2); }
.pied-menu a[aria-current="page"] { color: var(--text); }

/* Lien « Mentions légales », à côté du copyright */
.pied-legal { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pied-legal:hover { color: var(--gold-2); }
