/* Estilos para o corpo da página */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5e4d4;
    width: 100vw;
    overflow-x: hidden; 
}



/* Estilos para o contêiner do WhatsApp */


/* Posicionamento fixo no canto inferior direito */
#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/733/733585.png');
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 9999; /* para garantir que fique na frente de outros elementos */
  }
  
  /* Classe que controla o “tremor” via animação de keyframes */
  .shake {
    animation: shake-animation 0.5s ease-in-out;
  }
  
  /* Keyframes para o efeito de tremor */
  @keyframes shake-animation {
    0%, 100%   { transform: translateX(0); }
    20%, 60%   { transform: translateX(-5px); }
    40%, 80%   { transform: translateX(5px); }
  }


/* Menu no topo */
.top-menu {
    background-color: #ac4718; /* Cor de fundo do menu */
    padding: 9px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

/* Lista do menu com flexbox para centralizar e alinhar */
.top-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Ajustado para flex para centralizar e espaçar os itens */
    justify-content: center;
    align-items: center;
    gap: 8px; /* Espaçamento entre os itens do menu */
}

.top-menu ul li {
    display: inline;
}

/* Links do menu */
.top-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 10px;
}

/* Cor e hover dos ícones */
.top-menu .iconify {
    color: white;
    vertical-align: middle;
}

/* Estilo de hover para os links */
.top-menu ul li a:hover {
    background-color: #e8c74384;
    border-radius: 5px;
}

/* Compensar o espaço do menu fixo */
body {
    margin-top: 40px; /* Compensa o menu fixo no topo */
}

/* Player de áudio */
.player-section {
    text-align: center;
    padding: 20px;
    background-color: #f7f7ec;
    margin-bottom: 5px;
}

.player-section h2 {
    margin-bottom: 10px;
    color: #333;
}

.player-section audio {
    width: 100%;
    max-width: 300px;
}




/* Estilo para a imagem de banner */
.banner {
    position: relative;
    width: 100%;
}

.banner img {
    width: 100%;
    height: auto;
}

/* Linha entre os banners */
hr {
    border: 0;
    height: 10px;
    background-color: #e6d3b3;
    margin: 6;
}

/* Seção "Sobre" */
.sobre {
    position: relative;
    width: 100%;
}

.sobre img {
    width: 100%;
    height: auto;
}

/* Footer e ícones sociais */
footer {
    text-align: center;
    background-color: #f9d59d;
    color: rgb(82, 8, 8);
    padding: 20px 0;
}

footer .socials {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

footer .socials a {
    margin: 0 10px;
    color: rgb(77, 0, 0);
    text-decoration: none;
}

footer .socials img {
    width: 30px;
}

/* Rolagem suave */
html {
    scroll-behavior: smooth; /* Rolagem suave ao clicar nos links */
}

.banner {
    position: relative; /* Define o banner como referência para o posicionamento dos botões */
    width: 100%; /* Ajusta para 100% da largura do contêiner pai */
}

.banner img {
    width: 100%;
    height: auto;
}

.cta-btn {
    position: absolute; /* Faz o botão invisível ficar posicionado sobre a imagem */
    background-color: rgba(239, 21, 21, 0); /* Botão invisível */
    /* background-color: rgb(0, 0, 0); Botão visível */
    border: none;
    cursor: pointer;
}

/* Estilo de hover opcional para dar um feedback visual */
.cta-btn:hover {
    background-color: rgba(88, 10, 10, 0.2); /* Transparência visível ao passar o mouse */
}

/* Estilo de posicionamento para cada botão */
.ensaio-geral {
    top: 65%;
    left: 40%;
    width: 20%;
    height: 10%;
}

.show-ao-vivo {
    top: 55%;
    left: 65%;
    width: 20%;
    height: 10%;
}

.remix-autoral {
    top: 55%;
    left: 15%;
    width: 20%;
    height: 10%;
}

.show-participacao {
    top: 82%;
    left: 65%;
    width: 20%;
    height: 10%;
}

.video-clipe {
    top: 82%;
    left: 15%;
    width: 20%;
    height: 10%;
}

/* Ajuste dos botões para dispositivos móveis */
@media (max-width: 768px) {
    .ensaio-geral {
        top: 55%;
        left: 12%;
        width: 35%;
        height: 10%;
    }
    
    .show-ao-vivo {
        top: 65%;
        left: 60%;
        width: 30%;
        height: 10%;
    }
    
    .remix-autoral {
        top: 25%;
        left: 11%;
        width: 30%;
        height: 10%;
    }
    
    .show-participacao {
        top: 90%;
        left: 35%;
        width: 35%;
        height: 10%;
    }
    
    .video-clipe {
        top: 37%;
        left: 55%;
        width: 30%;
        height: 10%;
    }
}

@media (max-width: 768px) {
    html, body {
        height: 100%;
        overflow-x: hidden;
    }

    /* Remove margens desnecessárias em telas menores 
    .player-section, .banner, .sobre, footer {
        margin-bottom: 0;
        padding-bottom: 10;
    } */

}

/* Estilos para telas menores que 768px */
@media (max-width: 768px) {
    .player-section {
        padding: 15px; /* Ajuste o padding para telas menores */
        background-color: #f7f7ec; /* Opção para mudar a cor de fundo no mobile */
    }

    .player-section h2 {
        font-size: 15px; /* Reduz o tamanho da fonte do título */
    }

    .player-section audio {
        width: 80%; /* Ocupa 90% da largura para melhor encaixe no mobile */
    }

    /* Controles personalizados */
    .custom-controls {
        flex-direction: column; /* Coloca os controles em uma coluna no mobile */
        align-items: center;
    }

    .btn-play,
    #seek-bar,
    #volumeBar {
        width: 50%; /* Ajusta os botões e sliders para ocupar toda a largura */
        max-width: 100px; /* Limita a largura máxima */
        margin-bottom: 10px; /* Espaço entre os elementos */
    }

     /* Remover o rótulo "Volume" e o controle deslizante de volume no celular */
     label[for="volumeBar"],
     #volumeBar {
         display: none; /* Esconde o rótulo "Volume" e o fader */
     }
}

