/* Blog (/blog): usa a base de landing.css (cores, botões, topo e rodapé). */
.blog .nav { position: sticky; top: 0; }

.blog-hero { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% -20%, #0f5a4f 0%, transparent 60%), var(--deep); color: #fff; padding: 72px 0 64px; }
.blog-hero-inner { position: relative; }
.blog-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; margin-bottom: 18px; max-width: 860px; }
.blog-hero .lead { margin-bottom: 0; max-width: 700px; }
.post-hero h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.post-hero .lead { margin-bottom: 20px; }

.crumbs { font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--lime); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.blog-list-section { padding-top: 64px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card h2, .post-card h3 { font-size: 1.14rem; font-weight: 800; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card h2 a:focus-visible, .post-card h3 a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.post-card p { color: var(--ink-soft); font-size: .95rem; }
.post-card-featured { grid-column: span 2; background: linear-gradient(135deg, #fff, var(--soft)); }
.post-card-featured h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.post-more { margin-top: auto; font-weight: 700; color: var(--green-2); font-size: .92rem; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-soft); }
.post-meta-light { display: block; color: rgba(255, 255, 255, .7); }
.post-cat { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800; color: var(--green-2); }

/* Texto do artigo */
.prose { padding: 56px 0 80px; font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; margin-top: 2em; }
.prose h3 { font-size: 1.18rem; font-weight: 800; margin-top: 1.6em; }
.prose p, .prose li { color: #24403b; }
.prose a:not(.btn) { color: var(--green-2); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 16px 20px; border-left: 4px solid var(--green); background: var(--soft); border-radius: 0 14px 14px 0; }
.prose .tip { padding: 18px 22px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.prose .msg-model { padding: 14px 18px; border-radius: 16px 16px 16px 4px; background: #e7f8ee; border: 1px solid #c8ecd6; font-size: 1rem; white-space: pre-line; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); }
.prose .table-scroll { overflow-x: auto; }

.post-cta { margin-top: 3em !important; padding: 28px; border-radius: var(--radius); background: var(--deep); color: #fff; display: grid; gap: 12px; justify-items: start; }
.post-cta strong { font-size: 1.2rem; color: #fff; }
.post-cta p { color: rgba(255, 255, 255, .8); font-size: 1rem; }

.related .section-title { margin-bottom: 36px; }

@media (max-width: 960px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .post-grid { grid-template-columns: 1fr; }
    .post-card-featured { grid-column: auto; }
    .blog-hero { padding: 48px 0 44px; }
    .prose { font-size: 1.02rem; padding: 40px 0 64px; }
}
