/* ========================
   VARIABLES
   ======================== */
:root {
  --bg:       #080808;
  --bg-2:     #111111;
  --rose:     #FF6B8A;
  --rose-dim: rgba(255, 107, 138, 0.10);
  --text:     #F5F5F3;
  --muted:    #888888;
  --border:   rgba(255, 255, 255, 0.08);

  --font-display: 'Satoshi', sans-serif;
  --font-body:    'Satoshi', sans-serif;
  --radius:       2px;
  --container:    1100px;
  --nav-h:        64px;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain texture — overlay subtil sur tout le site */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { display: block; max-width: 100%; }

button, input, select, textarea {
  font-family: inherit;
}

/* ========================
   BASE
   ======================== */
.accent { color: var(--rose); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 2rem;
}

section { padding-block: 6rem; }

/* Section label */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-label__line {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--rose);
  flex-shrink: 0;
}
.section-label__text {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  white-space: nowrap;
}
.btn--filled {
  background: var(--rose);
  color: #080808;
  border-color: var(--rose);
}
.btn--filled:hover {
  background: #ff8fa6;
  border-color: #ff8fa6;
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--rose);
  color: var(--rose);
}
.btn--full { width: 100%; }

/* ========================
   NAV
   ======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 8, 8, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.nav__icon {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}

/* SVG logo fills — partagés nav + footer */
.logo-main   { fill: #F5F5F3; }
.logo-accent { fill: #FF6B8A; }
.nav__links {
  display: flex;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}
.nav__cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  padding-inline: 2rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero__inner {
  width: 100%;
}
.hero__tag {
  display: inline-block;
  position: absolute;
  top: calc(var(--nav-h) + 2.5rem);
  left: 2rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 22vw, 20rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  white-space: nowrap;
  margin-bottom: 0;
}
/* Ligne rose décorative entre titre et contenu */
.hero__rule {
  width: 3.5rem;
  height: 1px;
  background: var(--rose);
  margin-block: 2.5rem 2rem;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 3rem;
  background: var(--border);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
.hero__scroll-text {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========================
   TICKER
   ======================== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding-block: 0.9rem;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker__sep { color: var(--rose); }

/* ========================
   ABOUT
   ======================== */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.about__text {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 1rem;
  max-width: 480px;
}
.about__text:last-child { margin-bottom: 0; }

/* Stats grid */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.75rem 1.5rem;
  background: var(--bg);
}
.stat__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========================
   MIXES
   ======================== */
.mixes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.mix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-2);
  transition: background 0.35s;
  cursor: default;
}
.mix-card:hover { background: var(--rose); }

/* Top line — disparaît sur hover (absorbé par le fond rose) */
.mix-card__top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease, opacity 0.2s;
}
.mix-card:hover .mix-card__top-line {
  transform: scaleX(1);
  opacity: 0;
}

.mix-card__num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  transition: color 0.35s;
}
.mix-card:hover .mix-card__num { color: rgba(8, 8, 8, 0.45); }

.mix-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  transition: color 0.35s;
}
.mix-card:hover .mix-card__title { color: #080808; }

.mix-card__meta {
  font-size: 0.73rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  transition: color 0.35s;
}
.mix-card:hover .mix-card__meta { color: rgba(8, 8, 8, 0.55); }

/* Waveform bars — injected by JS */
.mix-card__waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  margin-bottom: 1.75rem;
  flex: 1;
}
.mix-card__waveform .bar {
  flex: 1;
  min-height: 4px;
  background: var(--border);
  border-radius: 1px;
  transition: background 0.35s;
}
.mix-card:hover .mix-card__waveform .bar {
  background: rgba(8, 8, 8, 0.18);
}

.mix-card__listen {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.35s;
  align-self: flex-start;
}
.mix-card:hover .mix-card__listen { color: #080808; }

/* ========================
   BOOKING
   ======================== */
.booking {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.booking__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 3rem;
  max-width: 460px;
}
.booking__form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form__field label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__field input,
.form__field select,
.form__field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--rose);
}
.form__field input.field--invalid,
.form__field select.field--invalid,
.form__field textarea.field--invalid {
  border-color: #ff6060;
}
.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--muted);
  opacity: 0.55;
}
/* Custom select arrow */
.form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888888' stroke-width='1.5' fill='none' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form__field select option { background: var(--bg-2); }
.form__field input[type="date"] { color-scheme: dark; }
.form__field textarea { resize: vertical; min-height: 140px; }
.form__field input:disabled,
.form__field select:disabled,
.form__field textarea:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.form__confirm {
  padding: 1rem 1.25rem;
  background: var(--rose-dim);
  border: 1px solid rgba(255, 107, 138, 0.2);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--rose);
  line-height: 1.5;
}
.form__error {
  padding: 1rem 1.25rem;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.25);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: #ff6060;
  line-height: 1.5;
}
.form__error a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer__logo-svg {
  width: 88px;
  height: 88px;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}
.footer__socials {
  display: flex;
  gap: 2.5rem;
}
.footer__socials a {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s;
}
.footer__socials a:hover { color: var(--rose); }
.footer__copy {
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* ========================
   ANIMATIONS
   ======================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50%       { opacity: 1;    transform: scaleY(0.55); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.28s; }
.delay-3 { animation-delay: 0.46s; }
.delay-4 { animation-delay: 0.62s; }

/* ========================
   RESPONSIVE — tablet
   ======================== */
@media (max-width: 900px) {
  .mixes__grid {
    grid-template-columns: 1fr 1fr;
  }
  .mixes__grid .mix-card:last-child {
    grid-column: 1 / -1;
  }
}

/* ========================
   RESPONSIVE — mobile
   ======================== */
@media (max-width: 768px) {
  section { padding-block: 4rem; }

  .nav { padding-inline: 1.25rem; }
  .nav__links { gap: 1.5rem; }
  .nav__links a { font-size: 0.78rem; }

  .hero { padding-inline: 1.25rem; padding-bottom: 4rem; }
  .hero__tag { left: 1.25rem; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__socials { gap: 1.5rem; }
}

@media (max-width: 600px) {
  .container { padding-inline: 1.25rem; }

  .mixes__grid { grid-template-columns: 1fr; }
  .mixes__grid .mix-card:last-child { grid-column: auto; }

  .form__row { grid-template-columns: 1fr; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__rule { margin-block: 1.75rem 1.5rem; }

  .hero__scroll { display: none; }
}
