/* =========================================================
   MOJ — Maintenant Ou Jamais
   Palette reprise du site actuel + logo
   ========================================================= */
:root {
  /* Couleurs de marque */
  --cream: #f2ede0;
  --cream-2: #e9e2d0;
  --rust: #c64e2b;
  --rust-dark: #a83f20;
  --amber: #ec9f26;
  --teal: #205574;
  --green: #2f6b3a;

  /* Neutres */
  --ink: #1f1d1a;
  --ink-2: #262626;
  --ink-3: #3a3733;
  --text: #2b2926;
  --muted: #5f5a52;
  --on-dark: #f2ede0;
  --on-dark-muted: rgba(242, 237, 224, .68);
  --line-light: rgba(31, 29, 26, .12);
  --line-dark: rgba(242, 237, 224, .14);

  --gradient-brand: linear-gradient(90deg, var(--green), var(--amber) 40%, var(--rust) 70%, var(--teal));

  /* Typo */
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  /* Espacements & formes */
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 11vw, 140px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
main, .site-footer { overflow-x: clip; }
body > main { background: var(--cream); } /* le vinyle décoratif déborde volontairement */
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.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;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--rust); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 1.5em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 1rem; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { font-size: .95em; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { --h: 42px; padding: 0 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 8px 20px -10px rgba(198, 78, 43, .8); }
.btn-primary:hover { background: var(--rust-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--on-dark); border-color: rgba(242,237,224,.55); backdrop-filter: blur(6px); background: rgba(31,29,26,.2); }
.btn-ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
/* Le flou est sur un pseudo-élément : un backdrop-filter sur l'en-tête
   piégerait le menu mobile (position: fixed) dans ses 64px de hauteur. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(31, 29, 26, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 64px; height: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.brand-logo {
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease);
}
.is-scrolled .brand-logo { opacity: 1; transform: none; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; text-decoration: none;
  font-weight: 550; font-size: .9375rem; color: var(--on-dark-muted); transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--amber); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--on-dark); }
.main-nav a[aria-current="true"]::after, .main-nav a:hover::after { transform: scaleX(1); }
.nav-social { display: none; }

.menu-toggle {
  display: none; width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; border-radius: 12px;
}
.burger { position: relative; display: block; width: 24px; height: 16px; margin: auto; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 7px; }
.burger span:nth-child(3) { top: 14px; }
.menu-open .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--header-h) + 24px) 0 96px;
  color: var(--on-dark); text-align: center; overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0 -2px; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(31,29,26,.35), rgba(31,29,26,.8) 75%),
    linear-gradient(180deg, rgba(31,29,26,.55) 0%, rgba(31,29,26,.15) 35%, rgba(31,29,26,.9) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-content { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: clamp(150px, 22vw, 230px); filter: drop-shadow(0 6px 20px rgba(0,0,0,.45)); margin-bottom: 8px; }
.hero-title {
  font-size: clamp(2.6rem, 1.4rem + 6.2vw, 6.5rem);
  font-weight: 800; font-family: var(--font-display); letter-spacing: -.045em; line-height: .9;
  text-wrap: balance; text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-or {
  display: inline-block; font-family: var(--font-hand); font-weight: 700; color: #8cc3d4;
  font-size: .62em; letter-spacing: 0; padding-inline: .08em; transform: rotate(-6deg) translateY(-.08em);
}
.hero-lead { max-width: 34rem; margin-top: 22px; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(242,237,224,.85); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid rgba(242,237,224,.5); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--on-dark); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.brand-band { height: 6px; background: var(--gradient-brand); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-light { background: var(--cream); color: var(--text); }
.section-dark { background: var(--ink); color: var(--on-dark); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 72px); }
.eyebrow {
  display: block; font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem);
  line-height: 1.1; letter-spacing: 0; text-transform: none; color: var(--rust); margin-bottom: 8px;
}
.section-dark .eyebrow { color: var(--amber); }

.section-title {
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);
  font-weight: 800; font-family: var(--font-display); letter-spacing: -.03em; text-wrap: balance;
}
.section-title em { font-style: normal; }
.section-lead { margin-top: 18px; font-size: 1.125rem; color: var(--muted); text-wrap: pretty; }
.section-dark .section-lead { color: var(--on-dark-muted); }

/* ---------- Membres ---------- */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.member figure { margin: 0; }
.member-photo {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4;
  background: var(--cream-2); box-shadow: var(--shadow);
}
.member-photo::after {
  content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); transition: transform .7s var(--ease); }