/* Ajuste de posição para dispositivos móveis */
@media (max-width: 768px) {
    .whatsapp-contact {
        top: 115px; /* Ajuste a posição vertical */
        right: 310px; /* Ajuste a posição horizontal */
        display: flex;
        align-items: center;
        gap: 8px; /* Espaço entre o ícone e o número */
    }

   
}

/* Imagem para Desktop 
.banner-mobile {
    display: none; /* Oculta a imagem mobile por padrão 
}
    */

.banner-mobile {
    display: none;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    height: auto;
    border: none;
    box-sizing: border-box;
    image-rendering: optimizeQuality;
    background: #f5e4d4; /* MESMA cor do body/background */
}
@media (max-width: 768px) {
    .banner-desktop {
        display: none;
    }
    .banner-mobile {
        display: block;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        height: auto;
        border: none;
        box-sizing: border-box;
        image-rendering: optimizeQuality;
        background: #f5e4d4; /* MESMA cor do body/background */
    }
}

@media (max-width: 768px) {
  .banner-mobile {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
  }
}

/* Adiciona espaçamento superior na seção do player em telas pequenas */
@media (max-width: 768px) {
    .player-section {
        padding-top: 30px; /* Ajuste conforme a altura do menu */
    }
}


.pf__portfolio__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: 550px; /* Adjust this value to control the video's height */
    padding-bottom: 0; /* Remove the default responsive aspect ratio */
    margin: 0 auto;
  }
  @media (max-width: 1024px) {
    .pf__portfolio__video {
      justify-content: center;
      width: 100%;
      height: 200px
    }
  }
  
  
  .pf__portfolio__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }





  /* PLAYER MODERNO */
.player-section {
  text-align: center;
  padding: 32px 18px 28px 18px;
  background: #f7f7ec;
  margin-bottom: 10px;
  border-radius: 1.4rem;
  box-shadow: 0 6px 22px 0 rgba(100,80,40,0.11);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.player-section h2 {
  margin-bottom: 18px;
  color: #392100;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.audio-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.custom-controls {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-play {
  background: #ac4718;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  transition: background 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 12px #ad67211a;
}
.btn-play:hover {
  background: #c08038;
}

/* Barra de progresso */
#seek-bar {
  flex: 1;
  min-width: 85px;
  max-width: 160px;
  accent-color: #ac4718;
  margin: 0 4px;
  height: 4px;
  border-radius: 10px;
}

/* Tempo */
#current-time, #duration {
  font-size: 0.99rem;
  color: #653600;
  min-width: 36px;
  text-align: right;
  opacity: 0.9;
}

/* Volume */
#volumeBar {
  width: 65px;
  accent-color: #c09055;
  margin-left: 10px;
  margin-right: 0;
  vertical-align: middle;
}

label[for="volumeBar"] {
  font-size: 0.95rem;
  color: #997531;
  margin-right: 3px;
  vertical-align: middle;
}

/* Esconde o player nativo */
.player-section audio {
  width: 100%;
  max-width: 360px;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
  position: absolute;
  left: -9999px;
}

/* Mobile First */
@media (max-width: 768px) {
  .player-section {
    padding: 18px 6px 20px 6px;
    border-radius: 1rem;
    max-width: 99vw;
  }
  .player-section h2 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
}




/* DESKTOP */
#home {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 720px;         /* Ajuste esta linha para controlar a altura do banner */
    overflow: hidden;
    margin: 0 auto;
    background: #000;
}

#home .banner-video {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

#home .video-overlay {
    position: absolute;
    top: 6.7%;                    /* Agora é proporcional! Ajuste conforme visual desejado (ex: 5%, 8%...) */
    left: 0;
    width: 50vw;
    height: 94%;                /* Para ocupar até o final do banner (100% - top%) */
    z-index: 2;
    overflow: hidden;
}

#home .video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transform: none;
}

/* Telas MUITO GRANDES — banner maior! */
@media (min-width: 1400px) {
    #home {
        height: 900px; /* Banner mais alto em telas ultrawide */
    }
}
@media (min-width: 1800px) {
    #home {
        height: 1080px; /* Banner ainda maior em telas de cinema */
    }
}

/* MOBILE */
@media (max-width: 800px) {
    #home {
        position: relative;
        width: 100vw;
        max-width: 100vw;
        min-height: 300px;
        height: auto !important;
        overflow: hidden;
        margin: 0 auto;
        background: #000;
    }
    #home .banner-video {
        display: none !important;
    }
    #home .banner-video-mobile {
        display: block !important;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        height: auto;
        position: relative;
        z-index: 1;
        object-fit: cover;
        margin: 0; padding: 0;
    }
    #home .video-overlay {
        position: absolute;
        left: 0;
        top: 67%;
        width: 100vw;
        height: 50%;
        min-height: 120px;
        z-index: 2;
        pointer-events: none;
        overflow: hidden;
        background: transparent;
    }
    #home .video-overlay video {
        width: 100vw;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 1;
        transform: none;
    }
}
