* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.parisienne-regular {
  font-family: "Parisienne", cursive;
  font-weight: 400;
  font-style: normal;
}

/* para rodape ficar no final da página */
body, html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;

  /* Para rodape ficar no final da página */
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

header {
  background-color: #ebebeb;
  color: #550022;
  padding: 10px 0;
  position: fixed;
  /* Para menu ficar fixo na parte superior da tela */
  width: 100%;
  /* Para menu ficar 100% na largura da tela */
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

main {
  margin-top: 108px; /* altura aproximada do header */

  flex: 1; /* Para rodape ficar no final da página */
}

img {
  border-radius: 8px;
}

/* Estilo para campo de pesquisa */
#janela_pesquisa {
  margin: 20px 0;
  text-align: center;
}

#janela_pesquisa input[type="text"] {
  padding: 8px 15px;
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

#janela_pesquisa button {
  padding: 8px 15px;
  background-color: #550022;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

#janela_pesquisa button:hover {
  background-color: #770033;
}

/* Estilo para listagem de produtos */
#listagem_produtos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#listagem_produtos .produto-card {
  list-style: none;
  width: 220px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#listagem_produtos .produto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#listagem_produtos .imagem {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
}

#listagem_produtos .imagem img {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
  border-radius: 8px;
}

#listagem_produtos .produto-info {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
}

#listagem_produtos h3 {
  margin: 10px 0;
  color: #550022;
  font-size: 16px;
  font-weight: bold;
}

/* Estilos para o formulário de carrinho */
#listagem_produtos .carrinho-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#listagem_produtos .quantidade {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

#listagem_produtos .quantidade label {
  margin-right: 5px;
}

#listagem_produtos .quantidade input {
  width: 50px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

#listagem_produtos .btn-adicionar {
  background-color: #550022;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  font-size: 12px;
}

#listagem_produtos .btn-adicionar:hover {
  background-color: #770033;
}

/* Estilos para mensagens */
.mensagem-sucesso, .mensagem-erro {
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
  text-align: center;
}

.mensagem-sucesso {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mensagem-erro {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 80px;
}

.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav a {
  background-color: #550022;
  padding: 10px;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  position: relative;
}

.nav a[href="carrinho.php"] {
  position: relative;
}

.carrinho-contador {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff6b6b;
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.nav a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: none;
  font-size: 28px;
  color: #550022;
  border: none;
  cursor: pointer;
}

.banner {
  background: url('') no-repeat center center/cover;
  /*./img/empresa.jpg*/
  height: 580px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
  margin-right: 20px;
  scroll-margin-top: 108px;
  /* ajuste conforme a altura do seu header */

}

.banner h1 {
  font-size: 2.5rem;
  background-color: #550022;
  display: inline-block;
  padding: 10px;
}

.banner p {
  font-size: 1.2rem;
  background-color: #550022;
  display: inline-block;
  padding: 8px;
  margin-top: 10px;
  border-radius: 0px;
}




/* Responsividade */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background-color: #550022;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 150px;
    border: 1px solid #fff;
    border-radius: 8px;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .nav.show {
    display: flex;
  }

  .banner {
    height: 320px;
    color: #ffd700;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
    margin-right: 20px;
    scroll-margin-top: 108px;
    /* ajuste conforme a altura do seu header */
  }

  .introducao h2 {
    font-size: medium;
  }

  .section-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


  .texto {
    margin-top: 20px;
  }

}

.content-section {
  padding: 10px 30px;
  background: #fff;
  margin: 0px auto;
  width: 90%;
  max-width: 1500px;
  border-radius: 8px;
  margin-bottom: 20px;
  scroll-margin-top: 108px;
  /* ajuste conforme a altura do seu header */
  position: relative;
  /*22/6 - base de referencia*/


}

.content-section h2 {
  margin-bottom: 20px;
  color: #550022;
}

.content-section p,
.content-section ul {
  margin-bottom: 15px;
  font-size: 1rem;

}

.content-section ul li {
  margin-left: 20px;
  list-style: disc;
}

.introducao {
  padding: 10px 30px;
  background: #fff;
  margin: 0px auto;
  max-width: 1500px;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;

}

.introducao h2 {
  color: #550022;
  margin-bottom: 10px;
}

.redessociais {
  padding: 20px 30px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 0px;
}

.redessociais p {
  flex: 1 1;
}


form {
  display: flex;
  flex-direction: column;
}

form label {
  margin: 10px 0 5px;
}

form input,
form textarea {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  padding: 12px;
  background-color: #550022;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #550022;
}

.section-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  /*Imagem a direita*/
  gap: 30px;
  flex-wrap: wrap;
  /*permite quebra da linha em telas pequenas*/



}

.section-flex .text {
  text-align: justify;
}



.section-flex .image img {
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(2, 31, 15, 0.5);
  margin: 10px;
  padding: 10px;
  max-width: 95%;
  max-height: 100px;
  width: auto;
  overflow: hidden;
  /*22/6 - para a imagem não ultrapassar o limite da section*/

}

.section-flex-produtos {
  padding: 20px 30px;
  background: #fff;
  width: 80%;
  border-radius: 8px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 0px;
}

.imagem {
  max-width: 350px;
  height: 100px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(2, 31, 15, 0.5);
  margin: 10px;
  padding: 10px;
  overflow: hidden; /*22/6 - para a imagem não ultrapassar o limite da section*/

}

.texto {
  flex: 1;
  min-width: 250px;
  text-align: justify;
}

.mapa {
  flex: 1 1 500px;
  text-align: center;

}

/* Carrossel simples */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 15px;
}

.carousel-img {
  display: none;
  width: 100%;
  height: 60vw;
  /* Altura proporcional à largura da tela */
  max-height: 565px;
  /* Limite máximo para desktop */
  object-fit: contain;
  /* Mostra a imagem inteira, sem cortar */
  background: #fff;
  /* Cor de fundo para imagens menores */
}

.carousel-img.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 2rem;
  z-index: 2;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Responsivo para telas pequenas */
@media (max-width: 768px) {
  .carousel-img {
    height: 40vw;
    /* Altura menor em telas pequenas */
    max-height: 320px;
  }
}


/* Ícone WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}

.whatsapp-float:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  background: #20ba5a;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: invert(1);
}

/* Equipe */
.equipe {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  /* Espaço entre as imagens */
  background: #e0e0e0;
  /* Cinza claro */
  padding: 20px 0;
  margin-top: 20px;
  border-radius: 8px;
}

.equipe img {
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Pesquisa de produtos */
#janela_pesquisa>form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
}

#janela_pesquisa input[type="text"] {
  flex: 1 1 200px;
  padding: 6px 10px;
  font-size: 1rem;
}

#janela_pesquisa button[type="submit"] {
  padding: 6px 16px;
  margin: none;
  font-size: 1rem;
  width: auto;
  white-space: nowrap;
  cursor: pointer;
}

/* Rodapé fixo na base */
#rodape {
  width: 100%;
  background: #550022;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: auto;
}