/* =========================================================
   WARM-UP BY POPITA — style.css
   Mobile-first. Les media queries min-width ajoutent le confort
   desktop, elles ne redéfinissent jamais la mécanique mobile.
   ========================================================= */

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Fond immersif (signature du site) ----------
   Deux calques fixes plein écran. Le calque "night" gagne en
   opacité au fil du scroll (0 -> 1), donnant l'impression que
   la soirée "monte en chaleur" puis bascule dans la nuit. */
.atmosphere { position: fixed; inset: 0; z-index: -1; }
.atmosphere__layer { position: absolute; inset: 0; }
.atmosphere__layer--base {
  background:
    radial-gradient(120% 90% at 50% 0%, #322566 0%, var(--navy) 55%, var(--navy-deep) 100%);
}
.atmosphere__layer--night {
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(255, 222, 0, 0.32) 0%, var(--navy) 30%, var(--navy-deep) 100%);
  opacity: 0; /* piloté par --scroll en JS */
  opacity: var(--scroll, 0);
  transition: opacity 0.05s linear;
}

/* ---------- Grain (texture premium, discrète) ----------
   Bruit SVG en overlay fixe, mix-blend-mode + faible opacité :
   casse les aplats de couleur sans jamais gêner la lecture. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Conteneurs ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
@media (min-width: 768px) {
  .section { padding: 140px 0; }
  .section--tight { padding: 88px 0; }
}

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--yellow);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--white); opacity: 0.85; }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 100%;
  font-size: clamp(1.35rem, 4.4vw, 2.1rem);
  line-height: 1.28;
  max-width: 780px;
}

.body-lg {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  margin-bottom: 20px;
}
.body-lg:last-child { margin-bottom: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--yellow {
  background: var(--yellow);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(255, 222, 0, 0.25);
}
.btn--yellow:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 222, 0, 0.35); }
.btn--lg { padding: 19px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 16px 0;
  background: transparent;
  transition: background-color 0.25s ease, padding 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(23, 15, 56, 0.97);
  padding: 10px 0;
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.site-header__logo span { color: var(--yellow); }

.site-header__nav {
  display: none;
  gap: 28px;
  font-weight: 500;
  font-size: 0.92rem;
}
.site-header__nav a { opacity: 0.85; }
.site-header__nav a:hover { opacity: 1; }

.site-header__cta { display: none; }

.site-header__burger {
  position: relative;
  z-index: 60; /* doit rester cliquable même quand le menu plein écran (nav) est ouvert par-dessus */
  width: 40px; height: 40px;
  background: none; border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.site-header__burger span {
  width: 22px; height: 2px; background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Icône burger -> croix quand le menu est ouvert */
.site-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .site-header__nav { display: flex; }
  .site-header__cta { display: inline-flex; }
  .site-header__burger { display: none; }
}

