/* ==========================================================================
   Agenda+ · blog (/blog/) e artigos (guias, páginas de negócio e ajuda)
   Carregado depois de style.css, home.css e segmento.css. Prefixo `bl-`.
   O texto dos artigos vem de tools/conteudo/*.mjs (h2, h3, p, ul, ol,
   .guia-tabela, .guia-fonte) e é estilizado aqui dentro de .bl-content.
   ========================================================================== */

/* ---------- Topo do blog ---------- */
.bl-top { padding-block: 80px 40px; }
.bl-top__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.bl-top__copy { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.bl-top__title { font-size: 72px; font-weight: 800; line-height: 0.96; }
.bl-top__lead { max-width: 380px; font-size: 16.5px; }

/* ---------- Destaque ---------- */
.bl-feature-wrap { padding-bottom: 64px; }
.bl-feature {
  --hp-focus: var(--hp-orange-2);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 32px;
  background: var(--hp-navy);
  color: #fff;
  text-decoration: none;
}
.bl-feature:focus-visible { outline: 3px solid var(--hp-orange-ink); outline-offset: 4px; }
.bl-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 52px;
}
.bl-feature__meta { display: flex; align-items: center; gap: 10px; color: #b9c3d3; font-size: 13px; }
.bl-feature__tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--hp-orange-2);
  color: var(--hp-navy);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bl-feature__title { font-size: 46px; font-weight: 800; line-height: 1.03; }
.bl-feature__dek { max-width: 520px; color: #c7d0dd; font-size: 17px; line-height: 1.55; }
.bl-feature__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.bl-feature:hover .bl-feature__more { text-decoration: underline; text-underline-offset: 4px; }
.bl-feature__media { position: relative; min-height: 420px; }
.bl-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 60%;
}

/* ---------- Lista + filtro ---------- */
.bl-list { padding-bottom: 100px; }
.bl-list__inner { display: flex; flex-direction: column; gap: 32px; }
.bl-list__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.bl-list__title { font-size: 32px; font-weight: 800; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hp-line-3);
  border-radius: 999px;
  background: #fff;
  color: var(--hp-ink-2);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.bl-chip:hover { border-color: var(--hp-ink); }
