*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff8f0;
  color: #333;
  line-height: 1.6;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
header {
  background-color: #009b3a;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
header h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
nav a {
  color: #fddb3a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
nav a:hover, nav a:focus {
  color: #fff;
  outline: none;
}
#hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 3rem 0;
  background: linear-gradient(90deg, #fddb3a 0%, #009b3a 100%);
  color: #004d1a;
}
.hero-text {
  flex: 1 1 400px;
  padding-right: 2rem;
}
.hero-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn-primary {
  background-color: #004d1a;
  color: #fddb3a;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #003311;
  outline: none;
}
.hero-image {
  flex: 1 1 400px;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
section {
  padding: 3rem 0;
}
section h2 {
  text-align: center;
  color: #009b3a;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
#sobre p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  text-align: center;
}
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.produto {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.produto:hover, .produto:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.produto img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.produto h3 {
  margin: 0.5rem 0;
  color: #004d1a;
  font-weight: 700;
}
.produto p {
  font-size: 1rem;
  color: #555;
}
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form label {
  font-weight: 600;
  color: #009b3a;
}
form input, form textarea {
  padding: 0.75rem;
  border: 2px solid #009b3a;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  font-family: inherit;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: #004d1a;
  box-shadow: 0 0 5px #004d1a;
}
form button {
  background-color: #009b3a;
  color: #fff;
  padding: 0.75rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
form button:hover, form button:focus {
  background-color: #004d1a;
  outline: none;
}
footer {
  background-color: #004d1a;
  color: #fddb3a;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}
footer p {
  margin: 0.25rem 0;
}
@media (max-width: 768px) {
  #hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    padding: 0;
  }
}