/* ============================================
   VARIABLES
   ============================================ */
:root {
  --color-bg:      #000000;
  --color-text:    #f5f5f5;
  --color-muted:   #888888;
  --color-border:  #1f1f1f;
  --color-alpha:   rgba(0, 0, 0, .7);
  --color-yellow:  #FFEA00;

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --fs-h2:     clamp(2rem, 5vw, 4rem);
  --fs-nav:    clamp(1.2rem, 1.8vw, 1.7rem);
  --fs-body:   clamp(.95rem, 1vw, 1.05rem);
  --fs-small:  .85rem;

  --space-xs:  clamp(.5rem, 1vw, .75rem);
  --space-sm:  clamp(.75rem, 1.5vw, 1.25rem);
  --space-md:  clamp(1.25rem, 3vw, 2rem);
  --space-lg:  clamp(1.5rem, 3vw, 2rem);
  --space-xl:  clamp(3rem, 10vw, 8rem);

  --hero-margin-v: clamp(2rem, 6vh, 5rem);
  --container:     min(1200px, 92vw);
  --header-h:      64px;
  --radius:        4px;
  --ease:          cubic-bezier(.2, .7, .2, 1);
}

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

html, body {
  margin: 0; padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
    scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0;
}

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

/* ============================================
   ACCESSIBILITÉ
   ============================================ */
.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;
}

/* ============================================
   BACKGROUND PARALLAXE
   ============================================ */
.bg-parallax {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background: #000 url('../img/background.jpg') center top / cover no-repeat;
  will-change: transform;
  pointer-events: none;
}

/* ============================================
   COMPOSANT — ROLL-OVER
   ============================================ */
.rollover {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: inherit;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-text);
  padding: 0 .15em;
  cursor: pointer;
  isolation: isolate;
}

.rollover__base {
  position: relative;
  line-height: inherit;
  z-index: 1;
  display: block;
}

.rollover__over {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .25s var(--ease);
}

.rollover__over-text { display: block; line-height: inherit; }

.rollover:hover .rollover__over,
.rollover:focus-visible .rollover__over {
  clip-path: inset(0 0 0 0);
}

/* Variante sticky */
.site-nav .rollover {
  font-size: var(--fs-nav);
  color: var(--color-muted);
  padding: 0 .15em;
}
.site-nav .rollover.is-active { color: var(--color-text); }

/* ============================================
   LOGO (header sticky + hero)
   ============================================ */
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  transition: opacity .2s var(--ease);
}

.brand-logo {
  display: block;
  height: clamp(20px, 2.6vw, 28px);
  width: auto;
}

/* ============================================
   HEADER STICKY
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  background: transparent;
  z-index: 300;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease),
              opacity .35s var(--ease),
              background .35s var(--ease);
}

.site-header.is-scrolled {
  background: var(--color-alpha);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-nav ul {
  display: none;
  gap: clamp(.5rem, 1.2vw, 1rem);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.site-nav__close {
  font-size: 2rem;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  width: auto;
  padding: var(--space-sm);
}

/* Nav mobile ouverte (overlay) */
.site-nav.is-open {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 200;
}

.site-nav.is-open ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav.is-open a {
  font-size: clamp(2.5rem, 10vw, 4rem);
  color: var(--color-text);
}

.site-nav__header { display: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0a0a0a url('../img/hero-poster.jpg') center/cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--hero-margin-v) var(--space-md);
  text-align: center;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  justify-content: space-between;
}

.hero-brand {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  color: var(--color-text);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 32px rgba(0, 0, 0, .55));
}

.hero-nav { width: 100%; }

.hero-nav ul {
  display: flex;
  justify-content: space-evenly;
  align-items: baseline;
  width: 100%;
  gap: clamp(.5rem, 1.5vw, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
}

/* Vidéo active si pas de reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-video { display: block; }
  .hero { background: #000; }
}

/* ============================================
   SECTIONS (base)
   ============================================ */
.section {
  padding: var(--space-lg) var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
  min-height: auto;
  scroll-margin-top: var(--header-h);
}

.section-title {
  font-size: var(--fs-h2);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* ============================================
   TOUR DATES
   ============================================ */
.dates-wrap {
  max-width: 640px;
  margin: 0 auto;
  border: 0.5px solid var(--color-text);
}

.dates-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dates-list .loading,
.dates-list .empty {
  color: var(--color-muted);
  font-style: italic;
  padding: var(--space-md);
}

.date-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  padding: 14px 20px;
  align-items: center;
  border-bottom: 0.5px solid var(--color-text);
}

.date-row:last-child { border-bottom: 0; }

.date-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.date-location {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.15;
}

.date-location .sep {
  color: var(--color-muted);
  margin: 0 .5em;
}

.date-event {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-text);
  line-height: 1.25;
}

