/* =========================================================
   LES FRÈRES RAYZ — style.css
   Editorial dark · Space Grotesk / Inter / Space Mono
   Electric blue + orange
   ========================================================= */

:root {
  --color-bg: #05091A;
  --color-bg-2: #070C22;
  --color-primary: #1B8FFF;
  --color-accent: #FF6B2B;
  --color-white: #F0F4FF;
  --color-muted: rgba(240, 244, 255, 0.58);
  --color-faint: rgba(240, 244, 255, 0.34);
  --color-glass-bg: rgba(255, 255, 255, 0.04);
  --color-glass-border: rgba(27, 143, 255, 0.18);
  --color-hairline: rgba(240, 244, 255, 0.10);
  --color-glow-blue: rgba(27, 143, 255, 0.15);

  --font-display: "Saira Condensed", "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Space Mono", monospace;

  --nav-h: 72px;
  --radius: 14px;
  --maxw: 1200px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);      /* ease-out-quint */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --t: 0.3s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Glow ambiance animé (bleu bas-gauche / orange haut-droit) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 8% 92%, var(--color-primary), transparent 60%),
    radial-gradient(52vw 52vw at 92% 6%, var(--color-accent), transparent 60%);
  opacity: 0.07;
  animation: glowShift 9s ease infinite alternate;
}
@keyframes glowShift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.06; }
  to   { transform: translate3d(0, -3%, 0) scale(1.08); opacity: 0.095; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--color-accent); color: #1a0a03; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}
.container--narrow { max-width: 860px; }
.container--tour   { max-width: 900px; }

.section { position: relative; padding: clamp(56px, 8vw, 100px) 0; }   /* resserré */
.galerie { padding-top: clamp(72px, 10vw, 120px); }
.contact { padding-bottom: clamp(52px, 7vw, 84px); }

/* ---------- Dates : 2 colonnes (texte à gauche, liste à droite) ---------- */
.dates__cols {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: start;
}
.dates__intro { position: sticky; top: calc(var(--nav-h) + 26px); }
.dates__desc {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 42ch;
}
.dates__cta { margin-top: 28px; }

/* ---------- Restez connectés : 2 colonnes ---------- */
.connect__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.connect__left .section__title { font-size: clamp(2.4rem, 7vw, 5rem); }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(26px, 4vw, 40px);
}
.sicon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.sicon__circle {
  width: 66px; height: 66px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-hairline);
  color: var(--color-white);
  transition: transform 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sicon__circle svg { width: 28px; height: 28px; }
.sicon__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}
.sicon:hover .sicon__circle { transform: translateY(-8px) scale(1.08); }
.sicon:hover .sicon__label { color: var(--color-white); transform: translateY(2px); }
.sicon:hover svg { animation: siShake 0.5s; }
@keyframes siShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-4px) rotate(-6deg); }
  40% { transform: translateX(4px) rotate(6deg); }
  60% { transform: translateX(-4px) rotate(-6deg); }
  80% { transform: translateX(4px) rotate(6deg); }
}
.sicon--instagram:hover .sicon__circle {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent; box-shadow: 0 0 26px rgba(214,36,159,0.55);
}
.sicon--spotify:hover .sicon__circle { background: #1DB954; border-color: transparent; color: #04170c; box-shadow: 0 0 26px rgba(29,185,84,0.55); }
.sicon--youtube:hover .sicon__circle { background: #FF0000; border-color: transparent; box-shadow: 0 0 26px rgba(255,0,0,0.5); }
.sicon--deezer:hover .sicon__circle { background: linear-gradient(135deg, #8b5cf6, #ef5466); border-color: transparent; box-shadow: 0 0 26px rgba(162,56,255,0.5); }
.sicon--facebook:hover .sicon__circle { background: #1877F2; border-color: transparent; box-shadow: 0 0 26px rgba(24,119,242,0.5); }
.sicon--tiktok:hover .sicon__circle { background: linear-gradient(135deg, #25F4EE, #FE2C55); border-color: transparent; box-shadow: 0 0 26px rgba(254,44,85,0.5); }

.insta__grid.connect__grid { grid-template-columns: repeat(2, 1fr); }
.connect__follow { margin-top: 20px; }

/* ---------- Section header ---------- */
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { text-align: center; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

.section__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.section__kicker--alt { color: var(--color-accent); }

.section__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-white);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.94;
  margin: 0;
  padding-bottom: 24px;
}
/* Point final orange (inspiration) */
.section__title::after { content: "."; color: var(--color-accent); }
.section__title--q::after { content: none; }   /* pas de point après un "?" */
/* Soulignement dégradé orange */
.section__title::before {
  content: "";
  position: absolute;
  left: 2px; bottom: 0;
  width: 96px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(255,107,43,0));
}
.section__head--center .section__title::before {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255,107,43,0), var(--color-accent), rgba(255,107,43,0));
  width: 150px;
}

.section__lead {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-muted);
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t), color var(--t), border-color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__arrow { font-style: normal; transition: transform var(--t); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--filled-blue { background: var(--color-primary); color: #04070f; }
.btn--filled-blue:hover { box-shadow: 0 8px 30px rgba(27,143,255,0.45); }

.btn--filled-orange { background: var(--color-accent); color: #1a0a03; }
.btn--filled-orange:hover { box-shadow: 0 8px 30px rgba(255,107,43,0.42); }

.btn--ghost-orange { background: transparent; border-color: var(--color-accent); color: var(--color-accent); }
.btn--ghost-orange:hover { box-shadow: 0 8px 30px rgba(255,107,43,0.25); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t), height var(--t);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 9, 26, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--color-hairline);
  height: 62px;
}
.nav__inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 38px; width: auto; transition: transform var(--t); }
.nav__logo:hover img { transform: scale(1.04); }

.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--color-white);
  position: relative;
  padding: 4px 0;
  transition: color var(--t);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--color-accent);
  transition: width var(--t);
}
.nav__links a:hover { color: var(--color-accent); }
.nav__links a:hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO SCROLLYTELLING
   ========================================================= */
