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

/* POPUP OVERLAY */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  animation: popupFade 0.6s ease forwards;
}

.popup-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.7);
}

.popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--dourado);
  color: var(--preto);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  width: 35px;
  height: 35px;
  font-weight: bold;
  transition: background 0.3s;
}

.popup-close:hover {
  background: var(--bege);
}

/* ANIMAÇÃO */
@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}



/* PALETA */
:root {
  --dourado: #d4af37;
  --preto: #0d0d0d;
  --branco: #f2f2f2;
  --bege: #e6d5b8;
  --azul-escuro: #1b1f3b;
  --vermelho: #c2202b; /* nova cor adicionada */
}

/* Exemplo de aplicação nos botões */
.btn-destaque {
  background-color: var(--vermelho);
  color: var(--branco);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-destaque:hover {
  background-color: #a51c26; /* tom mais escuro para hover */
}

/* Estilo base (mobile first) */
.logo {
  width: 120px;   /* Tamanho do logo no mobile */
  height: auto;
}

/* Para telas maiores (ex: tablets e desktops) */
@media (min-width: 768px) {
  .logo {
    width: 180px;  /* Tamanho do logo em telas maiores */
  }
}

    /* Estilo base (mobile first) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white; /* ou outro fundo sólido */
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.logo {
  width: 120px;
  height: auto;
}

.hamburger {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 26px;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--branco);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ANIMAÇÃO PARA X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* Animação suave do menu quando expandido */
@media (max-width: 768px) {
  .navbar .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: all 0.4s ease;
    border-radius: 0 0 0 12px;
  }

  .navbar .menu.show {
    transform: translateX(0%);
    opacity: 1;
    pointer-events: auto;
    box-shadow: -2px 6px 20px rgba(0, 0, 0, 0.4);
  }

  .navbar .menu a {
    padding: 12px 0;
    color: var(--branco);
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .navbar .menu a:hover {
    color: var(--dourado);
  }
}


/* ======================= */
/* NAVBAR FIXA - DESKTOP */
/* ======================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  width: 100%;
  z-index: 1000;
  position: static;
  background: transparent;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8); /* fundo da barra */
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }
}


/* Desativa o comportamento fixo no desktop */
@media (min-width: 768px) {
  .header {
    position: static;
    box-shadow: none;
  }

  .logo {
    width: 180px;
  }

  .hamburger {
    display: none; /* esconde o botão se for só para mobile */
  }
}


/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--preto);
  color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}



/* ANIMAÇÕES */
.fade-section { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.fade-section.show { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeIn 1.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: translateY(0);} }

