/* ═══════════════════════════════════════════════════════════════
   BEATS — Page-specific styles
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) 32px 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-bg-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}
.hero-bg-line::before,
.hero-bg-line::after {
  content: '';
  position: absolute;
  background: var(--line);
}
.hero-bg-line::before {
  top: 0; bottom: 0;
  left: 32px;
  width: 1px;
}
.hero-bg-line::after {
  top: 0; bottom: 0;
  right: 32px;
  width: 1px;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 40px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(174,255,0,0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(174,255,0,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: 48px;
}
.hero-title .row {
  display: block;
  overflow: hidden;
}
/* transform initial géré dans base.css sous .js-ready pour permettre le fallback no-JS */
.hero-title .row span {
  transition: transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.hero-title.is-visible .row span { transform: translateY(0); }
.hero-title em { font-style: normal; color: var(--primary); }

.hero-sub {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  font-weight: 300;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-meta {
  display: flex; flex-direction: column; gap: 14px;
  border-left: 1px solid var(--line-strong);
  padding-left: 24px;
}
.hero-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.hero-meta-row .k { color: var(--text-dim); text-transform: uppercase; }
.hero-meta-row .v { color: var(--text); }
.hero-meta-row .v.lime { color: var(--primary); }

.hero-actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}

/* bas du hero */
.hero-footer {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.hero-footer-left,
.hero-footer-right {
  display: flex; gap: 32px; align-items: center;
}
.hero-footer .kv {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-footer .kv .k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-footer .kv .v {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   PILLARS (3 piliers sur home)
═══════════════════════════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.pillar {
  padding: 48px 36px 40px;
  border-right: 1px solid var(--line);
  transition: background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--bg-elev); }
.pillar .num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 80px;
  display: block;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.pillar p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.pillar-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s, gap 0.3s var(--ease);
}
.pillar-link::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.pillar:hover .pillar-link { color: var(--primary); }
.pillar:hover .pillar-link::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════
   FLOW / 4-step
═══════════════════════════════════════════════════════════════ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow-step {
  padding: 48px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.flow-step:last-child { border-right: 0; }
.flow-step:hover { background: var(--primary-soft); }
.flow-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  display: block;
  margin-bottom: 40px;
}
.flow-step h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.flow-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   SPLIT (image + texte)
═══════════════════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 96px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-visual { order: 1; }

.split-text h2 { margin-bottom: 24px; }
.split-feats {
  list-style: none;
  margin-top: 40px;
  display: flex; flex-direction: column;
  gap: 20px;
}
.split-feats li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.split-feats li:last-child { border-bottom: 1px solid var(--line); }
.split-feats .arrow { color: var(--primary); font-family: var(--font-mono); font-size: 0.9rem; }
.split-feats strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.split-feats span { color: var(--text-muted); font-size: 0.86rem; }

/* ═══════════════════════════════════════════════════════════════
   STUDIO page — DAW deep dive
═══════════════════════════════════════════════════════════════ */
.daw-showcase {
  border: 1px solid var(--line);
  padding: 0;
  background: var(--bg-card);
  margin-top: 24px;
}
.daw-showcase-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.daw-showcase-head .live {
  display: flex; align-items: center; gap: 8px;
  color: var(--primary);
}
.daw-showcase-head .live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.daw-showcase img { width: 100%; display: block; }

.daw-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.daw-spec {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}
.daw-spec:last-child { border-right: 0; }
.daw-spec .k {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.daw-spec .v {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.daw-spec .v .unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}

/* Tracks grid */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.track-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.3s var(--ease);
  position: relative;
}
.track-card:hover { background: var(--bg-elev); }
.track-card .icon-box {
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}
.track-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.track-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.track-card .count {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.14em;
}

/* Genres */
.genres {
  display: flex; gap: 0;
  border: 1px solid var(--line);
}
.genre {
  flex: 1;
  padding: 56px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
  transition: background 0.4s var(--ease);
  cursor: default;
}
.genre:last-child { border-right: 0; }
.genre:hover { background: var(--primary-soft); }
.genre-name {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.genre:hover .genre-name { color: var(--primary); }
.genre-desc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   BATTLE page
═══════════════════════════════════════════════════════════════ */
.battle-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.battle-mode {
  background: var(--bg);
  padding: 56px 40px;
  transition: background 0.3s var(--ease);
  position: relative;
}
.battle-mode:hover { background: var(--bg-elev); }
.battle-mode.pro {
  background: linear-gradient(180deg, rgba(174,255,0,0.03), var(--bg));
}
.battle-mode-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.battle-mode-head .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.battle-mode-head .tag.lime { color: var(--primary); }
.battle-mode-head .badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  background: var(--primary);
  color: #000;
  padding: 3px 9px;
}
.battle-mode h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.battle-mode p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.battle-mode-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.battle-mode-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.86rem; color: var(--text);
}
.battle-mode-list li::before {
  content: '→';
  color: var(--primary);
  font-family: var(--font-mono);
}

/* Ranks showcase */
.ranks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.rank {
  text-align: center;
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.rank:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.rank-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
}
.rank-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.rank:hover .rank-img-wrap img { transform: scale(1.08); }
.rank-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.rank-lvl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* Reactions row */
.reactions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.reaction-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), border-color 0.3s;
  cursor: default;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}