.hero { position: relative; height: 400vh; }
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.hero__video, .hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__fallback {
  background: #04070f url("assets/images/hero-fallback.jpg") center/cover no-repeat;
  display: none;
  transform: scale(1.05);
}
.hero.is-video-failed .hero__video,
.hero.is-static-hero .hero__video { display: none; }
.hero.is-video-failed .hero__fallback,
.hero.is-static-hero .hero__fallback { display: block; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5,9,26,0.25), rgba(5,9,26,0.55) 55%, rgba(5,9,26,0.92)),
    radial-gradient(120% 80% at 50% 120%, rgba(27,143,255,0.18), transparent 60%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero__layer.is-active { pointer-events: auto; }

/* Frères détourés — entrent au scroll (transform piloté en JS) */
.hero__figure {
  position: absolute;
  bottom: 0;
  height: 90vh;
  width: auto;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 100%;   /* dolly-zoom : grandit depuis les pieds */
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.55));
}
.hero__figure--left  { left: 5%;  transform: translateX(-140%); }
.hero__figure--right { right: 5%; transform: translateX(140%); }
@media (max-width: 820px) {
  .hero__figure { height: 62vh; }
  .hero__figure--left  { left: -8%; }
  .hero__figure--right { right: -8%; }
}

.hero__logo {
  width: 400px;
  max-width: 80vw;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(27,143,255,0.4));
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.7rem, 8.5vw, 6rem);
  line-height: 0.92;
  margin: 0;
  text-shadow: 0 0 50px rgba(27,143,255,0.35);
}
.hero__title::after { content: "."; color: var(--color-accent); }
.hero__subtitle {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,244,255,0.82);
  margin-top: 22px;
  font-size: clamp(0.68rem, 2vw, 0.9rem);
}
.hero__cta { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

.hero__scrollhint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(240,244,255,0.45);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scrollhint span {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(240,244,255,0.28);
  border-radius: 12px;
  position: relative;
}
.hero__scrollhint span::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* =========================================================
   GALERIE — bento animé (accueil)
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.bento__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.bento__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;   /* garde les visages dans le cadrage */
  transition: transform 0.7s var(--ease-out), filter var(--t);
}
.bento__item::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
  pointer-events: none;
}
.bento__item:hover img { transform: scale(1.06); }
.bento__item:hover::after {
  border-color: rgba(255,107,43,0.55);
  box-shadow: inset 0 0 40px rgba(5,9,26,0.35), 0 12px 40px rgba(0,0,0,0.45);
}

.bento__item--b1 { grid-column: span 2; grid-row: span 2; }
.bento__item--b3 { grid-row: span 2; }
.bento__item--b6 { grid-column: span 2; }
.bento__item--b8 { grid-column: span 4; }

.galerie__more { margin-top: 34px; text-align: center; }

