/* ===== PÁGINA ARTISTA - Mobile First, Parallax, Animações ===== */

:root {
  --artist-bg: #0a0a0f;
  --artist-surface: #12121a;
  --artist-text: #f0f0f5;
  --artist-muted: #8888a0;
  --artist-accent: #c9a227;
  --artist-accent-hover: #e0b82e;
  /* Fontes gerais do sistema (GFS Neohellenic, Saira, Sansation) */
  --artist-font-head: 'Sansation', sans-serif;
  --artist-font-body: 'Saira', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--artist-font-body);
  background: var(--artist-bg);
  color: var(--artist-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ----- Menu estilo app: hambúrguer + drawer à esquerda (cel e desktop) ----- */

/* Botão hambúrguer fixo no canto superior esquerdo (sem fundo) */
.artist-menu-trigger {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1040;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--artist-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
}
.artist-menu-trigger:hover {
  opacity: 0.85;
}
.artist-menu-trigger:active {
  transform: scale(0.97);
}

/* Ícone das 3 listras */
.artist-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
}
.artist-menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.artist-menu-icon.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.artist-menu-icon.open span:nth-child(2) {
  opacity: 0;
}
.artist-menu-icon.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay: cobre toda a tela, transparente (só para fechar ao clicar) */
.artist-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1035;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.artist-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Drawer: painel lateral esquerdo com degradê radial sutil (escuro → transparente) */
.artist-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1038;
  width: min(280px, 85vw);
  max-width: 280px;
  background: radial-gradient(ellipse 120% 100% at left center, rgba(6, 6, 10, 0.98) 0%, rgba(4, 4, 8, 0.85) 45%, transparent 75%);
  border: none;
  box-shadow: none;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.artist-drawer.open {
  transform: translateX(0);
}

.artist-drawer-inner {
  padding: 3rem 1.5rem 2rem;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.artist-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 0;
}
.artist-drawer-menu li {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}
.artist-drawer-link {
  display: block;
  width: 100%;
  padding: 0.85rem 0;
  color: var(--artist-text);
  text-decoration: none;
  font-family: var(--artist-font-head);
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s, padding-left 0.2s;
  border-radius: 6px;
}
.artist-drawer-link:hover {
  color: var(--artist-accent);
  padding-left: 0.5rem;
}

/* ----- Logo em overlay no topo (grande no hero, menor ao rolar, sempre fixa) ----- */
.artist-logo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 2rem;
  z-index: 100;
  pointer-events: none;
  transition: padding 0.35s ease;
  background: linear-gradient(
    to bottom,
    rgba(6, 6, 10, 0.95) 0%,
    rgba(4, 4, 8, 0.75) 35%,
    rgba(2, 2, 6, 0.3) 70%,
    transparent 100%
  );
}

@keyframes logoEnter {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.artist-logo-img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  transition: max-height 0.35s ease, max-width 0.35s ease;
  animation: logoEnter 1.25s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .artist-logo-img,
  .artist-hero-logo {
    animation: none;
  }
}

.artist-logo-overlay.is-scrolled .artist-logo-img {
  max-height: 44px;
}

@media (max-width: 768px) {
  .artist-logo-overlay {
    min-height: 90px;
    padding: 0.35rem 0.5rem 0.6rem;
    background: linear-gradient(
      to bottom,
      rgba(6, 6, 10, 0.92) 0%,
      rgba(4, 4, 8, 0.5) 50%,
      transparent 100%
    );
  }

  .artist-logo-img {
    max-height: 72px;
  }

  .artist-logo-overlay.is-scrolled .artist-logo-img {
    max-height: 32px;
  }
}

/* ----- Hero: imagem topo sempre visível; desktop 100% largura ----- */
.artist-hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 4rem 1.5rem 1.25rem;
  overflow: hidden;
  background-color: transparent;
}

/* Wrap do carrossel (parallax via JS aplicado aqui) */
.artist-hero-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120%;
  pointer-events: none;
  will-change: transform;
}

/* Slides do hero - slider próprio (CSS) */
.artist-hero-bg.hero-slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  pointer-events: none;
  opacity: 0;
}
.artist-hero-bg.hero-slide.is-active {
  opacity: 1;
}

.artist-hero-content {
  position: relative;
  z-index: 1;
  transform-origin: center bottom;
  will-change: transform;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.2s ease-out;
}

.artist-hero-logo {
  max-width: min(720px, 95vw);
  max-height: min(400px, 60vh);
  width: auto;
  height: auto;
  object-fit: contain;
  animation: logoEnter 1.25s ease-out forwards;
}

/* ----- Seção "Disponível em todas as plataformas" ----- */
.artist-platforms-section {
  background: transparent;
  padding: clamp(3rem, 7vh, 4.5rem) 1.5rem clamp(1rem, 2.5vh, 1.5rem);
  text-align: center;
}

.artist-platforms-text {
  margin: 0 0 2.25rem;
  font-family: var(--artist-font-body);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--artist-text);
  opacity: 0.9;
  will-change: transform;
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 0, 0, 0.75),
    0 2px 8px rgba(0, 0, 0, 0.85);
}

