:root {
  font-family: system-ui, sans-serif;
  color: #21140f;
  background: #ffffff;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 820px; margin: 48px auto; padding: 0 24px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
h2 { line-height: 1.4; }
.marca { color: #4b0f1a; font-weight: 700; letter-spacing: .12em; }
section {
  background: white; padding: 28px; border-radius: 16px;
  border: 1px solid #ecdfe1;
}
label { display: block; margin: 16px 0 6px; font-weight: 600; }
input, select, textarea {
  width: 100%; padding: 12px; border: 1px solid #d8c3c6;
  border-radius: 8px; font: inherit; background: white; color: inherit;
}
textarea { resize: vertical; }
button {
  margin: 20px 8px 0 0; padding: 12px 20px; border: 0;
  border-radius: 8px; background: #4b0f1a; color: white;
  font: inherit; font-weight: 600; cursor: pointer;
}
button.secundario { background: #f6ebec; color: #4b0f1a; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #4b0f1a; outline-offset: 3px; }
.nota, #progresso, #voz-status { color: #6b5a57; font-size: .95rem; }
#transcricao { font-style: italic; min-height: 1.6em; }
#controles-voz { display: flex; flex-wrap: wrap; gap: 8px; }
#controles-voz button { margin: 8px 0 0; }
#status { color: #4b0f1a; min-height: 1.6em; }
#pergunta { font-size: clamp(1.4rem, 4vw, 2rem); }
#relatorio p, #relatorio li { white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 500px) {
  main { margin: 24px auto; padding: 0 14px; }
  section { padding: 20px; }
  button { width: 100%; }
}
