/* Samuel Pinheiro Almeida — estilos das páginas de artigo
   Usado junto com style.css em todos os artigos. */

.article-page {
  padding: 4.5rem 0 5rem;
}

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.article-back {
  display: inline-block;
  margin-bottom: 2.25rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.article-back:hover,
.article-back:focus-visible {
  text-decoration: underline;
}

.article-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.article-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.article-summary {
  border-left: 3px solid var(--accent);
  background-color: rgba(31, 92, 74, 0.06);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
  border-radius: 0 2px 2px 0;
}

.article-summary-label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.article-body h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.2;
  margin: 3rem 0 1rem;
}

.article-body p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.4rem;
}

.article-body ul,
.article-summary ul {
  list-style: none;
  margin: 0 0 1.5rem;
}

.article-summary ul {
  margin-bottom: 0;
}

.article-body li,
.article-summary li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.article-body li:last-child,
.article-summary li:last-child {
  margin-bottom: 0;
}

.article-body li::before,
.article-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.article-body ol {
  list-style: none;
  counter-reset: passo;
  margin: 0 0 1.5rem;
}

.article-body ol li {
  counter-increment: passo;
  padding-left: 2.1rem;
}

.article-body ol li::before {
  content: counter(passo) ".";
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-weight: 700;
  color: var(--accent);
}

.article-body strong {
  font-weight: 700;
}

.article-cta {
  background-color: #141414;
  color: #f7f5f0;
  padding: 2.5rem 2.25rem;
  margin: 3.5rem 0 1.75rem;
  border-radius: 2px;
}

.article-cta-text {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #f7f5f0;
  margin-bottom: 1.5rem;
}

.article-signature {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 245, 240, 0.15);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #b8b8b8;
}

.article-signature strong {
  color: #f7f5f0;
  font-size: 1rem;
}

.article-signature a {
  color: #f7f5f0;
}

.article-disclaimer {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Preserve hierarchy between the return link and page label at every width. */
.article-wrap > .article-back { display: block; width: fit-content; }
.article-wrap > .kicker { display: block; margin-bottom: 0.85rem; }
