/*
 * blog.css — estilos compartilhados do blog SSR.
 * Consumido por: app/renderer/blog-renderer.js (índice + artigos).
 * Carregado depois de shared.v5.css (que define cores, fontes e nav/footer).
 */

/* ── Índice (/blog) ──────────────────────────────────────────────────────── */

.blog-hero { padding: calc(var(--nav-h) + 64px) 0 48px; background: var(--cream); }
.blog-hero__eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.blog-hero__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 0 0 16px; color: var(--ink); }
.blog-hero__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.blog-hero__sub { font-size: 17px; line-height: 1.6; color: var(--ink-soft, #4a4a4a); max-width: 640px; margin: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; padding: 64px 0; }
.blog-card { background: #fff; border: 1px solid rgba(15,15,15,0.08); border-radius: 12px; padding: 28px; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,15,15,0.08); }
.blog-card__meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.blog-card__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; line-height: 1.25; margin: 0 0 12px; color: var(--ink); }
.blog-card__desc { font-size: 15px; line-height: 1.55; color: var(--ink-soft, #4a4a4a); margin: 0 0 16px; flex: 1; }
.blog-card__cta { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }

.blog-empty { text-align: center; padding: 64px 0; color: var(--ink-soft, #6a6a6a); font-size: 16px; }

/* ── Artigo (/blog/:slug/) ───────────────────────────────────────────────── */

.post-hero { padding: calc(var(--nav-h) + 56px) 0 32px; background: var(--cream); }
.post-hero__meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.post-hero__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.15; margin: 0 0 16px; color: var(--ink); max-width: 820px; }
.post-hero__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.post-hero__lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft, #4a4a4a); max-width: 720px; margin: 0; }
.post-hero__byline { margin-top: 24px; font-size: 13px; color: var(--ink-soft, #6a6a6a); }

.post-body { padding: 48px 0 64px; }
.post-body .container { max-width: 760px; }
.post-body h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(24px, 3vw, 32px); margin: 48px 0 16px; color: var(--ink); }
.post-body h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.post-body h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 19px; margin: 32px 0 12px; color: var(--ink); }
.post-body p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; color: #2a2a2a; }
.post-body ul, .post-body ol { font-size: 17px; line-height: 1.7; margin: 0 0 16px; padding-left: 24px; color: #2a2a2a; }
.post-body li { margin: 0 0 8px; }
.post-body strong { color: var(--ink); }
.post-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink); }
.post-body blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin: 24px 0; font-style: italic; color: #4a4a4a; }

.tldr { background: var(--cream); border-left: 4px solid var(--gold); padding: 24px 28px; border-radius: 4px; margin: 32px 0; }
.tldr__title { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; font-weight: 600; }
.tldr p { margin: 0; font-size: 16px; }

.price-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.price-table th { text-align: left; padding: 12px 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.price-table td { padding: 14px 16px; border-bottom: 1px solid rgba(15,15,15,0.08); }
.price-table tr:hover td { background: var(--cream); }

.redflag { background: #fff5f0; border-left: 4px solid #d97757; padding: 20px 24px; border-radius: 4px; margin: 24px 0; }
.redflag__title { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #b8542f; margin: 0 0 10px; font-weight: 600; }
.redflag ul { margin: 0; padding-left: 20px; }
.redflag li { font-size: 15px; line-height: 1.6; margin: 0 0 8px; }

.density-card { background: #fff; border: 1px solid rgba(15,15,15,0.08); border-radius: 8px; padding: 24px 28px; margin: 20px 0; }
.density-card__tag { display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; font-weight: 600; }
.density-card__title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.density-card__title em { font-style: italic; color: var(--gold); font-weight: 400; }

.cause-card { background: #fff; border: 1px solid rgba(15,15,15,0.08); border-radius: 8px; padding: 24px 28px; margin: 20px 0; }
.cause-card__tag { display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; font-weight: 600; }
.cause-card__title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.cause-card__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.cause-card p:last-child { margin-bottom: 0; }

.test-box { background: #f0f7f4; border-left: 4px solid #5a8a72; padding: 20px 24px; border-radius: 4px; margin: 20px 0; }
.test-box__title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #4a7a64; margin: 0 0 10px; font-weight: 600; }
.test-box p { margin: 0 0 8px; font-size: 15px; }

.score-best { color: #4a7a64; font-weight: 700; }
.score-mid  { color: #b08a3a; font-weight: 700; }
.score-bad  { color: #b8542f; font-weight: 700; }

.pet-card, .kid-card { background: #fff; border: 1px solid rgba(15,15,15,0.08); border-radius: 8px; padding: 24px 28px; margin: 20px 0; }
.pet-card__tag, .kid-card__tag { display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; font-weight: 600; }
.pet-card__title, .kid-card__title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.pet-card__title em, .kid-card__title em { font-style: italic; color: var(--gold); font-weight: 400; }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
@media (max-width: 700px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { background: #fff; border: 1px solid rgba(15,15,15,0.08); border-radius: 8px; padding: 24px; }
.compare-card h3 { margin-top: 0; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; }
.compare-card h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
.compare-card ul { margin: 12px 0 0; padding-left: 20px; font-size: 15px; }
.compare-card li { margin: 0 0 8px; line-height: 1.5; }

.checklist { background: #f0f7f4; border-left: 4px solid #5a8a72; padding: 20px 24px; border-radius: 4px; margin: 24px 0; }
.checklist__title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #4a7a64; margin: 0 0 10px; font-weight: 600; }
.checklist ul { margin: 0; padding-left: 20px; }
.checklist li { font-size: 15px; line-height: 1.6; margin: 0 0 8px; }

.related-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 32px 0; }
.related-card { background: #fff; border: 1px solid rgba(15,15,15,0.08); border-radius: 8px; padding: 20px; text-decoration: none; color: inherit; transition: transform 0.2s; }
.related-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.related-card__title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.related-card__desc { font-size: 14px; line-height: 1.5; margin: 0; color: #4a4a4a; }

.post-faq { padding: 48px 0; background: var(--cream); }
.post-faq .container { max-width: 760px; }

.author-box { display: flex; gap: 16px; align-items: center; padding: 24px; background: #fafafa; border-radius: 8px; margin: 48px 0 0; }
.author-box__symbol { width: 56px; height: 56px; flex-shrink: 0; }
.author-box__text p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; }
.author-box__text strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