.artist-platforms {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  will-change: transform;
}

.artist-platform-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.artist-platform-icon:hover {
  transform: translateY(-8px);
}

/* ----- OUÇA AGORA ----- */
.artist-ouca-agora {
  width: 100%;
  padding: 12rem 1.5rem 5rem;
}

.artist-ouca-agora-title {
  font-family: var(--artist-font-head);
  font-size: clamp(2.5rem, 12vw, 5rem);
  font-weight: 800;
  margin: 0 0 0;
  color: var(--artist-text);
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  will-change: transform;
  /* suavidade feita no JS com lerp a cada frame (parallax “tentando” o tempo todo) */
}

.artist-ouca-agora-inner {
  max-width: 1200px;
  margin: 0 auto;
  will-change: transform;
}

.artist-spotify-embed {
  display: block;
  width: 100%;
  border-radius: 12px;
  min-height: 352px;
}

@media (max-width: 768px) {
  .artist-ouca-agora {
    padding: 10rem 0 4rem;
  }

  .artist-ouca-agora-inner {
    max-width: 100%;
    padding: 0 10px;
  }

  .artist-spotify-embed {
    border-radius: 0;
    min-height: 380px;
  }
}

/* ----- YOUTUBE: vídeo de fundo + banner + botão play ----- */
.artist-youtube {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.artist-youtube-video-wrap {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  will-change: transform;
}

.artist-youtube-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* Desktop: toda a horizontal, 16:9 exato (padding-bottom 9/16) */
.artist-youtube-video-inner {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 9/16 = 16:9 */
  transform: translateY(-50%);
  box-sizing: content-box;
}

.artist-youtube-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.artist-youtube-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  gap: 1.5rem;
}

.artist-youtube-banner {
  max-width: min(85vw, 520px);
  height: auto;
  display: block;
  will-change: transform;
}

