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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdf6ef;
  color: #3e2f1c;
  line-height: 1.6;
}

/* HEADER COM IMAGEM */
header {
  background: url('img/fundoMadeira.jpg') no-repeat center center/cover;
  height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-top {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 2;
}

.telefones-contato {
  display: flex;
  gap: 15px;
}

.telefones-contato span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.3);
  padding: 5px 10px;
  border-radius: 15px;
  backdrop-filter: blur(3px);
}

.busca-container {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 2;
}

.campo-busca {
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  color: #333;
  font-size: 0.9rem;
  width: 150px;
  outline: none;
}

.campo-busca::placeholder {
  color: #666;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(30, 20, 10, 0.55);
  top: 0;
  left: 0;
}

.header-content {
  position: relative;
  text-align: center;
  color: #fffaf1;
  z-index: 1;
  padding: 0 10px;
}

.logo {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffdb84;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 10px;
}

/* NAVEGAÇÃO */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0;
}

nav ul li button {
  background-color: transparent;
  color: #fff9f0;
  border: 2px solid #fff0e0;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

nav ul li button.ativo {
  background-color: #fff;
  color: #5b3a1c;
  border-color: #fff;
}

nav ul li button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.05);
}

/* MAIN */
main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

main h1 {
  text-align: left;
  font-size: 2rem;
  color: #4a90e2;
  margin: 30px 0 20px 0;
  font-weight: 700;
}

main p {
  margin-bottom: 18px;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
}

h2 {
  font-size: 1.8rem;
  color: #7a4e2f;
  margin-bottom: 10px;
}

h3 {
  color: #c7b5a4;
  margin-top: 25px;
  font-size: 1.3rem;
}

ul, ol {
  margin: 15px 0 25px 25px;
}

ul li, ol li {
  margin-bottom: 8px;
}

/* CARROSSEL */
.carrossel-container {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 30px auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.carrossel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carrossel-slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carrossel-slides img.ativo {
  opacity: 1;
}

/* SETAS DO CARROSSEL */
.carrossel-setas {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.seta-anterior, .seta-proxima {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  transform: translateY(-50%);
}

.seta-anterior:hover, .seta-proxima:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

/* INDICADORES DO CARROSSEL */
.carrossel-indicadores {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicador {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicador.ativo {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.indicador:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* BOTÃO DE CONTATO PRINCIPAL */
.contato-destaque {
  text-align: center;
  margin: 25px 0;
}

.botao-contato-principal {
  display: inline-block;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  border: none;
  cursor: pointer;
}

.botao-contato-principal:hover {
  background: linear-gradient(135deg, #45a049, #4CAF50);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* INFO CARDS */
.caixas-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

.card {
  flex: 1 1 280px;
  background-color: #fffaf3;
  padding: 22px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(90, 60, 30, 0.1);
  border-left: 6px solid #a4713d;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 16px rgba(90, 60, 30, 0.2);
}

.card h3 {
  margin-bottom: 10px;
  color: #8b5e3c;
}

/* PRODUTOS */
.produtos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.card-produto {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 280px;
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.card-produto:hover {
  transform: translateY(-5px);
}

.card-produto img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card-produto h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.card-produto p {
  font-size: 0.95rem;
  color: #555;
}

/* SEÇÕES DINÂMICAS */
.secao {
  display: none;
}

.secao.ativa {
  display: block;
}

/* BOTÃO WHATSAPP */
.orcamento-link {
  display: inline-block;
  background-color: #32b43d;
  color: white;
  padding: 14px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 18px;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.15);
}

.orcamento-link:hover {
  background-color: #6b4b2b;
  box-shadow: 0 0 15px #6b4b2bcc;
}

/* FOOTER */
footer {
  text-align: center;
  background-color: #fdf6ef;
  color: #000000;
  padding: 25px 20px;
  margin-top: 50px;
  font-size: 1rem;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.1);
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .carrossel-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav ul li button {
    font-size: 0.95rem;
    padding: 6px 14px;
  }

  .logo {
    font-size: 2.2rem;
  }

  .caixas-info {
    flex-direction: column;
  }

  .card {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .carrossel-container {
    height: 220px;
  }

  main p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .orcamento-link {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .card-produto {
    width: 100%;
    max-width: 90vw;
  }
}


/* BANNER DE SERVIÇOS */
.banner-servicos {
  background: linear-gradient(to bottom, #421a05, #7b5942, #b9a39a);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin: 30px 0;
  border-radius: 10px;
}

.banner-servicos h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.banner-servicos h3 {
  font-size: 1.4rem;
  color: #fff;
  margin: 0;
}

/* GRID DE SERVIÇOS */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.card-servico {
  background-color: #fffaf3;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(90, 60, 30, 0.1);
  border-left: 6px solid #a4713d;
  transition: all 0.3s ease;
}

.card-servico:hover {
  box-shadow: 0 6px 16px rgba(90, 60, 30, 0.2);
  transform: translateY(-2px);
}

.card-servico h4 {
  color: #8b5e3c;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-servico p {
  color: #5b3a1c;
  line-height: 1.6;
}

/* MELHORIAS NOS CARDS DE PRODUTOS */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.card-produto {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid #a4713d;
}

.card-produto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-produto h3 {
  font-size: 1.3rem;
  color: #8b5e3c;
  margin-bottom: 15px;
}

.card-produto p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* SEÇÃO DE CONTATO */
.contato-info {
  background-color: #f8f5f0;
  padding: 25px;
  border-radius: 12px;
  margin-top: 30px;
  border-left: 6px solid #4CAF50;
}

.contato-info h3 {
  color: #8b5e3c;
  margin-bottom: 15px;
}

.contato-info p {
  margin-bottom: 8px;
  color: #5b3a1c;
}

.contato-info strong {
  color: #8b5e3c;
}


/* GALERIA DE FOTOS */
.galeria-fotos {
  margin: 40px 0;
}

.galeria-fotos h3 {
  text-align: center;
  color: #8b5e3c;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.foto-galeria {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.foto-galeria:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.foto-galeria img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.foto-galeria:hover img {
  transform: scale(1.05);
}

/* IMAGENS DOS PRODUTOS */
.produto-imagem {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #f8f8f8;
  padding: 10px;
}

.card-produto {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid #a4713d;
  display: flex;
  flex-direction: column;
}

.card-produto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-produto h3 {
  font-size: 1.3rem;
  color: #8b5e3c;
  margin-bottom: 15px;
  margin-top: 0;
}

.card-produto p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
}
.servicos-lista {
  padding-left: 30px;
  text-align: left; /* alinha o texto à esquerda */
  margin: 10px 0;
}
.cards-container {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.card-marrom {
  flex: 1;
  min-width: 280px;
  max-width: 100%;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background: linear-gradient(to bottom, #421a05, #7b5942, #b9a39a);
  color: white;
  box-sizing: border-box;
}

/* RESPONSIVO para celular */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    gap: 16px;
  }

  .card-marrom {
    width: 100%;
  }
}
.modal-imagem {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.imagem-ampliada {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 30px #000;
}

.fechar-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

