/* Estilos das páginas de conteúdo (guias, checklists e artigos).
   Estende a identidade de /css/seo.css. */

.breadcrumb {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li::after {
  content: "›";
  margin-left: 8px;
  color: var(--border);
}

.breadcrumb li:last-child::after {
  content: "";
  margin-left: 0;
}

.breadcrumb a {
  text-decoration: none;
}

.article-page .lead {
  margin-bottom: 12px;
}

/* Botões de call-to-action */
.cta-inline {
  margin: 32px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--lime-500);
  color: var(--brand-900);
  box-shadow: 0 8px 22px rgba(14, 107, 99, 0.18);
}

.btn--primary:hover {
  color: var(--brand-900);
  box-shadow: 0 12px 28px rgba(14, 107, 99, 0.26);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-600);
  border: 1.5px solid var(--brand-500);
}

.btn--ghost:hover {
  color: var(--brand-900);
  border-color: var(--brand-900);
}

.cta-hint {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Caixa de exemplo prático */
.example {
  margin: 36px 0;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand-500);
  border-radius: 12px;
  background: var(--card);
}

.example h2,
.example h3 {
  margin-top: 0;
}

/* Checklist */
.checklist {
  margin: 36px 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7f4 100%);
}

.checklist h2 {
  margin-top: 0;
  font-size: 24px;
}

.checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--lime-500);
  box-shadow: inset 0 0 0 2px var(--brand-800);
}

.checklist li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 1px;
  font-size: 14px;
  font-weight: 900;
  color: var(--brand-900);
}

/* Bloco final de CTA (reforça .cta de seo.css) */
.cta a.btn,
.cta .btn--primary {
  margin-top: 8px;
  color: var(--brand-900);
}

.cta a.btn:hover,
.cta .btn--primary:hover {
  color: var(--brand-900);
}

.cta p {
  color: #d7e9e5;
}

/* Páginas relacionadas */
.related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related h2 {
  margin-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.related-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.12s ease, transform 0.12s ease;
}

.related-card:hover {
  border-color: var(--brand-500);
  transform: translateY(-2px);
  color: var(--text);
}

.related-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.related-card strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

/* Hub de conteúdos */
.hub-intro {
  margin-bottom: 40px;
}

.hub-cluster {
  margin-top: 48px;
}

.hub-cluster h2 {
  margin-bottom: 6px;
}

.hub-cluster p.cluster-desc {
  margin: 0 0 18px;
  color: var(--muted);
}

.hub-list {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-list li {
  break-inside: avoid;
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.hub-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand-500);
}

.hub-list a {
  text-decoration: none;
}

.hub-list a:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hub-list {
    columns: 1;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