.member:hover .member-photo img { transform: scale(1.05); }
.member:hover .member-photo::after { transform: scaleX(1); }
.member figcaption { padding: 16px 4px 0; }
.member-name { font-size: 1.375rem; font-weight: 750; font-family: var(--font-display); }
.member-role { margin-top: 0; color: var(--rust); font-family: var(--font-hand); font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
.member:nth-child(even) { margin-top: 48px; }

/* ---------- Musique ---------- */
.music { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.music { align-items: start; }
.music-cover { position: relative; }
@media (min-width: 861px) { .music-cover { position: sticky; top: calc(var(--header-h) + 40px); } }
.music-cover::before {
  content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b2926 0 22%, #111 23% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  background-image: repeating-radial-gradient(circle at 50% 50%, #151412 0 2px, #1b1a17 2px 4px);
  transition: transform .8s var(--ease);
}
.music-cover::after {
  content: ""; position: absolute; width: 16%; aspect-ratio: 1; right: 13%; bottom: 13%;
  border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 6px #151412; transition: transform .8s var(--ease);
}
/* Pochette dessinée : tout est proportionnel à sa largeur (cqw) */
.cover {
  position: relative; z-index: 1; width: 86%; aspect-ratio: 1; container-type: inline-size; overflow: hidden;
  border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  background: repeating-conic-gradient(from 0deg at 50% 62%, #c64e2b 0 6deg, #e39a2e 6deg 12deg);
}
.cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 62%, transparent 30%, rgba(20,28,22,.55) 100%); }
.cover-arch {
  position: absolute; left: 17cqw; width: 66cqw; top: 8cqw; height: 58cqw; overflow: hidden;
  border-radius: 33cqw 33cqw 0 0; border: 1.4cqw solid var(--cream); border-bottom: 0; background: #1f1d1a;
  box-shadow: 0 2cqw 5cqw rgba(0,0,0,.45);
}
.cover-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(1.1) contrast(1.05); }
.cover-title {
  position: absolute; left: 0; right: 0; top: 60cqw; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 31cqw; line-height: .85; letter-spacing: -.06em;
  color: var(--cream); text-shadow: 0 1cqw 0 #1f1d1a, 0 2cqw 4cqw rgba(0,0,0,.5);
}
.cover-tag {
  position: absolute; left: 0; right: 0; bottom: 3.2cqw; text-align: center;
  font-family: var(--font-hand); font-weight: 700; font-size: 7.4cqw; line-height: 1; color: #1f1d1a;
  transform: rotate(-2deg); text-shadow: 0 0 2cqw rgba(242,237,224,.6);
}
.cover-badge {
  position: absolute; right: 4cqw; top: 4cqw; z-index: 2; display: grid; place-items: center;
  width: 17cqw; aspect-ratio: 1; border-radius: 50%; background: var(--cream); box-shadow: 0 1cqw 3cqw rgba(0,0,0,.4);
}
.cover-badge img { width: 78%; height: auto; }
.music-cover:hover::before, .music-cover:hover::after { transform: translateX(8%) rotate(30deg); }

