/* =============================================================
   article.css — paginas de artigo, hub /artigos, e bloco
   "Ultimas analises" injetado na home. Depende de pages.css.
   ============================================================= */

/* Breadcrumb acima do titulo */
.breadcrumb {
  font-size: 13px;
  color: var(--texto-suave);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.breadcrumb a {
  color: #0e7a35;
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--texto); font-weight: 600; }

/* Badge de categoria */
.article-category {
  display: inline-block;
  background: var(--amarelo-brasil);
  color: var(--verde-mais-escuro);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.article-card h1 {
  margin: 0 0 8px;
  line-height: 1.18;
}

.article-meta {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--texto-suave);
  padding-bottom: 18px;
  border-bottom: 1px solid #e2eae5;
}
.article-meta strong { color: var(--verde-mais-escuro); }

.article-card h2 {
  font-size: 22px;
  margin-top: 36px;
}
.article-card h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--verde-mais-escuro);
  font-weight: 700;
}

.article-card p {
  margin: 0 0 14px;
}

.article-card blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--amarelo-brasil);
  background: #fdfbe7;
  color: var(--texto);
  font-style: italic;
}

.article-card strong { color: var(--verde-mais-escuro); }

.article-sep {
  border: none;
  border-top: 2px dashed #d6e0db;
  margin: 36px 0 22px;
}

.article-related h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--verde-escuro);
}
.article-related ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.article-related li {
  margin-bottom: 8px;
}
.article-related a {
  color: #0e7a35;
  font-weight: 600;
  text-decoration: none;
}
.article-related a:hover { text-decoration: underline; }

/* CTA no fim do artigo */
.article-cta {
  background: linear-gradient(135deg, #effaf2 0%, #e3f4ea 100%);
  border: 1px solid #b8e6c8;
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 28px;
}
.article-cta p { margin: 0 0 14px; }
.article-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #00c853 0%, #009c3b 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  text-transform: uppercase;
}
.article-cta-btn:hover { filter: brightness(1.08); }

/* ========== Hub /artigos ========== */

.hub-main { max-width: 920px; }

.hub-card .lead {
  margin: 6px 0 28px;
}

.hub-section { margin-top: 30px; }
.hub-section h2 {
  font-size: 22px;
  color: var(--verde-escuro);
  border-bottom: 2px solid var(--amarelo-brasil);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.hub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.hub-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #f7faf8;
  border: 1px solid #d8e6dd;
  border-radius: 12px;
  text-decoration: none;
  color: var(--texto);
  height: 100%;
  transition: transform 120ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.hub-item a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 80, 40, 0.18);
  border-color: var(--verde-brasil);
}
.hub-date {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-suave);
  font-weight: 700;
}
.hub-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--verde-mais-escuro);
  line-height: 1.3;
}
.hub-desc {
  font-size: 13px;
  color: var(--texto-suave);
  line-height: 1.45;
}

/* ========== Bloco "Ultimas analises" na home ========== */

.bloco-analises .latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 14px 0 10px;
}

.latest-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #d8e6dd;
  border-radius: 12px;
  text-decoration: none;
  color: var(--texto, #1a2b20);
  transition: transform 120ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.latest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 80, 40, 0.15);
  border-color: #0d6e2c;
}
.latest-cat {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #08501f;
  background: #ffdf00;
  padding: 3px 8px;
  border-radius: 999px;
  align-self: flex-start;
}
.latest-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #08501f;
  line-height: 1.3;
}
.latest-card p {
  margin: 0;
  font-size: 13px;
  color: #4a5b50;
  line-height: 1.45;
}
.latest-date {
  font-size: 11px;
  color: #4a5b50;
  margin-top: auto;
}
.latest-cta {
  margin-top: 10px;
  text-align: right;
}
.latest-cta a {
  color: #0d6e2c;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}
.latest-cta a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .hub-list, .bloco-analises .latest-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Bloco /chaves/ promo na home ========== */
.bloco-chaves {
  background: linear-gradient(135deg, rgba(255, 223, 0, 0.18) 0%, rgba(0, 156, 59, 0.12) 100%);
  border: 1px solid rgba(255, 223, 0, 0.5);
}
.bloco-chaves h2 {
  color: #ffdf00;
}
.bloco-chaves .chaves-cta {
  margin: 14px 0 0;
  text-align: center;
}
.chaves-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ffdf00 0%, #ffb700 100%);
  color: #08501f !important;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none !important;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255, 200, 0, 0.4);
  transition: transform 130ms ease, box-shadow 150ms ease;
}
.chaves-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 200, 0, 0.55);
}
