/* ── Blog Nascimento ── */
.blog-hero { padding-bottom: 40px; }
.blog-hero .lead { max-width: 640px; }

.post-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: .9rem;
  color: var(--text-body);
  margin: 18px 0 0;
}
.post-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.15; overflow-wrap: break-word; }

/* Layout do post */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.post-body { max-width: 740px; min-width: 0; color: var(--text-body); font-size: 1.05rem; line-height: 1.75; }
.post-body h2 { color: var(--text-dark); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); line-height: 1.3; margin: 44px 0 14px; }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body ul.check-list { padding-left: 0; }
.post-body a { color: var(--navy-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--text-dark); }

.post-summary {
  background: var(--bg-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 8px;
}
.post-summary h2 { margin: 0 0 10px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; color: var(--green-dark); }
.post-summary ul { margin: 0; }
.post-summary li:last-child { margin-bottom: 0; }

.post-steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.post-steps li { counter-increment: step; position: relative; padding-left: 46px; margin-bottom: 16px; }
.post-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: .9rem;
  display: grid; place-items: center;
}

.post-table-wrap { overflow-x: auto; margin: 8px 0 22px; -webkit-overflow-scrolling: touch; }
.post-table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: .97rem; }
.post-table th { background: var(--dark); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; }
.post-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.post-table tbody tr:nth-child(even) td { background: #fafbf3; }
.post-table tr.is-total td { font-weight: 700; color: var(--text-dark); background: var(--bg-light); }

.post-note { font-size: .9rem; color: var(--navy-light); margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-light); }

/* Aside */
.post-aside { position: sticky; top: 110px; }
.post-cta { padding: 28px; background: var(--dark); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.post-cta h3 { color: #fff; }
.post-aside h3 { margin: 6px 0 10px; font-size: 1.25rem; }
.post-aside p { margin: 0 0 20px; color: var(--text-muted); line-height: 1.6; }
.post-aside .btn { width: 100%; justify-content: center; text-align: center; }
.post-aside .btn + .btn { margin-top: 10px; }
.post-aside .aside-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-light); }

/* Listas de posts */
.post-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
  color: inherit;
  text-decoration: none;
}
.post-row:first-child { padding-top: 0; }
.post-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.post-row h3 { margin: 0 0 8px; color: var(--text-dark); font-size: 1.2rem; line-height: 1.35; transition: color var(--transition); }
.post-row p { margin: 0; color: var(--text-body); line-height: 1.6; }
.post-row:hover h3 { color: var(--navy-deep); }
.post-row .post-tag { margin-bottom: 6px; }

.post-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  color: inherit;
  text-decoration: none;
}
.post-featured img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); display: block; }
.post-featured h2 { margin: 0 0 12px; color: var(--text-dark); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.25; transition: color var(--transition); }
.post-featured p { margin: 0 0 20px; line-height: 1.65; }
.post-featured:hover h2 { color: var(--navy-deep); }

.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.blog-filter button {
  font: inherit; font-size: .9rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-light); background: #fff; color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}
.blog-filter button.is-active, .blog-filter button:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.post-row[hidden] { display: none; }

.related-head { margin-bottom: 24px; }
.related-head h2 { margin: 0; }

@media (max-width: 980px) {
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-aside { position: static; }
  .post-featured { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .post-row { grid-template-columns: 1fr; gap: 14px; }
  .post-body { font-size: 1rem; }
  .post-summary { padding: 18px; }
}