/* HERO COM CARROSSEL */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.carousel {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slide.active { opacity: 1; }

/* HERO LOGO */
.logo-hero img {
  max-width: 300px;
  height: auto;
  animation: fadeInLogo 1.8s ease forwards;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SLOGAN */
.slogan {
  font-size: 1.2rem;
  margin-top: 10px;
  color: var(--bege);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
  .logo-hero img {
    max-width: 180px;
  }

  .slogan {
    font-size: 1rem;
  }
}


/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: relative;
  z-index: 2;
}

.navbar .menu { list-style: none; display: flex; gap: 20px; }
.navbar .menu a {
  color: var(--branco); text-decoration: none; font-weight: 500;
  transition: color 0.3s;
}
.navbar .menu a:hover { color: var(--dourado); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px; height: 3px;
  background: var(--branco);
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO CONTENT */
.hero-content {
  text-align: center;
  margin: auto;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--dourado);
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: var(--bege);
}

/* SEÇÕES */
section { padding: 80px 20px; position: relative; }
.container { max-width: 1200px; margin: auto; }
h2 { font-size: 2rem; color: var(--dourado); text-align: center; margin-bottom: 30px; }

/* EM DESTAQUE */
.em-destaque {
  background: url('../assets/bg-descendente.jpg') center/cover no-repeat fixed;
  color: var(--branco);
  position: relative;
}

.em-destaque .overlay {
  background: rgba(0,0,0,0.65);
  padding: 100px 20px;
  text-align: center;
}

.titulo-musical {
  font-size: 2.5rem;
  color: var(--dourado);
  margin: 15px 0;
}

.data-evento {
  font-size: 1.2rem;
  color: var(--bege);
  margin-bottom: 30px;
}

.contador {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contador .box {
  background: var(--azul-escuro);
  padding: 20px 25px;
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
}

.contador .box span {
  display: block;
  font-size: 2rem;
  color: var(--dourado);
}

.contador .box small {
  color: var(--bege);
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--azul-escuro);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover { transform: scale(1.05); }
.card-img {
  background: var(--bege);
  height: 180px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* CONTATO */
.contato p { text-align: center; margin: 5px 0; }

/* CAPA MUSICAL */
.capa-musical {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
}

.capa-musical img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  transition: transform 0.4s ease;
}

.capa-musical img:hover {
  transform: scale(1.02);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
  .capa-musical {
    max-width: 90%;
  }
}


/* RODAPÉ */
.footer {
  background: var(--azul-escuro);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--bege);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .navbar { padding: 15px 20px; }
  .navbar .menu {
    position: absolute;
    top: 70px; right: 0;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
  }
  .navbar .menu.show { display: flex; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
}

/* BOTÃO CTA PADRÃO */
.btn-destaque {
  background: linear-gradient(135deg, var(--vermelho), #8b1a1f);
  color: var(--branco);
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-decoration: none; /* Remove sublinhado */
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: pulse 2.5s infinite;
}

.btn-destaque:hover {
  background: var(--dourado);
  color: var(--preto);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}
.cta-ingresso {
  background-color: var(--preto);
  padding: 60px 20px;
  text-align: center;
}

.cta-ingresso .btn-destaque {
  margin-top: 20px;
}

/* SOBRE NÓS */
.sobre-nos {
  padding: 80px 20px;
  background-color: var(--creme);
}

.container-sobre {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.sobre-img {
  flex: 1 1 40%;
  min-width: 280px;
}

.sobre-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sobre-texto {
  flex: 1 1 50%;
  min-width: 280px;
  color: var(--bege);
}

.sobre-texto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dourado);
}

.sobre-texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
  .container-sobre {
    flex-direction: column;
    text-align: center;
  }

  .sobre-texto h2 {
    font-size: 1.8rem;
  }
}


/* ===================== */
/* ESTILOS: OUTROS MUSICAIS (DESTAQUES) */
/* ===================== */

.destaques {
  padding: 80px 20px;
  background-color: var(--preto);
}

.destaques .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.destaques .card {
  background: var(--azul-escuro);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 16px;
  color: var(--branco);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.destaques .card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.destaques .card-img {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.destaques .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 8px;
}

.destaques .card:hover .card-img img {
  transform: scale(1.05);
}

.destaques h3 {
  font-size: 1.4rem;
  color: var(--dourado);
  margin-bottom: 8px;
}

.destaques p {
  font-size: 1rem;
  color: var(--bege);
}

/* Responsivo: destaque para mobile */
@media (max-width: 768px) {
  .destaques .cards {
    grid-template-columns: 1fr;
  }

  .destaques .card {
    padding: 20px 12px;
  }

  .destaques h3 {
    font-size: 1.2rem;
  }

  .destaques p {
    font-size: 0.95rem;
  }
}


/* FAIXA FINAL COM ANIMAÇÃO E EFEITO */
.faixa-final {
  background-color: var(--preto);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 4px solid transparent;
  animation: bordaDourada 2s ease forwards;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.faixa-final.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bordaDourada {
  to {
    border-top: 4px solid var(--dourado);
  }
}

.faixa-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* LOGO */
.logo-vertical img {
  height: 180px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  animation: fadeUp 1.2s ease forwards;
}

/* REDES */
.redes-sociais {
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: center;
  align-items: center;
}

.redes-sociais a img {
  width: 32px;
  height: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.redes-sociais a:hover img {
  transform: scale(1.2);
  filter: brightness(1) invert(0.9) sepia(1) hue-rotate(-10deg) saturate(200%);
}

.redes-sociais a:nth-child(1) img { animation-delay: 0.2s; }
.redes-sociais a:nth-child(2) img { animation-delay: 0.4s; }
.redes-sociais a:nth-child(3) img { animation-delay: 0.6s; }
.redes-sociais a:nth-child(4) img { animation-delay: 0.8s; }


.redes-sociais a:hover img {
  transform: scale(1.2);
  filter: brightness(1) invert(0.9) sepia(1) hue-rotate(-10deg) saturate(200%);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .faixa-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .redes-sociais {
    flex-direction: row;
    gap: 25px;
  }

  .redes-sociais a img {
    transform: translateY(20px);
  }

  .redes-sociais a:hover img {
    transform: scale(1.2);
  }
}

/* ANIMAÇÕES */
@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* CONTATO COM ÍCONES E ANIMAÇÃO */
.contato-itens {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--bege);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.contato-item:nth-child(1) {
  animation-delay: 0.2s;
}
.contato-item:nth-child(2) {
  animation-delay: 0.4s;
}

.contato-item .icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.contato-item a {
  color: var(--branco);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contato-item a:hover {
  color: var(--dourado);
}

.contato-item:hover .icon {
  transform: scale(1.2);
}

/* Responsivo */
@media (max-width: 768px) {
  .contato-itens {
    text-align: center;
    gap: 20px;
  }

  .contato-item {
    justify-content: center;
  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
