/* ===== LAYOUT & FUNDO ===== */
/* Removemos resets (*) e fontes que vêm do global.css */

/* ===== ANIMAÇÕES ===== */
@keyframes bgIn {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Elemento de fundo (se estiver usando uma div separada para bg) */
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: bgIn 0.8s ease 0.1s both;
}

/* ===== CONTAINER PRINCIPAL ===== */
/* Unifiquei as duas declarações de .form-container */
.form-container {
  margin-top: 12.5%;
}

/* ===== ELEMENTOS DE FORMULÁRIO ===== */
form,
.step2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Inputs e Selects (Estilo Material: Borda apenas embaixo) */

input:focus,
input:hover,
select:hover {
  border-bottom-color: #ff6a00;
}

/* ===== FLUXO DE PASSOS (STEPS) ===== */
.step1 {
  width: 100%;
  /* height: 500px; -> Removido: altura fixa quebra layout responsivo. Deixe o conteúdo ditar a altura. */
}

/* ===== ACESSIBILIDADE & MOBILE ===== */
@media (prefers-reduced-motion: reduce) {
  .form-container,
  .background {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 600px) {
  body,
  html {
    overflow: auto; /* Libera scroll no mobile */
  }

  .form-container {
    margin: 0;
    border-radius: 0;
    max-width: 100%;
    min-height: 100vh; /* Ocupa tela toda */
    height: auto;
    justify-content: flex-start; /* Começa do topo no mobile */
    padding: 40px 20px;
    box-shadow: none;
  }

  .step1 h2 {
    font-size: 1.5rem; /* Ajuste para telas menores */
  }
}
