/* Estilo Geral */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Cabeçalho */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #007bff;
  color: white;
}

header img {
  height: 80px;
  margin-right: 15px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Seção Principal */
.hero {
  background: #007bff;
  color: white;
  padding: 50px;
}

.hero h2 {
  font-size: 2em;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background: #ffcc00;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/* Seção Benefícios */
#beneficios {
  padding: 40px;
}

.benefits {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* Permite quebra de linha em telas menores */
}

.benefit {
  width: 30%;
  min-width: 250px; /* Garante que os itens fiquem ajustados */
  text-align: center;
}

/* Formulário */
#contato {
  background: #f4f4f4;
  padding: 40px;
}

form input, button {
  display: block;
  width: 90%;
  max-width: 400px;
  margin: 10px auto;
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
}

button {
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

/* Rodapé */
footer {
  background: #222;
  color: white;
  padding: 20px;
  margin-top: 20px;
}

/* 📱 Responsividade */
@media (max-width: 768px) {
  header {
      flex-direction: column;
      text-align: center;
  }

  nav ul {
      padding: 0;
      flex-direction: column;
      gap: 10px;
  }

  .hero h2 {
      font-size: 1.5em;
  }

  .benefits {
      flex-direction: column;
      align-items: center;
  }

  .benefit {
      width: 80%;
  }
}
