/* ---------- Base ----------
   Palette tirée des photos : bois et lumières ambrées du bar,
   casquette olive, tissu rouge brique, bleu des affiches. */
:root {
  --bg: #15100c;
  --bg-2: #1e1610;
  --bg-3: #2a1e15;
  --amber: #e8a63a;
  --amber-light: #f4bd5e;
  --wood: #b06a2c;
  --brick: #c4533a;
  --olive: #9aa56a;
  --blue: #3d5fe6;
  --text: #f4e8d6;
  --muted: #bcaa93;
  --line: rgba(244, 232, 214, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1100px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

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

.eyebrow {
  margin: 0 0 0.8em;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(21, 16, 12, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(21, 16, 12, 0.95);
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav .nav-cta {
  padding: 0.45rem 1rem;
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: var(--amber);
}

.nav .nav-cta:hover {
  background: var(--amber);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Accueil ---------- */
/* Le halo est porté par la section pleine largeur : rien ne dépasse de la page */
.hero {
  background:
    radial-gradient(45% 60% at 70% 40%, rgba(232, 166, 58, 0.2), transparent 70%),
    radial-gradient(30% 40% at 15% 85%, rgba(196, 83, 58, 0.14), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6rem);
  letter-spacing: -0.02em;
}

.hero h1 em {
  display: block;
  color: var(--amber);
  font-style: italic;
}

.lead {
  max-width: 36ch;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text);
  opacity: 0.88;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-photo {
  position: relative;
  animation: fade-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.15s;
}

/* Cadre décalé, comme une marche derrière la photo */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
}

.hero-photo img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
}

.hero-photo figcaption {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--amber-light);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--amber);
}

/* ---------- Agenda : l'appel à l'action principal ---------- */
.agenda {
  background:
    linear-gradient(180deg, rgba(232, 166, 58, 0.14), rgba(232, 166, 58, 0.03)),
    var(--bg-2);
  border-top: 3px solid var(--amber);
  border-bottom: 1px solid var(--line);
}

.agenda-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}

.agenda-head {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.agenda-head h2 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.agenda-head p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.15rem;
}

.agenda-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-list:empty {
  display: none;
}

