/* Blog Muniz Fazendas — herda a identidade do site (docs/blog-muniz.md secao 8.2) */
:root{
  --bg-escuro:#1A2016;
  --verde-profundo:#1E3A1C;
  --verde-medio:#4A7C3F;
  --verde-claro:#7BC96A;
  --bg-claro:#F5F2EC;
  --bg-claro-alt:#EFECE5;
  --dourado:#D4AF37;
  --whatsapp:#25D366;
  --link:#3E6935;
}

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Plus Jakarta Sans',-apple-system,sans-serif;color:var(--bg-escuro);background:var(--bg-claro);line-height:1.6}
a{color:var(--link)}
img{max-width:100%;height:auto;display:block}
h1,h2,.blog-card__label + h2{font-family:'Instrument Serif',Georgia,serif}

.reading-bar{position:fixed;top:0;left:0;width:100%;height:3px;background:rgba(26,32,22,0.08);z-index:300}
.reading-bar__fill{height:100%;width:0;background:var(--verde-claro);transition:width .1s linear}

/* CABECALHO E RODAPE */
.topbar{display:flex;align-items:center;justify-content:space-between;max-width:1080px;margin:0 auto;padding:22px 24px}
.topbar__logo img{height:38px;width:auto;filter:brightness(0)}
.topbar__nav{display:flex;gap:28px}
.topbar__nav a{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:rgba(26,32,22,0.7);text-decoration:none;transition:color .2s}
.topbar__nav a:hover{color:var(--verde-profundo)}
@media(max-width:640px){.topbar__nav{gap:16px}.topbar__nav a{font-size:11px}}

.breadcrumb{max-width:1080px;margin:0 auto;padding:0 24px 24px;font-size:13px;color:rgba(26,32,22,0.68)}
.breadcrumb a{color:rgba(26,32,22,0.7);text-decoration:underline}
.breadcrumb .sep{margin:0 8px}

footer{background:var(--bg-escuro);color:rgba(245,242,236,0.7);margin-top:80px;padding:40px 24px}
footer .footer-inner{max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center}
footer img{height:34px;width:auto;filter:brightness(0) invert(1)}
footer p{font-size:13px}
footer a{color:rgba(245,242,236,0.7);text-decoration:underline;text-decoration-color:rgba(245,242,236,0.3)}
footer a:hover{color:var(--verde-claro);text-decoration-color:var(--verde-claro)}

.whatsapp-float{position:fixed;bottom:24px;right:24px;z-index:250;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--whatsapp);box-shadow:0 8px 24px rgba(0,0,0,0.2)}
.whatsapp-float svg{width:28px;height:28px;fill:#fff}

/* LISTAGEM (PORTAL) */
.blog-hero{text-align:center;padding:32px 24px 56px;max-width:720px;margin:0 auto}
.blog-hero h1{font-size:44px;font-weight:400;letter-spacing:-.01em;margin-bottom:16px;color:var(--verde-profundo)}
.blog-hero p{color:rgba(26,32,22,0.68);font-size:17px}

.blog-grid{max-width:1080px;margin:0 auto;padding:0 24px 96px;display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
@media(max-width:768px){.blog-grid{grid-template-columns:1fr}}

.blog-card{background:#fff;border:1px solid rgba(26,32,22,0.08);border-radius:16px;padding:28px;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.blog-card:hover{border-color:var(--dourado);transform:translateY(-2px)}
.blog-card__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--dourado);margin-bottom:12px}
.blog-card h2{font-size:22px;font-weight:400;line-height:1.3;margin-bottom:10px;color:var(--verde-profundo)}
.blog-card p{font-size:14px;color:rgba(26,32,22,0.68);flex:1}
.blog-card__meta{margin-top:16px;font-size:12px;color:rgba(26,32,22,0.68)}

.blog-em-breve{grid-column:1/-1;max-width:640px;margin:0 auto;padding:48px 32px;text-align:center;background:var(--bg-claro-alt);border-radius:16px;border:1px dashed rgba(26,32,22,0.15)}
.blog-em-breve p{color:rgba(26,32,22,0.7);font-size:15px}

/* ARTIGO */
.container{max-width:720px;margin:0 auto;padding:0 24px}
article{padding:8px 0 60px}
.article-meta{font-size:13px;color:rgba(26,32,22,0.68);margin-bottom:10px}
h1{font-size:38px;font-weight:400;letter-spacing:-.01em;margin-bottom:22px;line-height:1.2;color:var(--verde-profundo)}

.byline{display:flex;align-items:center;gap:16px;margin:24px 0 36px;padding:20px 0;border-top:1px solid rgba(26,32,22,0.1);border-bottom:1px solid rgba(26,32,22,0.1)}
.byline__avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;flex-shrink:0;background:var(--verde-profundo)}
.byline__nome{display:block;font-size:16px;font-weight:700;color:var(--bg-escuro)}
.byline__cargo{display:block;font-size:13px;color:rgba(26,32,22,0.68);margin-top:2px}

.blog-body h2{font-size:26px;font-weight:400;margin:44px 0 16px;color:var(--verde-profundo);padding-bottom:10px;border-bottom:1px solid rgba(26,32,22,0.1)}
.blog-body p{font-size:19px;color:rgba(26,32,22,0.85);margin-bottom:20px;line-height:1.75}
.blog-body strong{color:var(--bg-escuro)}
.blog-body figure{margin:32px 0}
.blog-body figure img{border-radius:12px}
.blog-body figcaption{font-size:13px;color:rgba(26,32,22,0.68);margin-top:8px;text-align:center}

.capsula{background:var(--bg-claro-alt);border-left:3px solid var(--dourado);border-radius:0 12px 12px 0;padding:20px 24px;margin:0 0 20px;font-size:17px;color:var(--bg-escuro)}

/* CONVITE FINAL (secao 5 do docs/blog-muniz.md) */
.convite-final{background:var(--verde-profundo);color:var(--bg-claro);border-radius:16px;padding:32px;margin:48px 0 16px;text-align:center}
.convite-final h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:26px;margin-bottom:12px}
.convite-final p{font-size:16px;color:rgba(245,242,236,0.85);margin-bottom:20px;line-height:1.6}
.convite-final a{display:inline-block;background:var(--dourado);color:var(--bg-escuro);text-decoration:none;padding:14px 32px;border-radius:8px;font-weight:700;font-size:14px;letter-spacing:.02em}
.convite-final a:hover{background:#e0bd4a}

/* FAQ */
.faq{margin:48px 0}
.faq h2{font-size:26px;font-weight:400;margin-bottom:20px;color:var(--verde-profundo);font-family:'Instrument Serif',Georgia,serif}
.faq-item{border-bottom:1px solid rgba(26,32,22,0.1)}
.faq-item summary{padding:16px 0;cursor:pointer;font-weight:600;font-size:16px;color:var(--bg-escuro);list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';color:var(--dourado);font-size:22px;flex-shrink:0}
.faq-item[open] summary::after{content:'−'}
.faq-item p{padding:0 0 16px;font-size:15px;color:rgba(26,32,22,0.7)}

/* FONTES */
.fontes{margin:32px 0;font-size:13px;color:rgba(26,32,22,0.68)}
.fontes summary{cursor:pointer;color:rgba(26,32,22,0.7);font-weight:600}
.fontes ol{margin:12px 0 0 20px}
.fontes li{margin-bottom:6px}
.fontes a{color:rgba(26,32,22,0.68);word-break:break-all}

.aviso-modelo{background:#fff3cd;border:1px solid #f0c94a;border-radius:12px;padding:16px 20px;margin-bottom:32px;font-size:14px;color:#6b5300}
