/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

/* CONTAINER */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 100vh;
}

/* CARD */
.card {
  width: 100%;
  max-width: 500px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  animation: fadeIn 0.4s ease;
}

/* ANIMAÇÃO */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LOGO */
.logo {
  width: 120px;
  margin: 0 auto 20px;
  display: block;
}

/* TEXTO */
.subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  text-align: center;
}

/* FORM */
form {
  width: 100%;
}

/* GRUPOS */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

/* INPUTS */
input, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

/* PERGUNTAS */
.question {
  margin-bottom: 15px;
}

.question p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* OPÇÕES */
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.options input {
  display: none;
}

.options label {
  background: #f1f1f1;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  transition: 0.2s;
  border: 2px solid transparent;
}

/* HOVER */
.options label:hover {
  background: #e0e0e0;
}

/* SELECIONADO */
.options input:checked + label {
  background: #28a745;
  color: #fff;
  border-color: #28a745;
}

/* BOTÃO */
button {
  width: 100%;
  padding: 14px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.2s;
}

button:hover {
  background: #218838;
  transform: translateY(-1px);
}

/* SEGURANÇA */
.security {
  font-size: 12px;
  color: #aaa;
  margin-top: 10px;
  text-align: center;
}

/* 🔥 MOBILE */
@media (max-width: 480px) {

  .container {
    padding: 10px;
  }

  .card {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .options {
    grid-template-columns: 1fr;
  }

  h1, h2 {
    font-size: 20px;
    text-align: center;
  }

  input, select, button {
    font-size: 15px;
    padding: 11px;
  }
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #28a745, #218838);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}