/* ================= GLOBAL & BODY ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #000;
  color: white;
  padding-bottom: 80px;
}

/* ================= HEADER & MENU (Extraído do HTML) ================= */
.header { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 10000; 
  background: rgba(0,0,0,0.95); 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 15px 25px; 
  border-bottom: 1px solid #111;
}

.logo { 
  font-weight: bold; 
  color: #ff5000; 
  letter-spacing: 2px; 
  font-size: 1.2rem; 
}

.menu { display: flex; align-items: center; gap: 20px; }

.menu a, .menu a:visited { 
  color: #ffffff !important; 
  text-decoration: none; 
  font-size: 14px; 
  text-transform: uppercase; 
  font-weight: 500; 
  transition: 0.3s; 
  opacity: 1 !important;
}

.menu a:hover { color: #ff5000 !important; }

.menu .link-privacidade { color: #666 !important; font-size: 12px; }

/* HAMBÚRGUER */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 11000; padding: 5px; }
.hamburger span { width: 28px; height: 3px; background: #ff5000; border-radius: 2px; transition: 0.4s; }

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('../img/foto.webp') 50% 20% / cover no-repeat;
  filter: brightness(0.55);
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,80,0,0.6), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 { font-size: 2.8rem; }
.hero p { margin: 10px 0 20px; color: #ffffff; }

.btn {
  padding: 14px 30px;
  background: #ff5a00;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

/* ================= SEÇÕES & CONTEÚDO ================= */
.section { padding: 40px 20px; }
.box { display: flex; flex-direction: column; gap: 30px; }

.vitrine-home { padding: 60px 20px; background: #050505; text-align: center; }
.vitrine-home h2 { color: #ff5000; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; }

.grid-musicas { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 20px; 
  max-width: 1000px; 
  margin: 0 auto; 
}

.card-musica { 
  background: #111; 
  border-radius: 10px; 
  padding: 15px; 
  border: 1px solid #222; 
  transition: 0.3s; 
  text-align: center;
}
/* 1. Garante que o card seja a base para o link esticado */
.card-musica { 
  position: relative; 
  transition: 0.3s;
}

/* 2. Cria a camada invisível que cobre o card todo */
.card-musica a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* Faz o link ficar por cima da imagem e do texto */
}

/* 3. Garante que o efeito de hover continue funcionando bonito */
.card-musica:hover {
  border-color: #ff5000;
  transform: translateY(-5px);
}
.card-musica:hover { border-color: #ff5000; transform: translateY(-5px); }
.card-musica img { width: 100%; border-radius: 5px; margin-bottom: 10px; aspect-ratio: 1/1; object-fit: cover; }
.card-musica h3 { font-size: 14px; margin-bottom: 10px; color: #fff; }
.card-musica a { color: #ff5000; text-decoration: none; font-size: 12px; font-weight: bold; text-transform: uppercase; }

.texto-adsense { padding: 40px 20px; color: #888; font-size: 15px; max-width: 850px; margin: 0 auto; line-height: 1.8; text-align: center; }

/* ================= PLAYER ================= */
.music-player {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 10px;
}

.music-player .cover { width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0; }
.music-player .info { flex: 1; }
.music-player .info h3 { margin: 0; font-size: 16px; }
.music-player .info p { margin: 3px 0 10px; font-size: 13px; color: #aaa; }

.play-btn {
  background: none; border: none; color: #ff5000; font-size: 24px; cursor: pointer;
  transition: 0.3s;
}
.play-btn:hover { color: #ffa040; }

.progress-container {
  width: 100%; height: 5px; background: #333; cursor: pointer; border-radius: 5px; margin: 10px 0;
}
.progress { width: 0%; height: 100%; background: #ff5000; border-radius: 5px; }
.time { display: flex; justify-content: space-between; font-size: 10px; color: #aaa; }

/* ================= FOOTER ================= */
.footer { padding: 40px 20px; background: #000; text-align: center; color: #bbbbbb; font-size: 12px; border-top: 1px solid #111; }
.footer-links { margin-top: 15px; }
.footer-links a { color: #ffffff; text-decoration: none; margin: 0 10px; }

/* ================= MENU MOBILE (BOTÃO INFERIOR) ================= */
.bottom-menu {
  position: fixed; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-around;
  padding: 10px 0; background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); border-top: 1px solid #222; z-index: 999;
}
.bottom-menu a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #ffffff !important; font-size: 12px; }
.bottom-menu a div { font-size: 18px; margin-bottom: 3px; }

/* ================= MEDIA QUERIES ================= */
@media (min-width: 901px) {
  .hero h1 { font-size: 4rem; }
  .hero-bg { background: url('../img/foto.webp') 50% 15% / cover no-repeat; }
  .box { flex-direction: row; }
  .left, .right { flex: 1; }
  .menu { display: flex; }
  .bottom-menu, .hamburger { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .menu { 
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; 
    background: #0a0a0a; flex-direction: column; justify-content: center;
    padding: 40px; transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0); 
    border-left: 1px solid #ff5000; box-shadow: -10px 0 30px rgba(0,0,0,0.9);
  }
  .menu.active { right: 0; }
  .menu a { font-size: 20px; margin: 15px 0; width: 100%; text-align: left; border-bottom: 1px solid #1a1a1a; padding-bottom: 10px; }
  .menu .link-privacidade { color: #ff5000 !important; font-size: 16px; border-top: 1px solid #333; padding-top: 20px; margin-top: 20px; }
  
  .bottom-menu { display: flex; }
  body { padding-bottom: 80px; }
  .music-player { flex-direction: row; }
}
/* ================= PÁGINA DE MÚSICAS (VITRINE) ================= */
.topo-vitrine { 
  padding: 25px 20px; 
  background: rgba(0,0,0,0.95); 
  backdrop-filter: blur(10px); 
  text-align: center; 
  border-bottom: 1px solid #222; 
  position: sticky; 
  top: 60px; /* Ajustado para ficar abaixo do header fixo */
  z-index: 900; 
}

.topo-vitrine h2 { letter-spacing: 3px; font-size: 1.1rem; text-transform: uppercase; color: #ff5000; }

.vitrine-container { 
  padding: 30px 15px; 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
  max-width: 1000px; 
  margin: auto; 
}

.capa-placeholder { 
  width: 100%; aspect-ratio: 1/1; border-radius: 12px; 
  background: linear-gradient(135deg, #1a1a1a 0%, #050505 100%); 
  border: 2px dashed #333; display: flex; flex-direction: column; 
  justify-content: center; align-items: center; margin-bottom: 12px; 
}

/* Remove o roxo, azul e sublinhado dos cards que são links */
.vitrine-container a.card-musica {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
}

/* Garante que o H3 dentro do link seja sempre branco */
.vitrine-container a.card-musica h3 {
    color: #ffffff !important;
    text-decoration: none !important;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Garante que o P (Single 2026) seja cinza e sem sublinhado */
.vitrine-container a.card-musica p {
    color: #aaaaaa !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Ajuste para a imagem não herdar nada do link */
.vitrine-container a.card-musica img {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}
.capa-placeholder::before { content: '🎵'; font-size: 40px; opacity: 0.3; margin-bottom: 5px; }
.capa-placeholder::after { content: 'EM BREVE'; font-size: 10px; letter-spacing: 3px; color: #666; font-weight: bold; }

.btn-ouvir { 
  display: inline-block; padding: 8px 18px; background: #ff5000; 
  border-radius: 50px; font-size: 10px; font-weight: bold; 
  text-transform: uppercase; color: #000; text-decoration: none;
}

@media (min-width: 769px) { 
  .vitrine-container { grid-template-columns: repeat(4, 1fr); gap: 30px; } 
}
/* ================= EFEITO DISCO-KARAOKÊ CHAGAS STUDIO ================= */

* {
  box-sizing: border-box;
  }

.pagina-single {
background:
url('https://chagasstudio.com/img/fundo-de-todas-musicas.webp') no-repeat center center fixed !important;
background-size: cover !important;
min-height: 100vh;

display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;

padding: 90px 15px 20px 15px !important;
overflow-x: hidden;
}

/* CONTAINER */
.container-principal {
width: 100%;
max-width: 450px;
text-align: center;

display: flex;
flex-direction: column;
gap: 12px;

justify-content: center;
}

/* TÍTULO */
.container-principal h1 {
font-size: 1.4rem;
color: #fff;
margin: 5px 0;
text-transform: uppercase;
text-shadow: 2px 2px 10px #000;
}

/* ================= ÁREA DO EFEITO ================= */

.area-efeito {
position: relative;
width: 100%;
height: 200px;
overflow: hidden;

background: rgba(0,0,0,0.4);
border-radius: 15px;
border: 1px solid rgba(255,255,255,0.1);
}

/* VINIL (CORRIGIDO) */
.vinil-box {
position: absolute;
top: 50%;
left: 50%;

width: 130px;
height: 130px;

z-index: 1;

border-radius: 50%;
background: radial-gradient(circle, #333 0%, #000 75%);
border: 2px solid #222;
box-shadow: 0 0 20px rgba(0,0,0,0.8);

animation: girarVinil 8s linear infinite;
opacity: 0.6;
}

.vinil-selo {
position: absolute;
top: 30%;
left: 30%;
width: 40%;
height: 40%;
border-radius: 50%;
background-size: cover;
background-position: center;
}

/* ================= LETRA ================= */

.letra-subindo {
position: absolute;
width: 100%;
left: 0;

transform: translateY(100%);
animation: subirLetraLoop 120s linear infinite;
animation-delay: 5s;

text-align: center;
z-index: 2;
pointer-events: none;
}

.letra-subindo p {
color: #fff;
font-size: 1rem;
font-weight: bold;
margin: 10px 0;
text-shadow: 2px 2px 5px #000;
}

/* ================= PLAYER ================= */

audio.player-single {
width: 100%;
margin: 10px 0;
height: 40px;
}

/* ================= BOTÕES ================= */

.links-streaming {
display: flex;
gap: 8px;
width: 100%;
}

.btn-link {
flex: 1;
height: 40px;
border-radius: 8px;
color: #fff;
font-weight: bold;
font-size: 11px;

display: flex;
align-items: center;
justify-content: center;

text-decoration: none;
text-transform: uppercase;
}

/* CORES COM CONTRASTE APROVADO PELO GOOGLE */
.sp { background: #1db954; color: #000 !important; } /* Texto PRETO no verde */
.yt { background: #e60000; color: #fff !important; } /* Texto BRANCO no vermelho */
.tk { background: linear-gradient(45deg, #ff0050, #00f2ea); color: #fff !important; }
/* Cor oficial Chagas Studio para o Link Geral */
.sv { background: #ff8c00; color: #000 !important; }

/* ================= ANIMAÇÕES ================= */

/* 🔥 CORREÇÃO DO VINIL CENTRALIZADO */
@keyframes girarVinil {
from {
transform: translate(-50%, -50%) rotate(0deg);
}
to {
transform: translate(-50%, -50%) rotate(360deg);
}
}

@keyframes subirLetraLoop {
0% { transform: translateY(100%); }
100% { transform: translateY(-120%); }
}

/* ================= DESKTOP ================= */

@media (min-width: 992px) {

.container-principal {
max-width: 550px;
gap: 15px;
}

.container-principal h1 {
font-size: 1.8rem;
margin-bottom: 10px;
}

.area-efeito {
height: 260px;
border-radius: 20px;
}

.vinil-box {
width: 180px;
height: 180px;
opacity: 0.5;
}

.letra-subindo p {
font-size: 1.2rem;
margin: 12px 0;
}

.links-streaming {
max-width: 100%;
margin: 0;
}

.btn-link {
height: 42px;
font-size: 12px;
border-radius: 8px;
}
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {

.container-principal h1 {
font-size: 1.2rem;
margin-bottom: 8px;
}

.area-efeito {
height: 170px;
}

.links-streaming {
flex-wrap: wrap;
}

.btn-link {
flex: 1 1 48%;
height: 40px;
font-size: 11px;
}

.btn-link.tk {
flex: 1 1 100%;
}
}

/* ================= PÁGINA DE CONTATO ================= */
body.corpo-contato {
    background-color: #0b0b0b !important;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contact-container { 
    flex: 1; 
    padding: 60px 20px; /* Aumentei o padding para o título não bater no menu */
    max-width: 500px; 
    margin: 0 auto; 
    text-align: center; 
}

.contact-container h1 { 
    color: #ff4500 !important; 
    margin-bottom: 15px; 
    font-size: 2rem;
    text-transform: uppercase;
}

.contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-top: 25px; 
}

.contact-form input, 
.contact-form textarea { 
    width: 100%; 
    padding: 15px; 
    background: #1a1a1a !important; 
    border: 1px solid #333 !important; 
    color: #fff !important; 
    border-radius: 8px; 
}

.btn-enviar-chagas { 
    background: #ff4500 !important; 
    color: #fff !important; 
    border: none; 
    padding: 18px; 
    font-weight: bold; 
    border-radius: 8px; 
    cursor: pointer;
    transition: 0.3s;
}

.btn-enviar-chagas:hover {
    background: #e63e00 !important;
    transform: scale(1.02);
}
/* ================= PÁGINA DE PRIVACIDADE ================= */
.privacy-body {
    background: #050505 !important;
    color: #ccc !important;
}

.privacy-container { 
    max-width: 800px; 
    margin: 40px auto; 
    padding: 30px; 
    background: #0a0a0a; 
    border-radius: 15px; 
    border: 1px solid #222; 
}

.privacy-container h1 { 
    color: #ff5000 !important; 
    margin-bottom: 30px; 
    font-size: 1.8rem; 
    text-transform: uppercase; 
    border-bottom: 2px solid #222; 
    padding-bottom: 10px; 
}

.privacy-container h2 { 
    color: #fff !important; 
    margin-top: 25px; 
    margin-bottom: 15px; 
    font-size: 1.2rem; 
}

.privacy-container p { 
    margin-bottom: 15px; 
    font-size: 1rem; 
    text-align: justify; 
    line-height: 1.8;
}

.privacy-container ul { 
    margin-left: 25px; 
    margin-bottom: 20px; 
    color: #aaa;
}

.privacy-container li { margin-bottom: 8px; }

.btn-voltar {
    display: inline-block;
    margin-top: 30px;
    color: #ff5000;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-voltar:hover { opacity: 0.7; }

/* ================= PÁGINA SOBRE (VERSÃO ANTI-ESTOURO) ================= */
.pagina-sobre {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.95)),
                url('https://chagasstudio.com/img/bg-sobre.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100vh;
    padding-top: 80px; /* Espaço para o menu não cobrir o h1 */
}

.container-sobre { 
    max-width: 850px; 
    margin: 0 auto; 
    padding: 20px; 
    width: 100%;
}

/* O SEGREDO PARA O TÍTULO NÃO ESTOURAR */
.header-sobre h1 { 
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important; /* Ajusta o tamanho conforme a tela */
    color: #ff5000 !important; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 10px;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center;
}

.card-sobre {
    background: rgba(15, 15, 15, 0.9) !important;
    border-left: 4px solid #ff5000 !important;
    padding: clamp(15px, 5vw, 30px) !important; /* Padding diminui no celular */
    border-radius: 0 15px 15px 0;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-sobre h2 { 
    color: #ff5000 !important; 
    font-size: clamp(1.1rem, 5vw, 1.3rem) !important; 
    margin-bottom: 15px; 
    text-transform: uppercase;
}

.card-sobre p { 
    color: #ddd !important; 
    font-size: 1.05rem !important; 
    text-align: justify; 
    line-height: 1.6;
}

.destaque-laranja { color: #ff5000 !important; font-weight: bold; }

/* Ajuste fino para celulares bem pequenos */
@media (max-width: 400px) {
    .header-sobre p { font-size: 0.7rem !important; letter-spacing: 1px; }
}

/* ================= PÁGINA DE TERMOS DE USO ================= */
.terms-container { 
    max-width: 800px; 
    margin: 40px auto; 
    padding: 30px; 
    background: #0a0a0a; 
    border-radius: 15px; 
    border: 1px solid #222; 
}

.terms-container h1 { 
    color: #ff5000 !important; 
    margin-bottom: 30px; 
    font-size: 1.8rem; 
    text-transform: uppercase; 
    border-bottom: 2px solid #222; 
    padding-bottom: 10px; 
}

.terms-container h2 { 
    color: #fff !important; 
    margin-top: 25px; 
    margin-bottom: 15px; 
    font-size: 1.2rem; 
}

.terms-container p { 
    margin-bottom: 15px; 
    font-size: 1rem; 
    text-align: justify; 
    line-height: 1.8;
    color: #ccc;
}

.terms-container ul { 
    margin-left: 25px; 
    margin-bottom: 20px; 
    color: #aaa;
}

.terms-container li { margin-bottom: 8px; }

/* Reutilizando o botão de voltar */
.btn-voltar-termos { 
    display: inline-block; 
    margin-top: 30px; 
    color: #ff5000; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 0.9rem; 
    transition: 0.3s;
}

.btn-voltar-termos:hover { opacity: 0.7; }

/* ================= FORM NEWS (CORREÇÃO) ================= */

.form-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.form-news input {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 8px;
  outline: none;
}

.form-news input::placeholder {
  color: #777;
}

.form-news button {
  padding: 12px;
  background: #ff5000;
  border: none;
  color: #00000;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.form-news button:hover {
  background: #ff6a1a;
}
/* ============================================================
   MENU DE NAVEGAÇÃO POR GÊNERO (PILLS) - CHAGAS STUDIO
   ============================================================ */

/* Container que segura o menu e permite que ele fique fixo no topo */
.categorias-filtro {
    width: 100%;
    padding: 10px 0;
    background: #000;
    position: sticky;
    top: 60px; /* Alinhado com a margem do seu header */
    z-index: 100;
}

/* Área interna que centraliza no desktop e permite scroll no mobile */
.pills-container {
    display: flex;
    justify-content: center; /* CENTRALIZA OS BOTÕES */
    gap: 10px;
    padding: 10px 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Esconde a barra de scroll no Firefox */
}

/* Esconde a barra de scroll visual no Chrome e Safari */
.pills-container::-webkit-scrollbar {
    display: none; 
}

/* Estilo individual de cada botão (Pill) */
.pill {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 25px;
    background: #333;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #444;
    transition: 0.3s;
}

/* Estado ativo ou hover - Laranja padrão CHAGAS */
.pill.active, .pill:hover {
    background: #ff4500; 
    border-color: #ff4500;
    color: #fff;
}

/* Ajuste para telas pequenas: garante que o scroll comece do início */
@media (max-width: 768px) {
    .pills-container {
        justify-content: flex-start;
    }
}