.date-when {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--color-muted);
  letter-spacing: .02em;
  line-height: 1.25;
}

.date-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 8px 18px;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .2s var(--ease);
}

.date-ticket:hover,
.date-ticket:focus-visible { opacity: .8; }

.date-free {
  padding: 8px 2px;
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text);
  align-self: center;
  white-space: nowrap;
}

/* ============================================
   CARROUSEL
   ============================================ */
.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-sm);
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.carousel-prev,
.carousel-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.carousel-prev:hover,
.carousel-next:hover { border-color: var(--color-text); }

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  min-width: 0;
  width: 100%;
}

.carousel-track:active { cursor: grabbing; }
.carousel-track::-webkit-scrollbar { display: none; }

.slide {
  scroll-snap-align: start;
  width: 100%;
  min-width: 0;
}

.slide-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
  border-radius: var(--radius);
}

.slide-media img,
.slide-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.slide-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 1.75rem;
  transition: background .2s var(--ease);
}

.slide-play:hover,
.slide-play:focus-visible { background: transparent; }

.slide-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-top: var(--space-sm);
  color: var(--color-text);
  text-align: center;
}

.carousel-track .loading,
.carousel-track .empty {
  color: var(--color-muted);
  font-style: italic;
  text-align: center;
  padding: var(--space-lg) 0;
}

/* ============================================
   LOVE ELECTRIC — Logo SVG
   ============================================ */
.love-logo {
  display: flex;
  justify-content: center;
  margin: 0 auto var(--space-xs);
  max-width: 600px;
  color: var(--color-yellow);
}

.love-logo svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(255, 234, 0, .5));
}

/* ============================================
   LOVE ELECTRIC — Sous-titre
   ============================================ */
.love-bio .love-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 var(--space-md);
  line-height: 1;
}

.love-bio .love-subtitle span {
  display: block;
  width: fit-content;
  background: #ffffff;
  color: #000000;
  padding: 0 .25rem;
  line-height: 1;
  vertical-align: top;
}

/* ============================================
   LOVE ELECTRIC — Grid
   ============================================ */
.love-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto var(--space-xl);
}

/* ============================================
   LOVE ELECTRIC — Visuel parallaxe 4 couches
   ============================================ */
.love-visual {
  position: relative;
}

.love-visual__stack {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.love-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  will-change: transform;
  pointer-events: none;
}

.love-layer--splash { transform: translateY(var(--parallax-splash, 0)); }
.love-layer--duo    { transform: translateY(var(--parallax-duo, 0)); }
.love-layer--moox   { transform: translateY(var(--parallax-moox, 0)); }
.love-layer--tara   { transform: translateY(var(--parallax-tara, 0)); }

/* ============================================
   LOVE ELECTRIC — Bio
   ============================================ */
.love-bio p {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
}

.love-bio p:last-child { margin-bottom: 0; }

.love-bio__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: var(--space-md);
  padding: 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-yellow);
  border: 0;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.love-bio__cta:hover,
.love-bio__cta:focus-visible { opacity: .85; }

.love-bio__cta i { font-size: 1.2rem; }

/* ============================================
   LOVE ELECTRIC — Vidéo live
   ============================================ */
.love-video {
  max-width: 980px;
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-h) + var(--space-md));
}

.love-video .slide-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #111;
  overflow: hidden;
  border-radius: var(--radius);
}

.love-video .slide-media img,
.love-video .slide-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.love-video .slide-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 1.75rem;
  transition: background .2s var(--ease);
  cursor: pointer;
  border: 0;
}

.love-video .slide-play:hover,
.love-video .slide-play:focus-visible { background: transparent; }

.love-video__caption {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--color-text);
  text-align: center;
  margin: var(--space-sm) 0 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-form {
  display: grid;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 5px;
  background: transparent;
  border: 0.5px solid var(--color-text);
  border-radius: 0;
  color: var(--color-text);
  font: inherit;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color .2s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text);
  opacity: .5;
  font-size: .8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-text);
  background: rgba(255, 255, 255, .04);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  border: 0.5px solid var(--color-text);
  border-radius: 0; /* Garde le style carré aligné avec votre design */
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 2px 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--color-text);
  /*transition: background-color .2s var(--ease), border-color .2s var(--ease);*/
}

