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

:root {
  --cor-destaque: #edb721;
  --cor-fundo1: #292929;
  --cor-fundo2: #141414;
  --cor-texto: #bdbdbd;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  font-family: "Calibri" bold;
  overflow-x: hidden;
}

header {
  border-bottom: 1px solid #1f29373a;
  height: 4rem;
  width: 100%;
  position: fixed;
  background-color: var(--cor-fundo2);
  font-family: "Roboto" bold;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

body {
  overflow-x: hidden;
}

header {
  border-bottom: 1px solid #1f29373a;
  height: 4rem;
  width: 100%;
  position: fixed;
  background-color: var(--cor-fundo2);
  font-family: "Roboto" bold;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

body {
  overflow-x: hidden;
}

nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
}

li {
  display: inline-block;
  list-style: none;
  padding: 10px;
  z-index: 10000;
}

#cr {
  border-radius: 6px;
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
}

#contabilidade {
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 10pt;
}

#parteDireita {
  color: white;
  font-size: 12pt;
  cursor: normal;
  z-index: 10000;
}

#parteDireita:hover {
  color: var(--cor-destaque);
}

#orcamento {
  color: white;
  border-radius: 20px;
  padding: 8px;
  font-size: 12pt;
  cursor: pointer;
  z-index: 10000;
}

#orcamento:hover {
  background-color: #50423a;
  z-index: 10000;
}

.divSuprema {
  max-width: 1200px;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.direita {
  display: flex;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
}


@media (max-width: 768px) {
  .direita {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--cor-fundo2);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .direita.active {
    display: flex;
  }

  .direita a {
    padding: 0.8rem;
    border-bottom: 1px solid #333;
  }

  .direita a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: block;
  }

  .divSuprema {
    width: 100%;
    justify-content: space-between;
  }
}

ul {
  width: 100%;
  display: inline-block;
}

.esquerda{
  display: grid;
  grid-template-areas: 
  "cd vinyl"
  "cd classico";
  gap: 5px;
  margin-top: 10px;
}

.imgCD {
  grid-area: cd;
  max-width: 40px;
  width: 100%;
  color: white;
  background-color: white;
  border-radius: 50%;
}

#cr {
  grid-area: vinyl;
  border-radius: 6px;
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
}

#contabilidade {
  grid-area: classico;
  color: white;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 10pt;
}



body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-family: "Calibri" bold;
  overflow-x: hidden;

}

.imagemHome {
  height: 30rem;
  opacity: 0.7;
}

.containerHome {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(20, 20, 20, 0.5) 50%,
      rgba(20, 20, 20, 1) 100%
    ),
    url(assets/background.png);
    background-size: 1100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem 1rem;
  text-align: center;
  height: 45rem;
}

.tituloHome h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.tituloHome p {
  font-size: 18pt;
  width: 100%;
  text-align: center;
  margin-bottom: 5rem;
  
}

.tituloHome {
  color: white;
  max-width: 40rem;
  width: 100%;
  text-align: center;
}

.tituloHome a {
  text-decoration: none;
  color: white;
  background-color: #edb721;
  width: fit-content;
  padding: 20px;
  color: black;
    font-size: 14pt;
    border-radius: 5px;
    cursor: pointer;
}

.tituloHome2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 2rem 3rem 2rem;
}

.tituloHome2 a {
  color: orange;
}

.discosDestaques {
  background-color: var(--cor-fundo1);
  margin: auto;
}

.containerHome2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.centralizarDestaque {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.centralizarNovidades {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  justify-content: center;
  flex-wrap: wrap;  
  gap: 2rem;
  margin: 0 2rem;
  padding: 1rem 0;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.card {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 1.2);
  background-color: var(--cor-fundo2);
  display: flex;
  flex-direction: column;
  }


.card:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}

/* Parte da imagem */
.card-image {
  height: 250px; /* controla até onde a imagem vai */
  background-size: cover;
  background-position: center;
}

.card-image-span {
  display: flex;
  justify-content: end;
}

.card-image span {
  margin-right: 0.5rem;
  color: white;
  background-color: var(--cor-fundo2);
  padding: 4px 8px;
  margin-top: 5px;
}

/* Parte branca */
.card-info {
  padding: 12px;
  background-color: var(--cor-fundo2);
  color: var(--cor-texto);
  text-align: left;
  padding: 20px;

}

.card-info h3 {
  margin: 0;
  font-size: 16px;
  color: var(--cor-texto);
}

.card-info p {
  margin: 4px 0;
  font-size: 14px;
}

.card-info a{
  color: white;
  background-color: var(--cor-destaque);
  padding: 20px;
}

.explorarPorGeneros {
  background-color: var(--cor-fundo1);
  margin: auto;
}

.generoExplorar{
  display: flex;
  align-items: center;
  margin: auto;
  max-width: 70rem;
  width: 100%;
}

.generos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.rockClassico {
  max-width: 15rem;
  width: 100%;
  height: 9rem;
  text-align: center;
  border: 1px solid black;
  background-color: var(--cor-fundo2);
  color: white;
}
.rockClassico:hover i,
.rockClassico:hover p{
  color: var(--cor-destaque);
}

.rockClassico i {
  margin-top: 3rem;
}

