/* =========================================================
   Colin Vallon — feuille de style (version 4 : terre cuite, fonds alternés)
   Polices : Playfair Display (titres) + Montserrat (texte)
   Deux fonds très proches qui alternent, une seule couleur de contraste.
   ========================================================= */
:root {
  --bg: #f7f5f1;
  --bg-2: #f1eee8;      /* second fond : une section sur deux */
  --text: #1d1d1b;
  --muted: #6b6862;
  --accent: #a4523a;    /* terre cuite : dates, liens, survols, étiquettes */
  --line: #dcd7cd;
  --card: #ffffff;
  --max: 1080px;
  --gutter: 16px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.4, 0, .9, .6);
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  /* petites capitales espacées : menu, boutons, dates, onglets */
  --caps-size: .75rem;
  --caps-space: .18em;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161614; --bg-2: #1c1c19; --text: #ece9e2; --muted: #a7a399;
    --accent: #d98e77; --line: #33322d; --card: #1c1c19;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); }
html, body { margin: 0; padding: 0; }
body {
  min-width: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 0 0 1em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: .85rem; }

/* ---------- En-tête fixe, masquable ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-out), border-color .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); transition: transform .35s var(--ease-in); }
.site-header .wrap {
  min-width: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: var(--font-title); font-size: 1.75rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text); text-decoration: none; white-space: nowrap;
  /* léger décalage vers le haut : le milieu des lettres du nom tombe sur celui des entrées du menu */
  position: relative; top: -.065em;
}

/* Menu principal : petites capitales fines, sous-menus au survol */
.menu { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: block; font: inherit; font-weight: 400; font-size: var(--caps-size);
  letter-spacing: var(--caps-space); text-transform: uppercase; line-height: 1;
  color: var(--text); text-decoration: none; background: none; border: 0;
  padding: 32px 0; cursor: pointer; transition: color .25s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { color: var(--accent); }

/* Sélecteur de langue : EN | FR */
.menu > li.lang {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: var(--caps-size); letter-spacing: var(--caps-space); text-transform: uppercase;
  padding-left: 22px; border-left: 1px solid var(--line);
}
.menu > li.lang a { display: inline-block; padding: 6px 0; line-height: 1; color: var(--muted); text-decoration: none; transition: color .25s; }
.menu > li.lang a[aria-current="true"] { color: var(--text); }
.menu > li.lang a:hover { color: var(--accent); }
.menu > li.lang span { color: var(--line); }

/* Réseaux sociaux : petites icônes fines (barre du menu, section Contact, pied de page) */
.social { display: inline-flex; align-items: center; gap: 16px; }
.social a { display: inline-flex; padding: 4px; margin: -4px; color: var(--text); transition: color .25s; }
.social a:hover, .social a:focus-visible { color: var(--accent); }
.social svg { display: block; }
/* dans la barre : même trait court que celui de EN | FR, icônes centrées entre les deux traits */
.menu > li.social { gap: 14px; padding-left: 22px; margin-right: -16px; border-left: 1px solid var(--line); }
.menu > li.social a { display: inline-flex; padding: 3px 0; margin: 0; line-height: 1; }
.contact-info .follow-dt { align-self: center; padding-top: 0; }
.contact-info .follow { display: flex; align-items: center; }
.contact-info .social a, .contact-info .social a:hover { border-bottom: 0; }
/* Contact : management et label */
.contact-info { margin: 42px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 42px 26px; }
.contact-info dt { font-size: var(--caps-size); letter-spacing: var(--caps-space); text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-info dd { margin: 0; line-height: 1.55; }
.contact-info a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s, border-color .25s; }
.contact-info a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.follow .social { gap: 22px; }
.follow .social svg { width: 26px; height: 26px; }
.site-footer .social a { color: var(--muted); }
.site-footer .social a:hover { color: var(--accent); }

.submenu {
  position: absolute; right: -18px; top: 100%; min-width: 190px;
  list-style: none; margin: 0; padding: 10px 0; background: var(--bg);
  border: 1px solid var(--line); border-top-color: transparent;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.menu > li.open > .submenu, .menu > li:hover > .submenu, .menu > li:focus-within > .submenu {
  opacity: 1; transform: none; pointer-events: auto;
}
.submenu a {
  display: block; padding: 7px 18px; text-align: right; white-space: nowrap;
  color: var(--muted); text-decoration: none; font-size: .8rem; letter-spacing: .06em;
  transition: color .25s;
}
.submenu a:hover { color: var(--accent); }

.menu-toggle {
  display: none; background: none; border: 0; color: var(--text);
  padding: 10px 0; font: inherit; font-weight: 400; font-size: var(--caps-size);
  letter-spacing: var(--caps-space); cursor: pointer;
}

/* ---------- Sections : deux fonds très proches qui alternent, sans filet ---------- */
section.block { padding: 96px 0; scroll-margin-top: 0; }
main > section.block:nth-of-type(odd):not(.hero) { background: var(--bg-2); }
.eyebrow {
  font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space);
  text-transform: uppercase; color: var(--accent); margin: 0 0 8px;
}

/* Accueil : photo plein écran */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 0 !important;
  background-size: cover; background-position: center;
}

