/* styles.css — estrutura da página. As cores vêm de variáveis (--bg, --surface,
   --text, --accent...) definidas no arquivo de tema linkado no index.html.
   Os valores abaixo são só um fallback (caso nenhum tema seja carregado). */

:root {
  --bg: #151C23;
  --surface: #263442;
  --text: #F5F4F0;
  --text-muted: rgba(245, 244, 240, 0.62);
  --border: rgba(245, 244, 240, 0.12);
  --accent: #C5A059;
  --accent-text: #151C23;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden { display: none !important; }

.quiz-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 20px;
  opacity: 0;
  transform: translateY(8px);
}

.quiz-container.fade-in {
  animation: fadeSlideIn 320ms ease-out forwards;
}

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.question-text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}

#opening-screen p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 16px 0 28px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
}

input::placeholder { color: var(--text-muted); }

input:focus {
  outline: none;
  border-color: var(--accent);
}

.options {
  display: flex;
  flex-direction: column;
}

.option-btn {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: 15.5px;
  cursor: pointer;
  transition: border-color 150ms, transform 100ms;
}

.option-btn:hover {
  border-color: var(--accent);
}

.option-btn:active {
  transform: scale(0.98);
}

button#btn-iniciar,
button#btn-enviar {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 150ms;
}

button#btn-iniciar:disabled,
button#btn-enviar:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 400px) {
  h1 { font-size: 22px; }
  .question-text { font-size: 18px; }
}