.bl-chip[aria-pressed="true"] { border-color: var(--hp-navy); background: var(--hp-navy); color: #fff; }
.bl-chip:focus-visible,
.bl-card:focus-visible { outline: 3px solid var(--hp-focus); outline-offset: 3px; }
.bl-status:empty { display: none; }
.bl-status { color: var(--hp-text); font-size: 15px; }

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 22px;
  list-style: none;
}
.bl-item[hidden] { display: none; }
.bl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  border-radius: 22px;
  color: var(--hp-ink);
  text-decoration: none;
}
.bl-card:hover .bl-card__title { color: var(--hp-orange-ink); }
.bl-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 18px;
  border-radius: 22px;
}
.bl-cover--photo { background: var(--hp-sand); }
.bl-cover--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bl-cover--navy { background: var(--hp-navy); color: #fff; }
.bl-cover--sand { background: var(--hp-sand); color: var(--hp-ink); }
.bl-cover--orange { background: var(--hp-orange); color: #1a1208; }
.bl-cover--green { background: var(--hp-green); color: #fff; }
.bl-cover--teal { background: #0b7f75; color: #fff; }
.bl-cover__big {
  font-size: 96px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.bl-cover__big--md { font-size: 72px; }
.bl-cover__big--sm { font-size: 56px; }
.bl-cover__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--hp-ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bl-card__body { display: flex; flex-direction: column; gap: 8px; }
.bl-card__title {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}
.bl-card__dek { color: var(--hp-text); font-size: 15px; line-height: 1.5; }
.bl-card__meta { color: var(--hp-muted); font-size: 13px; }

/* ---------- Artigo ---------- */
.bl-article { padding-block: 40px 72px; }
.bl-article__wrap { max-width: calc(780px + 2 * var(--hp-gutter)); }
.bl-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 32px;
  color: var(--hp-muted);
  font-size: 13.5px;
}
.bl-crumbs a { color: var(--hp-muted); text-decoration: underline; text-decoration-color: var(--hp-line-3); text-underline-offset: 3px; }
.bl-crumbs a:hover { color: var(--hp-ink); }
.bl-crumbs [aria-current] { color: var(--hp-ink); font-weight: 600; }
.bl-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--hp-line-3); }
.bl-head__title { font-size: 52px; font-weight: 800; line-height: 1.02; }
.bl-head__lead { color: var(--hp-text); font-size: 19px; line-height: 1.55; }
.bl-head__meta { color: var(--hp-muted); font-size: 13.5px; }

.bl-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 36px;
  color: var(--hp-ink-2);
  font-size: 17px;
  line-height: 1.7;
}
.bl-content section { display: flex; flex-direction: column; gap: 14px; }
.bl-content h2 {
  color: var(--hp-ink);
  font-family: var(--hp-font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.bl-content h3 { margin-top: 8px; color: var(--hp-ink); font-size: 19px; line-height: 1.35; }
.bl-content strong { color: var(--hp-ink); }
.bl-content a { color: var(--hp-orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.bl-content a:hover { color: var(--hp-ink); }
.bl-content a:focus-visible { outline: 3px solid var(--hp-focus); outline-offset: 2px; border-radius: 2px; }
.bl-content a.hp-btn,
.bl-content a.hp-btn:hover { color: #fff; text-decoration: none; }
.bl-content a.hp-btn:focus-visible { outline-color: var(--hp-navy); outline-offset: 3px; border-radius: 999px; }
.bl-content ul,
.bl-content ol { display: flex; flex-direction: column; gap: 8px; padding-left: 1.3em; }
.bl-content ul { list-style: disc; }
.bl-content ol { list-style: decimal; }
.bl-content li::marker { color: var(--hp-orange-btn); font-weight: 700; }

.bl-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 26px;
  border: 1px solid #f3d6bf;
  border-radius: 20px;
  background: var(--hp-orange-soft);
}
.bl-summary strong { color: var(--hp-orange-ink); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.bl-summary p { color: var(--hp-ink); }

.bl-content .guia-tabela {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--hp-line-2);
  border-radius: 18px;
  background: #fff;
}
.bl-content table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.bl-content th,
.bl-content td { padding: 14px 16px; border-bottom: 1px solid #efeae2; text-align: left; vertical-align: top; }
.bl-content thead th { background: var(--hp-sand); color: var(--hp-ink); font-weight: 700; }
.bl-content tbody th { color: var(--hp-ink); font-weight: 600; }
.bl-content tbody tr:last-child th,
.bl-content tbody tr:last-child td { border-bottom: 0; }
.bl-content .guia-fonte { color: var(--hp-muted); font-size: 13.5px; line-height: 1.55; }

.bl-faq { display: flex; flex-direction: column; gap: 8px; }
.bl-faq .pl-faq__item summary { font-size: 17px; color: var(--hp-ink); }
.bl-faq .pl-faq__item p { font-size: 16px; }

.bl-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px;
  border-radius: 28px;
  background: var(--hp-orange);
}
.bl-cta__title { color: #1a1208; font-size: 26px; font-weight: 800; line-height: 1.1; }
.bl-cta__text { color: #2e1c0c; font-size: 15.5px; }

/* ---------- Continue lendo ---------- */
.bl-related { padding-block: 72px 100px; border-top: 1px solid var(--hp-line); background: #fff; }
.bl-related__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}
.bl-related__title { font-size: 36px; font-weight: 800; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .bl-top { padding-block: 48px 32px; }
  .bl-top__title { font-size: clamp(38px, 9vw, 56px); }
  .bl-top__lead { max-width: none; }
  .bl-feature { grid-template-columns: minmax(0, 1fr); }
  .bl-feature__media { order: -1; min-height: 260px; }
  .bl-feature__copy { padding: 32px; }
  .bl-feature__title { font-size: clamp(28px, 6.5vw, 40px); }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-head__title { font-size: clamp(32px, 7.5vw, 44px); }
}
@media (max-width: 620px) {
  .bl-grid { grid-template-columns: minmax(0, 1fr); }
  .bl-cover { aspect-ratio: 16 / 9; }
  .bl-cover__big { font-size: 80px; }
  .bl-cover__big--md { font-size: 60px; }
  .bl-cover__big--sm { font-size: 48px; }
}
@media (max-width: 480px) {
  .bl-feature { border-radius: 24px; }
  .bl-feature__copy { padding: 24px; }
  .bl-chips { gap: 6px; }
  .bl-chip { padding: 0 14px; }
  .bl-article { padding-top: 28px; }
  .bl-head__lead { font-size: 17px; }
  .bl-content { font-size: 16px; }
  .bl-content h2 { font-size: 25px; }
  .bl-summary { padding: 20px; }
  .bl-cta { padding: 24px; border-radius: 24px; }
  .bl-cta .sg-cta__btn { align-self: stretch; width: 100%; }
  .bl-related__title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card__title { transition: none; }
}
