/* ═══════════════════════════════════════════
   VINYL RUN — Sonic Volcano
   Space Grotesk · Bodoni Moda · Dark
═══════════════════════════════════════════ */

:root {
  --bg:          #111110;
  --bg-2:        #191816;
  --bg-warm:     #1c1710;
  --ink:         #f0ede6;
  --ink-muted:   rgba(240,237,230,0.42);
  --ink-faint:   rgba(240,237,230,0.12);
  --accent:      #EDF10C;
  --accent-dim:  rgba(237,241,12,0.15);
  --border:      rgba(240,237,230,0.09);
  --border-md:   rgba(240,237,230,0.18);

  --font-sans:   'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-serif:  'Bodoni Moda', Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  padding-bottom: 72px;
}
img  { display: block; }
ul   { list-style: none; }
a    { text-decoration: none; color: inherit; }

/* ── Section label partagé ──────────────── */
.section-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2rem; display: block;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 3.5rem;
  background: transparent;
}

.nav.scrolled {
  background: rgba(17,17,16,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav__logo {
  font-size: 12px; font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  border: 1px solid var(--border-md);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav__cta:hover {
  background: var(--accent); color: #111; border-color: var(--accent);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 3.5rem;
  gap: 4rem;
  background:
    radial-gradient(ellipse 65% 65% at 72% 48%, #2d1f08 0%, transparent 68%),
    radial-gradient(ellipse 35% 45% at 20% 85%, #1a1208 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 0%, #1c1a16 0%, transparent 50%),
    var(--bg);
  overflow: hidden;
  position: relative;
}

.hero__left {
  padding-left: clamp(2rem, 7vw, 8rem);
}

.hero__eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem; display: block;
  opacity: 0; animation: fadeUp 0.6s var(--ease-out) 0.3s forwards;
}

.hero__logo {
  width: min(70%, 280px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.5s forwards;
  margin-bottom: 2rem;
}

.hero__sub {
  font-size: 16px; line-height: 1.7; color: var(--ink-muted);
  max-width: 380px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.7s var(--ease-out) 0.85s forwards;
}

.hero__actions {
  display: flex; gap: 12px;
  opacity: 0; animation: fadeUp 0.7s var(--ease-out) 1.05s forwards;
}

.hero__right {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__deco {
  width: min(90%, 675px);
  height: auto;
  position: relative;
  overflow: visible;
  z-index: 1;
  will-change: transform;
}

/* ── Boutons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center;
  padding: 13px 28px; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; cursor: pointer;
  transition: all 0.2s ease; text-decoration: none;
  border: none; font-family: var(--font-sans);
}
.btn--fill { background: var(--accent); color: #111; }
.btn--fill:hover { background: #f5fa20; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border-md);
}
.btn--ghost:hover { background: var(--ink-faint); }

/* ── Keyframes globaux ──────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}

/* ═══════════════════════════════════════════
   NOTRE UNIVERS
═══════════════════════════════════════════ */
.univers {
  background: var(--bg-2);
  padding: 8rem 3.5rem;
  overflow: visible;
}

.univers__top {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

.univers__heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .univers__heading {
    white-space: nowrap;
    font-size: clamp(20px, 2.2vw, 30px);
    overflow: visible;
  }
}

.univers__sub {
  font-size: 15px; line-height: 1.75;
  color: var(--ink-muted);
}

.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.cat-card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-vinyl-slider {
  position: absolute;
  top: -170px; left: 50%;
  width: 102%;
  transform: translateX(-50%) translateY(170px);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}
.cat-card-wrap:hover .cat-vinyl-slider {
  transform: translateX(-50%) translateY(0px);
}
.cat-vinyl {
  width: 100%; height: auto;
  aspect-ratio: 1; object-fit: contain;
}
.cat-card-wrap:hover .cat-vinyl {
  animation: vinyl-spin 3s linear infinite;
}

.cat-card {
  position: relative; z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px; width: 100%;
  display: flex; flex-direction: column;
  transition: border-color 0.25s ease;
}
.cat-card-wrap:hover .cat-card { border-color: var(--border-md); }

.cat-card__num {
  font-family: var(--font-sans);
  font-size: 1.75rem; font-weight: 700;
  color: var(--accent); margin-bottom: .6rem;
}

.cat-card__line {
  border: none; height: 1px;
  background: var(--border-md);
  margin-bottom: .6rem; width: 0;
  transition: width 0.4s ease;
}
.cat-card-wrap:hover .cat-card__line { width: 100%; }

.cat-card__title {
  font-family: var(--font-sans);
  font-size: 1.1rem; font-weight: 500;
  color: var(--ink); margin-bottom: .5rem;
}

.cat-card__desc {
  font-size: 15px; line-height: 1.75;
  color: var(--ink-muted); margin-top: auto;
}

/* ═══════════════════════════════════════════
   LA BOUTIQUE
═══════════════════════════════════════════ */
.boutique {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 8rem 3.5rem;
  align-items: center;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-2);
}

.slideshow__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  user-select: none; pointer-events: none;
}

.slideshow__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(17,17,16,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}
.slideshow__arrow--prev { left: 16px; }
.slideshow__arrow--next { right: 16px; }
.slideshow:hover .slideshow__arrow { opacity: 1; }
.slideshow__arrow:hover { background: rgba(237,241,12,0.15); border-color: var(--accent); }
.slideshow__arrow:active { transform: translateY(-50%) scale(0.92); }

.slideshow__dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px;
  z-index: 10;
}
.slideshow__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(240,237,230,0.3);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  border: none; padding: 0;
}
.slideshow__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.slideshow__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(240,237,230,0.08);
  z-index: 10;
}
.slideshow__progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
}

