/*
 * artigo.css
 * Descrição: Estilo das páginas de leitura de artigo.
 * Depende de: nada
 * Última atualização: 2026-06-22
 */

:root {
  --turquesa: #21d1dd;
  --azul: #2b6cb0;
  --texto: #1f2937;
  --fonte: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--fonte);
  color: var(--texto);
  background: linear-gradient(160deg, #2dd4bf 0%, #38bdf8 45%, #a78bfa 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.7;
}

.artigo-topo {
  background: transparent;
  padding: 1rem 1.2rem;
}

.artigo-voltar {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.artigo-voltar:hover {
  text-decoration: underline;
}

.artigo {
  width: calc(100% - 2.6rem);
  max-width: 680px;
  margin: 1.6rem auto 2.6rem;
  padding: 2rem 1.4rem 2.4rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.artigo ol {
  text-align: left;
}

.artigo__titulo {
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1.25;
  color: #111111;
  margin-bottom: 1.2rem;
}

.artigo h2 {
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  color: var(--azul);
  margin: 1.8rem 0 0.6rem;
}

.artigo p {
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
}

.artigo ol {
  margin: 0 0 1rem 1.4rem;
}

.artigo li {
  margin-bottom: 0.4rem;
}

.artigo-rodape {
  text-align: center;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
}

.artigo-rodape a {
  color: #ffffff;
  font-weight: 700;
}