/* Menu mobile plein écran */
@media (max-width: 899px) {
  .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 45; /* sous le burger (60) pour qu'il reste toujours cliquable par-dessus */
    background: var(--navy-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  .site-header__nav.is-open { display: flex; transform: translateY(0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}
/* Vidéo de fond (assets/vids/) : object-fit: cover natif, remplit le Hero
   quel que soit le ratio de l'écran. */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero__video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Assombrit la vidéo pour garder le texte lisible, tout en laissant deviner l'image */
  background:
    linear-gradient(180deg, rgba(23,15,56,0.55) 0%, rgba(23,15,56,0.72) 55%, var(--navy) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(3.2rem, 15vw, 8.5rem);
  line-height: 1.10;
  text-transform: uppercase;
  margin: 10px 0 18px;
}
.hero__title-by {
  display: block;
  font-size: 0.28em;
  font-weight: 600;
  font-stretch: 100%;
  color: var(--yellow);
  letter-spacing: 0.06em;
  margin-top: 6px;
}
.hero__date {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 100%;
  font-size: clamp(1rem, 3vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 34px;
  opacity: 0.9;
}
.hero__scrollcue {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}
.hero__scrollcue span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--white), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
.hero__scrollcue p {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
@keyframes scrollcue { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Reveal au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Concept ---------- */

/* Rangée 1 : présentation + logo */
.concept__intro-grid {
  display: grid;
  gap: 40px;
}
.concept__logo img { border-radius: var(--radius); }
@media (min-width: 900px) {
  .concept__intro-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
}

/* Rangée 2 : Yann Muller / DJ BENS, côte à côte avec leur Spotify */
.concept__artists-grid {
  display: grid;
  gap: 48px;
  margin-top: 56px;
}
@media (min-width: 768px) {
  .concept__artists-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.concept__bio-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 8px;
}
.concept__spotify { margin-top: 20px; }
.concept__spotify iframe { display: block; }

/* ---------- Artistes ---------- */
.artists-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .artists-grid { grid-template-columns: 1fr 1fr; }
}

/* Carte artiste : photo pleine cape + nom géant en surimpression,
   dans l'esprit des pages artiste des sites club/festival premium
   (grand portrait, scrim dégradé, typo condensée qui "claque"). */
.artist-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,0.04);
}
.artist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.artist-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(23,15,56,0.15) 60%, rgba(23,15,56,0.92) 100%);
  pointer-events: none;
}
.artist-card__tag {
  position: absolute;
  left: 18px;
  bottom: 62px;
  display: inline-block;
  border: 1px solid var(--yellow);
  background: rgba(23, 15, 56, 0.55);
  color: var(--yellow);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
  padding: 5px 12px;
  border-radius: 999px;
}
.artist-card__name {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1;
}
@media (min-width: 900px) {
  .artist-card:hover img { transform: scale(1.05); }
}

/* ---------- Infos pratiques ---------- */
.infos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .infos-grid { grid-template-columns: repeat(3, 1fr); }
}
.infos-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 28px;
}
.infos-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--yellow);
  margin-bottom: 10px;
}
.infos-card__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 100%;
  font-size: 1.25rem;
  line-height: 1.35;
}
.infos-card__value em { opacity: 0.6; font-style: normal; }

/* ---------- Offres : liste unique de tarifs (façon Xceed) ---------- */
.ticket-list {
  margin-top: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--navy-deep);
}

.ticket-row {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
}
.ticket-row:first-child { border-top: none; }

