/* Navz-47 — feuille de style principale. Mobile d'abord, couleurs en tokens sur :root. */

:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --fg: #f4f1ec;
  --muted: #9a968f;
  --line: rgba(244, 241, 236, 0.14);
  --accent: #ff3b5c;      /* rouge scène */
  --accent-2: #f2b84b;    /* ocre */
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ---------- Effets globaux ---------- */

.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, 3%); }
  80% { transform: translate(3%, -1%); }
}

/* Curseur personnalisé : uniquement sur les écrans à souris. */
.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 200;
    mix-blend-mode: difference;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease);
  }

  .cursor.is-hover {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
  }
}

/* Apparition au défilement. */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__logo span {
  color: var(--accent);
}

.nav__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 60;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.4s var(--ease), opacity 0.2s;
}

.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 26px; }

.nav.is-open .nav__toggle span:first-child { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-5px) rotate(-45deg); }

.nav__menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px var(--gutter);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.nav.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
}

.nav__menu a {
  font-family: var(--display);
  font-size: clamp(48px, 14vw, 72px);
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__menu a:hover {
  color: var(--accent);
}

@media (min-width: 860px) {
  .nav {
    padding: 18px 40px;
  }

  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    flex-direction: row;
    gap: 28px;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__menu a {
    font-family: var(--body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
}

/* ---------- Boutons & titres ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 14px/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

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

.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 9vw, 120px);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 400;
}

.h2--huge {
  font-size: clamp(64px, 16vw, 220px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.hero__img {
  position: absolute;
  inset: -4%;
  width: 108%;
  max-width: none; /* le reset global img { max-width: 100% } couperait le débordement */
  height: 108%;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: -2;
  animation: heroIn 2.2s var(--ease);
  will-change: transform;
}

/* Pas de fill-mode "forwards" : sinon l'animation masquerait le parallaxe (style inline). */
@keyframes heroIn {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(11, 11, 12, 0.2) 55%, rgba(11, 11, 12, 0.35)),
    linear-gradient(to right, rgba(11, 11, 12, 0.5), transparent 60%);
}

.hero__content {
  width: 100%;
  padding: 0 var(--gutter) 88px;
}

.hero__kicker {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  /* Borné aussi par la hauteur : deux lignes doivent tenir sous la navigation. */
  font-size: clamp(88px, min(36vw, 33svh), 520px);
  line-height: 0.82;
  letter-spacing: -0.01em;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero__line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.1s var(--ease) forwards;
}

.hero__line:nth-child(2) > span {
  animation-delay: 0.15s;
}

.hero__line--num > span {
  color: var(--accent);
}

@keyframes lineUp {
  to { transform: translateY(0); }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  width: 26px;
  height: 46px;
  border: 1.5px solid var(--fg);
  border-radius: 13px;
  display: none;
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--fg);
  animation: scrollDot 1.8s var(--ease) infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

@media (min-width: 860px) {
  .hero__content {
    padding: 0 40px 72px;
  }

  .hero__scroll {
    display: block;
  }
}

/* ---------- Bandeau défilant ---------- */

.marquee {
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  transform: rotate(-1.5deg);
  margin: 0 -10px;
  padding: 14px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee__track span {
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 56px);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 24px;
  line-height: 1.1;
}

.marquee__track span::after {
  content: '✦';
  margin-left: 48px;
  font-size: 0.6em;
  vertical-align: middle;
  opacity: 0.8;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  padding: 120px var(--gutter);
}

.section--tight {
  padding-top: 40px;
}

.section__head {
  margin-bottom: 40px;
}

/* Musique */

.release {
  display: grid;
  gap: 28px;
  align-items: end;
}

.release__art {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3 / 4;
}

.release__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.release:hover .release__art img {
  transform: scale(1.04);
}

.release__title {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1;
  text-transform: uppercase;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links .btn {
  min-height: 44px;
  padding: 0 20px;
}

@media (min-width: 860px) {
  .release {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
}

/* Galerie : mosaïque */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 10px;
}

.gallery__item {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-2);
  cursor: pointer;
  aspect-ratio: 4 / 5;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
}

.gallery__item::after {
  content: 'View';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(11, 11, 12, 0.45);
  opacity: 0;
  transition: opacity 0.4s;
}

@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.06);
  }

  .gallery__item:hover::after {
    opacity: 1;
  }
}

.gallery__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 860px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

/* Live */

.live {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.live__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.live__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(0.25) contrast(1.05);
}

.live__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(11, 11, 12, 0.55) 40%, rgba(11, 11, 12, 0.85) 100%);
}

.live__inner {
  width: 100%;
  padding: 120px var(--gutter);
}

.dates {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.dates li {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.dates__date {
  font-family: var(--display);
  font-size: 28px;
  color: var(--accent);
  text-transform: uppercase;
}

.dates__empty {
  color: var(--muted);
  font-size: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .live__inner {
    padding: 140px 40px;
    max-width: 960px;
  }
}

/* Bio */

.bio__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.bio__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}

.bio__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bio__text p {
  font-size: clamp(17px, 2vw, 20px);
  color: #d9d5ce;
  max-width: 52ch;
}

.bio__text .h2 {
  margin-bottom: 0;
}

@media (min-width: 860px) {
  .bio__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }
}

/* Contact */

.contact {
  border-top: 1px solid var(--line);
}

.contact__list {
  display: grid;
  gap: 16px;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.3s, padding 0.4s var(--ease);
}

.contact__item:hover {
  color: var(--accent);
  padding-left: 12px;
}

.contact__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__value {
  font-family: var(--display);
  font-size: clamp(26px, 5vw, 44px);
  text-transform: uppercase;
  word-break: break-word;
}

.contact__value--empty {
  color: var(--muted);
}

/* Pied de page */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

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

@media (min-width: 860px) {
  .footer {
    padding: 32px 40px 48px;
  }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 6, 0.96);
  padding: 56px 12px;
  animation: fadeIn 0.3s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__btn {
  position: absolute;
  z-index: 1;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.6);
  color: var(--fg);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox__close {
  top: 12px;
  right: 12px;
}

.lightbox__prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 860px) {
  .lightbox {
    padding: 80px 90px;
  }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__img {
    transform: none;
  }
}
