/* ═══════════════════════════════════════════════════════
   Blog — Listing Page Styles
   Editorial · Autoridade · SEO
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.bl-hero {
  padding: var(--page-top) 0 clamp(3rem,6vw,4rem);
  background: var(--cream);
}
.bl-hero h1 { max-width: 600px; margin-bottom: 1.2rem; }
.bl-hero h1 em { color: var(--gold); }
.bl-hero-sub {
  max-width: 580px;
  font-size: clamp(1rem,1.4vw,1.1rem);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

/* ── Filters ── */
.bl-filters {
  padding: 1.4rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.bl-filters-inner {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.bl-filters-inner::-webkit-scrollbar { display: none; }
.bl-filter {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font: 600 .78rem var(--sans);
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}
.bl-filter:hover { border-color: var(--gold-soft); color: var(--ink); }
.bl-filter.is-active {
  border-color: var(--gold);
  background: var(--gold-bg);
  color: var(--gold);
}

/* ── Featured ── */
.bl-featured {
  padding: clamp(3rem,6vw,4.5rem) 0;
  background: var(--white);
}
.bl-featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
}
.bl-feat-main {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .3s;
}
.bl-feat-main:hover { transform: translateY(-3px); border-color: var(--gold-soft); }
.bl-feat-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.bl-feat-main-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bl-feat-cat {
  font-size: .65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.bl-feat-main h3 {
  font: 700 clamp(1.1rem,2vw,1.35rem)/1.25 var(--serif);
  color: var(--ink);
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.bl-feat-excerpt {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.bl-feat-meta {
  margin-top: .8rem;
  font-size: .72rem;
  color: var(--quiet);
}
.bl-feat-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.bl-feat-sm {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  text-decoration: none;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all .3s;
}
.bl-feat-sm:hover { transform: translateY(-2px); border-color: var(--gold-soft); }
.bl-feat-sm img {
  width: 120px;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
}
.bl-feat-sm-body {
  padding: 1rem 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bl-feat-sm h3 {
  font: 700 .88rem/1.3 var(--sans);
  color: var(--ink);
  letter-spacing: 0;
  margin-bottom: .3rem;
}

/* ── Grid ── */
.bl-grid-sec {
  padding: clamp(3rem,6vw,4rem) 0;
  background: var(--cream);
}
.bl-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
}
.bl-grid-header h2 { margin-bottom: 0; }
.bl-grid-header h2 em { color: var(--gold); }
.bl-count {
  font-size: .82rem;
  color: var(--quiet);
}
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.bl-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .3s;
}
.bl-card:hover { transform: translateY(-3px); border-color: var(--gold-soft); }
.bl-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--line);
}
.bl-card-body {
  padding: 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bl-card-cat {
  font-size: .62rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.bl-card h3 {
  font: 700 .9rem/1.3 var(--sans);
  color: var(--ink);
  letter-spacing: 0;
  margin-bottom: .4rem;
  flex: 1;
}
.bl-card-excerpt {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bl-card-meta {
  margin-top: .6rem;
  font-size: .68rem;
  color: var(--quiet);
}

/* ── Pagination ── */
.bl-pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 2.5rem;
}
.bl-page-btn {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .6rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--white);
  font: 600 .82rem var(--sans);
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}
.bl-page-btn:hover { border-color: var(--gold-soft); color: var(--ink); }
.bl-page-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.bl-page-btn.is-disabled {
  opacity: .3;
  pointer-events: none;
}

/* ── Caminhos ── */
.bl-caminhos {
  padding: clamp(4rem,8vw,5rem) 0;
  background: var(--white);
}
.bl-caminhos h2 { margin-bottom: 2rem; }
.bl-caminhos h2 em { color: var(--gold); }
.bl-caminhos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.bl-caminho {
  display: block;
  padding: 1.6rem 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: all .3s;
}
.bl-caminho:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.bl-caminho strong {
  display: block;
  font: 700 .9rem/1.2 var(--sans);
  color: var(--ink);
  margin-bottom: .3rem;
}
.bl-caminho p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}
.bl-caminho-arrow {
  display: block;
  margin-top: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
}

/* ── FAQ ── */
.bl-faq {
  padding: clamp(4rem,8vw,5rem) 0;
  background: var(--cream);
}
.bl-faq h2 { margin-bottom: 2rem; }
.bl-faq-list {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  max-width: 800px;
}
.bl-faq-item {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
}
.bl-faq-item[open] { border-color: var(--gold-soft); }
.bl-faq-item summary {
  cursor: pointer;
  padding: 1rem 1.4rem;
  font: 600 .88rem var(--sans);
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bl-faq-item summary::-webkit-details-marker { display: none; }
.bl-faq-item summary::after {
  content: '';
  width: 9px; height: 9px;
  border-right: 2px solid var(--quiet);
  border-bottom: 2px solid var(--quiet);
  transform: rotate(45deg);
  transition: transform .3s;
  flex-shrink: 0;
}
.bl-faq-item[open] summary::after { transform: rotate(-135deg); }
.bl-faq-answer {
  padding: 0 1.4rem 1rem;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA final ── */
.bl-cta-final {
  padding: clamp(4rem,8vw,6rem) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.bl-cta-final h2 { color: var(--white); margin-bottom: .6rem; }
.bl-cta-final h2 em { color: var(--gold-soft); }
.bl-cta-sub {
  font: italic 400 1rem/1.6 var(--serif);
  color: rgba(255,255,255,.5);
  margin-bottom: 2rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bl-featured-grid { grid-template-columns: 1fr; }
  .bl-grid { grid-template-columns: 1fr 1fr; }
  .bl-caminhos-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-caminhos-grid { grid-template-columns: 1fr; }
  .bl-feat-sm { grid-template-columns: 90px 1fr; }
  .bl-feat-sm img { width: 90px; }
  .bl-pagination { gap: .25rem; flex-wrap: wrap; }
  .bl-page-btn { min-width: 32px; height: 32px; padding: 0 .4rem; font-size: .72rem; }
}

/* ── Newsletter ── */
.bl-newsletter { padding: clamp(3rem,6vw,5rem) 0; background: var(--ink); }
.bl-nl-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
.bl-nl-text h2 { color: var(--white); margin-bottom: .6rem; }
.bl-nl-text h2 em { color: var(--gold-soft); }
.bl-nl-sub { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.65; }
.bl-nl-form { display: flex; flex-direction: column; gap: .5rem; }
.bl-nl-form input { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); background: rgba(255,255,255,.06); color: #fff; font: 500 .88rem var(--sans); }
.bl-nl-form input::placeholder { color: rgba(255,255,255,.3); }
.bl-nl-form input:focus { border-color: var(--gold-soft); outline: none; }
.bl-nl-note { font-size: .68rem; color: rgba(255,255,255,.3); }
.bl-nl-ok { font-size: .95rem; color: var(--gold-soft); font-weight: 600; }
@media (max-width: 640px) { .bl-nl-card { grid-template-columns: 1fr; text-align: center; } }