/* =========================================================
   GALERIE COMPLÈTE (page galerie.html) — masonry
   ========================================================= */
.masonry { column-count: 3; column-gap: 16px; }
.masonry__item {
  position: relative;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
}
.masonry__item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s var(--ease-out);
}
.masonry__item:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.masonry__item:hover img { transform: scale(1.05); }

.page-head { padding: calc(var(--nav-h) + clamp(48px, 8vw, 90px)) 0 clamp(28px, 4vw, 48px); }
.page-head__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 26px;
  transition: color var(--t);
}
.page-head__back:hover { color: var(--color-accent); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 5, 15, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img {
  max-width: 88vw; max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  color: var(--color-white);
  cursor: pointer;
  border-radius: 50%;
  width: 52px; height: 52px;
  font-size: 1.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow var(--t), background var(--t), transform var(--t);
}
.lightbox__close:hover, .lightbox__nav:hover { box-shadow: 0 0 24px var(--color-accent); transform: scale(1.06); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   DATES — timeline éditoriale (inspiration affiche)
   ========================================================= */
.tour { position: relative; }

.trow {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 8px 26px 58px;
  border-bottom: 1px solid var(--color-hairline);
  transition: background var(--t);
}
.tour > .trow:last-child { border-bottom: none; }
.tour--more > .trow:first-child { border-top: 1px solid var(--color-hairline); }

/* Fil vertical + pastille */
.trow::before {
  content: "";
  position: absolute;
  left: 9px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(27,143,255,0.16);
}
#tourList > .trow:first-child::before { top: 50%; }
.trow__dot {
  position: absolute;
  left: 1px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--color-primary);
  background: var(--color-bg);
  z-index: 1;
}
.trow--past .trow__dot { border-color: rgba(240,244,255,0.25); }
.trow--next .trow__dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 16px rgba(255,107,43,0.85);
}

/* Colonne date */
.trow__day {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-accent);
  white-space: nowrap;
}
.trow__year {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--color-faint);
  margin-top: 4px;
}

/* Colonne info */
.trow__info { min-width: 0; }
.trow__city {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  color: var(--color-white);
}
.trow__venue {
  display: block;
  font-family: var(--font-mono);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--color-primary);
  margin-top: 4px;
}

/* Pastille type (Concert / Club / Festival) */
.trow__pill {
  justify-self: end;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  white-space: nowrap;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
.trow--upcoming:hover { background: rgba(27,143,255,0.045); }
.trow--upcoming:hover .trow__pill { background: rgba(27,143,255,0.1); }

/* Prochaine date */
.trow--next { background: linear-gradient(90deg, rgba(255,107,43,0.07), rgba(255,107,43,0.015) 55%, transparent); }
.trow--next .trow__pill {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255,107,43,0.08);
  box-shadow: 0 0 22px rgba(255,107,43,0.18);
}
.trow--next .trow__pill::before { content: "● "; font-size: 0.6em; vertical-align: 2px; }

/* Dates passées */
.trow--past { filter: grayscale(0.7); }
.trow--past .trow__day { color: var(--color-faint); text-decoration: line-through; text-decoration-thickness: 2px; }
.trow--past .trow__city { color: var(--color-faint); text-decoration: line-through; text-decoration-thickness: 2px; }
.trow--past .trow__pill { border-color: rgba(240,244,255,0.22); color: var(--color-faint); }
.trow--past .trow__pill::before { content: "× "; }

/* Bloc replié "autres dates" */
.tour--more {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.7s var(--ease-out), opacity 0.5s var(--ease-out);
}
.tour--more.is-open { max-height: 1600px; opacity: 1; }

.tour__toggle-wrap { text-align: center; margin-top: 30px; }
.tour__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1.5px solid var(--color-accent);
  border-radius: 999px;
  padding: 13px 28px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t), background var(--t);
}
.tour__toggle:hover { box-shadow: 0 8px 30px rgba(255,107,43,0.25); transform: translateY(-2px); }
.tour__toggle i { font-style: normal; transition: transform 0.4s var(--ease-out); }
.tour__toggle.is-open i { transform: rotate(180deg); }

/* =========================================================
   ÉCOUTER — pills avec icône cerclée
   ========================================================= */