.event {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1rem clamp(1rem, 3vw, 1.5rem) 1rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.event:hover {
  border-color: rgba(232, 166, 58, 0.5);
  transform: translateX(4px);
}

.event[hidden] {
  display: none;
}

.event-date {
  display: grid;
  justify-items: center;
  padding: 0.6rem 0.4rem;
  border: 1px solid var(--amber);
  border-radius: 10px;
  color: var(--amber);
  line-height: 1.1;
}

.event-day {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
}

.event-month {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-weekday {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  opacity: 0.85;
}

.event-year {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
}

.event-body h3 {
  margin: 0 0 0.2em;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.event-body p {
  margin: 0;
}

.event-link {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.event-link:hover {
  border-color: var(--amber);
}

/* Bouton « toutes les dates » et dates passées */
button.btn {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

button.btn-ghost {
  background: none;
}

button.btn[hidden],
.agenda-past[hidden],
.agenda-past [hidden] {
  display: none;
}

.agenda-all {
  margin: 1.25rem 0 0;
}

.agenda-all:has(button[hidden]) {
  display: none;
}

.agenda-past {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
}

.agenda-past h3 {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1.3rem;
}

.event.is-past {
  background: none;
  opacity: 0.75;
}

.event.is-past:hover {
  transform: none;
  border-color: var(--line);
}

.event.is-past .event-date {
  border-color: var(--line);
  color: var(--muted);
}

/* La prochaine date : pleine couleur */
.event.is-next {
  border-color: var(--amber);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.event.is-next .event-date {
  background: var(--amber);
  color: var(--bg);
}

.event.is-next .event-body::before {
  content: "Prochain concert";
  display: block;
  margin-bottom: 0.3rem;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.event.is-next .event-link {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
}

.agenda-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--bg);
  border: 1px dashed rgba(232, 166, 58, 0.5);
  border-radius: var(--radius);
}

.agenda-empty[hidden] {
  display: none;
}

.agenda-empty p {
  flex: 1 1 280px;
  margin: 0;
}

.agenda-empty strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.3rem;
}

/* Agenda Google intégré */
.gcal {
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(232, 166, 58, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.gcal-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.gcal-gate[hidden],
.gcal-frame[hidden],
.gcal-hide[hidden] {
  display: none;
}

.gcal-gate p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.95rem;
}

.gcal-gate strong {
  display: block;
  margin-bottom: 0.2em;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.gcal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.gcal-gate button {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

/* Le contenu Google est clair et ne peut pas être stylé de l'intérieur :
   on l'inverse pour l'accorder au thème sombre, puis on réchauffe les tons. */
.gcal-frame iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  filter: invert(0.93) hue-rotate(180deg) sepia(0.35) saturate(1.3) contrast(0.95);
}

.agenda-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0 0;
}

.gcal-hide {
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
}

.gcal-hide:hover {
  color: var(--text);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}

.section-alt {
  max-width: none;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-alt > * {
  max-width: var(--max);
  margin-inline: auto;
}

.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head p:last-child {
  max-width: 50ch;
  margin-bottom: 0;
}

/* ---------- Concerts ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.feature + .feature,
.private {
  margin-top: clamp(3rem, 8vw, 6rem);
}

.feature-reverse > .photo {
  order: 2;
}

.tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(232, 166, 58, 0.4);
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
}

.photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo:hover img {
  transform: scale(1.04);
}

/* Deux photos qui se chevauchent */
.photo-pair {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
}

.photo-wide {
  grid-column: 1 / 11;
  grid-row: 1;
  aspect-ratio: 3 / 2;
}

.photo-tall {
  grid-column: 8 / 13;
  grid-row: 1;
  z-index: 1;
  aspect-ratio: 4 / 5;
  transform: translateY(18%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.venues {
  margin: 1.5rem 0 1rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.venues li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.venues strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* Adresses cliquables */
.map-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(232, 166, 58, 0.6);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.map-link:hover {
  color: var(--amber);
}

/* Waze n'est proposé que sur les écrans tactiles */
.waze-link {
  display: none;
  margin-left: 0.6rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: none) and (pointer: coarse) {
  .waze-link {
    display: inline-block;
  }
}

.credit {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.8;
}

.private {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 5vw, 3rem);
  background: linear-gradient(120deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-left: 4px solid var(--brick);
  border-radius: var(--radius);
}

.private p {
  max-width: 55ch;
  margin-bottom: 0;
}

.private .btn {
  flex-shrink: 0;
}

/* ---------- Styles : trois marches ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 1.25rem;
}

.step-card {
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}

.step-card:nth-child(2) { border-top-color: var(--olive); }
.step-card:nth-child(3) { border-top-color: var(--brick); }

.step-card:hover {
  transform: translateY(-6px);
}

.step-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.step-card img.crop-low {
  object-position: 50% 70%;
}

.step-card img.crop-bottom {
  object-position: 50% 100%;
}

.step-body .step-more {
  margin-top: 1rem;
}

.text-link {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.4em;
  transition: transform 0.2s;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Présentation des voyages sonores : photo au format portrait */
.feature-portrait {
  grid-template-columns: minmax(0, 400px) 1fr;
  margin-top: clamp(3rem, 8vw, 5rem);
}

.feature-portrait .photo {
  aspect-ratio: 3 / 4;
}

.step-body {
  padding: 1.5rem 1.5rem 2rem;
}

.step-card:nth-child(2) .step-body { padding-bottom: 4.5rem; }
.step-card:nth-child(3) .step-body { padding-bottom: 7rem; }

.step-body p {
  margin-bottom: 0;
}

.step-num {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

.step-card:nth-child(2) .step-num { color: var(--olive); }
.step-card:nth-child(3) .step-num { color: var(--brick); }

/* ---------- Albums ----------
   Un bloc par album : pochette, description, puis ses extraits. */
.album-panel {
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 4px solid var(--album);
  border-radius: var(--radius);
}

.album-panel + .album-panel {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.album-voyage { --album: var(--olive); }
.album-blues { --album: var(--wood); }

.album-head {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.album-info p {
  max-width: 48ch;
  margin-bottom: 0;
}

.album-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

/* Pochette, le disque dépasse au survol */
.album-art {
  position: relative;
  aspect-ratio: 1;
}

.sleeve {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, var(--wood), #5a2f14 70%, #2a160b);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.05;
}

.sleeve-img {
  padding: 0;
  overflow: hidden;
  background: #000;
}

.sleeve-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.disc {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--amber) 0 14%, #111 14.5% 16%, transparent 16.5%),
    repeating-radial-gradient(circle, #1a1a1a 0 2px, #0c0c0c 2px 4px);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.album-panel:hover .disc {
  transform: translateX(28%) rotate(90deg);
}

/* Extraits : rattachés à l'album par le même cadre */
.album-extracts {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.extracts-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: var(--album);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.extracts-title span {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.player {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
}

.stage {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

.stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tracklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.track {
  display: grid;
  grid-template-columns: 64px auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.track:hover {
  background: var(--bg-2);
}

.track.is-current {
  background: var(--bg-3);
  border-color: var(--album);
}

.track img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.track-n {
  color: var(--album);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.track-title {
  font-weight: 600;
  line-height: 1.3;
}

.track-time {
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.now {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.25rem;
}

.now p {
  flex: 1 1 320px;
  margin: 0;
}

.now strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.2rem;
}

/* ---------- Liens Facebook ---------- */
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem 0.5rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.fb-link::before {
  content: "f";
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1;
}

.fb-link:hover {
  border-color: var(--blue);
  background: rgba(61, 95, 230, 0.12);
}

.hero-fb {
  margin: 1.25rem 0 0;
}

.section-foot {
  margin: 2.5rem 0 0;
  text-align: center;
}

/* ---------- Affiches ---------- */
.posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.posters img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.posters img:nth-child(odd) { transform: rotate(-1.5deg); }
.posters img:nth-child(even) { transform: rotate(1.5deg); }

.posters img:hover {
  transform: rotate(0) scale(1.04);
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
}

.contact-inner {
  max-width: 620px;
  margin: 0 auto;
}

.contact-inner p {
  margin-bottom: 2rem;
}

/* ---------- Mentions légales ---------- */
.legal {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 1em;
}

.legal h2 {
  margin-top: 2.2em;
  font-size: 1.5rem;
  color: var(--amber);
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--muted);
}

.legal li {
  margin-bottom: 0.4em;
}

.legal a:not(.link-arrow) {
  color: var(--amber);
}

/* Information à renseigner avant la mise en ligne */
.todo {
  padding: 0.1em 0.4em;
  border-radius: 4px;
  background: rgba(196, 83, 58, 0.25);
  color: var(--text);
}

.legal-back {
  margin-top: 3rem;
}

.link-arrow {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::before {
  content: "←";
  display: inline-block;
  margin-right: 0.4em;
  transition: transform 0.2s;
}

.link-arrow:hover::before {
  transform: translateX(-4px);
}

/* ---------- Pied de page ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 auto 0 0;
}

/* Crédit de réalisation : sa propre ligne, logo sur pastille claire
   (le logo a des parties bleu nuit, illisibles sur fond sombre) */
.site-footer .made-by {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.made-by img {
  width: 72px;
  height: 72px;
  padding: 7px;
  object-fit: contain;
  background: var(--text);
  border-radius: 14px;
  transition: transform 0.25s;
}

.made-by strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.2s;
}

.made-by:hover img {
  transform: rotate(-4deg) scale(1.05);
}

.made-by:hover strong {
  color: var(--amber);
}

/* ---------- Apparition au défilement ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .step-card.reveal.is-visible:hover {
  transform: translateY(-6px);
}

.js .steps-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.js .steps-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1.25rem;
    background: rgba(21, 16, 12, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
  }

  .nav .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 76px 1fr;
  }

  .gcal-frame iframe {
    height: 520px;
  }

  .event-link {
    grid-column: 2;
    justify-self: start;
  }

  .hero-photo {
    max-width: 420px;
    margin-right: 16px;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature-portrait .photo {
    max-width: 400px;
  }

  .feature-reverse > .photo {
    order: 0;
  }

  .photo-pair {
    margin-bottom: 12%;
  }

  .private {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .step-card:nth-child(n) .step-body {
    padding-bottom: 2rem;
  }

  .posters {
    grid-template-columns: repeat(2, 1fr);
  }

  .album-head {
    grid-template-columns: 1fr 1fr;
  }

  .album-info {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .player {
    grid-template-columns: 1fr;
  }

  .stage {
    aspect-ratio: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