.boutique__content {
  display: flex; flex-direction: column; gap: 1.5rem;
}

.boutique__heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; color: var(--ink);
}

.boutique__intro {
  font-size: 15px; line-height: 1.75;
  color: var(--ink-muted);
}

.features { display: flex; flex-direction: column; }

.feature {
  display: flex; align-items: flex-start;
  gap: 1.125rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.feature:first-child { border-top: 1px solid var(--border); }

.feature__dot {
  flex-shrink: 0; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
  margin-top: .45rem;
  animation: dotPulse 2s ease-in-out infinite;
}
.feature:nth-child(2) .feature__dot { animation-delay: 0.4s; }
.feature:nth-child(3) .feature__dot { animation-delay: 0.8s; }

.feature p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.feature p strong { font-weight: 600; color: var(--ink); }

/* ═══════════════════════════════════════════
   AVIS
═══════════════════════════════════════════ */
.avis {
  background: var(--bg-2);
  padding: 8rem 3.5rem;
}

.avis__header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: center;
}

.avis__heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--ink);
}

.avis__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.avis-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 2px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.2s ease;
}
.avis-card:hover { border-color: var(--border-md); }

.avis-card__stars {
  color: var(--accent);
  font-size: 1rem; letter-spacing: .05em;
}
.star { display: inline-block; }

.avis-card__text {
  font-size: 15px; line-height: 1.75;
  color: var(--ink-muted); font-style: italic; flex: 1;
}

.avis-card__author {
  display: flex; align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}

.avis-card__name {
  font-weight: 600; font-size: .875rem; color: var(--ink);
}

.avis-card__source {
  font-size: .75rem; color: var(--ink-muted);
  border: 1px solid var(--border);
  padding: .2rem .5rem; border-radius: 2px;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  padding: 8rem 3.5rem;
  background: var(--bg);
}

.contact__inner {
  max-width: 100%;
  padding: 0;
}

.contact__card {
  display: grid;
  grid-template-columns: 340px 1fr;
  border: 1px solid var(--border-md);
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
  min-height: 560px;
  position: relative;
  margin: 0 auto;
}

.contact__card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--bg) transparent transparent;
  z-index: 10;
}

.contact__info {
  background: var(--bg-2);
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column; gap: 2rem;
}

.contact__block-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px; display: block;
}

.contact__block p {
  font-size: 14px; line-height: 1.7; color: var(--ink);
}