/* Lecteur audio */
.player {
  margin-top: 32px; padding: clamp(18px, 3vw, 26px);
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.player-now { display: flex; align-items: center; gap: 14px; }
.player-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.player-title { font-size: 1.25rem; font-weight: 750; font-family: var(--font-display); color: var(--on-dark); line-height: 1.25; }
.eq { display: flex; align-items: flex-end; gap: 3px; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--rust); flex: none; }
.eq span { flex: 1; height: 30%; background: #fff; border-radius: 2px; transition: height .3s; }
.is-playing .eq span { animation: eq 1s ease-in-out infinite alternate; }
.is-playing .eq span:nth-child(2) { animation-delay: -.4s; animation-duration: .8s; }
.is-playing .eq span:nth-child(3) { animation-delay: -.2s; animation-duration: 1.2s; }
.is-playing .eq span:nth-child(4) { animation-delay: -.6s; animation-duration: .9s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

.player-progress { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.player-time { font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--on-dark-muted); min-width: 36px; }
.player-time:last-child { text-align: right; }

.range {
  --p: 0%;
  -webkit-appearance: none; appearance: none; flex: 1; height: 24px; background: transparent; cursor: pointer; margin: 0;
}
.range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--rust)) 0 / var(--p) 100% no-repeat, rgba(242,237,224,.15);
}
.range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(242,237,224,.15); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--amber), var(--rust)); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%;
  background: var(--on-dark); box-shadow: 0 2px 6px rgba(0,0,0,.5); transition: transform .15s;
}
.range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--on-dark); }
.range:hover::-webkit-slider-thumb { transform: scale(1.2); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(236,159,38,.5); }
.range-sm { flex: 0 1 96px; }

.player-controls { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: none; border: 0; color: var(--on-dark); font-size: 22px; cursor: pointer; transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: rgba(242,237,224,.1); }
.play-btn {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--rust); color: #fff; font-size: 26px; box-shadow: 0 10px 24px -10px rgba(198,78,43,.9);
  transition: background-color .2s, transform .2s var(--ease);
}
.play-btn:hover { background: var(--rust-dark); transform: scale(1.05); }
.play-btn:active { transform: scale(.96); }
.play-btn .i-pause, .is-playing .play-btn .i-play { display: none; }
.is-playing .play-btn .i-pause { display: block; }
.player-volume { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.track:disabled { cursor: default; }
.track:disabled:hover { background: none; color: var(--on-dark-muted); }
.track:disabled .track-name { color: var(--on-dark-muted); }
.track:disabled .track-dur { font-style: italic; }
.player.is-soon .play-btn, .player.is-soon .icon-btn, .player.is-soon .range { opacity: .35; cursor: not-allowed; }
.player.is-soon .play-btn:hover { background: var(--rust); transform: none; }

.tracklist { margin-top: 18px; border-top: 1px solid var(--line-dark); padding-top: 8px; counter-reset: t; }
.track {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px;
  width: 100%; min-height: 52px; padding: 8px 12px 8px 8px; border-radius: var(--radius-sm);
  background: none; border: 0; text-align: left; cursor: pointer; color: var(--on-dark-muted);
  transition: background-color .2s, color .2s;
}
.track:hover { background: rgba(242,237,224,.06); color: var(--on-dark); }
.track-num { font-variant-numeric: tabular-nums; font-size: .875rem; text-align: center; }
.track-name { font-weight: 600; color: var(--on-dark); }
.track-dur { font-size: .8125rem; font-variant-numeric: tabular-nums; }
.track[aria-current="true"] { background: rgba(236,159,38,.12); }
.track[aria-current="true"] .track-name, .track[aria-current="true"] .track-num { color: var(--amber); }
.player-error { margin-top: 10px; font-size: .875rem; color: var(--amber); }
.player-error:empty { display: none; }

.listen-more { margin-top: 28px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.listen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.listen-card {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px;
  border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark);
  text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.listen-card:hover { background: var(--ink-3); border-color: rgba(242,237,224,.3); transform: translateX(4px); }
.listen-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 24px; color: #fff; }
.listen-icon.yt { background: var(--rust); }
.listen-icon.ig { background: linear-gradient(135deg, var(--amber), var(--rust) 55%, var(--teal)); }
.listen-text { display: flex; flex-direction: column; line-height: 1.3; }
.listen-text strong { font-size: 1.0625rem; }
.listen-text small { color: var(--on-dark-muted); font-size: .875rem; }
.listen-arrow { margin-left: auto; font-size: 20px; color: var(--on-dark-muted); transition: color .2s, transform .2s; }
.listen-card:hover .listen-arrow { color: var(--amber); transform: translate(2px, -2px); }

/* ---------- Concerts ---------- */
.gigs { display: grid; gap: 12px; }
.gig {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 32px);
  padding: 18px clamp(16px, 3vw, 28px) 18px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line-light); box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.gig:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gig-date {
  display: grid; place-items: center; width: 76px; height: 82px; border-radius: 12px;
  background: var(--ink); color: var(--on-dark); line-height: 1; text-transform: uppercase;
}
.gig-day { font-size: 2rem; font-weight: 800; font-family: var(--font-display); }
.gig-month { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--amber); margin-top: -10px; }
.gig-title { font-size: 1.25rem; font-weight: 750; font-family: var(--font-display); }
.gig-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.gig-meta span { display: inline-flex; align-items: center; gap: 6px; }
.gig-meta svg { color: var(--rust); }
.gig .btn { --h: 44px; }
.gig-free { font-weight: 650; color: var(--green); font-size: .9375rem; padding-inline: 8px; }

