/* Botao "Imprimir esta pagina" e folha de impressao limpa (16/11/2026).
   Carregado so nas paginas com o botao (body.aeb-im-on). Na tela: so o botao. Na impressao: fundo branco,
   texto preto (tambem com o painel em escuro ou alto contraste), sem menu, flutuantes, caixa de IA,
   sumario, rodape, decoracao, videos e mapas; perguntas abertas.
   O prefixo html:not(#aeb-im-a):not(#aeb-im-b) so aumenta a forca do seletor: as cores do painel de
   acessibilidade vem com !important e seletores com id. */

/* ---------- tela: o botao ---------- */
.aeb-im[hidden],.aeb-im-topo[hidden]{display:none!important}
.aeb-im{display:flex;justify-content:flex-start;margin:1rem 0 1.25rem;padding:0}
.aeb-im-btn{
  display:inline-flex;align-items:center;gap:.5rem;min-height:44px;min-width:44px;margin:0;padding:.45rem 1.05rem;
  font:600 15px/1.2 var(--sans,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif);letter-spacing:0;text-transform:none;
  color:#351632;background:#fff;border:1px solid #8a5f14;border-radius:999px;cursor:pointer;
  -webkit-appearance:none;appearance:none;box-shadow:none;text-decoration:none;
  transition:background-color .2s,color .2s,border-color .2s
}
.aeb-im-btn .aeb-im-ico{width:20px;height:20px;flex:none}
.aeb-im-btn:hover{background:#351632;color:#fff;border-color:#351632}
.aeb-im-btn:focus-visible{outline:3px solid #351632;outline-offset:3px}
/* estilo do site (vinho e dourado) */
.site-arco .aeb-im-btn{color:var(--a-ouro-cl,#f6d9a2);background:transparent;border-color:var(--a-ouro,#eba432)}
.site-arco .aeb-im-btn:hover{color:var(--a-vinho,#351632);background:var(--a-ouro,#eba432);border-color:var(--a-ouro,#eba432)}
.site-arco .aeb-im-btn:focus-visible{outline:3px solid var(--a-ouro-cl,#f6d9a2);outline-offset:3px}
/* /terapias-no-corpo/: o bloco do conteudo tem fundo claro proprio */
.aeb-conteudo .aeb-im-btn{color:var(--aeb-ameixa,#2a0f27);background:var(--aeb-fundo,#fff);border-color:var(--aeb-ouro-esc,#7a5a1c)}
.aeb-conteudo .aeb-im-btn:hover{color:#fff;background:var(--aeb-ameixa,#2a0f27);border-color:var(--aeb-ameixa,#2a0f27)}
.aeb-conteudo .aeb-im-btn:focus-visible{outline:3px solid var(--aeb-ameixa-2,#5a2a55);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.aeb-im-btn{transition:none}}
html[data-aeb-movimento=reduzido] .aeb-im-btn{transition:none}
@media (forced-colors:active){.aeb-im-btn{border:1px solid ButtonText;color:ButtonText;background:ButtonFace}}

/* ---------- impressao ---------- */
@page{margin:15mm}

@media print{
  /* fundo branco e texto preto sempre (claro, escuro e alto contraste) */
  html:not(#aeb-im-a):not(#aeb-im-b),
  html:not(#aeb-im-a):not(#aeb-im-b) body{background:#fff!important;color:#000!important;color-scheme:light!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body *,
  html:not(#aeb-im-a):not(#aeb-im-b) body *::before,
  html:not(#aeb-im-a):not(#aeb-im-b) body *::after{
    color:#000!important;background-color:transparent!important;background-image:none!important;
    text-shadow:none!important;box-shadow:none!important;filter:none!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    animation:none!important;transition:none!important
  }
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(a,a *){color:#000!important;text-decoration:underline!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body li::marker{color:#000!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(h1,h2,h3,h4,h5,h6,strong,b){color:#000!important}

  /* o que nao vai para o papel */
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(
    .site-header,.skip-link,.menu-toggle,#site-nav,.aeb2-bs,.rank-math-breadcrumb,
    .aeb-im,.aeb-ia-w,.aeb-ia-home,#aeb-ia,
    .aeb-mu-sumario,
    #aeb-hub,#aeb-hub-btn,#aeb-hub-panel,
    .wa-float,.wa-aside,
    .cmplz-cookiebanner,#cmplz-cookiebanner-container,.cmplz-manage-consent,#cmplz-manage-consent,.cmplz-soft-cookiewall,.cmplz-blocked-content-notice,
    .site-footer,.aeb-cnpj-rodape,.relacionados,
    .sa-rede,.sa-fio,.aeb-emblema,
    video,audio,iframe,embed,object,.wp-block-video,.wp-block-embed,.aeb-video,.aeb-mapa,
    .aeb-acesso-faixa,.aeb-fonte-pref,.aeb-prog,.aeb-car-btn,.mc-tts-wrap,
    .aeb3d-palco,.aeb3d-lista,.aeb3d-legenda,.aeb3d-controles,
    button,[role=dialog]
  ){display:none!important}

  /* topo da folha: nome, endereco, WhatsApp e endereco da pagina */
  html:not(#aeb-im-a):not(#aeb-im-b) body .aeb-im-topo[hidden]{display:block!important}
  .aeb-im-topo{margin:0 0 6mm!important;padding:0 0 3mm!important;border-bottom:1px solid #000!important;font:10pt/1.4 Georgia,"Times New Roman",serif!important}
  .aeb-im-topo>span{display:block}
  .aeb-im-topo .aeb-im-topo-nome{font-size:13pt;font-weight:700}
  .aeb-im-topo .aeb-im-topo-url{font-size:9pt;word-break:break-all}

  /* largura toda da folha, sem colunas, arcos nem molduras */
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(#conteudo,main,.entry,.entry-header,.wrap-text,.wrap,.wrap-wide,.entry-content,.prose,.aeb-conteudo,article){
    max-width:none!important;width:auto!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;
    position:static!important;display:block!important;min-height:0!important;overflow:visible!important
  }
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(#conteudo,main,.entry,.entry-header,.entry-header>.wrap-text,.lista-header){padding-top:0!important;margin-top:0!important;min-height:0!important;height:auto!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body .entry-header{padding-bottom:3mm!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-header>.wrap-text,.lista-header>.wrap,.entry>.entry-thumb,.entry-thumb)::before,
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-header>.wrap-text,.lista-header>.wrap,.entry>.entry-thumb,.entry-thumb)::after{content:none!important;display:none!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body .entry-thumb{
    width:auto!important;max-width:80mm!important;aspect-ratio:auto!important;height:auto!important;margin:0 0 5mm!important;
    border:0!important;border-radius:0!important;clip-path:none!important;overflow:visible!important;order:0!important
  }
  html:not(#aeb-im-a):not(#aeb-im-b) body figure.entry-thumb.entry-thumb{max-width:80mm!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body figure.entry-thumb img{width:auto!important;max-height:60mm!important}
  /* botoes de agendar viram links com contorno preto (o painel escuro pinta borda dourada) */
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.btn,.aeb-botao,.aeb-botoes a,.cta-row a){border:1px solid #000!important;border-radius:999px!important;padding:1mm 3mm!important;min-height:0!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-content,.entry-thumb,.autor-box,.aeb-conteudo) img{
    max-width:100%!important;height:auto!important;object-fit:contain!important;clip-path:none!important;
    -webkit-mask:none!important;mask:none!important;border-radius:0!important;border:0!important;opacity:1!important;transform:none!important
  }
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.aeb-rv,.sa-rv,.rv,.entry-title,.sa-in){opacity:1!important;transform:none!important;clip-path:none!important}

  /* letra e espacos para papel */
  html:not(#aeb-im-a):not(#aeb-im-b) body{font-size:11pt!important;line-height:1.45!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-content,.prose,.aeb-conteudo){font-size:11pt!important;line-height:1.45!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body .entry-title{font-size:20pt!important;line-height:1.2!important;margin:0 0 3mm!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-content,.aeb-conteudo) h2{font-size:15pt!important;line-height:1.25!important;margin:6mm 0 2mm!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-content,.aeb-conteudo) :is(h3,summary){font-size:12pt!important;line-height:1.3!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body .aeb-olho{font-size:12pt!important}

  /* cartoes de vidro viram caixas simples */
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.aeb-destaque,.aeb-aviso,.aeb-aviso-reg,.aeb-limite,.aeb-continue,.autor-box,.contato-box,.aeb-cta,.aeb-bloco-valores,.aeb-local,.aeb-formacao,.aeb-abrath,.aeb-card,.card,.cartao,blockquote,details,.aeb3d-quadro){
    border:1px solid #999!important;border-radius:4px!important;padding:3mm 4mm!important;margin:4mm 0!important
  }
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(table,th,td){border:1px solid #999!important}

  /* perguntas: todas abertas, sem setas */
  html:not(#aeb-im-a):not(#aeb-im-b) body details>*{display:block!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body details::details-content{content-visibility:visible!important;display:block!important;height:auto!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body summary{list-style:none!important;cursor:auto}
  html:not(#aeb-im-a):not(#aeb-im-b) body summary::-webkit-details-marker{display:none!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body summary::before,
  html:not(#aeb-im-a):not(#aeb-im-b) body summary::after{content:none!important;display:none!important}

  /* links: sublinhados; os externos com o endereco depois (WhatsApp ja esta no topo da folha) */
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-content,.autor-box,.aeb-conteudo) a[href^="http"]:not([href*="acupunturaembrasilia.app.br"]):not([href*="wa.me"]):not([href*="whatsapp.com"])::after{
    content:" (" attr(href) ")";font-size:9pt;font-weight:400;word-break:break-all;text-decoration:none!important
  }
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(.entry-content,.autor-box,.aeb-conteudo) a:is(.aeb-selo,[href$=".jpg"],[href$=".png"],[href$=".webp"])::after{content:none!important}

  /* quebras de pagina */
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(h1,h2,h3,h4,h5,h6,summary){break-after:avoid!important;page-break-after:avoid!important;break-inside:avoid!important;page-break-inside:avoid!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(details,figure,img,blockquote,tr,dl>div,li,.autor-box,.aeb-aviso,.aeb-aviso-reg,.aeb-destaque,.aeb-cta,.aeb-card,.card,.cartao,.aeb3d-quadro,.aeb-im-topo){break-inside:avoid!important;page-break-inside:avoid!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(h2,h3,h4)+:is(p,ul,ol,dl){break-before:avoid!important;page-break-before:avoid!important}
  html:not(#aeb-im-a):not(#aeb-im-b) body :is(p,li,dd){orphans:3;widows:3}
}