.metal {
  max-width: 15rem;
  width: 100%;
  height: 9rem;
  text-align: center;
  border: 1px solid black;
  background-color: var(--cor-fundo2);
  color: white;

}

.metal:hover i,
.metal:hover p{
  color: var(--cor-destaque);
}

.metal i {
  margin-top: 3rem;
}

.heavyMetal {
  max-width: 15rem;
  width: 100%;
  height: 9rem;
  text-align: center;
  border: 1px solid black;
  background-color: var(--cor-fundo2);
  color: white;
}

.heavyMetal:hover i,
.heavyMetal:hover p{
  color: var(--cor-destaque);
}

.heavyMetal i {
  margin-top: 3rem;
}

.discosNovidades {
  background-color: var(--cor-fundo1);
}

#solicitar {
  width: 100%;
  height: 35rem;
  background-color: var(--cor-fundo2);
}

.centralizar {
  gap: 50px;
  text-align: center;
  color: white;
}

.centralizar h1,
.centralizar p {
  margin-bottom: 20px;
}

.centralizar a {
  background-color: var(--cor-destaque);
  padding: 14px;
  margin-top: 5px;
  color: black;
    font-size: 14pt;
    border-radius: 5px;
    cursor: pointer;
}

.centralizar2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid #1f2937;
}

.esquerda2 {
  padding: 30px;
  width: 390px;
}

#cr2 {
  border-radius: 6px;
  padding: 3px;
  width: fit-content;
  height: fit-content;
  color: white;
  background-color: var(--cor-destaque);
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
}

#contabilidade2 {
  color: #1f2937;
  cursor: auto;
  font-style: bold;
  z-index: 10000;
  font-size: 18pt;
  margin-bottom: 10px;
  color: white;
}

.esquerda2 p {
  color: white;
}

.linksRapidos {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 30px;
  margin-top: 93px;
}

.linksRapidos a {
  color: white;
  display: flex;
  margin-bottom: 10px;
}

.contatos {
  margin-top: 110px;
  color: white;
  font-size: 10pt;
}

.redesSociais {
  display: inline-block;
  justify-content: center;
  align-items: center;
  height: auto;
  margin-top: 5px;
}

.redesSociais i {
  margin-bottom: 20px;
  color: #6b7280;
  background-color: #1f2937;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: inline;
  justify-content: center;
  align-items: center;
}

.redesSociais p {
  color: white;
}

.direitosReservados {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6b7280;
  margin-top: 30px;
  margin-bottom: 15px;
}
.direitosReservados2 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6b7280;
}

#telephone2 {
  margin-top: 20px;
  color: var(--cor-destaque);
  background-color: rgba(124, 45, 55, 0.1);
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -10px;
  z-index: 1000;
}


.preco {
  color: var(--cor-destaque)
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block !important;
  }
  
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
  }
  
  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  #mobile-menu-icon {
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
  }
  
  #mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cor-fundo2);
    z-index: 1001;
  }
  
  #mobile-menu.active {
    display: block;
  }
  
  #mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #mobile-menu li {
    border-bottom: 1px solid #333;
  }
  
  #mobile-menu li:last-child {
    border-bottom: none;
  }
  
  #mobile-menu a {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
  }
}

/* ====== CORREÇÕES GERAIS MOBILE ====== */
@media (max-width: 768px) {

  /* Compensa o header fixo */


  /* HEADER */
  header {
    height: auto;
    padding: 10px 0;
  }

  .divSuprema {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }

  .direita {
    display: flex;
    gap: 1.5rem;
  }

  /* HOME */
  .containerHome {
    height: 20rem;
    margin-top: 4rem;
  }

  .tituloHome h1 {
    margin-top: 2rem;
    font-size: 2rem;
  }

  .tituloHome p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* SEÇÕES (remove corte de conteúdo) */
  .discosDestaques,
  .explorarPorGeneros,
  .discosNovidades {
    height: auto;
    padding-bottom: 2rem;
  }

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

    gap: 1.5rem;
    margin: 0;
    padding: 0 1rem;
  }

  .card {
    max-width: 100%;
  }

  /* GÊNEROS */
  .generos {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .rockClassico,
  .metal,
  .heavyMetal {
    width: 100%;
    height: auto;
    padding: 2rem 0;
  }

  .rockClassico i,
  .metal i,
  .heavyMetal i {
    margin-top: 0;
  }

  /* FOOTER */
  #solicitar {
    height: auto;
    padding-bottom: 30px;
  }

  .centralizar2 {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  #centralizar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .linksRapidos,
  .esquerda2,
  .redesSociais {
    width: 100%;
    padding: 10px;
    margin-top: 0;
  }

  .linksRapidos a {
    justify-content: center;
  }

  .redesSociais div {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .imagemHome {
    height: 20rem;
  }

  .generoExplorar {
    margin-left: auto;
    max-width: 15rem;
    margin-bottom: 15px;
  }

}


@media (min-width: 769px) and (max-width: 1024px) {

  .divSuprema {
    width: 100%;
    gap: 5rem;
  }

  .containerHome {
    margin-top: 1rem;
  }

  .cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 220px;
  }

  .generos {
    gap: 1rem;
  }


}
