/* ===========================================================
   THE BEATSKITS — style.css
   Palette tirée du logo : dégradé corail > ambre > sauge > ciel > pervenche
   sur fond noir. Typo display géométrique (esprit Futura) + texte humaniste.
=========================================================== */

:root {
  --black: #0b0b0d;
  --black-2: #17171a;
  --black-3: #212124;
  --paper: #efe9dc;
  --paper-dim: #a9a49a;

  --coral: #ef5a3c;
  --amber: #f3a53c;
  --sage: #b7ad86;
  --sky: #8fc6e9;
  --periwinkle: #a7b3d8;

  --gradient: linear-gradient(90deg, var(--coral) 0%, var(--amber) 26%, var(--sage) 50%, var(--sky) 74%, var(--periwinkle) 100%);
  --gradient-text: linear-gradient(90deg, var(--coral) 0%, var(--amber) 50%, var(--sky) 100%);

  --font-display: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --container: 1200px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; }

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

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  display: inline-block;
  margin-bottom: 0.8em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95em 1.8em;
  border-radius: 999px;
  border: 1.5px solid var(--paper);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  background: transparent;
  color: var(--paper);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  border-color: transparent;
  background: var(--gradient);
  color: var(--black);
}
.btn-primary:hover { filter: brightness(1.08); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Badge (nod to the "THE" biscuit tag on the logo) ---------- */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  border: 1.5px dotted var(--sage);
  color: var(--sage);
  white-space: nowrap;
}
.badge.is-public { border-color: var(--amber); color: var(--amber); }
.badge.is-private { border-color: var(--periwinkle); color: var(--periwinkle); }
.badge.is-tribute { border-color: var(--coral); color: var(--coral); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(11, 11, 13, 0.62);
  backdrop-filter: blur(10px);
}

.logo-link img { height: 64px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 1.6rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.1rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--coral);
  color: var(--amber);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 30%;
    top: 78px;
    background: var(--black-2);
    border-left: 1px solid rgba(239,233,220,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2.5rem 2rem;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 1.6rem; }
}

/* ---------- Hero (centré, logo + titre, vidéo en fond) ---------- */
.hero {
  position: top;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 24px 4rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero-logo {
  width: min(560px, 78vw);
  margin: 0 auto 1.6rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero h1 {
  max-width: 18ch;
  margin: 0 auto 0.5em;
}
.hero h1 .line-small {
  display: block;
  font-size: 0.36em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  text-transform: none;
  margin-bottom: 0.3em;
}
.hero-sub {
  max-width: 56ch;
  margin: 0 auto 2rem;
  font-size: 1.12rem;
  color: var(--paper);
  opacity: 0.92;
}
.hero .btn-row { justify-content: center; }
.hero2 {
  position: top;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 24px 4rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.teaser-video {
  display: block;
  width: 900px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 auto;
  border: 0;
}

/* ---------- Embedded video (responsive 16:9 iframe) ---------- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid rgba(239,233,220,0.12);
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-embed.is-placeholder {
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.video-embed.is-placeholder .ph-text {
  color: var(--paper-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.video-featured { max-width: 900px; margin: 0 auto; }
.video-secondary { max-width: 720px; margin: 0 auto; }
.video-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 780px) { .video-grid-small { grid-template-columns: 1fr 1fr; } }
.video-grid-small .video-embed .ph-text { font-size: 0.72rem; }

/* ---------- Band members ---------- */
.member-card { text-align: center; }
.member-photo {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  width: 78%;
  margin: 0 auto 1.2rem;
  border: 2px solid rgba(239,233,220,0.14);
  background: var(--black-3);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-card h3 { margin-bottom: 0.2em; }
.member-role {
  display: block;
  font-size: 0.78rem;
  color: var(--sage);
  letter-spacing: 0.06em;
  margin-bottom: 0.8em;
}
.member-card p { font-size: 0.92rem; color: var(--paper-dim); }
.member-song {
  display: inline-block;
  margin-top: 0.7em;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--sky);
}

/* ---------- Photo credit overlay ---------- */
.photo-wrap { position: relative; }
.photo-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: rgba(239,233,220,0.85);
  background: rgba(11,11,13,0.55);
  padding: 3px 9px;
  border-radius: 3px;
  z-index: 2;
}
.frame-photo.photo-wrap { position: relative; }
.photo-grid a { position: relative; }


/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-alt { background: var(--black-2); }
.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head p { color: var(--paper-dim); font-size: 1.05rem; }

.pt-sm { padding-top: 4rem; }
.pb-sm { padding-bottom: 4rem; }

/* ---------- Two-col ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.frame-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(239,233,220,0.12);
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: rgba(239,233,220,0.1);
  border: 1px solid rgba(239,233,220,0.1);
}
.stat {
  background: var(--black);
  padding: 1.8rem 1.2rem;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.stat .label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  text-transform: uppercase;
  margin-top: 0.3em;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 780px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--black-2);
  border: 1px solid rgba(239,233,220,0.08);
  border-radius: var(--radius);
  padding: 2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.photo-grid a:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid a:first-child img { aspect-ratio: 1/1; }
@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid a:first-child { grid-column: span 2; grid-row: auto; }
  .photo-grid a:first-child img { aspect-ratio: 16/10; }
}

/* ---------- Concert list ---------- */
.concert-table { width: 100%; border-collapse: collapse; }
.concert-table th {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  padding: 0.8rem 0.6rem;
  border-bottom: 1px solid rgba(239,233,220,0.16);
}
.concert-table td {
  padding: 1rem 0.6rem;
  border-bottom: 1px solid rgba(239,233,220,0.08);
  font-size: 0.98rem;
  vertical-align: middle;
}
.concert-table tr:hover td { background: rgba(239,233,220,0.03); }
.c-date { font-family: var(--font-display); font-weight: 600; color: var(--paper); white-space: nowrap; }
.c-town { color: var(--paper-dim); }

/* ---------- Teaser / video ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid rgba(239,233,220,0.12);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,11,13,0.25);
}
.play-btn .circle {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.video-frame:hover .circle { transform: scale(1.08); }
.play-btn svg { width: 26px; height: 26px; fill: var(--black); margin-left: 4px; }

/* ---------- Pricing ---------- */
.price-card { text-align: center; position: relative; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin: 0.3em 0;
}
.price-card ul { list-style: none; padding: 0; margin: 1.4em 0; text-align: left; }
.price-card li {
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(239,233,220,0.08);
  font-size: 0.95rem;
  color: var(--paper-dim);
}
.price-card.is-featured { border-color: var(--amber); }

/* ---------- Contact ---------- */
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(239,233,220,0.1);
}
.contact-row .ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--black-3);
  flex-shrink: 0;
}
.contact-row .ico svg { width: 18px; height: 18px; fill: var(--sky); }

.social-row { display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(239,233,220,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { border-color: var(--sky); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; fill: var(--paper); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(239,233,220,0.08);
  padding: 2.6rem 0 2.2rem;
  background: var(--black);
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-inner .social-row { margin-top: 0; }
.footer-meta { font-size: 0.8rem; color: var(--paper-dim); letter-spacing: 0.04em; }
.footer-meta a:hover { color: var(--sky); }

/* ---------- Utilities ---------- */
.mt-lg { margin-top: 3rem; }
.text-center { text-align: center; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }

@media (max-width: 780px) {
  h1 { font-size: 2.4rem; }
  .grid-3, .grid-2, .two-col { gap: 1.6rem; }
}