.ticket-row__main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.ticket-row__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 87.5%;
  font-size: 1.1rem;
  text-transform: uppercase;
}
.ticket-row__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.3rem;
}
.ticket-row__tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Épuisé / à venir : grisé, non cliquable */
.ticket-row--sold,
.ticket-row--upcoming {
  opacity: 0.45;
}
.ticket-row--sold .ticket-row__price { text-decoration: line-through; }
.ticket-row--sold .ticket-row__tag,
.ticket-row--upcoming .ticket-row__tag {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Tarif en cours : jaune */
.ticket-row--active { background: rgba(255,222,0,0.06); }
.ticket-row--active .ticket-row__price { color: var(--yellow); }
.ticket-row--active .ticket-row__tag { background: var(--yellow); color: var(--navy-deep); }

/* VIP : rouge */
.ticket-row--vip { background: rgba(230,57,70,0.08); }
.ticket-row--vip .ticket-row__price { color: #e63946; }
.ticket-row--vip .ticket-row__tag--vip { background: #e63946; color: var(--white); }

/* Lignes cliquables (tarif en cours + VIP) : même empilement nom/prix puis
   badge que les lignes épuisées, pour garder une hauteur cohérente entre
   tous les paliers. La flèche reste alignée à droite, centrée verticalement. */
.ticket-row__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ticket-row__content { flex: 1; }
.ticket-row__arrow {
  font-size: 1.2rem;
  color: var(--yellow);
  flex-shrink: 0;
}
.ticket-row--vip .ticket-row__arrow { color: #e63946; }

.ticket-row__perks {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ticket-row__perks li {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.3;
  padding: 2px 0;
}

.offers-note {
  margin-top: 18px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 32px; }
.faq-item {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}
.faq-list .faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 100%;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--yellow);
  transition: transform 0.2s ease;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 62ch;
}
.faq-item p a { color: var(--yellow); }

.faq-more {
  margin-top: 32px;
  font-size: 0.9rem;
  opacity: 0.75;
}
.faq-more a { color: var(--yellow); font-weight: 600; }

/* ---------- Co-organisation ---------- */
.co-org { background: var(--navy-deep); }
.co-org__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 28px;
  background: rgba(255,255,255,0.08); /* fait office de séparateur fin entre les 2 blocs */
  border-radius: var(--radius);
  overflow: hidden;
}
.co-org__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 28px 16px;
  background: var(--navy-deep);
  transition: background-color 0.2s ease;
}
@media (min-width: 640px) {
  .co-org__card { padding: 44px 32px; }
}
.co-org__card:hover { background: #0e0928; }
.co-org__logo { max-height: 44px; width: auto; object-fit: contain; }
@media (min-width: 640px) {
  .co-org__logo { max-height: 56px; }
}
.co-org__caption { font-size: 0.85rem; opacity: 0.7; max-width: 34ch; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 120px; border-top: 1px solid rgba(255,255,255,0.1); }
.site-footer--ticket { padding-bottom: 40px; }
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}
.site-footer__brand a:hover { text-decoration: underline; }
.site-footer__brand span { color: var(--yellow); margin: 0 6px; }
.site-footer__links { display: flex; gap: 22px; font-size: 0.85rem; opacity: 0.75; }
.site-footer__cookie-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.85rem;
  opacity: 0.75;
  cursor: pointer;
  text-decoration: none;
}
.site-footer__cookie-link:hover { opacity: 1; text-decoration: underline; }

/* ---------- Bannière de consentement (RGPD) ---------- */
.consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100; /* au-dessus du header (40) et du CTA sticky (50) */
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.consent-banner.is-visible { transform: translateY(0); }
.consent-banner__text {
  font-size: 0.85rem;
  line-height: 1.55;
  opacity: 0.85;
  max-width: 720px;
}
.consent-banner__actions {
  display: flex;
  gap: 12px;
}
.consent-banner__btn {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.consent-banner__btn--decline:hover { background: rgba(255,255,255,0.08); }
.consent-banner__btn--accept {
  background: var(--yellow);
  color: var(--navy-deep);
  border-color: var(--yellow);
}
.consent-banner__btn--accept:hover { background: #ffe94d; }

@media (min-width: 640px) {
  .consent-banner { flex-direction: row; align-items: center; justify-content: space-between; }
  .consent-banner__actions { flex-shrink: 0; }
  .consent-banner__btn { flex: none; min-width: 140px; }
}
.site-footer__copy { font-size: 0.75rem; opacity: 0.5; }
@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- CTA sticky mobile ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(23, 15, 56, 0.94);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 900px) {
  .sticky-cta { display: none; } /* le CTA est déjà permanent dans le header en desktop */
}

/* ============ PAGE BILLETTERIE ============ */
.billetterie-page { background: var(--navy); }
.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticket-header__back { font-size: 0.9rem; opacity: 0.8; }
.ticket-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1rem;
}
.ticket-header__title span { color: var(--yellow); }

.ticket-main { padding: 28px 20px 0; }
.ticket-intro { max-width: var(--container); margin: 0 auto 20px; }
.ticket-intro__note { font-size: 0.9rem; opacity: 0.75; margin-top: 6px; }

.ticket-iframe-wrap {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  min-height: 600px; /* évite un flash vide le temps que export.js génère l'iframe */
}
.ticket-iframe-wrap iframe {
  width: 100%;
  border: none;
  display: block;
}