/* Concerts déjà passés : bannière « Terminé » en coin */
.gigs-past { margin-top: 48px; }
.past-label { font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: var(--muted); margin-bottom: 14px; }
.gig.is-past { position: relative; overflow: hidden; padding-right: 56px; background: rgba(255,255,255,.55); }
.gig.is-past:hover { transform: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.gig.is-past .gig-date { background: #6f6a60; }
.gig.is-past .gig-month { color: var(--cream); }
.gig.is-past .gig-title, .gig.is-past .gig-meta { opacity: .72; }
.gig-ribbon {
  position: absolute; top: 15px; right: -38px; width: 140px; padding: 4px 0; text-align: center;
  transform: rotate(40deg); background: var(--rust); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.gigs-empty {
  text-align: center; padding: clamp(36px, 6vw, 56px) clamp(20px, 5vw, 56px);
  border-radius: calc(var(--radius) + 6px); background: #fff; border: 1px dashed rgba(31,29,26,.2);
}
.gigs-empty .hourglass { font-size: 52px; color: var(--rust); animation: flip 6s var(--ease) infinite; }
@keyframes flip { 0%, 80% { transform: rotate(0); } 90%, 100% { transform: rotate(180deg); } }
.gigs-empty h3 { margin-top: 18px; font-size: 1.5rem; font-weight: 750; font-family: var(--font-display); }
.gigs-empty p { margin: 10px auto 0; max-width: 30rem; color: var(--muted); }
.gigs-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-social { display: grid; gap: 6px; margin-top: 32px; }
.contact-social a {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none;
  color: var(--on-dark-muted); transition: color .2s;
}
.contact-social a:hover { color: var(--amber); }
.contact-social svg { font-size: 20px; }

.form {
  display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px);
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 6px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label { font-size: .875rem; font-weight: 600; color: var(--on-dark); padding: 0; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: rgba(242,237,224,.06); border: 1.5px solid rgba(242,237,224,.18); border-radius: var(--radius-sm);
  color: var(--on-dark); font-size: 1rem; /* 16px : évite le zoom iOS */
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: rgba(242,237,224,.35); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: rgba(242,237,224,.09);
  box-shadow: 0 0 0 4px rgba(236,159,38,.18);
}
/* Erreur : ambre doux, jamais de rouge */
.field.has-error input, .field.has-error textarea { border-color: var(--amber); }
.field-error { min-height: 0; color: var(--amber); font-size: .8125rem; }
.field-error:empty { display: none; }

.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: .9375rem; text-align: center; }
.form-status:empty { display: none; }
.form-status.ok, .newsletter-status.ok { color: #9fd6a6; }
.form-status.err, .newsletter-status.err { color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer { background: #171512; color: var(--on-dark-muted); }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 40px; align-items: start;
  padding-block: clamp(48px, 7vw, 80px);
}
.footer-brand img { width: 120px; }
.footer-brand p { margin-top: 8px; font-weight: 700; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .8125rem; color: var(--on-dark); }
.footer-title { font-size: 1.25rem; font-weight: 750; font-family: var(--font-display); color: var(--on-dark); margin-bottom: 10px; }
.newsletter p { font-size: .9375rem; }
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 999px;
  background: rgba(242,237,224,.06); border: 1.5px solid rgba(242,237,224,.18); color: var(--on-dark); font-size: 1rem;
}
.newsletter-form input::placeholder { color: rgba(242,237,224,.4); }
.newsletter-form input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(236,159,38,.18); }
.newsletter-status { margin-top: 10px; font-size: .875rem; }
.newsletter-status:empty { display: none; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(242,237,224,.2); color: var(--on-dark); font-size: 20px;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.social-row a:hover { background: var(--rust); border-color: var(--rust); transform: translateY(-2px); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid var(--line-dark); font-size: .875rem;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.members .reveal:nth-child(2) { transition-delay: .08s; }
.members .reveal:nth-child(3) { transition-delay: .16s; }
.members .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .members { grid-template-columns: repeat(2, 1fr); }
  .member:nth-child(even) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
  .footer-brand p { margin: 0; }
  .footer-brand img { width: 84px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { width: 54px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; color: var(--on-dark); position: relative; z-index: 2; }

  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 40px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--ink);
    background-image: radial-gradient(circle at 100% 0%, rgba(198,78,43,.25), transparent 50%),
                      radial-gradient(circle at 0% 100%, rgba(32,85,116,.35), transparent 55%);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s var(--ease); }
  .menu-open .main-nav li { opacity: 1; transform: none; }
  .menu-open .main-nav li:nth-child(2) { transition-delay: .05s; }
  .menu-open .main-nav li:nth-child(3) { transition-delay: .1s; }
  .menu-open .main-nav li:nth-child(4) { transition-delay: .15s; }
  .main-nav a {
    padding: 14px 0; font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 800; font-family: var(--font-display);
    color: var(--on-dark); border-bottom: 1px solid var(--line-dark);
  }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="true"] { color: var(--amber); }
  .nav-social { display: flex; gap: 10px; }
  .nav-social a {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 1.5px solid rgba(242,237,224,.25); font-size: 20px; color: var(--on-dark);
  }
  .menu-open .site-header::before { opacity: 0; }
  .menu-open .brand { position: relative; z-index: 2; }
  .menu-open .brand-logo { opacity: 1; transform: none; }

  .music, .contact { grid-template-columns: 1fr; }
  .music-cover { max-width: 440px; margin-inline: auto; width: 100%; }
  .music-body { text-align: left; }
}

@media (max-width: 560px) {
  .btn { width: 100%; }
  .hero-actions { width: 100%; max-width: 360px; flex-direction: column; }
  .hero { padding-bottom: 88px; }
  .scroll-cue { display: none; }
  .members { gap: 14px 12px; }
  .member figcaption { padding-top: 10px; }
  .member-name { font-size: 1.125rem; }
  .member-role { font-size: .9375rem; }
  .form-row { grid-template-columns: 1fr; }
  .listen { grid-template-columns: 1fr; }
  .range-sm { display: none; }
  .player-controls { justify-content: center; gap: 14px; }
  .player-volume { margin-left: 0; }
  .gig { grid-template-columns: auto 1fr; padding: 14px; }
  .gig-date { width: 64px; height: 70px; }
  .gig-day { font-size: 1.6rem; }
  .gig-action { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .gigs-empty-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
