/* ========== VARIABLES : change les couleurs ici ========== */
:root {
  --bg: #060b14;
  --bg-alt: #0c1426;
  --blue: #0b1c3f;
  --blue-deep: #0a1a3b;
  --blue-text: #8fa9e6;
  --paper: #ebe7da;
  --muted: #a9adb8; /* gris texte secondaire */
  --ink: #070b14; /* texte sur fond clair */

  --font-title: "Anton", Impact, sans-serif;
  --font-body: "Space Mono", ui-monospace, monospace;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blue-text);
}
a:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.95;
}
h1 {
  font-size: clamp(4.2rem, 11vw, 9.4rem);
  line-height: 0.88;
  letter-spacing: -1px;
}
h2 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}
h3 {
  font-size: 1.8rem;
  line-height: 1.05;
}
p {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
figure {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.section-head p {
  max-width: 360px;
  color: var(--muted);
}

/* ========== BOUTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--paper);
}
.btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}
.btn-outline {
  margin-left: -2px;
}
.btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ========== PLACEHOLDERS PHOTO ========== */
.ph {
  background: repeating-linear-gradient(
    135deg,
    #0f1728 0 14px,
    #0a101e 14px 28px
  );
  border: 1px solid var(--paper);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  width: 100%;
  height: 100%;
  min-height: 200px;
}
/* Pour de vraies photos (noir & blanc + grain = idéal) : */
.gallery img,
.hero-photo img,
.card-photo img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  /* filter: grayscale(1) contrast(1.15); */
}

/* ========== EN-TÊTE ========== */
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--paper);
}
.logo {
  font-family: var(--font-title);
  font-size: 1.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo span {
  color: var(--blue-text);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
}

/* ========== HERO ========== */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  padding-top: 56px;
  padding-bottom: 72px;
}
.hero-text {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.kicker {
  color: var(--blue-text);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 13px;
  text-transform: uppercase;
}
.hero h1 .tag {
  display: inline-block;
  background: var(--blue);
  color: var(--paper);
  padding: 0 14px;
  transform: rotate(-1.5deg);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.lead {
  margin-left: 24px;
  color: var(--muted);
}
.hero-photo {
  flex: 1 1 420px;
  min-width: 0;
  min-height: 520px;
  position: relative;
}
.sticker {
  position: absolute;
  top: 28px;
  right: -12px;
  z-index: 1;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--font-title);
  font-size: 1.4rem;
  text-transform: uppercase;
  padding: 6px 16px;
  transform: rotate(4deg);
  border: 1px solid var(--paper);
}

/* ========== BANDEAU ========== */
.ticker {
  background: var(--blue);
  color: var(--paper);
  border-top: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 27s linear infinite;
}
@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker span {
    animation: none;
    padding-left: 0;
  }
}

/* ========== GALERIE ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.gallery figure {
  min-height: 260px;
}
.gallery .wide {
  grid-column: span 2;
  min-height: 360px;
}
.gallery .tall {
  min-height: 360px;
}
.gallery .slogan {
  background: var(--blue);
  border: 1px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-title);
  font-size: 2.6rem;
  text-transform: uppercase;
  line-height: 1;
  padding: 16px;
}

/* ========== AGENDA ========== */
.band {
  background: var(--paper);
  color: var(--ink);
  border-top: 2px solid var(--ink);
}
.band h2 {
  margin-bottom: 40px;
}
.event {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 3px solid var(--ink);
}
.event:last-child {
  border-bottom: 3px solid var(--ink);
}
.event-date {
  flex: 0 0 150px;
  font-family: var(--font-title);
  line-height: 0.9;
}
.event-date .day {
  display: block;
  font-size: 5.5rem;
}
.event-date .month {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  background: var(--blue);
  color: var(--paper);
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-left: 8px;
}
.event-body {
  flex: 1 1 300px;
  min-width: 0;
}
.event-body h3 {
  font-size: 2.5rem;
}
.event-body p {
  margin-top: 4px;
}
.event-time {
  font-weight: 700;
}
.band .btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.band .btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}

/* ========== ÉQUIPE + CARTE ========== */
.team-map {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.team-col {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.team-intro {
  max-width: 560px;
  color: var(--muted);
}
.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.member {
  border: 1px solid var(--paper);
  padding: 24px 28px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.member h3 {
  font-size: 2.4rem;
  color: var(--blue-text);
}

.map-frame {
  flex: 1 1 420px;
  min-width: 0;
  min-height: 440px;
  border: 1px solid var(--paper);
  position: relative;
  background: var(--bg);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg); /* carte sombre */
}
.map-link {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.map-link:hover {
  background: var(--blue);
  color: var(--paper);
}

/* ========== ARCHIVES ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}
.card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-photo {
  aspect-ratio: 4 / 3;
  min-height: 0;
}
.card time {
  color: var(--blue-text);
  font-weight: 700;
  margin-top: 4px;
}
.card h3 {
  font-size: 1.8rem;
}
.card a:hover h3 {
  color: var(--blue-text);
}

/* ========== INFOS + CARTE ========== */
.infos {
  background: var(--blue-deep);
  border-top: 2px solid var(--paper);
}
.infos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  padding-top: 80px;
  padding-bottom: 80px;
}
.infos-grid h2 {
  flex: 1 1 360px;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.9;
}
.infos-grid > div {
  flex: 1 1 200px;
}
.infos-grid h3 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 8px;
}
.infos-grid p {
  font-weight: 700;
}

/* ========== RETOUR EN HAUT ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--paper);
  border: 1px solid var(--paper);
  font-size: 22px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}
.back-to-top:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ========== PIED DE PAGE ========== */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========== MOBILE ========== */
@media (max-width: 640px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .gallery .wide {
    grid-column: span 1;
  }
  .nav {
    gap: 18px;
  }
  .lead {
    margin-left: 0;
    margin-top: 16px;
  }
  .hero-photo {
    min-height: 380px;
  }
  .sticker {
    right: 8px;
  }
  .map-frame {
    min-height: 340px;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