/* Icônes des réseaux sociaux en bas de la photo d'accueil (toujours claires : la photo est sombre) */
.hero-social { position: absolute; right: calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter)); bottom: 34px; gap: 24px; display: flex; }
.hero-social a { color: #f4f1ea; opacity: .85; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); transition: color .25s, opacity .25s; }
.hero-social a:hover, .hero-social a:focus-visible { color: #d98e77; opacity: 1; }
.hero-social svg { width: 20px; height: 20px; }

/* Boutons encadrés (Read More, etc.) */
.btn {
  display: inline-block; margin: 36px 12px 0 0; padding: 13px 28px;
  border: 1px solid var(--line); text-decoration: none; color: var(--text);
  font-family: inherit; font-weight: 400; font-size: var(--caps-size);
  letter-spacing: var(--caps-space); text-transform: uppercase; line-height: 1.2;
  background: transparent; cursor: pointer;
  transition: border-color .3s, color .3s;
}
.btn:hover, .btn:focus-visible { border-color: var(--accent); color: var(--accent); }

.two-col { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
.two-col > * { min-width: 0; }
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
  .two-col.rev > :first-child { order: 2; }
}
.text-block p { max-width: 34em; }
/* Téléphone et tablette (une seule colonne) : dans les sections avec photo,
   le titre vient d'abord, puis la photo, puis le texte et le bouton. */
@media (max-width: 859px) {
  section.block > .wrap.two-col:has(> div > img) { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  section.block > .wrap.two-col:has(> div > img) > .text-block { display: contents; }
  section.block > .wrap.two-col:has(> div > img) > .text-block > * { order: 3; }
  section.block > .wrap.two-col:has(> div > img) > .text-block > h2 { order: 1; }
  section.block > .wrap.two-col:has(> div > img) > div:not(.text-block) { order: 2; margin: 4px 0 28px; }
}
/* Photos des sections : toujours carrées */
.two-col > div > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.lead { font-family: var(--font-title); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; }

/* News */
.news-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .news-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
/* Une actualité = une carte cliquable : image carrée à gauche, texte à droite */
.news-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; text-decoration: none; color: var(--text); }
@media (min-width: 520px) { .news-card { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; } }
.news-card:hover .tile-img img { transform: scale(1.03); opacity: .92; }
.news-body h3 { margin: 0 0 10px; transition: color .25s; }
.news-body p { margin: 0 0 12px; }
.news-body .eyebrow { margin: 0 0 6px; }
.news-more { font-size: var(--caps-size); letter-spacing: var(--caps-space); text-transform: uppercase; color: var(--muted); transition: color .25s; }
.news-more::after { content: " →"; }
.news-card:hover h3, .news-card:hover .news-more, .news-card:focus-visible .news-more { color: var(--accent); }

/* ---------- Grilles compactes (photos, vidéos, albums : même design) ---------- */
.tiles { display: grid; gap: 26px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; } }
.tile { text-decoration: none; color: var(--text); display: block; min-width: 0; }
.tile-img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--line); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .4s; }
.tile:hover .tile-img img { transform: scale(1.03); opacity: .92; }
/* vignettes YouTube : l'image fournie a des bandes noires en haut et en bas, on les fait sortir du cadre */
.tile-img img[src*="ytimg.com"] { position: absolute; left: 0; top: -16.7%; height: 133.4%; }
.tile-cap { padding-top: 10px; }
.tile-title { font-family: var(--font-title); font-size: 1rem; line-height: 1.3; margin: 0; }
/* vidéos : titre sur une seule ligne sur ordinateur (quatre vignettes par ligne) ; sur deux lignes au besoin sur téléphone */
@media (min-width: 900px) { #videos .tile-title, .subpage .tile[target] .tile-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.tile-sub { font-size: .72rem; color: var(--muted); margin: 3px 0 0; letter-spacing: .04em; line-height: 1.4; }
.tiles + p, .tiles + h3 { margin-top: 44px; }
.c-list + p, #concerts-next + p { margin-top: 12px; }

/* ---------- Concerts ---------- */
.c-list { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.c-item {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.c-date {
  margin: 0; font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space);
  text-transform: uppercase; color: var(--accent);
}
.c-date .muted { letter-spacing: .08em; margin-left: 6px; }
.c-title { margin: 0; font-family: var(--font-title); font-size: 1.15rem; line-height: 1.3; }
.c-venue { margin: 3px 0 0; color: var(--muted); font-size: .85rem; }
.c-ticket {
  font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space); text-transform: uppercase;
  color: var(--text); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid var(--accent); padding-bottom: 3px; transition: color .3s;
}
.c-ticket:hover { color: var(--accent); }
.c-tabs { display: flex; gap: 30px; margin: 8px 0 28px; }
.c-tab {
  background: none; border: 0; border-bottom: 1px solid transparent; padding: 6px 0;
  font: inherit; font-weight: 400; font-size: var(--caps-size); letter-spacing: var(--caps-space);
  text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color .25s, border-color .25s;
}
.c-tab.is-active, .c-tab:hover { color: var(--text); border-bottom-color: var(--accent); }
@media (max-width: 640px) {
  .c-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .c-action { margin-top: 6px; }
}

/* ---------- Listes de téléchargement (press kit) ---------- */
.dl-group { margin: 0 0 56px; }
.dl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 720px; }
.dl-list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.dl-list .dl-kind {
  font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space);
  text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .25s;
}
.dl-list a:hover .dl-kind { color: var(--accent); }
/* une ligne par document, avec un lien par langue à droite */
.dl-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.dl-row .dl-langs { display: flex; gap: 22px; margin-left: auto; }
.dl-list .dl-row a {
  display: inline; padding: 0; border: 0; color: var(--muted); white-space: nowrap;
  font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space); text-transform: uppercase;
  transition: color .25s;
}
.dl-list .dl-row a:hover, .dl-list .dl-row a:focus-visible { color: var(--accent); }

