:root {
  --bg-light: #f7f5f5;
  --card-bg: #ffffff;
  --gold-primary: #a47e43;
  --gold-secondary: #d1ae79;
  --text-dark: #2c2c2c;
  --text-light: #f0f0f0;
  --shadow-color: rgba(44, 44, 44, 0.1);
}

#telaProdutos {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  --gold-light-rgba: rgba(207, 142, 45, 0.12);
  --gold-lines-rgba: rgba(212, 138, 25, 0.07);

  background-color: var(--footer-bg);
  background-image:
      repeating-linear-gradient(45deg, transparent, transparent 20px, var(--gold-lines-rgba) 15px, var(--gold-lines-rgba) 22px),
      radial-gradient(ellipse at 100% 100%, var(--gold-light-rgba) 0%, transparent 0%),
      radial-gradient(ellipse at 100% 100%, var(--gold-light-rgba) 0%, transparent 0%);
}

#textoProduto {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 2.1rem;
  padding: 8rem 1rem 3rem 1rem;
  font-weight: 800;
  background-clip: text;
  text-align: center;
  color: white;
  text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(164, 126, 67, 0.1);
}

.fundo-dourado {
  width: 30rem;
  padding: 0.5rem;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  border-radius: 7px;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 1s ease-out;
}

.fundo-dourado h1 {
  font-size: 3rem;
}

.texto-sobre-produtos {
 animation: slideInFromLeft 1s ease-in-out;
}

.texto-sobre-produtos h3 { 
  padding-top: 3rem;
  color: black;
  font-size: 1.5rem; 
  font-weight: 300; 
}

.texto-sobre-produtos .bold { 
  font-weight: 700; 
}
#Produtos {
  width: 100%;
  padding: 4rem 2rem 10rem 2rem;
  background-color: transparent;
}

/* Animação para os CARDS ÍMPARES (1º, 3º, 5º) vindo da ESQUERDA */
.produto-item:nth-child(odd) {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 1s ease-out;

}

/* Animação para os CARDS PARES (2º, 4º, 6º) vindo da DIREITA */
.produto-item:nth-child(even) {
  opacity: 0;
  transform: translateX(100%);
  transition: all 1s ease-out;
}

.fundo-dourado.visible,
.produtos-cta-container.visible,
.produto-item.visible {
  opacity: 1;
  transform: translate(0, 0); /* Reseta a posição para a original */
}


.grid-produtos {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  margin-bottom: 10rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 80px;
  column-gap: 60px;
  max-width: 1200px;
}

.card-produto {
  background-color: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 0;
  /* Sombra inicial mais definida */
  box-shadow: 0 8px 20px rgba(44, 44, 44, 0.15), 0 12px 30px rgba(44, 44, 44, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05); /* Borda sutilmente escura */
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card-produto:hover {
  transform: translateY(-7px) scale(1.04);
  /* Sombra muito mais intensa no hover */
  box-shadow: 0 30px 50px rgba(44, 44, 44, 0.25), 0 40px 80px rgba(44, 44, 44, 0.2);
  /* Brilho sutil na borda ao passar o mouse */
  box-shadow: 0 0 5px #bbbbbb, 0 30px 50px rgba(44, 44, 44, 0.25), 0 40px 80px rgba(44, 44, 44, 0.2);
}

.card-imagem {
  overflow: hidden;
  position: relative;
}

.card-imagem img {
  width: 100%;
  aspect-ratio: 32 / 34;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card-produto:hover .card-imagem img {
  transform: scale(1.1);
  filter: saturate(1)
}

.card-titulo {
  padding-top: 0.3rem;
  background-color: none;
  text-align: center;
  font-size: 1rem;
  color: #a47e43;
}



.btn-modal {
  background: transparent;
  border: none;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.btn-modal:focus-visible {
  outline: 3px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: 16px;
}

/* botão para solicitar orçamento*/
.produtos-cta-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Adiciona um espaço generoso acima do botão */
  margin-top: 5rem;
  animation-delay: 0.4s;
  opacity: 0;
  transform: translateY(100%);
  transition: all 1s ease-out;
}

.btn-produtos-orcamento {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-produtos-orcamento img {
  height: 1.5rem;
  width: auto;
}

/* O pseudo-elemento que desliza */
.btn-produtos-orcamento::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-secondary), var(--gold-primary));
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
  z-index: -1;
}

/* Efeito combinado no hover */
.btn-produtos-orcamento:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(164, 126, 67, 0.3);
}

.btn-produtos-orcamento:hover::before {
  transform: translateX(0);
}