/* --- ESTILOS GERAIS --- */
body {
  margin: 0;
  padding: 20px;
  background-color: #080e1c;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* --- CONTAINER DO FORMULÁRIO --- */
.form-container {
  width: 100%;
  max-width: 600px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* --- LOGO E CABEÇALHO --- */
.logo {
  width: 180px;
  margin: 0 auto 25px auto;
  border-radius: 20px;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px rgba(6, 46, 170, 0.3), 
              0 0 40px rgba(255, 0, 60, 0.1);
  transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(6, 46, 170, 0.4), 
                0 0 45px rgba(255, 0, 60, 0.15);
}

.header-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  background: linear-gradient(90deg, #062eaa, #FF003C);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.header-text p {
  font-size: 1rem;
  color: #c9d1d9;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* --- ESTILOS DO FORMULÁRIO --- */
#solicitarServicoForm {
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ddd;
}

.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #2a3a6b;
  border-radius: 8px;
  background-color: #101629;
  color: #e0e0e0;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.form-select option {
  background: #101629;
  color: #ffffff;
}

.form-select:focus,
.form-textarea:focus {
  border-color: #FF003C;
  box-shadow: 0 0 8px rgba(255, 0, 60, 0.5);
}

.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 1.2em;
}

.form-group-conditional {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- BOTÃO E MENSAGENS --- */
.submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(90deg, #062eaa, #c40a32);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

.back-button {
  display: block;
  width: auto;
  padding: 13px;
  margin-top: 15px;
  background-color: transparent;
  color: #aeb9c5;
  text-align: center;
  text-decoration: none;
  border: 2px solid #2a3a6b;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: rgba(42, 58, 107, 0.2);
  color: #ffffff;
  border-color: #3b508a;
}

.form-message {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  height: 20px;
}

.footer {
  font-size: 0.8rem;
  margin-top: 30px;
  color: #8b949e;
}

.logo-link {
  display: inline-block; 
  text-decoration: none; 
  line-height: 0; 
}