.contact__link {
  display: block; font-size: 14px; color: var(--ink-muted);
  text-decoration: none; line-height: 1.9;
  transition: color 0.15s;
}
.contact__link:hover { color: var(--ink); }

.contact__social {
  font-size: 12px; letter-spacing: 0.06em; color: var(--ink-muted);
  text-decoration: none; text-transform: uppercase;
  transition: color 0.15s;
}
.contact__social:hover { color: var(--accent); }

.contact__map {
  position: relative;
  min-height: 560px;
}
.contact__map iframe {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) invert(1) brightness(0.55) contrast(1.1) hue-rotate(180deg);
}
.contact__map-overlay {
  position: absolute; inset: 0;
  background: rgba(17,17,16,0.18);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   PLAYER
═══════════════════════════════════════════ */
.player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(16,15,14,0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 2rem;
  z-index: 200;
  gap: 1rem;
}

.player__track-info {
  display: flex; align-items: center; gap: 12px;
}
.player__cover {
  flex-shrink: 0; border-radius: 6px; overflow: hidden;
  transition: transform 0.3s ease;
}
.player__cover.spinning { animation: spin 4s linear infinite; }
.player__title {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__artist {
  display: block; font-size: 11px; color: var(--ink-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.player__center {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.player__controls {
  display: flex; align-items: center; gap: 18px;
}
.player__btn {
  background: none; border: none; cursor: pointer;
  color: var(--ink-muted); display: flex; align-items: center;
  padding: 4px; transition: color 0.15s, transform 0.1s;
}
.player__btn:hover { color: var(--ink); }
.player__btn.active { color: var(--accent); }
.player__btn--play {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #111 !important;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, background 0.15s;
}
.player__btn--play:hover { transform: scale(1.06); background: #f5fa20; }
.player__btn--play:active { transform: scale(0.95); }

.player__progress-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
}
.player__time {
  font-size: 10px; color: var(--ink-muted);
  font-variant-numeric: tabular-nums; min-width: 28px;
}
.player__time:last-child { text-align: right; }

.player__bar {
  flex: 1; height: 3px; background: var(--border-md);
  border-radius: 2px; cursor: pointer; position: relative;
  transition: height 0.1s;
}
.player__bar:hover { height: 4px; }
.player__bar-fill {
  height: 100%; background: var(--accent);
  border-radius: 2px; width: 0%; transition: width 0.1s linear;
  position: relative;
}
.player__bar-fill::after {
  content: ''; position: absolute; right: -5px; top: -4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: white; opacity: 0; transition: opacity 0.15s;
}
.player__bar:hover .player__bar-fill::after { opacity: 1; }

.player__right {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
}
.player__volume {
  width: 90px; accent-color: var(--accent);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 3.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.footer__logo {
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  color: var(--ink); text-transform: uppercase;
}
.footer__socials { display: flex; gap: 20px; }
.footer__socials a { color: var(--ink-muted); transition: color 0.2s; }
.footer__socials a:hover { color: var(--ink); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 3rem;
    min-height: auto;
  }
  .hero__left {
    padding-left: 0;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .hero__logo { margin-left: auto; margin-right: auto; width: min(50%, 160px); }
  .hero__sub  { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__right { display: none; }
  .nav { padding: 1.25rem 1.5rem; }
  .contact__card { grid-template-columns: 1fr; }
  .contact__map { min-height: 300px; }
  .player { grid-template-columns: 1fr; height: auto; padding: 12px 1rem; gap: 8px; }
  .player__track-info, .player__right { display: none; }
  body { padding-bottom: 100px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .univers { padding: 5rem 1.5rem; }
  .boutique { grid-template-columns: 1fr; padding: 5rem 1.5rem; }
  .avis__grid { grid-template-columns: 1fr; }
  .avis { padding: 5rem 1.5rem; }
  .contact { padding: 5rem 1.5rem; }
  .footer { flex-direction: column; gap: 1rem; text-align: center; }
  .categories { grid-template-columns: 1fr; }
}