/* ---------- Lightbox photos ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94);
  display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px;
}
.lightbox.open { display: flex; }
/* la photo, puis le crédit juste en dessous, toujours à la même distance */
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); object-fit: contain; }
/* croix de la visionneuse : même dessin que celle des pages (deux traits fins), toujours claire sur le fond noir */
.lightbox .close {
  position: absolute; top: 22px; right: 26px; width: 60px; height: 60px; padding: 0;
  background: none; border: 0; color: #f4f1ea; font-size: 0; cursor: pointer;
  transition: color .25s, transform .4s var(--ease-out);
}
.lightbox .close::before, .lightbox .close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 40px; height: 1px; margin: -0.5px 0 0 -20px; background: currentColor;
}
.lightbox .close::before { transform: rotate(45deg); }
.lightbox .close::after { transform: rotate(-45deg); }
.lightbox .close:hover, .lightbox .close:focus-visible { color: #d98e77; transform: rotate(90deg); outline: none; }
@media (max-width: 720px) { .lightbox .close { top: 10px; right: 8px; } }
.lightbox .credit { margin: 18px 0 0; text-align: center; color: #bbb; font-size: .75rem; letter-spacing: .06em; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space); text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 300; font-size: 1rem; letter-spacing: 0; text-transform: none;
  padding: 11px 12px; background: transparent; border: 1px solid var(--line); border-radius: 0;
  color: var(--text); width: 100%; transition: border-color .25s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--text); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; margin-top: 12px; }
