.blog-hero {
  background: #0F0F0F;
  color: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '⚡';
  position: absolute;
  font-size: 240px;
  right: -20px; top: -40px;
  opacity: .04;
  pointer-events: none;
  line-height: 1;
}
.blog-tag {
  display: inline-block;
  background: #F5C842;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.blog-hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.blog-hero h1 em { font-style: normal; color: #F5C842; }
.blog-hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  max-width: 580px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.blog-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
}
.blog-meta strong { color: rgba(255,255,255,.8); }

.blog-indice {
  background: #FFF9E0;
  border: 2px solid #F5C842;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.blog-indice h2 {
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #856404; margin-bottom: 14px;
}
.blog-indice ol {
  list-style: none; counter-reset: idx;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px 20px;
}
.blog-indice li {
  counter-increment: idx;
  font-size: 14px; display: flex; gap: 8px; align-items: baseline;
}
.blog-indice li::before {
  content: counter(idx, decimal-leading-zero);
  font-size: 11px; font-weight: 700; color: #856404; opacity: .7; flex-shrink: 0;
}
.blog-indice a { color: #1a1a1a; text-decoration: none; border-bottom: 1px solid #d4a81766; }
.blog-indice a:hover { border-color: #D4A817; }

.blog-secao { margin-bottom: 56px; scroll-margin-top: 20px; }
.blog-secao-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #D4A817; margin-bottom: 6px;
}
.blog-secao h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: 16px;
}
.blog-secao h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; }
.blog-secao p { margin-bottom: 14px; color: #2a2a2a; line-height: 1.75; }

.b-destaque {
  background: #0F0F0F; color: #fff;
  border-radius: 10px; padding: 24px 28px;
  margin: 24px 0; border-left: 4px solid #F5C842;
}
.b-destaque p { color: rgba(255,255,255,.82); margin: 0; }
.b-destaque strong { color: #F5C842; }

.b-formula {
  background: #F4F4F0; border: 1.5px solid #E0DFD8;
  border-radius: 10px; padding: 24px 28px; margin: 24px 0; text-align: center;
}
.b-formula-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.b-formula-eq { font-size: clamp(18px, 3.5vw, 28px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.b-formula-leg { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #666; }
.b-formula-leg strong { color: #000; font-size: 14px; }

.b-alerta {
  display: flex; gap: 14px; align-items: flex-start;
  background: #FEF9E7; border: 1px solid #F9CA24;
  border-radius: 10px; padding: 18px 22px; margin: 20px 0;
}
.b-alerta-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.b-alerta-text { font-size: 14px; color: #7D6608; line-height: 1.6; }
.b-alerta-text strong { color: #5D4E08; }
.b-alerta-text a { color: #5D4E08; }
.b-alerta-danger { background: #FDEDEC; border-color: #E74C3C; }
.b-alerta-danger .b-alerta-text { color: #C0392B; }
.b-alerta-danger .b-alerta-text strong { color: #922B21; }

.b-tabela-wrap { overflow-x: auto; margin: 20px 0; border-radius: 10px; border: 1px solid #E0DFD8; }
.b-tabela-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.b-tabela-wrap thead { background: #0F0F0F; color: #fff; }
.b-tabela-wrap thead th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px; text-align: left; }
.b-tabela-wrap tbody tr { border-bottom: 1px solid #E0DFD8; }
.b-tabela-wrap tbody tr:last-child { border-bottom: none; }
.b-tabela-wrap tbody tr:hover { background: #F4F4F0; }
.b-tabela-wrap tbody td { padding: 11px 14px; color: #2a2a2a; }
.td-b { font-weight: 700; font-size: 15px; }

.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 4px; letter-spacing: .03em; }
.badge-y { background: #FFF3CD; color: #856404; }
.badge-g { background: #D4EDDA; color: #1E7E34; }
.badge-b { background: #D6E4F0; color: #1A4A8A; }
.badge-r { background: #FADBD8; color: #C0392B; }

.b-exemplo {
  border: 2px solid #F5C842; border-radius: 10px;
  padding: 24px 28px; margin: 28px 0; background: #FFFDF0;
}
.b-exemplo-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #D4A817; margin-bottom: 10px; }
.b-exemplo h4 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.passo-list { list-style: none; counter-reset: ps; }
.passo-list li { counter-increment: ps; display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.passo-list li:last-child { border-bottom: none; }
.passo-list li::before { content: counter(ps); width: 32px; height: 32px; background: #0F0F0F; color: #F5C842; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.b-resultado { background: #0F0F0F; color: #F5C842; font-weight: 700; font-size: 14px; padding: 12px 18px; border-radius: 8px; margin-top: 14px; text-align: center; }

.b-cta {
  background: #0F0F0F; border-radius: 12px;
  padding: 36px 32px; text-align: center; margin: 40px 0;
}
.b-cta h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.b-cta p { color: rgba(255,255,255,.6); margin-bottom: 20px; font-size: 14px; }
.b-cta-btn {
  display: inline-block; background: #F5C842; color: #000;
  font-weight: 800; font-size: 15px; padding: 13px 30px;
  border-radius: 8px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.b-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,200,66,.3); color: #000; }

.faq-item { border-bottom: 1px solid #E0DFD8; padding: 18px 0; }
.faq-q { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.faq-a { font-size: 14px; color: #3a3a3a; line-height: 1.65; }

.b-conclusao { background: #F4F4F0; border-radius: 12px; padding: 32px; margin-top: 40px; }
.b-conclusao h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }

#leitura-bar { position: fixed; top: 0; left: 0; height: 3px; background: #F5C842; width: 0%; z-index: 9999; transition: width .1s; }

.b-breadcrumb { font-size: 13px; color: #888; margin-bottom: 20px; }
.b-breadcrumb a { color: #888; text-decoration: none; }
.b-breadcrumb a:hover { color: #000; }
.b-breadcrumb span { margin: 0 6px; }

.tipo-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  background: #F4F4F0;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.tipo-icon {
  width: 48px; height: 48px;
  background: #0F0F0F; color: #F5C842;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; flex-shrink: 0;
}
.tipo-nome { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.tipo-desc { font-size: 13px; color: #666; line-height: 1.5; }

.artigos-rel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.artigo-rel-card {
  background: #F4F4F0;
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  transition: border-color .2s, background .2s;
}
.artigo-rel-card:hover { border-color: #F5C842; background: #FFFDF0; }
.artigo-rel-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #D4A817; margin-bottom: 6px; }
.artigo-rel-titulo { font-size: 14px; font-weight: 700; color: #0F0F0F; line-height: 1.4; }
