/* Estilos do blog — Pires, Ocanha & Consolini Advogados */
:root {
  --ink:    #0A0A0A;
  --text:   #2B2B2B;
  --muted:  #4F4F4F;
  --soft:   #666666;
  --line:   #D6D6D6;
  --bg:     #FFFFFF;
  --bg2:    #F2F2F2;
  --bg3:    #E8E8E8;
  --head:   #0A0A0A;
  --white:  #FFFFFF;
  --serif:  'Cinzel', Georgia, serif;
  --sans:   'Garet', 'Montserrat', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }

/* ── NAV (escuro, igual ao site) ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,.97); backdrop-filter: blur(10px); border-bottom: 1px solid #222; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--white); transition: opacity .2s; }
.nav-links a:hover { opacity: .7; }
.nav-links a.active { border-bottom: 1px solid var(--white); padding-bottom: 4px; }
.menu-btn { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; }

/* ── HERO ── */
.blog-hero { background: var(--bg2); border-bottom: 1px solid var(--line); padding: 96px max(32px, calc((100% - 1136px) / 2)) 72px; }
.hero-label { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.hero-label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero-title { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 50px); font-weight: 600; line-height: 1.15; color: var(--ink); max-width: 680px; margin-bottom: 20px; }
.hero-sub { font-size: 17px; color: var(--text); max-width: 540px; }

/* ── FILTROS ── */
.filters { padding: 40px max(32px, calc((100% - 1136px) / 2)) 0; display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn { padding: 9px 18px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .2s; font-family: var(--sans); border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 0; }
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: var(--white); }

/* ── GRID ── */
.posts-grid { padding: 40px max(32px, calc((100% - 1136px) / 2)) 96px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card { background: var(--bg2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: background .25s, transform .25s; text-decoration: none; color: inherit; }
.post-card:hover { background: var(--bg3); transform: translateY(-3px); }
.post-cat { padding: 24px 26px 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--soft); text-transform: uppercase; }
.post-title { padding: 10px 26px 12px; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.post-excerpt { padding: 0 26px; font-size: 15px; color: var(--muted); line-height: 1.7; flex: 1; }
.post-meta { padding: 16px 26px 22px; font-size: 12px; color: var(--soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 18px; }
.post-author { color: var(--ink); font-weight: 600; }
.read-more { font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: .12em; text-transform: uppercase; }

/* ── VAZIO ── */
.empty-state { padding: 40px 32px 112px; text-align: center; color: var(--muted); }
.empty-state h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }

/* ── POST ÚNICO ── */
.single-post { display: none; }
.single-post.visible { display: block; }
.posts-list.hidden { display: none; }
.post-full { max-width: 760px; margin: 0 auto; padding: 72px 32px 112px; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; margin-bottom: 48px; background: none; border: 0; border-bottom: 1px solid var(--ink); padding: 0 0 3px; font-family: var(--sans); }
.back-btn:hover { color: var(--muted); border-color: var(--muted); }
.post-full-cat { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--soft); text-transform: uppercase; margin-bottom: 14px; }
.post-full-title { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px); font-weight: 600; line-height: 1.25; color: var(--ink); margin-bottom: 18px; }
.post-full-meta { font-size: 13px; color: var(--soft); margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-full-meta span { color: var(--ink); font-weight: 600; }
.post-full-body { font-size: 17px; line-height: 1.85; color: var(--text); }
.post-full-body p { margin-bottom: 1.4em; }
.post-full-body h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); margin: 2em 0 .8em; }
.post-full-body h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); margin: 1.6em 0 .6em; }
.post-full-body blockquote { border-left: 2px solid var(--ink); padding-left: 20px; color: var(--muted); font-style: italic; margin: 1.5em 0; }

/* ── RODAPÉ ── */
footer { background: var(--bg3); border-top: 1px solid var(--line); padding: 40px max(32px, calc((100% - 1136px) / 2)); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-oab { font-size: 12px; color: var(--muted); text-align: right; line-height: 1.7; }

/* ── RESPONSIVO ── */
@media (max-width: 860px) {
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 40px; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--head); border-bottom: 1px solid #222; padding: 8px 16px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid #262626; }
  .nav-links a.active { padding-bottom: 14px; }
  .blog-hero { padding: 56px 16px 48px; }
  .filters { padding: 32px 16px 0; }
  .posts-grid { padding: 32px 16px 72px; grid-template-columns: 1fr; }
  .empty-state { padding: 32px 16px 80px; }
  .post-full { padding: 48px 16px 80px; }
  footer { padding: 30px 16px; flex-direction: column; align-items: flex-start; }
  .footer-oab { text-align: left; }
}
/* ── BOTÃO FLUTUANTE (WhatsApp → Linktree) ── */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: #0A0A0A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .2s, background .2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.07); background: #333333; }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 860px) { .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } }

/* ── PÁGINA DO ARTIGO: compartilhar e chamada ── */
.share { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.share-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: all .2s; border-radius: 0; }
.share-btn:hover { background: var(--ink); color: var(--white); }
.share-btn svg { width: 16px; height: 16px; flex: none; }
.share-btn[hidden] { display: none; }
.share-ok { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 1.4em; }
.post-cta { margin-top: 48px; background: var(--bg2); border: 1px solid var(--line); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.post-cta p { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.4; max-width: 420px; }
.post-cta a { display: inline-flex; padding: 14px 22px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.post-cta a:hover { background: #333; }
.back-link { display: inline-flex; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 48px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.back-link:hover { color: var(--muted); border-color: var(--muted); }
.loading { padding: 40px 32px 112px; text-align: center; color: var(--soft); }
@media (max-width: 860px) { .share-btn { flex: 1 1 calc(50% - 10px); justify-content: center; } .post-cta { padding: 24px; } }