.pills { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 30px 10px 12px;
  border-radius: 999px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-hairline);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.pill__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,143,255,0.12);
  border: 1px solid rgba(27,143,255,0.35);
  color: var(--color-primary);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pill__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--color-white);
}
.pill:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(255,107,43,0.18);
}
.pill:hover .pill__icon {
  background: rgba(255,107,43,0.14);
  border-color: rgba(255,107,43,0.5);
  color: var(--color-accent);
}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.insta__cell {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center 30%;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.insta__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,9,26,0.55), rgba(5,9,26,0.1));
  transition: background var(--t);
}
.insta__ico {
  position: absolute;
  inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--t), transform var(--t);
}
.insta__ico::before {
  content: "";
  width: 40px; height: 40px;
  border: 2px solid var(--color-white);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, transparent 6px, var(--color-white) 6px, var(--color-white) 8px, transparent 9px),
    radial-gradient(circle at 74% 26%, var(--color-white) 2.5px, transparent 3px);
}
.insta__cell:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.insta__cell:hover::after { background: linear-gradient(to top, rgba(5,9,26,0.35), rgba(255,107,43,0.18)); }
.insta__cell:hover .insta__ico { opacity: 1; transform: scale(1); }

/* Révélation "flash" (même effet que le mur de la galerie) — grille connect */
.connect__grid .insta__cell { opacity: 0; transform: scale(0.9); will-change: opacity, transform; }
.connect__grid .insta__cell.is-in { opacity: 1; transform: none; animation: tilePop 0.45s var(--ease-out); }
.connect__grid .insta__cell::before {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: #fff; opacity: 0; pointer-events: none;
}
.connect__grid .insta__cell.is-in::before { animation: tileFlash 0.5s ease-out; }

.insta__cta { margin-top: 34px; text-align: center; }

/* =========================================================
   CONTACT / BOOKING
   ========================================================= */
.contact__cols {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.contact__left .section__kicker { margin-bottom: 18px; }
.contact__title { font-size: clamp(2.4rem, 7vw, 5rem); margin-bottom: 26px; }
.contact__text { color: var(--color-muted); max-width: 40ch; font-size: 1.02rem; }

.contact__mail {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  letter-spacing: 0.01em;
  color: var(--color-white);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 4px;
  transition: color var(--t);
}
.contact__mail:hover { color: var(--color-accent); }

.contact__socials {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__socials a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--color-muted);
  transition: color var(--t), transform var(--t);
  width: fit-content;
}
.contact__socials a:hover { color: var(--color-white); transform: translateX(4px); }
.contact__socials svg { color: var(--color-accent); flex-shrink: 0; }

