* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   CABEÇALHO
========================= */

.site-header {
  width: 100%;
  height: 88px;
  padding: 0 6vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 13px;
  color: #777777;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #111111;
}


/* =========================
   MÚSICAS
========================= */

.music-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 6vw 120px;
}

.section-intro {
  margin-bottom: 72px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;

  color: #999999;
}

h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 600;
}

.tracks {
  border-top: 1px solid #dddddd;
}

.track {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 36px;

  padding: 48px 0 58px;

  border-bottom: 1px solid #dddddd;
}

.track-number {
  padding-top: 7px;

  font-size: 11px;
  color: #999999;
  letter-spacing: 0.08em;
}

.track-header {
  margin-bottom: 22px;
}

.track-header h2 {
  margin-bottom: 7px;

  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.track-header p {
  font-size: 12px;
  color: #888888;
}


/* =========================
   PLAYER PERSONALIZADO
========================= */

.custom-player {
  width: 100%;

  background: #ffffff;
  border: 1px solid #dcdcdc;

  overflow: hidden;
}


/* Área de visualização */

.visualizer {
  position: relative;

  width: 100%;
  height: 150px;

  overflow: hidden;

  background: #fafafa;
  border-bottom: 1px solid #eeeeee;
}

.waveform-canvas {
  display: block;

  width: 100%;
  height: 100%;
}

.visualizer-empty {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 9px;
  letter-spacing: 0.18em;

  color: #c0c0c0;

  pointer-events: none;
}

.visualizer.has-spectrum .visualizer-empty {
  display: none;
}


/* =========================
   CONTROLES
========================= */

.player-controls {
  min-height: 62px;

  padding: 0 16px;

  display: flex;
  align-items: center;
  gap: 12px;

  background: #ffffff;
}

.play-button,
.volume-button {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border: 0;
  background: transparent;

  color: #111111;

  cursor: pointer;

  font-size: 13px;
}

.play-button:hover,
.volume-button:hover {
  opacity: 0.55;
}

.time {
  min-width: 40px;

  font-size: 10px;
  color: #777777;

  font-variant-numeric: tabular-nums;
}

.duration {
  text-align: right;
}


/* Barra de progresso */

.progress,
.volume {
  appearance: none;

  height: 2px;

  background: #d7d7d7;

  cursor: pointer;
  outline: none;
}

.progress {
  flex: 1;
}

.volume {
  width: 72px;
}


/* Bolinha da barra */

.progress::-webkit-slider-thumb,
.volume::-webkit-slider-thumb {
  appearance: none;

  width: 10px;
  height: 10px;

  border: 0;
  border-radius: 50%;

  background: #111111;
}

.progress::-moz-range-thumb,
.volume::-moz-range-thumb {
  width: 10px;
  height: 10px;

  border: 0;
  border-radius: 50%;

  background: #111111;
}


/* =========================
   BOTÃO ESPECTROGRAMA
========================= */

.player-actions {
  padding: 9px 16px;

  border-top: 1px solid #eeeeee;
}

.spectrogram-button {
  padding: 4px 0;

  border: 0;
  background: transparent;

  color: #555555;

  cursor: pointer;

  font-size: 10px;
  letter-spacing: 0.04em;

  transition: color 0.2s ease;
}

.spectrogram-button:hover {
  color: #111111;
}


/* =========================
   SPOTIFY / YOUTUBE
========================= */

.stream-buttons {
  display: flex;
  gap: 8px;

  margin-top: 14px;
}

.stream-button {
  padding: 9px 15px;

  border: 1px solid #d9d9d9;

  font-size: 10px;
  color: #555555;

  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.stream-button:hover {
  border-color: #111111;
  color: #111111;
}


/* =========================
   DADOS TÉCNICOS
========================= */

.audio-details {
  margin-top: 18px;

  border-top: 1px solid #eeeeee;
}

.audio-details summary {
  padding: 14px 0;

  cursor: pointer;
  list-style: none;

  font-size: 10px;
  color: #777777;
  letter-spacing: 0.04em;
}

.audio-details summary::-webkit-details-marker {
  display: none;
}

.audio-details summary::after {
  content: "+";

  float: right;

  font-size: 13px;
}

.audio-details[open] summary::after {
  content: "−";
}

.audio-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;

  background: #e9e9e9;
  border: 1px solid #e9e9e9;
}

.audio-specs div {
  padding: 12px;

  display: flex;
  justify-content: space-between;
  gap: 15px;

  background: #fafafa;
}

.audio-specs span {
  font-size: 10px;
  color: #888888;
}

.audio-specs strong {
  font-size: 10px;
  font-weight: 500;
  color: #222222;
}


/* =========================
   CONTATO
========================= */

.contact-section {
  max-width: 1180px;
  margin: 0 auto;

  padding: 100px 6vw 130px;

  border-top: 1px solid #dddddd;
}

.contact-section h2 {
  margin-bottom: 55px;

  font-size: clamp(38px, 6vw, 70px);
  letter-spacing: -0.06em;
  font-weight: 500;
}

.contact-links {
  max-width: 700px;
}

.contact-links a {
  padding: 19px 0;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid #dddddd;

  font-size: 13px;
}

.contact-links a:last-child {
  border-bottom: 1px solid #dddddd;
}

.contact-links a span:last-child {
  color: #777777;
}


/* =========================
   RODAPÉ
========================= */

footer {
  padding: 28px 6vw;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid #dddddd;

  color: #999999;
  font-size: 10px;
}

footer span:first-child {
  color: #222222;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {

  .site-header {
    height: 72px;
    padding: 0 20px;
  }

  nav {
    gap: 18px;
  }

  .music-section {
    padding: 70px 20px 90px;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .track {
    grid-template-columns: 32px 1fr;
    gap: 14px;

    padding: 34px 0 42px;
  }

  .track-header h2 {
    font-size: 21px;
  }

  .visualizer {
    height: 110px;
  }

  .player-controls {
    padding: 0 10px;
    gap: 7px;
  }

  .volume,
  .volume-button {
    display: none;
  }

  .time {
    min-width: 35px;
    font-size: 9px;
  }

  .audio-specs {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 80px 20px 100px;
  }

  footer {
    padding: 24px 20px;
  }
}