/* =============================================================================
   ALEXANDRE LIGNOS — ARTICLE CSS
   Estilos para páginas de artigos individuais (/artigos/*.html)
   ============================================================================= */

/* =============================================
   WRAPPER PRINCIPAL
============================================= */
.article-page {
  padding-top: 130px; /* espaço para a nav fixa */
  padding-bottom: 100px;
}

.article-page__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   CABEÇALHO DO ARTIGO
============================================= */
.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.article-meta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* =============================================
   IMAGEM HERO DO ARTIGO
============================================= */
.article-hero-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .article-hero-img {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.article-hero-img img {
  width: 100%;
  display: block;
}

/* =============================================
   CORPO DO ARTIGO
============================================= */
.article-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.article-body p {
  margin-bottom: 1.8rem;
}

.article-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--text);
  margin: 3.5rem 0 1.2rem;
  line-height: 1.2;
}

.article-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  letter-spacing: 0.02em;
}

/* Separador visual após h2 */
.article-body h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
  margin-top: 10px;
  opacity: 0.6;
}

/* =============================================
   IMAGENS INLINE
============================================= */
.article-img-wrap {
  margin: 2.5rem 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .article-img-wrap {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.article-img-wrap img {
  width: 100%;
  display: block;
}

.article-img-wrap figcaption {
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  background: var(--bg-alt);
  text-align: center;
}

/* =============================================
   CITAÇÃO / QUOTE
============================================= */
.article-quote {
  margin: 3rem 0;
  padding: 2.5rem 3rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}

.article-quote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 0;
}

/* =============================================
   BLOCO DE DESTAQUE
============================================= */
.article-highlight {
  margin: 3rem 0;
  padding: 2.5rem;
  background: rgba(14, 65, 148, 0.05);
  border-radius: var(--radius);
}

[data-theme="dark"] .article-highlight {
  background: rgba(14, 65, 148, 0.12);
}

.article-highlight h3 {
  color: var(--blue);
  margin-top: 0;
}

[data-theme="dark"] .article-highlight h3 {
  color: var(--blue-mid);
}

.article-highlight p:last-child {
  margin-bottom: 0;
}

/* =============================================
   CONCLUSÃO (bloco final)
============================================= */
.article-conclusion {
  margin: 3rem 0 0;
  padding: 2.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-top: 3px solid var(--orange);
}

.article-conclusion h2 {
  margin-top: 0;
}

.article-conclusion h2::after {
  display: none;
}

.article-conclusion p:last-child {
  margin-bottom: 0;
}

/* =============================================
   LINK VOLTAR
============================================= */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  transition: color var(--speed) var(--ease), gap var(--speed) var(--ease);
}

.article-back:hover {
  color: var(--orange);
  gap: 12px;
}

[data-theme="dark"] .article-back {
  color: var(--blue-mid);
}