.nl-note { margin-top: 22px; font-size: .82rem; color: var(--muted); max-width: 560px; }

/* Notices de relecture (à retirer avant la mise en ligne) */
.notice { border-left: 1px solid var(--accent); padding: 4px 0 4px 14px; margin-top: 28px; font-size: .82rem; color: var(--muted); max-width: 720px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted);
  font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space); text-transform: uppercase; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .foot-right { display: inline-flex; align-items: center; gap: 22px; }
.site-footer .foot-lang { display: inline-flex; align-items: center; gap: 8px; padding-left: 22px; border-left: 1px solid var(--line);
  font-size: var(--caps-size); letter-spacing: var(--caps-space); }
.site-footer .foot-lang a[aria-current="true"] { color: var(--text); }
.site-footer .foot-lang span { color: var(--line); }

/* ---------- Pages secondaires ---------- */
.subpage { padding-top: calc(var(--header-h) + 36px); padding-bottom: 96px; }
.subpage h2 { margin-top: 56px; }
/* Croix de fermeture.
   Ordinateur : fixe en haut à droite ; le contenu est resserré pour ne jamais passer dessous.
   Téléphone : en haut de la page (défile avec le contenu) + une seconde croix en bas de page. */
.close-x {
  position: relative; display: inline-block;
  width: 60px; height: 60px; margin: 0 0 24px -12px;
  color: var(--text); text-decoration: none; font-size: 0; line-height: 0;
  transition: color .25s, transform .4s var(--ease-out);
}
.close-x-bottom { display: block; margin: 56px auto 0; }
@media (min-width: 721px) {
  .close-x { position: fixed; z-index: 40; top: calc(var(--header-h) + 22px); right: 26px; margin: 0; }
  .close-x-bottom { display: none; }
  .subpage { padding-top: calc(var(--header-h) + 56px); }
  /* pages de texte : colonne étroite, alignée à gauche avec « Colin Vallon » */
  .subpage.narrow > .wrap > * { max-width: 760px; }
  /* marge réservée à la croix quand l'écran est trop étroit pour qu'elle tombe dans le vide */
  .subpage > .wrap { padding-right: max(var(--gutter), calc(104px - max(0px, (100vw - var(--max)) / 2))); }
  .subpage.narrow .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* VARIANTE GARDÉE DE CÔTÉ (non active) : croix fixe qui glisse vers le haut avec la barre
   de menu quand on descend, et revient quand on remonte. Pour l'essayer, décommenter.
.subpage { padding-top: calc(var(--header-h) + 120px); }
.close-x {
  position: fixed; z-index: 40; display: block; margin: 0;
  top: calc(var(--header-h) + 30px);
  left: calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter) - 12px);
  border-radius: 50%; background: color-mix(in srgb, var(--bg) 88%, transparent);
  transition: color .25s, transform .45s var(--ease-out);
}
.site-header.is-hidden ~ .subpage .close-x {
  transform: translateY(calc(-1 * (var(--header-h) + 110px))); pointer-events: none;
  transition: color .25s, transform .35s var(--ease-in);
}
*/
.close-x::before, .close-x::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 40px; height: 1px; margin: -0.5px 0 0 -20px; background: currentColor;
}
.close-x::before { transform: rotate(45deg); }
.close-x::after { transform: rotate(-45deg); }
.close-x:hover, .close-x:focus-visible { color: var(--accent); transform: rotate(90deg); }
.cover { border: 1px solid var(--line); }
table.disco { width: 100%; border-collapse: collapse; margin-top: 8px; max-width: 860px; }
table.disco th { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line);
  font-size: var(--caps-size); font-weight: 400; letter-spacing: var(--caps-space); text-transform: uppercase; color: var(--muted); }