.reaction-chip:hover { border-color: var(--primary); transform: translateY(-3px); }
.reaction-chip .emo { font-size: 1.1rem; }

/* ═══════════════════════════════════════════════════════════════
   EQUIPE page
═══════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  /* Remplace repeat(3, 1fr) par repeat(2, 1fr) */
  grid-template-columns: repeat(2, 1fr); 
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.team-card {
  background: var(--bg);
  padding: 0;
  position: relative;
  transition: background 0.4s var(--ease);
  overflow: hidden;
}
.team-card:hover { background: var(--bg-elev); }
.team-avatar {
  aspect-ratio: 1;
  background: var(--bg-elev);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar-initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  letter-spacing: -0.04em;
  color: var(--text);
  transition: color 0.5s var(--ease), transform 0.8s var(--ease);
  z-index: 2;
}
.team-card:hover .team-avatar-initials {
  color: var(--primary);
  transform: scale(1.06);
}
.team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(174,255,0,0.08) 100%),
    radial-gradient(circle at 30% 30%, rgba(0,240,255,0.05), transparent 60%);
  opacity: 0.5;
  transition: opacity 0.6s;
}
.team-card:hover .team-avatar::before { opacity: 1; }
.team-info {
  padding: 28px 28px 32px;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.team-bio {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 22px;
}
.team-socials {
  display: flex; gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.team-socials a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.team-socials a:hover { color: var(--primary); }

.team-manifesto {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.team-manifesto h2 em { font-style: normal; color: var(--primary); }
.team-manifesto p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  font-weight: 300;
}
.team-manifesto p + p { margin-top: 20px; }

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════════════════ */
.cta-final {
  padding: 140px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--line);
}
.cta-final .eyebrow { margin-bottom: 28px; display: block; }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 48px;
}
.cta-final h2 em { font-style: normal; color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════
   TICKER — bande défilante
═══════════════════════════════════════════════════════════════ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding-right: 48px;
  color: var(--text);
}
.ticker span .sep {
  display: inline-block;
  margin-left: 48px;
  color: var(--primary);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
  .hero-bg-line::before { left: 20px; }
  .hero-bg-line::after { right: 20px; }
  .hero-sub { grid-template-columns: 1fr; gap: 36px; }
  .hero-meta { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; padding-top: 24px; }
  .hero-footer { flex-direction: column; gap: 20px; align-items: flex-start; }
  .hero-footer-left, .hero-footer-right { flex-wrap: wrap; gap: 20px; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .pillar .num { margin-bottom: 48px; }

  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(1), .flow-step:nth-child(2) { border-bottom: 1px solid var(--line); }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-text, .split.reverse .split-visual { order: unset; }

  .daw-specs { grid-template-columns: 1fr 1fr; }
  .daw-spec:nth-child(2) { border-right: 0; }
  .daw-spec:nth-child(1), .daw-spec:nth-child(2) { border-bottom: 1px solid var(--line); }

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

  .genres { flex-direction: column; }
  .genre { border-right: 0; border-bottom: 1px solid var(--line); }
  .genre:last-child { border-bottom: 0; }

  .battle-modes { grid-template-columns: 1fr; }

  .ranks { grid-template-columns: repeat(3, 1fr); }

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

  .team-manifesto { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
}

@media (max-width: 600px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }

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

  .ranks { grid-template-columns: repeat(2, 1fr); }

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