/* ---------- Estrutura básica ---------- */
header, #header {
  position: relative;
  z-index: 9999 !important;
}

body {
  margin-top: 60px;
  overflow-x: hidden;
  background-color: #f8f9fa;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
}

/* ---------- Layout principal ---------- */
main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

section {
  flex: 1;
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  box-sizing: border-box;
}

.conteudo-principal {
  width: 100%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: justify;
  padding: 20px;
}

/* ---------- Publicações (cards) ---------- */
.publicacoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.publicacoes .post {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  max-width: 300px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.publicacoes .post img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.publicacoes .post p {
  font-size: 14px;
  text-align: justify;
  line-height: 1.3;
  margin: 0;
}

.link-post {
  text-decoration: none;
  color: inherit;
  display: block;
}

.link-post:hover img {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* ---------- Paginação ---------- */
.paginacao {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-family: Arial, sans-serif;
}

.paginacao a,
.paginacao button {
  background-color: #004080;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.paginacao a:hover,
.paginacao button:hover {
  background-color: #0066cc;
}

.paginacao span {
  font-weight: 600;
  color: #333;
}

/* ---------- Conteúdo interno ---------- */
article {
  margin-bottom: 30px;
}

article h2,
article h3,
article h4,
article h5 {
  color: #6C7492;
}

.lista {
  list-style-type: circle;
  padding-left: 30px;
  margin-left: 20px;
}

.lista li {
  margin-bottom: 10px;
}

.lista li::marker {
  color: #6C7492;
  font-size: 1.1em;
}

.imagem-conceitual {
  width: 80%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

p {
  text-indent: 30px;
  line-height: 1.5;
}

.referencias {
  text-indent: 0;
}

.destaque {
  font-weight: bold;
  color: #333;
  background-color: #f0f0f0;
  padding: 10px;
  border-left: 4px solid #6C7492;
  text-indent: 0;
}

/* ---------- Header e Footer ---------- */
header, footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#header, #footer {
  width: 100%;
  max-width: 1200px;
  padding: 10px 20px;
  box-sizing: border-box;
}

/* ---------- Responsividade ---------- */
@media (max-width: 900px) {
  main {
    flex-direction: column;
    padding: 15px;
  }

  section, .conteudo-principal {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .publicacoes {
    gap: 1rem;
  }

  .publicacoes .post {
    max-width: 100%;
  }
}
/* ================================
   ÁREA PRINCIPAL: INTERPRETAÇÃO TEXTUAL
================================ */
.interpretacao-textual {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
  color: #222;
}

.interpretacao-textual h2 {
  text-align: center;
  color: #004080;
  margin-bottom: 1rem;
}

.interpretacao-textual h3 {
  color: #333;
  margin-top: 1.5rem;
  border-left: 5px solid #004080;
  padding-left: 10px;
}

.interpretacao-textual h4 {
  color: #222;
  margin-top: 1rem;
}

/* ================================
   INTRODUÇÃO
================================ */
.introducao {
  padding: 10px 15px;
  margin-bottom: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: none;
  border: none;
  text-align: justify;
}

.introducao h3 {
  color: #6C7492;
  margin-bottom: 0.8rem;
  border-left: 4px solid #6C7492;
  padding-left: 10px;
}

.introducao p {
  text-indent: 30px;
  line-height: 1.6;
  margin: 0.6rem 0;
}

/* ================================
   QUIZ — ÁREA PRINCIPAL
================================ */
.interpretacao-quiz h3 {
  margin-top: 3rem;
  text-align: center;
  color: #004080;
}

.quiz-container {
  margin-top: 1rem;
}

.quiz-pergunta {
  padding: 1rem;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  border-radius: 8px;
  background-color: #fafafa;
}

.quiz-pergunta.correta {
  border-color: #2ecc71;
  background-color: #eafaf1;
}

.quiz-pergunta.incorreta {
  border-color: #e74c3c;
  background-color: #fdecea;
}

.quiz-pergunta p {
  text-align: justify;
  font-size: 15px;
}

.quiz-pergunta blockquote {
  font-style: italic;
  background-color: #f0f5ff;
  border-left: 5px solid #007bff;
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 6px;
}

/* Botão verificar */
.quiz-verificar {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.quiz-verificar:hover {
  background-color: #0056b3;
}

/* Resultado */
.quiz-resultado {
  margin-top: 20px;
  padding: 1rem;
  background-color: #f7f9fc;
  border-left: 5px solid #007bff;
  border-radius: 8px;
}

/* ================================
   GABARITO COMENTADO
================================ */
.gabarito-comentado {
  margin-top: 2rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gabarito-comentado h3 {
  color: #004080;
  text-align: center;
  margin-bottom: 1rem;
}

.gabarito-item {
  margin-bottom: 0.8rem;
  padding: 10px 15px;
  border-left: 4px solid #6C7492;
  background-color: #ffffff;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.gabarito-item:hover {
  transform: translateY(-2px);
  background-color: #f0f6ff;
}

.gabarito-item p {
  margin: 0;
  text-align: justify;
  line-height: 1.5;
}

.gabarito-item .resposta {
  color: #007bff;
  font-weight: bold;
}

/* ================================
   EXPLORAR OUTROS CONTEÚDOS
================================ */
.explorar {
  margin-top: 3rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.explorar h3 {
  color: #004080;
  margin-bottom: 1rem;
}

.explorar ul {
  list-style: none;
  padding-left: 0;
}

.explorar li {
  margin: 0.4rem 0;
}

.explorar a {
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.explorar a:hover {
  color: #004080;
}

/* ================================
   MOBILE (para quiz e gabarito)
================================ */
@media (max-width: 768px) {

  .interpretacao-textual {
    padding: 15px;
  }

  .quiz-pergunta p {
    font-size: 14px;
  }
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  text-align: center;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.tabela thead {
  background: linear-gradient(135deg, #005fa3, #0083c7);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tabela thead th {
  padding: 1em;
  font-weight: 600;
  border-bottom: 3px solid #0075b8;
}

.tabela td, 
.tabela th {
  padding: 0.9em 1em;
  border-bottom: 1px solid #e5e5e5;
}

.tabela tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tabela tbody tr:hover {
  background-color: #e8f3fb;
  transition: background-color 0.3s ease;
}

.tabela tbody td:first-child {
  font-weight: 600;
  color: #004d7a;
  background-color: #f0f7fc;
}

@media (max-width: 768px) {
  .tabela {
    font-size: 0.9rem;
  }
.lista {
  list-style-type: circle;
  list-style-position: outside; 
  padding-left: 30px;           
  margin-left: 20px;           
}

.lista li {
  margin-bottom: 10px;
}

.lista li::marker {
  color: #6C7492;
  font-size: 1.1em;
}
  .botao-download {
  display: inline-block;
  padding: 12px 22px;
  background-color: #4a148c; 
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.botao-download:hover {
  background-color: #6a1b9a; 
  transform: translateY(-3px);
}

.botao-download:active {
  transform: translateY(0);
  background-color: #380c5e;
}

.botao-download:focus {
  outline: 3px solid #d1a8ff;
  outline-offset: 4px;
}

  .tabela th, 
  .tabela td {
    padding: 0.6em;
  }
}
.audio-player {
  --bg: #ffffff;
  --border: #e6e9ef;
  --accent: #2563eb;
  --muted: #6b7280;
  --radius: 12px;

  max-width: 520px;
  margin: 12px auto;
  padding: 14px;

  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(16,24,40,0.04);

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #111827;
}

.audio-player__row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.audio-player__audio {
  width: 100%;
  outline: none;
}

.audio-player__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.audio-player__title {
  font-size: 15px;
  font-weight: 600;
}

.audio-player__duration {
  font-size: 13px;
  color: var(--muted);
}

.audio-player__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.audio-player__btn {
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f8fafc;
  cursor: pointer;
}
.audio-player__btn:active { transform: translateY(1px); }

.audio-player__select {
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}

.audio-player__download {
  text-decoration: none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px dashed var(--border);
  color: var(--muted);
}

.audio-player__hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

@media (max-width: 420px) {
  .audio-player {
    padding: 10px;
  }
}
.faq-container {
  max-width: 800px;
  margin: 20px 0;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.faq-pergunta {
  width: 100%;
  background: #f7f7f7;
  border: none;
  padding: 15px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.faq-pergunta:hover {
  background: #ececec;
}

.faq-resposta {
  display: none;
  padding: 15px;
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 15px;
  line-height: 1.6;
}

.faq-resposta.ativo {
  display: block;
}