/* Form — floating labels */
.form {
  background: var(--color-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__row { position: relative; margin-bottom: 14px; }
.form input, .form textarea {
  width: 100%;
  background: rgba(5,9,26,0.45);
  border: 1px solid var(--color-hairline);
  border-radius: 12px;
  padding: 20px 16px 8px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  resize: vertical;
}
.form textarea { min-height: 120px; padding-top: 24px; }
.form__row label {
  position: absolute;
  left: 16px; top: 15px;
  font-size: 0.95rem;
  color: var(--color-faint);
  pointer-events: none;
  transition: transform var(--t), color var(--t);
  transform-origin: left top;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(5,9,26,0.65);
  box-shadow: 0 0 0 3px rgba(27,143,255,0.14);
}
.form input:focus + label,
.form input:not(:placeholder-shown) + label,
.form textarea:focus + label,
.form textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(0.72);
  color: var(--color-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form__submit { margin-top: 10px; width: 100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 52px 0 46px;
  border-top: 1px solid var(--color-hairline);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer__logo { height: 32px; width: auto; opacity: 0.9; }
.footer__socials { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; }
.footer__socials a { color: var(--color-muted); transition: color var(--t), transform var(--t); display: inline-flex; }
.footer__socials a:hover { color: var(--color-accent); transform: translateY(-3px); }
.footer__copy {
  font-family: var(--font-mono);
  color: var(--color-faint);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ---- Carte formulaire contact : tilt 3D qui suit la souris + bordure néon (réf React) ---- */
.contact__right { perspective: 1400px; }
.form {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.16s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  will-change: transform;
}
/* Halo néon (dégradé bleu ↔ orange qui défile) révélé au survol */
.form::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  z-index: -1;
  background: linear-gradient(120deg, #1B8FFF, #FF6B2B, #1B8FFF);
  background-size: 220% 220%;
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.45s ease;
  animation: neonShift 6s linear infinite;
}
.form:hover::before { opacity: 0.8; }
.form:hover {
  border-color: rgba(255,107,43,0.6);
  box-shadow: 0 0 0 1px rgba(255,107,43,0.35),
              0 0 22px rgba(255,107,43,0.35),
              0 0 55px rgba(27,143,255,0.22);
}
@keyframes neonShift { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }
@media (prefers-reduced-motion: reduce) { .form::before { animation: none; } }

/* Message de statut du formulaire (envoi Web3Forms) */
.form__status { margin: 12px 0 0; font-size: 0.85rem; letter-spacing: 0.01em; min-height: 1.2em; }
.form__status.is-pending { color: var(--color-muted); }
.form__status.is-ok { color: #37d68a; }
.form__status.is-err { color: #ff6b6b; }

/* =========================================================
   ANIMATIONS — scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.trow.reveal { transform: translateY(18px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .masonry { column-count: 2; }
}

@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(5,9,26,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.15rem; }

  .contact__cols { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .dates__cols { grid-template-columns: 1fr; gap: 28px; }
  .dates__intro { position: static; }
  .connect__cols { grid-template-columns: 1fr; gap: 32px; }
  .social-row { justify-content: flex-start; }
  .insta__grid { gap: 10px; }

  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .bento__item--b6 { grid-column: span 2; }
  .bento__item--b8 { grid-column: span 2; }

  .trow { grid-template-columns: 96px 1fr auto; gap: 14px; padding: 20px 4px 20px 44px; }
  .trow__day { font-size: 1.45rem; }
  .trow__city { font-size: 1.05rem; }
  .trow__pill { padding: 7px 13px; font-size: 0.6rem; }
}

@media (max-width: 480px) {
  .masonry { column-count: 1; }
  .hero__logo { width: 210px; }
  .pills { flex-direction: column; align-items: stretch; }
  .pill { justify-content: flex-start; }

  .bento { grid-auto-rows: 150px; }

  .trow { grid-template-columns: 84px 1fr; }
  .trow__pill { grid-column: 2; justify-self: start; margin-top: 6px; }
}

/* Accessibilité : réduire le mouvement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tour--more { max-height: none; opacity: 1; }
}

/* =========================================================
   COVER FLOW (page galerie) — carrousel 3D
   ========================================================= */
.cf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 30px) 0 40px;
  overflow: hidden;
}
.cf-hero__head { text-align: center; margin-bottom: clamp(20px, 4vw, 44px); }
.cf-hero__head .section__title { font-size: clamp(1.8rem, 5vw, 3.2rem); }
.cf-hero__head .section__title::before { left: 50%; transform: translateX(-50%); }

.coverflow {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1700px;
  outline: none;
  user-select: none;
}
/* Intro = cartes 16:9 (l'aftermovie reste à son format natif) */
.coverflow--media { --cf-w: clamp(280px, 46vw, 600px); --cf-h: calc(var(--cf-w) * 0.5625); }
/* Reels = cartes verticales 9:16 */
.coverflow--reels { --cf-w: clamp(186px, 26vw, 270px); --cf-h: calc(var(--cf-w) * 1.7778); }

.coverflow__stage {
  position: relative;
  width: 100%;
  height: calc(var(--cf-h) + 30px);
  transform-style: preserve-3d;
}
.cf-card {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--cf-w);
  height: var(--cf-h);
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0f22;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
  transform: translate(-50%, -50%);
  transition: transform 0.75s var(--ease-out), opacity 0.75s var(--ease-out), box-shadow 0.4s var(--ease-out);
  backface-visibility: hidden;
  cursor: pointer;
}
.cf-card img, .cf-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.cf-card.is-active {
  cursor: default;
  box-shadow: 0 44px 90px rgba(0,0,0,0.62), 0 0 0 1px rgba(255,107,43,0.4), 0 0 70px rgba(27,143,255,0.28);
}
.cf-card__badge {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(5,9,26,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.cf-card.is-active .cf-card__badge { opacity: 1; }
.cf-card__badge--video { color: var(--color-accent); border-color: rgba(255,107,43,0.4); }

/* Halo au sol */
.coverflow::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6%;
  width: min(80%, 780px); height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(27,143,255,0.16), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

/* Nav + son */
.cf-nav, .cf-sound {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(5,9,26,0.55);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.cf-nav:hover, .cf-sound:hover { box-shadow: 0 0 22px rgba(27,143,255,0.4); }
.cf-prev { left: clamp(8px, 4vw, 60px); }
.cf-next { right: clamp(8px, 4vw, 60px); }
.cf-next:hover { transform: translateY(-50%) translateX(3px); }
.cf-prev:hover { transform: translateY(-50%) translateX(-3px); }
.cf-sound {
  top: auto; bottom: 6%;
  right: clamp(8px, 4vw, 60px);
  transform: none;
  width: 46px; height: 46px;
  font-size: 1.1rem;
}
.cf-sound:hover { transform: translateY(-2px); }
.cf-sound svg { width: 20px; height: 20px; }

.cf-hero__scroll {
  margin-top: clamp(26px, 4vw, 48px);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s var(--ease-out);
}
.cf-hero__scroll:hover { color: var(--color-accent); }
.cf-hero__scroll::after { content: "↓"; animation: scrollArrow 1.8s ease infinite; }
@keyframes scrollArrow {
  0%,100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* =========================================================
   SCENE — mur de photos avec l'aftermovie au centre,
   puis zoom continu qui plonge dans la vidéo (page galerie)
   ========================================================= */
.scene {
  --sc-tile: clamp(150px, 18vw, 250px);
  position: relative;
  height: 330vh;              /* zoom (0->28%) -> pause plein écran -> superposition des reels */
  background: var(--color-bg);
}
.scene__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.scene__stage {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  will-change: transform;
}
.scene__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, var(--sc-tile));   /* nb impair -> vraie colonne centrale */
  grid-auto-rows: calc(var(--sc-tile) * 0.5625);
  justify-content: center;
  align-content: center;
  gap: 10px;
  will-change: opacity;
}
.mtile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;                 /* révélé au chargement (classe .is-in) */
  transform: scale(0.88);
  will-change: opacity, transform;
}
.mtile.is-in {
  opacity: 1;
  transform: none;
  animation: tilePop 0.45s var(--ease-out);
}
.mtile img, .mtile video {
  position: absolute;         /* superposées (sinon la vidéo passe SOUS l'image et est coupée) */
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;  /* biais vers le haut : garde les visages */
  display: block;
}
.mtile video { z-index: 1; object-position: center; }  /* la vidéo (16:9) au-dessus, centrée */
.mtile::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(5, 9, 26, 0.42); }
/* Flash blanc "clac" à l'apparition */
.mtile::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.mtile.is-in::before { animation: tileFlash 0.5s ease-out; }
@keyframes tilePop { 0% { transform: scale(0.88); } 100% { transform: scale(1); } }
@keyframes tileFlash { 0% { opacity: 0; } 18% { opacity: 0.85; } 100% { opacity: 0; } }

/* La vidéo = une vraie cellule de la grille (pas d'élément posé par-dessus) */
.mtile--video {
  z-index: 2;
  box-shadow: 0 0 0 2px rgba(255,107,43,0.72), 0 0 42px rgba(27,143,255,0.35);
}
.mtile--video::after { background: transparent; }
.scene--zoomed .mtile--video { box-shadow: none; border-radius: 0; }

.scene__badge {
  position: absolute;
  z-index: 5;
  left: clamp(16px, 4vw, 44px);
  bottom: clamp(16px, 4vw, 44px);
  opacity: 0;
}
.scene__title {
  position: absolute;
  top: calc(var(--nav-h) + 18px);
  left: 0; right: 0;
  z-index: 4;
  text-align: center;
  opacity: 0;
}
.scene__title .section__title { padding-bottom: 0; }
.scene__title .section__title::before { display: none; }

.scene__hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.scene__hint::after { content: "↓"; animation: scrollArrow 1.8s ease infinite; }

.scene .cf-sound { opacity: 0; }

@media (max-width: 768px) {
  .scene { --sc-tile: clamp(116px, 30vw, 190px); height: 290vh; }
  .scene__grid { grid-template-columns: repeat(3, var(--sc-tile)); }
}

/* Section reels (vidéos verticales) — panneau qui se superpose à la scène */
.reels {
  position: relative;
  z-index: 5;
  margin-top: -100vh;         /* remonte pour glisser par-dessus la vidéo plein écran */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 9vw, 110px) 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,107,43,0.10), transparent 55%),
    linear-gradient(to bottom, #070C22, var(--color-bg) 42%);
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -50px 90px rgba(0,0,0,0.6);
}
.reels .coverflow { margin-top: clamp(20px, 4vw, 40px); }

@media (max-width: 768px) {
  .coverflow--media { --cf-w: clamp(230px, 74vw, 420px); }
  .coverflow--reels { --cf-w: clamp(170px, 52vw, 240px); }
  .cf-nav { width: 44px; height: 44px; font-size: 1.4rem; }
}
