/* Blog Cafeína Capixaba — páginas geradas pelo painel (aba Blog). */
:root {
  --heading: #2A3D2A;
  --bg: #F9F7F3;
  --ink: #1A1A18;
  --muted: #5A5A52;
  --line: #E2DDD5;
  --accent: #8B5E1A;
  --accent-soft: #F4EFE6;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --pad-x: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
a { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); }
.previa { background: #8A2E1F; color: #fff; text-align: center; padding: 8px 16px; font-size: 13px; font-weight: 600; }

.site-bar { background: #2A3D2A; }
.site-bar-in { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); display: flex; gap: clamp(18px, 3vw, 30px); justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
.site-bar a { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(244,239,230,.78); text-decoration: none; padding: 11px 0 9px; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-bar a:hover { color: #fff; }
.site-bar a[aria-current="page"] { color: #fff; border-bottom-color: #C8922A; }
@media (max-width: 560px) { .site-bar-in { justify-content: center; } }

.top { position: sticky; top: 0; z-index: 20; background: rgba(249,247,243,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--heading); text-decoration: none; }
.brand b { font: 400 24px/1 var(--serif); }
.brand span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
@media (max-width: 420px) { .brand b { font-size: 20px; } }
.brand b { white-space: nowrap; }
@media (max-width: 560px) { .btn .longo { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); background: var(--accent); color: var(--white); padding: 14px 22px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; text-decoration: none; min-height: 48px; }
.btn:hover { background: #6f4a14; border-color: #6f4a14; color: var(--white); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: 10px 16px; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* Lista */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 32px); display: grid; gap: 16px; max-width: 760px; }
.hero h1 { font: 300 clamp(40px, 6vw, 68px)/1.04 var(--serif); color: var(--heading); letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 22px; scrollbar-width: none; }
.cats a { flex: none; border: 1px solid var(--line); background: var(--white); padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; }
.cats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; padding-bottom: 72px; }
.cartao a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .15s; }
.cartao a:hover { border-color: var(--accent); }
.cartao .capa { aspect-ratio: 16 / 10; background: var(--accent-soft); overflow: hidden; }
.cartao .capa img { width: 100%; height: 100%; object-fit: cover; }
.cartao .sem-capa { width: 100%; height: 100%; display: grid; place-items: center; font: 300 56px var(--serif); color: var(--accent); }
.cartao .info { padding: 18px; display: grid; gap: 8px; align-content: start; }
.cartao h2 { font: 500 24px/1.15 var(--serif); color: var(--heading); }
.cartao .resumo { color: var(--muted); font-size: 14px; line-height: 1.55; }
.cartao .meta, .meta { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.vazio { color: var(--muted); padding: 24px 0 96px; }

/* Artigo */
.artigo-wrap { max-width: 1000px; }
.migalhas { padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.migalhas a { color: var(--muted); }
.artigo { max-width: 720px; margin: 0 auto; padding: clamp(20px, 4vw, 40px) 0 48px; }
.artigo-cab { display: grid; gap: 14px; margin-bottom: 26px; }
.artigo-cab h1 { font: 400 clamp(36px, 5.4vw, 58px)/1.06 var(--serif); color: var(--heading); letter-spacing: -.02em; }
.linha-fina { font-size: 19px; line-height: 1.55; color: var(--muted); }
.capa-artigo { margin: 0 0 30px; }
.capa-artigo img { width: 100%; border: 1px solid var(--line); }
.conteudo { font-size: 18px; line-height: 1.75; }
.conteudo > * + * { margin-top: 1.1em; }
.conteudo h2 { font: 500 clamp(28px, 3.4vw, 36px)/1.15 var(--serif); color: var(--heading); margin-top: 1.8em; }
.conteudo h3 { font: 600 21px/1.3 var(--sans); color: var(--heading); margin-top: 1.5em; }
.conteudo h4 { font: 600 17px/1.3 var(--sans); margin-top: 1.3em; }
.conteudo ul, .conteudo ol { padding-left: 1.3em; }
.conteudo li + li { margin-top: .4em; }
.conteudo blockquote { margin-left: 0; margin-right: 0; border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; font: italic 300 24px/1.45 var(--serif); color: var(--heading); }
.conteudo figure { margin-left: 0; margin-right: 0; }
.conteudo figure img { width: 100%; border: 1px solid var(--line); }
.conteudo figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.conteudo figure.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.conteudo figure.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.conteudo hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.conteudo p.cta { text-align: center; }
.conteudo a.cta-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); background: var(--accent); color: var(--white); padding: 14px 24px; font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; min-height: 48px; }
.conteudo a.cta-btn:hover { background: #6f4a14; }
.chamada { margin-top: 48px; background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 4vw, 32px); display: grid; gap: 12px; }
.chamada h2 { font: 400 clamp(26px, 3.4vw, 34px)/1.15 var(--serif); color: var(--heading); }
.chamada p { color: var(--muted); line-height: 1.6; }
.chamada .acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.mais { border-top: 1px solid var(--line); padding-top: 36px; }
.mais > h2 { font: 400 32px/1.1 var(--serif); color: var(--heading); margin-bottom: 18px; }

.rodape { border-top: 1px solid var(--line); padding: 24px 0 36px; font-size: 12px; color: var(--muted); line-height: 1.7; }
