* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-image: url(/img/fundo.png);
  background-size: cover;
  color: #3f3f3f;
  margin: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #4a6040;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.logo {
  font-weight: bold;
  color: #ffffff;
  font-size: 1.2rem;
}

.navbar a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #c4ebb1;
}

.navbar a.active {
  color: #c4ebb1;
}

/* Layout do Formulário de Contato */
.contato {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 4rem 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.card h1 {
  margin-bottom: 1.5rem;
  color: #4a6040;
  font-size: 2rem;
}

.card p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #666;
}

form input, form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #6e8c5f;
  outline: none;
}

form button {
  background: #6e8c5f;
  border: none;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

form button:hover {
  background: #5a724d;
  transform: scale(1.05);
}

form button:active {
  transform: scale(0.98);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
  }

  .card {
    width: 100%;
    padding: 1.5rem;
  }

  .card h1 {
    font-size: 1.8rem;
  }

  .card p {
    font-size: 1rem;
  }

  form input, form textarea {
    font-size: 0.9rem;
  }

  form button {
    padding: 0.8rem 1.5rem;
  }
}