.artist-youtube-play {
  font-family: var(--artist-font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--artist-text);
  background: transparent;
  border: 2px solid var(--artist-text);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  will-change: transform;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.artist-youtube-play:hover {
  color: var(--artist-bg);
  background: var(--artist-text);
}

@media (max-width: 768px) {
  .artist-youtube {
    min-height: 90vh;
  }

  /* Celular: scale menor para o vídeo não ficar tão cortado */
  .artist-youtube-video-inner {
    width: 100%;
    height: 100%;
    min-width: 177.78vh;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ----- Agenda / Shows: fundo só com ::before (estático, sem parallax = sem bug de empilhamento) ----- */
.artist-agenda {
  position: relative;
  width: 100%;
  padding: 2.5rem 1.5rem 4rem;
}

.artist-agenda::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--agenda-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: grayscale(100%) brightness(0.4) contrast(1.08) blur(4px);
}

.artist-agenda::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 15, 0.5) 18%,
    rgba(10, 10, 15, 0.5) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.artist-agenda-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.artist-agenda-title {
  font-family: var(--artist-font-head);
  font-size: clamp(3rem, 14vw, 6rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: var(--artist-text);
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  will-change: transform;
}

.artist-agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.artist-agenda-item {
  display: grid;
  grid-template-columns: 5rem 1fr 1.5fr 1.2fr auto;
  gap: 0 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--artist-font-body);
  font-size: 0.95rem;
  will-change: transform;
}

.artist-agenda-date {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.artist-agenda-item:last-child {
  border-bottom: none;
}

.artist-agenda-day {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--artist-text);
}

.artist-agenda-month {
  font-weight: 700;
  color: var(--artist-accent);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.artist-agenda-city {
  font-weight: 700;
  color: var(--artist-text);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.artist-agenda-name {
  font-weight: 600;
  color: var(--artist-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.artist-agenda-venue {
  color: var(--artist-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.artist-agenda-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.artist-agenda-btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.artist-agenda-btn-ingresso {
  background: var(--artist-accent);
  color: #0a0a0f;
}

.artist-agenda-btn-ingresso:hover {
  background: var(--artist-accent-hover);
  transform: translateY(-2px);
}

.artist-agenda-btn-info {
  background: transparent;
  color: var(--artist-text);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.artist-agenda-btn-info:hover {
  border-color: var(--artist-accent);
  color: var(--artist-accent);
}

/* Separador visual entre colunas no desktop */
.artist-agenda-item > .artist-agenda-date {
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.artist-agenda-item > .artist-agenda-city {
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.artist-agenda-item > .artist-agenda-name {
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.artist-agenda-item > .artist-agenda-venue {
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

/* Mobile: tudo empilhado, dia+mês na primeira linha, botões em bloco */
@media (max-width: 768px) {
  .artist-agenda {
    padding: 2rem 1rem 3rem;
  }

  .artist-agenda-title {
    margin-bottom: 0.35rem;
    font-size: clamp(2.5rem, 12vw, 4rem);
    text-align: center;
    text-transform: uppercase;
  }

  .artist-agenda-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.12rem;
    padding: 0.35rem 0;
  }

  .artist-agenda-item > .artist-agenda-date,
  .artist-agenda-item > .artist-agenda-city,
  .artist-agenda-item > .artist-agenda-name,
  .artist-agenda-item > .artist-agenda-venue {
    border-right: none;
    padding-right: 0;
  }

  .artist-agenda-actions {
    flex-direction: column;
    margin-top: 0.25rem;
  }

  .artist-agenda-btn {
    display: block;
    text-align: center;
    padding: 0.65rem 1rem;
  }
}

/* Zoom corre o tempo todo (0% a 100%). Transição (entrada) só nos primeiros 20%. Tudo ao mesmo tempo. */
/* 1) mask-fade */
@keyframes heroMaskFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.016);
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}
.hero-anim-mask-fade {
  animation: heroMaskFade 4.2s linear forwards;
}

/* 2) mask-diagonal */
@keyframes heroMaskDiagonal {
  0% {
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: scale(1);
  }
  20% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
    transform: scale(1.016);
  }
  100% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
    transform: scale(1.08);
  }
}
.hero-anim-mask-diagonal {
  animation: heroMaskDiagonal 4.2s linear forwards;
}

/* 3) mask-circle */
@keyframes heroMaskCircle {
  0% {
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transform: scale(1);
  }
  20% {
    opacity: 1;
    clip-path: circle(140% at 50% 50%);
    transform: scale(1.016);
  }
  100% {
    opacity: 1;
    clip-path: circle(140% at 50% 50%);
    transform: scale(1.08);
  }
}
.hero-anim-mask-circle {
  animation: heroMaskCircle 4.2s linear forwards;
}

/* 4) mask-vertical */
@keyframes heroMaskVertical {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: scale(1);
  }
  20% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1.016);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1.08);
  }
}
.hero-anim-mask-vertical {
  animation: heroMaskVertical 4.2s linear forwards;
}

/* Tablet (iPad retrato e paisagem, telas médias) */
@media (min-width: 769px) and (max-width: 1024px) {
  .artist-hero {
    padding: 3rem 1.5rem clamp(1.5rem, 4vh, 2.5rem);
  }
  .artist-hero-logo {
    max-height: min(320px, 50vh);
  }
  .artist-platforms-section {
    padding: clamp(2.25rem, 6vh, 3.5rem) 1.5rem clamp(0.75rem, 2vh, 1.25rem);
  }
  .artist-platform-icon {
    width: 64px;
    height: 64px;
  }
}

/* Celular e iPad retrato: hero mais baixo + seção compacta para ver ícones na primeira tela */
@media (max-width: 768px) {
  .artist-hero {
    min-height: 68vh;
    min-height: 68dvh;
    padding: 1rem 1rem clamp(1.25rem, 5vh, 2.5rem);
    align-items: flex-end;
  }
  .artist-hero-bg.hero-slide {
    background-size: 260% auto;
    background-position: top center;
  }
  .artist-hero-content {
    align-items: flex-end;
    transform-origin: center bottom;
  }
  .artist-hero-logo {
    width: 100%;
    max-width: 100%;
    max-height: min(200px, 34vh);
    object-fit: contain;
  }
  .artist-platforms-section {
    padding: clamp(1.75rem, 5vh, 3rem) 1rem 0.75rem;
  }
  .artist-platforms-text {
    width: 100%;
    font-size: 3.5vw;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 1.75rem;
  }
  .artist-platforms {
    width: 100%;
    gap: 0.5rem;
    padding: 0 0.25rem;
    box-sizing: border-box;
  }
  .artist-platform-icon {
    flex: 1;
    min-width: 0;
    max-width: 24%;
    width: auto;
    height: 32px;
    object-fit: contain;
  }
}

/* ----- Seções comuns (parallax escala pelo centro via JS) ----- */
.artist-section {
  padding: 6rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.artist-section-inner {
  will-change: transform;
  transform-origin: center center;
  transition: transform 0.25s ease-out;
}

.artist-section h2 {
  font-family: var(--artist-font-head);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--artist-text);
}

.artist-section .section-sub {
  color: var(--artist-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Discografia */
.artist-discography .disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.disc-card {
  background: var(--artist-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.disc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.disc-card .disc-cover {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a1a24 0%, #252530 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--artist-muted);
}

.disc-card .disc-info {
  padding: 0.75rem;
}

.disc-card .disc-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}

.disc-card .disc-year {
  font-size: 0.8rem;
  color: var(--artist-muted);
}

.show-item {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.show-item:last-child {
  border-bottom: none;
}

.show-date {
  font-weight: 700;
  color: var(--artist-accent);
  min-width: 5rem;
}

.show-place {
  font-weight: 500;
}

.show-city {
  color: var(--artist-muted);
  font-size: 0.9rem;
}

/* Contato */
.artist-contact a {
  color: var(--artist-accent);
  text-decoration: none;
  font-weight: 500;
}

.artist-contact a:hover {
  text-decoration: underline;
}

/* Contratante */
.artist-contratante .btn-artist {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--artist-accent);
  color: #0a0a0f;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.artist-contratante .btn-artist:hover {
  background: var(--artist-accent-hover);
  color: #0a0a0f;
  transform: translateY(-2px);
}

