/* Reset e estrutura */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #FAFAFA;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background-color: #7BA97F;
  padding: 20px;
  text-align: center;
  color: white;
}

.logo {
  width: 150px;
  display: block;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1);
}

/* Mensagem explicativa com destaque */
.bloco-explicacao {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  margin: 25px auto 15px;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  text-align: center;
  font-weight: 500;
  border-left: 5px solid #C46A4D;
}

/* Container do formulário */
.form-container {
  max-width: 600px;
  margin: 30px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.06);
  animation: fadeIn 0.5s ease-in-out;
}

/* Animação de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.etapas {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.etapas span {
  background-color: #eee;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.etapas .ativa {
  background-color: #C46A4D;
  color: white;
  font-weight: bold;
}

.form-step {
  display: none;
  transition: all 0.4s ease;
}

.form-step.active {
  display: block;
}

/* Campos */
.campo {
  margin-bottom: 20px;
  position: relative;
}

.campo label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #222;
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fdfdfd;
  transition: 0.3s;
  box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #C46A4D;
  box-shadow: 0 0 0 2px rgba(196, 106, 77, 0.15);
  background-color: #fff;
}

/* Serviços como botões */
.checkbox-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.option-button {
  background: #eee;
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: center;
}

.option-button input {
  display: none;
}

.option-button.selected {
  background-color: #C46A4D;
  color: white;
  border-color: #a3543c;
  font-weight: 600;
}

/* Botões */
button {
  background-color: #C46A4D;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #a3543c;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Link */
a {
  color: #C46A4D;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 600px) {
  .form-container {
    margin: 15px;
    padding: 20px;
  }

  .etapas {
    flex-direction: column;
    gap: 8px;
  }

  .etapas span {
    text-align: center;
  }

  .bloco-explicacao {
    padding: 18px 16px;
    font-size: 0.95rem;
  }

  .campo label {
    font-size: 0.9rem;
  }

  input, select, textarea {
    font-size: 0.95rem;
  }
}