/* Le design de la coche lorsqu'elle est active */
.contact-consent input[type="checkbox"]::after {
  content: "";
  width: 6px;
  height: 12px;
  border: solid var(--color-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease-in-out;
  position: absolute;
  top: 3px;
}

/* Quand la case est cochée : fond blanc et apparition de la coche */
.contact-consent input[type="checkbox"]:checked {
  background-color: var(--color-text);
  border-color: var(--color-text);
}

.contact-consent input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}

.contact-consent span {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
  margin-left: 5px;
}

.contact-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-consent a:hover { opacity: 1; }

.contact-form .h-captcha { margin: var(--space-xs) 0; }

/* Bouton (Submit / CTA) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 24px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  border: 0;
  border-radius: 0;
  background: var(--color-text);
  color: var(--color-bg);
  cursor: pointer;
  transition: opacity .2s var(--ease);
}

.btn:hover,
.btn:focus-visible { opacity: .85; }

.btn--full { width: 100%; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: var(--space-lg) var(--space-md);
  margin-top: var(--space-xl);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: var(--fs-small);
  color: var(--color-text);
  line-height: 1.3;
}

.footer-copy { margin: 0; color: var(--color-text); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.3;
}

.footer-links a { color: var(--color-text); }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-text);
}

.footer-socials i { font-size: 1.25rem; }

/* ============================================
   RESPONSIVE — MOBILE (max 767px)
   ============================================ */
@media (max-width: 767px) {

  /* --- Header : toujours visible sur mobile --- */
  .site-header {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* --- Nav mobile (overlay) --- */
  .site-nav { display: none; }

  .site-nav.is-open {
    display: flex !important;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: var(--header-h) var(--space-md) var(--space-md);
  }

  .site-nav.is-open .site-nav__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
    z-index: 10000;
  }

  .site-nav.is-open .site-nav__header .brand-logo {
    height: clamp(20px, 2.6vw, 28px);
    width: auto;
  }

  .site-nav.is-open ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.2rem, 4vh, 2.2rem);
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .site-nav.is-open a {
    font-size: clamp(2rem, 7vw, 3rem);
    color: var(--color-text);
    text-align: center;
  }

  body:has(.site-nav.is-open) .site-header > .nav-toggle { display: none; }

  /* --- Hero : cacher logo + menu --- */
  .hero-nav { display: none; }
  .hero-brand { display: none; }

  /* --- Sections : espacement compact --- */
  .section {
    padding-top: .75rem;
    padding-bottom: 1rem;
  }

  .section-title {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
  }

  /* --- Carrousel --- */
  .carousel {
    gap: .25rem;
    max-width: 100%;
  }

  .carousel-prev,
  .carousel-next {
    width: 8px;
    height: 32px;
    font-size: .85rem;
    min-width: 0;
	min-height: 0;
  }

  .carousel-prev::after,
  .carousel-next::after {
	content: '';
	position: absolute;
	inset: -12px;   /* étend la zone cliquable de 12px tout autour */
  }

  .carousel-track { width: 100%; }

  .slide { width: 100%; min-width: 0; }

  .slide-title {
    font-size: .9rem;
    margin-top: var(--space-xs);
    padding: 0 .5rem;
  }

  /* --- Love Electric --- */
  .love-logo {
    margin-top: 0;
    margin-bottom: var(--space-md);
    max-width: 80vw;
  }

  .love-grid {
    margin-bottom: var(--space-md);
    gap: var(--space-md);
  }

  /* Bio avant visuel */
  .love-bio    { order: 1; }
  .love-visual { order: 2; }
}

/* ============================================
   RESPONSIVE — DESKTOP (min 768px)
   ============================================ */
@media (min-width: 768px) {

  /* --- Header --- */
  .site-header.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* --- Nav horizontale --- */
  .site-nav { display: block !important; }
  .site-nav ul { display: flex; }
  .nav-toggle { display: none; }

  /* --- Tour Dates : bouton à droite --- */
  .date-row {
    grid-template-columns: 1fr auto;
    gap: var(--space-md);
    padding: 14px 24px;
  }

  .date-ticket { justify-self: end; }
  .date-free   { justify-self: end; }

  /* --- Love Electric : 2 colonnes --- */
  .love-grid {
    grid-template-columns: 55% 45%;
    align-items: center;
  }

  /* --- Footer : 2 colonnes --- */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-legal { text-align: left; }
  .footer-socials { justify-content: flex-end; }
}