table.disco td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
table.disco td:nth-child(2) { font-family: var(--font-title); font-size: 1.05rem; }
table.disco td a { color: var(--text); text-decoration: none; }
table.disco td a:hover { color: var(--accent); }
/* Discographie : autres enregistrements, groupés par année */
.rec-h { margin-top: 72px; }
.rec-year { border-top: 1px solid var(--line); padding: 22px 0 10px; max-width: 860px; }
.rec-year h3 { margin: 0 0 14px; font-family: inherit; font-size: var(--caps-size); letter-spacing: var(--caps-space); color: var(--accent); font-weight: 400; }
.rec-grid { display: grid; gap: 26px 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rec-grid { grid-template-columns: 1fr 1fr; } }
.rec p { margin: 0; }
.rec-artist { font-size: .82rem; letter-spacing: .04em; color: var(--muted); }
.rec-title { font-family: var(--font-title); font-size: 1.1rem; margin: 2px 0 4px !important; }
.rec-meta { font-size: .8rem; color: var(--muted); }
.rec-mus { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-top: 8px !important; }

/* Texte réservé aux lecteurs d'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Fenêtres étroites (tablette) : menu un peu resserré pour laisser la place aux icônes */
@media (max-width: 1000px) { .brand { font-size: 1.5rem; } .menu { gap: 24px; } .menu > li.social, .menu > li.lang { padding-left: 16px; } .menu > li.social { margin-right: -8px; } }

/* ---------- Menu compact sur ordinateur ----------
   Le nom à gauche, un seul bouton « Menu » à droite ; le menu s'ouvre dans un panneau à droite.
   Actif quand la barre porte la classe « compact » (réglage MENU_COMPACT dans outils/build_site.py). */
@media (min-width: 861px) {
  .site-header.compact nav { position: absolute; }
  .site-header.compact .menu { display: none; }
  .site-header.compact .menu-toggle { display: inline-block; transition: color .25s; }
  .site-header.compact .menu-toggle:hover { color: var(--accent); }
  .site-header.compact .menu.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; position: fixed; top: var(--header-h);
    right: calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter)); width: 300px;
    background: var(--bg); padding: 4px 26px 22px; gap: 0; border: 1px solid var(--line); border-top: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.compact .menu.mobile-open > li > a, .site-header.compact .menu.mobile-open > li > button {
    display: block; width: 100%; text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line);
  }
  .site-header.compact .menu.mobile-open .submenu {
    position: static; opacity: 1; transform: none; pointer-events: auto; border: 0;
    background: none; padding: 6px 0 10px 14px; display: none; min-width: 0;
  }
  .site-header.compact .menu.mobile-open > li.open > .submenu { display: block; }
  .site-header.compact .menu.mobile-open .submenu a { text-align: left; padding: 8px 0; white-space: normal; }
  .site-header.compact .menu.mobile-open > li.social { margin-right: 0; display: flex; justify-content: flex-start; padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); gap: 26px; }
  .site-header.compact .menu.mobile-open > li.social a { display: inline-flex; width: auto; padding: 4px; border: 0; }
  .site-header.compact .menu.mobile-open > li.lang { padding: 16px 0 4px; border-left: 0; }
  .site-header.compact .menu.mobile-open > li.lang a { display: inline-block; width: auto; padding: 0; border: 0; }
}

/* ---------- Barre allégée sur ordinateur ----------
   Pas de « Concerts » ni d'icônes dans la barre, une seule langue affichée après un trait.
   Les icônes des réseaux sont à la fin du menu « About ».
   Active quand la barre porte la classe « light » (réglage BARRE_ALLEGEE dans outils/build_site.py). */
