@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

html,
body,
button,
input,
select,
textarea,
a,
p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6,
main,
aside,
nav,
section,
article {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  text-shadow: none !important;
}

body {
  font-weight: 500 !important;
}

h1,
h2,
h3,
h4,
strong,
b {
  font-weight: 800 !important;
}

button,
a,
select,
input {
  font-weight: 700 !important;
}

[data-study-content],
.study-content,
.content-area,
main {
  filter: none !important;
  backdrop-filter: none !important;
  text-shadow: none !important;
}

#study-questoes-hard-lock-root {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

#study-questoes-hard-lock-root .hq-enunciado {
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

#study-questoes-hard-lock-root .hq-opcao {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

#study-questoes-hard-lock-root .hq-pill,
#study-questoes-hard-lock-root .hq-btn,
#study-questoes-hard-lock-root .hq-link {
  font-weight: 700 !important;
}

/* Ajuste Study: manter apenas Resumo do assunto dentro da questão */
button[data-hq-action="flashcard"],
button[data-study-learn="flashcard"],
button[data-study-learn="revisao"] {
  display: none !important;
}

/* Ajuste Study — fluxo oficial QuestionCard: resolução completa só após Responder */
.sqe-feedback-full {
  margin-top: 18px;
  border: 1px solid rgba(255, 129, 47, 0.35);
  border-radius: 18px;
  padding: 18px;
  background: rgba(16, 27, 47, 0.92);
}

.sqe-result-box {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: rgba(11, 19, 35, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.20);
}

.sqe-result-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.sqe-result-meta {
  color: #cbd5e1;
  font-size: 14px;
}

.sqe-resolution-section {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(11, 19, 35, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.sqe-resolution-section h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #ffb27a;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sqe-resolution-section p {
  margin: 0;
  color: #e5edf8;
}

.sqe-alt-analysis {
  display: grid;
  gap: 10px;
}

.sqe-alt-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  border-radius: 12px;
  padding: 10px;
  background: rgba(7, 11, 18, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.sqe-alt-row.correct {
  border-color: rgba(34, 197, 94, 0.55);
}

.sqe-alt-row.selected:not(.correct) {
  border-color: rgba(239, 68, 68, 0.55);
}

.sqe-alt-letter {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255, 129, 47, 0.15);
  color: #ffb27a;
}

.sqe-alt-text {
  font-weight: 700;
  margin-bottom: 6px !important;
}

.sqe-alt-note {
  color: #cbd5e1 !important;
  font-size: 14px;
}

.sqe-law-box {
  border-color: rgba(59, 130, 246, 0.35);
}

.sqe-trap-box {
  border-color: rgba(245, 158, 11, 0.35);
}

.sqe-memory-box {
  border-color: rgba(34, 197, 94, 0.35);
}
