/* ============================= */
/* HOME SPLIT LAYOUT             */
/* ============================= */

.home-body {
  margin: 0;
  overflow: hidden;
}

/* container principal */

.split-home {
  display: flex;
  height: 100vh;
  width: 100%;
  position: relative;
}

/* cada lado da tela */

.split-panel {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;   /* centraliza vertical */
  justify-content: center;
  padding: 60px;
  overflow: hidden;
  transition: flex 0.5s ease, filter 0.5s ease;
}

/* imagem de fundo */

.split-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.8s ease;
  z-index: 0;
}

/* fundo lado profissional */

.split-left::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.8)),
    url("../assets/img/bg-luiz.jpg");
}

/* fundo lado DJ */

.split-right::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.75)),
    url("../assets/img/bg-ulrich.jpg");
}

/* efeito hover */

.split-panel:hover {
  flex: 1.15;
}

.split-panel:hover::before {
  transform: scale(1.05);
}

/* escurece lado não ativo */

.split-home:hover .split-panel:not(:hover) {
  filter: brightness(0.65);
}

/* overlay escuro */

.split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  z-index: 1;
}

/* conteúdo interno */

.split-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

/* label */

.panel-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 18px;
  font-size: 14px;
  color: white;
}

/* título */

.split-content h1 {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 12px;
}

/* descrição */

.split-content p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.5;
}

/* ============================= */
/* MINI PLAYER                   */
/* ============================= */

.mini-player {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  width: 260px;
}

.mini-player-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.8);
}

/* barras animadas */

.wave-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 30px;
}

.wave-bars span {
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg,#ff4ec4,#34d9ff);
  animation: wave 1.4s infinite ease-in-out;
}

.wave-bars span:nth-child(1){height:14px}
.wave-bars span:nth-child(2){height:22px}
.wave-bars span:nth-child(3){height:12px}
.wave-bars span:nth-child(4){height:26px}
.wave-bars span:nth-child(5){height:18px}
.wave-bars span:nth-child(6){height:28px}
.wave-bars span:nth-child(7){height:14px}
.wave-bars span:nth-child(8){height:24px}
.wave-bars span:nth-child(9){height:16px}
.wave-bars span:nth-child(10){height:20px}

/* animação barras */

@keyframes wave {
  0% { transform: scaleY(0.7); }
  50% { transform: scaleY(1.2); }
  100% { transform: scaleY(0.7); }
}

/* ============================= */
/* FRASE CENTRAL                 */
/* ============================= */

.center-signature {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

/* ============================= */
/* RESPONSIVO                    */
/* ============================= */

@media (max-width: 900px) {

  .split-home {
    flex-direction: column;
  }

  .split-panel {
    min-height: 50vh;
    padding: 40px;
  }

  .split-panel:hover {
    flex: 1;
  }

  .center-signature {
    display: none;
  }

}