/* =============================================
   AUTORAIS.CSS — Entre Tempos · Página de Músicas Autorais
   ============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f2e8d5;
  font-family: 'Special Elite', serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/aged-paper.webp');
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ── */
header {
  position: relative;
  z-index: 10;
  padding: 18px 30px;
  border-bottom: 2px solid #c4a96b;
}

header a {
  text-decoration: none;
  color: #3e4a59;
  font-weight: bold;
  font-family: 'Special Elite', serif;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.2s;
}

header a:hover {
  color: #c0392b;
}

/* ── TÍTULO ── */
.page-titulo {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 30px 20px 10px;
  overflow: visible;
}

.page-titulo h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 12vw, 130px);
  color: #1a1a1a;
  letter-spacing: 8px;
  line-height: 1;
  text-shadow: 4px 4px 0 #c4a96b;
}

.page-titulo .subtitulo {
  font-family: 'Special Elite', serif;
  font-size: 14px;
  color: #7a6a50;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── DIVISOR ── */
.divisor {
  position: relative;
  z-index: 5;
  width: 80%;
  margin: 10px auto 30px;
  height: 2px;
  background: linear-gradient(to right, transparent, #c0392b, #c4a96b, #c0392b, transparent);
}

/* ── SEÇÃO APRESENTAÇÃO ── */
.musica-section {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 40px;
}

.foto-musica {
  width: clamp(220px, 28vw, 360px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(4px 6px 14px rgba(0, 0, 0, 0.35)) sepia(15%);
  transform: rotate(-2deg) scale(1.2) translateY(10%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.foto-musica:hover {
  transform: rotate(0deg) scale(1.2);
}

.musica-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.musica-nome {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  color: #1a1a1a;
  letter-spacing: 4px;
  line-height: 1;
  border-left: 5px solid #c0392b;
  padding-left: 16px;
}

.musica-cargo {
  font-family: 'Special Elite', serif;
  font-size: 14px;
  color: #8c3b3b;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-left: 21px;
  font-style: italic;
}

.musica-bio {
  font-family: 'IM Fell English', serif;
  font-size: clamp(15px, 1.6vw, 18px);
  color: #3e3228;
  line-height: 1.85;
  text-align: justify;
  margin-top: 6px;
}

/* ══════════════════════════════════════════
   IMAGENS DECORATIVAS — espalhadas de forma
   organizada, opacidade normal
   ══════════════════════════════════════════ */

.decor {
  position: absolute;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.decor-cassete {
  top: -55px;
  left: -40px;
  width: clamp(120px, 13vw, 185px);
  height: auto;
  transform: rotate(-12deg);
}

.decor-microfone {
  top: 50%;
  left: -60px;
  transform: translateY(-50%) rotate(8deg);
  width: clamp(110px, 12vw, 165px);
  height: auto;
}

.decor-dvd {
  bottom: -15px;
  left: -10px;
  width: clamp(105px, 12vw, 165px);
  height: auto;
  transform: rotate(-6deg);
  opacity: 1;
}

.decor-gatinho {
  top: -75px;
  right: 0px;
  width: clamp(120px, 13vw, 175px);
  height: auto;
  transform: rotate(6deg);
}

/* ── decorativos no título ── */
.decor-volume {
  top: 10px;
  left: clamp(0px, 4vw, 60px);
  width: clamp(70px, 8vw, 105px);
  height: auto;
  transform: rotate(-10deg);
}

.decor-boca {
  top: 0px;
  right: clamp(0px, 4vw, 60px);
  width: clamp(75px, 8.5vw, 115px);
  height: auto;
  transform: rotate(8deg);
}

/* ── decorativos extras na navegação ── */
.decor-bateria {
  top: -60px;
  left: -20px;
  width: clamp(110px, 12.5vw, 175px);
  height: auto;
  transform: rotate(-7deg);
}

.decor-showbola {
  bottom: -55px;
  right: -25px;
  width: clamp(110px, 12vw, 165px);
  height: auto;
  transform: rotate(5deg);
}

.decor-fone {
  top: 50%;
  right: -65px;
  transform: translateY(-50%) rotate(-8deg);
  width: clamp(95px, 10.5vw, 145px);
  height: auto;
}

/* ── decorativo no rodapé ── */
.decor-spotfy {
  bottom: 0px;
  right: clamp(10px, 5vw, 70px);
  width: clamp(90px, 10vw, 140px);
  height: auto;
  transform: rotate(6deg);
}

/* ══════════════════════════════════════════
   FOTOS DE NAVEGAÇÃO — uma foto por artista,
   cada uma clicável, levando à página dele.
   O layout cresce automaticamente conforme
   mais artistas são adicionados.
   ══════════════════════════════════════════ */

.fotos-navegacao {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  justify-content: center;
  align-items: start;
  gap: 50px 60px;
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 100px;
  padding: 40px 40px 0;
}

.foto-nav {
  display: block;
  text-decoration: none;
  cursor: pointer;
  width: clamp(180px, 24vw, 260px);
}

.foto-nav img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(4px 6px 14px rgba(0, 0, 0, 0.35)) sepia(15%);
  transition: transform 0.35s ease;
}

.foto-nav:hover img {
  transform: scale(1.03) rotate(-1deg);
}

.foto-nav:active img {
  transform: scale(0.97);
}

.foto-nav-nome {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-family: 'Special Elite', serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #3e3228;
}

/* ── RODAPÉ ── */
.rodape-musicas {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 20px;
  font-family: 'Special Elite', serif;
  font-size: 12px;
  color: #b0a090;
  letter-spacing: 2px;
  border-top: 1px solid #c4a96b;
}

.carimbo {
  display: inline-block;
  border: 3px solid #c0392b;
  color: #c0392b;
  padding: 4px 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  transform: rotate(-3deg);
  opacity: 0.6;
  margin-top: 10px;
}

/* ── MOBILE ── */
@media (max-width: 600px) {

  .page-titulo h1 {
    font-size: clamp(52px, 18vw, 80px);
    letter-spacing: 4px;
  }

  .musica-section {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
    text-align: center;
  }

  .foto-musica {
    width: clamp(320px, 28vw, 360px);
    transform: rotate(-2deg) scale(1.2);
    margin-bottom: 40px;
  }

  .musica-nome {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }

  .musica-cargo {
    padding-left: 0;
    text-align: center;
  }

  .musica-bio {
    text-align: left;
  }

  .fotos-navegacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
  }

  .foto-nav {
    width: clamp(150px, 60vw, 220px);
  }

  .decor {
    opacity: 1;
  }

  .decor-cassete {
    width: 102px;
    top: -14px;
    left: -8px;
  }

  .decor-microfone {
    width: 100px;
    top: 50%;
    left: -10px;
  }

  .decor-bateria {
    width: 100px;
    top: -22px;
    left: -6px;
  }

  .decor-gatinho {
    width: 100px;
    top: -22px;
    right: 4px;
  }

  .decor-dvd {
    width: 90px;
    bottom: -10px;
    left: -4px;
  }

  .decor-showbola {
    width: 100px;
    bottom: -10px;
    right: -4px;
  }

  .decor-volume {
    width: 78px;
    top: 4px;
    left: 4px;
  }

  .decor-boca {
    width: 82px;
    top: 0px;
    right: 4px;
  }

  .decor-fone {
    width: 90px;
    top: 50%;
    right: -10px;
  }

  .decor-spotfy {
    width: 102px;
    bottom: 0px;
    right: 8px;
  }
}