.sub-social { display: none; }
.sub-lang { display: none; }
@media (min-width: 861px) {
  /* menu façon Wix : EN | FR en bas du sous-menu About, sous les réseaux sociaux */
  .site-header.light:not(.compact) .sub-lang {
    display: flex; justify-content: flex-end; align-items: center; gap: 8px;
    margin: 0 18px; padding: 12px 0 6px;
    font-size: var(--caps-size); letter-spacing: var(--caps-space);
  }
  .site-header.light:not(.compact) .sub-lang a { display: inline; padding: 0; color: var(--muted); font-size: inherit; letter-spacing: inherit; }
  .site-header.light:not(.compact) .sub-lang a[aria-current="true"] { color: var(--text); }
  .site-header.light:not(.compact) .sub-lang a:hover { color: var(--accent); }
  .site-header.light:not(.compact) .sub-lang span { color: var(--line); }
}
@media (min-width: 861px) {
  .site-header.light:not(.compact) .menu > li.m-only { display: none; }
  .site-header.light:not(.compact) .menu > li.lang { margin-left: -12px; }   /* le trait devant la langue est gardé */
  .site-header.light:not(.compact) .menu > li.lang a[aria-current="true"],
  .site-header.light:not(.compact) .menu > li.lang span { display: none; }
  .site-header.light:not(.compact) .menu > li.lang a { color: var(--text); }
  .site-header.light:not(.compact) .menu > li.lang a:hover { color: var(--accent); }
  .site-header.light:not(.compact) .sub-social {
    display: flex; justify-content: flex-end; gap: 16px;
    margin: 8px 18px 0; padding: 14px 0 6px; border-top: 1px solid var(--line);
  }
  .site-header.light:not(.compact) .sub-social a { display: inline-flex; padding: 0; margin: 0; color: var(--muted); }
  .site-header.light:not(.compact) .sub-social a:hover { color: var(--accent); }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  section.block { padding: 68px 0; }
  .menu { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header nav { position: absolute; }   /* hors de la ligne : le bouton Menu va jusqu'au bord droit */
  .menu.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); padding: 4px var(--gutter) 20px; gap: 0; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .menu.mobile-open > li > a, .menu.mobile-open > li > button {
    display: block; width: 100%; text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line);
  }
  .menu.mobile-open .submenu {
    position: static; opacity: 1; transform: none; pointer-events: auto; border: 0;
    background: none; padding: 6px 0 10px 14px; display: none; min-width: 0;
  }
  .menu.mobile-open > li.open > .submenu { display: block; }
  .menu.mobile-open > li.social { margin-right: 0; display: flex; justify-content: flex-start; padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); gap: 26px; }
  .menu.mobile-open > li.social a { display: inline-flex; width: auto; padding: 4px; border: 0; }
  .menu.mobile-open > li.lang { padding: 16px 0 4px; border-left: 0; }
  .menu.mobile-open > li.lang a { display: inline-block; width: auto; padding: 0; border: 0; }
  .submenu a { text-align: left; padding: 8px 0; white-space: normal; }
  table.disco th:nth-child(3), table.disco td:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 62px; }
  .brand { font-size: 1.3rem; letter-spacing: .14em; }
  .controls .progress { order: 10; flex: 1 1 100%; width: 100%; }
  .controls .time { order: 11; flex: 1 1 100%; text-align: left; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Pages d'album : cases « Listen » (menu déroulant) et « Buy album » */
.album-desc { margin: 26px 0 0; max-width: 34em; }
/* pages d'albums : la pochette est centrée verticalement par rapport au titre, aux musiciens, au texte et aux boutons */
.album-head { align-items: center; }
.album-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.album-actions .btn { margin: 0; }
.listen { position: relative; }
.listen-menu {
  position: absolute; left: 0; top: 100%; z-index: 5; min-width: 100%;
  list-style: none; margin: 0; padding: 10px 0; background: var(--bg);
  border: 1px solid var(--line); border-top-color: transparent;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.listen:hover .listen-menu, .listen:focus-within .listen-menu, .listen.open .listen-menu {
  opacity: 1; transform: none; pointer-events: auto;
}
.listen:hover > .btn, .listen.open > .btn { border-color: var(--accent); color: var(--accent); }
.listen-menu a {
  display: block; padding: 7px 28px; white-space: nowrap; color: var(--muted);
  text-decoration: none; font-size: .8rem; letter-spacing: .06em; transition: color .25s;
}
.listen-menu a:hover, .listen-menu a:focus-visible { color: var(--accent); }

/* Pages d'album : titres et crédits */
.album-info { margin-top: 72px; }
.album-info h2 { font-size: 1.5rem; margin: 0 0 18px; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracks li {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px;
  align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line);
}
.tracks .t-num { color: var(--muted); font-size: .8rem; text-align: center; }
.tracks .t-comp { display: block; color: var(--muted); font-size: .8rem; }
.tracks .t-dur { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
/* titres avec extrait : bouton lecture à la place du numéro */
.tracks li.has-audio { cursor: pointer; }
.tracks .t-play {
  width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--accent); cursor: pointer; display: grid; place-items: center;
  transition: border-color .3s, background-color .3s, color .3s;
}
.tracks .t-play svg { width: 10px; height: 10px; fill: currentColor; }
.tracks .t-play .i-pause { display: none; }
.tracks li.has-audio:hover .t-play, .tracks .t-play:focus-visible { border-color: var(--accent); }
.tracks li.has-audio .t-title { transition: color .3s; }
.tracks li.is-current .t-title { color: var(--accent); }
.tracks li.is-current .t-comp { color: var(--muted); }
.tracks li.is-playing .t-play { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.tracks li.is-playing .i-play { display: none; }
.tracks li.is-playing .i-pause { display: block; }
/* fine ligne de progression sous le titre en cours */
.tracks li::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px;
  width: calc(var(--p, 0) * 1%); background: var(--accent);
}
.credits { margin: 0; border-top: 1px solid var(--line); }
.credits dt {
  padding-top: 12px; color: var(--muted); font-weight: 400; font-size: var(--caps-size);
  letter-spacing: var(--caps-space); text-transform: uppercase;
}
.credits dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* Page d'album : pochette entière, non recadrée (les vignettes de la grille restent carrées) */
.two-col > div > img.cover { aspect-ratio: auto; object-fit: contain; }

/* Lignes de musiciens et citations de presse */
.musicians { color: var(--muted); font-size: .92rem; line-height: 1.7; margin: 0 0 22px; }
.quote { margin: 0 0 26px; padding: 0 0 0 20px; border-left: 1px solid var(--accent); max-width: 40em; }
.quote p { margin: 0 0 8px; font-family: var(--font-title); font-size: 1.05rem; line-height: 1.6; }
.quote cite {
  font-style: normal; color: var(--muted); font-size: var(--caps-size);
  letter-spacing: var(--caps-space); text-transform: uppercase;
}
.subpage .quote { margin-top: 44px; margin-bottom: 44px; }   /* pages individuelles : citations plus aérées */

/* Concerts passés : un bloc repliable par année */
.c-year { border-top: 1px solid var(--line); }
.c-year:last-child { border-bottom: 1px solid var(--line); }
.c-year summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; cursor: pointer; list-style: none;
}
.c-year summary::-webkit-details-marker { display: none; }
.c-year-n { font-family: var(--font-title); font-size: 1.4rem; transition: color .25s; }
.c-year-count {
  color: var(--muted); font-size: var(--caps-size); font-weight: 400;
  letter-spacing: var(--caps-space); text-transform: uppercase;
}
.c-year summary:hover .c-year-n, .c-year[open] .c-year-n { color: var(--accent); }
.c-year-body { padding-bottom: 20px; }
.c-list-past .c-item { padding: 12px 0; }
.c-list-past .c-title { font-size: 1rem; }
.c-list-past .c-item:last-child { border-bottom: 0; }
