* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #3a3a3a;
  background-color: #fdfdfb;
  scroll-behavior: smooth;
}

/* NAVBAR */
header {
  background-color: #d6e9d1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
}

.logo {
  font-size: 1.5rem;
  color: #406343;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #406343;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #7fa87a;
}

/* HERO */
.hero {
  background-image: url('https://images.unsplash.com/photo-1509042239860-f550ce710b93');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(64, 99, 67, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: #d6e9d1;
  color: #406343;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #c3ddbb;
}

/* PRODUTOS */
.produtos {
  text-align: center;
  padding: 4rem 2rem;
}

.produtos h2 {
  color: #406343;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Compatibilidade: algumas páginas usam .grid em vez de .cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 1rem;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}


.card h3 {
  color: #406343;
  margin-bottom: 0.5rem;
}

/* Espaçamento entre parágrafo e botão dentro do card */
.card p {
  margin-bottom: 0.9rem; /* aumenta o espaço abaixo do parágrafo */
  line-height: 1.4;
}

/* Garante espaçamento para botões que usam a classe .btn dentro do card */
.card .btn {
  display: inline-block;
  margin-top: 0.6rem;
}

.btn-whats {
  display: inline-block;
  background-color: #64b36e;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.3s;
}

.btn-whats:hover {
  background-color: #4f9558;
}

/* SOBRE */
.sobre {
  background-color: #f5f9f4;
  text-align: center;
  padding: 4rem 2rem;
}

.sobre h2 {
  color: #406343;
  margin-bottom: 1rem;
}

/* CONTATO */
.contato {
  text-align: center;
  padding: 4rem 2rem;
}

.contato h2 {
  color: #406343;
  margin-bottom: 1rem;
}

.socials img {
  width: 30px;
  margin: 0 10px;
  transition: transform 0.3s;
}

.socials img:hover {
  transform: scale(1.1);
}

/* FOOTER */
footer {
  background-color: #d6e9d1;
  color: #406343;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
}

/* Transição suave entre páginas */
body {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

body.loaded {
  opacity: 1;
}

.card img {
  width: 300px;
  height: 260px;          /* define altura fixa */
  object-fit: cover;      /* mantém o enquadramento bonito */
  border-radius: 5px;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.card img:hover {
  transform: scale(1.03);
}

/* ----- Página Sobre Nós ----- */
.sobre {
  padding: 80px 10%;
  background-color: #f9fcfa;
}

.sobre-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.sobre .texto {
  flex: 1 1 450px;
}

.sobre .texto h2 {
  font-size: 2rem;
  color: #3b5d48;
  margin-bottom: 20px;
}

.sobre .texto p {
  font-size: 1.05rem;
  color: #4d4d4d;
  line-height: 1.8;
  margin-bottom: 15px;
}

.assinatura {
  font-style: italic;
  color: #5b7a63;
}

.sobre .imagem {
  flex: 1 1 400px;
  text-align: center;
}

.sobre .imagem img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.sobre .imagem img:hover {
  transform: scale(1.03);
}

/* Destacar o link ativo */
.nav-links a.active {
  color: #3b5d48;
  font-weight: bold;
  border-bottom: 2px solid #3b5d48;
}

/* ----- Página Contato ----- */
.contato {
  padding: 80px 10%;
  background-color: #f9fcfa;
}

.contato-conteudo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.texto-contato {
  flex: 1 1 400px;
}

.texto-contato h2 {
  font-size: 2rem;
  color: #3b5d48;
  margin-bottom: 20px;
}

.texto-contato p {
  font-size: 1.05rem;
  color: #4d4d4d;
  line-height: 1.7;
  margin-bottom: 15px;
}

.redes-contato {
  margin-top: 25px;
}

.redes-contato a {
  display: inline-block;
  margin-right: 10px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.botao-whats {
  background-color: #6fcf97;
  color: white;
}

.botao-whats:hover {
  background-color: #5ab983;
}

.botao-insta {
  background-color: #e4b1d0;
  color: white;
}

.botao-insta:hover {
  background-color: #d89abc;
}