/* Impressão (site inteiro): sem header fixo, menus, botões flutuantes, banners e widgets. */
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body { font: 11.5pt/1.55 Georgia, "Times New Roman", serif !important; padding: 0 !important; margin: 0 !important; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
  /* Elementos de navegação e interação */
  .background-header, .main-nav, .menu-trigger, .submenu, .mobile-menu, .menu-mobile,
  header.site-header, footer, .cf-ft, .promo, #cookie-banner, .cookie-banner, .cookie-prefs,
  .bm-aside, .bm-share, .bm-toc, .bm-cta, .bm-ad, .bm-com, .bm-secao, .bm-crumbs, .bm-ferramentas, .bm-acoes, .bm-tags,
  .cf-no-print, form, button, iframe, video, noscript, [data-blog-cta-cotacao],
  body [class*="whatsapp"], body [class*="anuncio"], body [class*="banner"], body [class*="popup"], .bm-cats, .post-categories, .js-copiar-link, .modal, .modal-backdrop { display: none !important; }
  /* Nada fixo/sticky na impressão (no Safari repete em todas as páginas) */
  * { position: static !important; }
  .bm, #conteudo_post, .bm-wrap, .bm-post-layout, .bm-post-hero__grid, .container, .row, main {
    margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important;
    display: block !important; background: none !important; color: #000 !important;
  }
  .bm-post-hero { background: none !important; color: #000 !important; padding: 0 !important; margin: 0 !important; }
  .bm-post-hero *, .bm-artigo, .bm-artigo * { color: #000 !important; background: transparent !important; }
  .bm-artigo { max-width: none !important; }
  .bm-autor__av { display: none !important; }
  h1 { font-size: 20pt !important; line-height: 1.25 !important; margin: 0 0 6pt !important; }
  h2, h3, h4 { page-break-after: avoid; break-after: avoid; }
  p, li, blockquote { orphans: 3; widows: 3; }
  img, figure, picture, svg, table, blockquote, pre { page-break-inside: avoid; break-inside: avoid; }
  img { max-width: 100% !important; height: auto !important; }
  .bm-hero-img img { max-height: 90mm; width: auto !important; object-fit: contain; }
  a { color: #000 !important; text-decoration: underline; }
  /* Marca só no topo da 1ª página */
  .cf-print-marca { display: flex !important; align-items: center; justify-content: space-between; border-bottom: 1px solid #999; padding-bottom: 4pt; margin-bottom: 10pt; font: 9pt Arial, sans-serif; }
  .cf-print-marca img { height: 24px !important; width: auto !important; max-width: 90px !important; }
  .cf-print-marca span { margin-left: 12pt; text-align: right; word-break: break-all; }
  .bm-secao.bm-wrap, .bm-autor a[href="#responder"] { display: none !important; }
}
.cf-print-marca { display: none; }
