/* Página pública de novidades (changelog) */

/* O inicio.css deixa as seções em opacity 0.35 até o scroll revelar. Aqui a
   página é uma lista para leitura, então o conteúdo já entra visível. */
.js .page.novidades-page > section {
  opacity: 1;
  transform: none;
  transition: none;
}

.novidades-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  text-align: center;
}

.novidades-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  color: #101828;
  margin: 16px 0 12px;
}

.novidades-hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #475467;
  max-width: 620px;
  margin: 0 auto;
}

.novidades-hero__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.novidades-hero__chip {
  font-size: 13px;
  color: #475467;
  background: #f2f4f7;
  border-radius: 999px;
  padding: 6px 14px;
}

.novidades-conteudo {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.novidades-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.novidades-filtro {
  border: 1px solid #e4e7ec;
  background: #fff;
  color: #475467;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}

.novidades-filtro:hover {
  border-color: #d0d5dd;
}

.novidades-filtro--ativo {
  background: #101828;
  border-color: #101828;
  color: #fff;
}

.novidades-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.novidades-card {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid #eaecf0;
}

.novidades-card:first-child {
  border-top: none;
}

.novidades-card__data {
  flex: 0 0 104px;
  padding-top: 2px;
}

.novidades-card__data time {
  font-size: 14px;
  font-weight: 600;
  color: #98a2b3;
}

.novidades-card__corpo {
  flex: 1 1 auto;
  min-width: 0;
}

.novidades-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.novidades-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
}

.novidades-tag--novidade {
  background: #eff4ff;
  color: #175cd3;
}

.novidades-tag--melhoria {
  background: #ecfdf3;
  color: #027a48;
}

.novidades-tag--correcao {
  background: #fffaeb;
  color: #b54708;
}

.novidades-card__titulo {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #101828;
  margin: 0 0 8px;
}

.novidades-card__descricao {
  font-size: 16px;
  line-height: 1.6;
  color: #475467;
  margin: 0;
}

.novidades-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #e4002b;
  text-decoration: none;
}

.novidades-card--destaque .novidades-card__titulo::before {
  content: "★";
  color: #e4002b;
  margin-right: 8px;
}

.novidades-vazio {
  text-align: center;
  color: #667085;
  padding: 40px 0;
}

.novidades-cta {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  text-align: center;
  border-top: 1px solid #eaecf0;
}

.novidades-cta__title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: #101828;
  margin: 0 0 8px;
}

.novidades-cta__subtitle {
  font-size: 16px;
  color: #475467;
  margin: 0 0 24px;
}

@media (max-width: 640px) {
  .novidades-hero {
    padding: 40px 20px 24px;
  }

  .novidades-card {
    flex-direction: column;
    gap: 10px;
  }

  .novidades-card__data {
    flex: none;
  }
}
