/* Adaptação dos seletores do WordPress à referência taxup-premium-sem-moldura-1.
   Carregada somente nas 52 rotas da prévia local protegida, depois da cópia da referência. */
body.taxup-preview-b2b {
  --navy-deep: #1B2150;
  --navy: #2B3674;
  --indigo: #6366F1;
  --ink: #1A1F3D;
  --ink-2: #4A5278;
  --bg-soft: #F6F7FB;
  background: #fff;
}
.taxup-preview-b2b .site-main { background: #fff; }
/* Alguns modelos nativos impõem cabeçalho escuro; correção só na prévia. */
body.taxup-review.taxup-preview-b2b .nav { background: #fff !important; border: 0 !important; box-shadow: none !important; }
body.taxup-review.taxup-preview-b2b .nav::after { content: none; }
body.taxup-review.taxup-preview-b2b .nav .brand img { filter: none !important; }
html body.taxup-review.taxup-preview-b2b .nav .nav-link { color: var(--navy-deep) !important; }
html body.taxup-review.taxup-preview-b2b .nav .nav-link:hover { color: var(--navy-deep) !important; background: var(--bg-soft) !important; }
html body.taxup-review.taxup-preview-b2b .nav .nav-chevron { color: var(--navy-deep) !important; stroke: var(--navy-deep) !important; }
html body.taxup-review.taxup-preview-b2b .nav-cta {
  background: var(--navy-deep) !important; color: #fff !important;
  border: 0 !important; border-radius: 4px; box-shadow: none !important;
}
html body.taxup-review.taxup-preview-b2b .nav-cta::before { content: none; }
body.taxup-review.taxup-preview-b2b .nav-toggle .nav-toggle-bar { background: var(--navy-deep) !important; }
.taxup-preview-b2b .pillar-breadcrumb { background: #fff; border: 0; }
.taxup-preview-b2b :is(.editorial-post-hero, .pillar-hero, .en-hero, .dataset-heading) {
  background: var(--bg-soft) !important;
  border: 0;
  min-height: 0;
  padding: 52px 32px 54px !important;
  margin-bottom: 56px;
}
.taxup-preview-b2b :is(.editorial-post-hero, .pillar-hero, .en-hero)::before,
.taxup-preview-b2b :is(.editorial-post-hero, .pillar-hero, .en-hero)::after { content: none; }
.taxup-preview-b2b :is(.editorial-post-hero-bg, .pillar-hero-bg, .pillar-hero-overlay, .institucional-hero-bg, .institucional-hero-overlay, .en-pillar-signature, .setor-hero-art) { display: none; }
.taxup-preview-b2b .en-pillar-mark { justify-content: flex-start; }
.taxup-preview-b2b .en-pillar-mark-rule { display: none; }
.taxup-preview-b2b :is(.pillar-hero-tag, .pillar-hero-cat) {
  font: 600 11px/1.6 Inter, Arial, sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: var(--indigo) !important;
}
.taxup-preview-b2b .pillar-hero-tag { background: transparent !important; border: 0; padding: 0; }
.taxup-preview-b2b :is(.institucional-hero-inner, .pillar-hero-inner, .dataset-heading-inner) {
  max-width: 920px;
  padding: 0;
  margin-inline: auto;
  text-align: left;
}
.taxup-preview-b2b :is(.editorial-post-hero, .pillar-hero, .en-hero, .dataset-heading) h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 400 !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.022em !important;
  color: var(--navy-deep) !important;
  margin: 0 0 24px !important;
  max-width: none;
  text-wrap: balance;
}
.taxup-preview-b2b :is(.institucional-deck, .pillar-deck) {
  font: 400 18px/1.7 Inter, Arial, sans-serif;
  color: var(--ink-2) !important;
  max-width: 760px;
  margin: 0;
}
.taxup-preview-b2b :is(.editorial-post-meta, .pillar-meta-line) {
  border: 0;
  margin-top: 24px;
  padding-top: 0;
  color: #67708f;
}
.taxup-preview-b2b :is(.dataset-byline, .dataset-byline time, .dataset-heading nav, .dataset-heading nav a, .dataset-heading nav span) { color: var(--ink-2) !important; }
.taxup-preview-b2b .editorial-post-body { max-width: 1180px; padding: 0 24px 70px; }
.taxup-preview-b2b .editorial-post-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 60px; }
.taxup-preview-b2b .pillar-layout { background: #fff; padding: 0; }
.taxup-preview-b2b .pillar-layout-inner { max-width: 1180px; grid-template-columns: 235px minmax(0, 1fr); gap: 60px; padding: 0 24px 70px; }
.taxup-preview-b2b .en-editorial-body { max-width: 960px; padding: 0 32px 70px !important; }
.taxup-preview-b2b .editorial-post-sidebar { top: 104px; max-height: calc(100vh - 125px); }
.taxup-preview-b2b .editorial-post-sidebar-eyebrow { color: var(--indigo); }
.taxup-preview-b2b .editorial-post-sidebar-block { border: 0; }
.taxup-preview-b2b .editorial-post-content { min-width: 0; color: var(--ink); }
.taxup-preview-b2b :is(.editorial-post-content, .pillar-article, .en-editorial-body, .txp-reforma-tecnologia) p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 22px;
  color: var(--ink-2);
  text-align: left;
}
.taxup-preview-b2b :is(.editorial-post-content, .pillar-article, .en-editorial-body, .txp-reforma-tecnologia) h2 {
  font: 500 clamp(27px, 2.5vw, 35px)/1.25 "Playfair Display", Georgia, serif;
  color: var(--navy-deep);
  letter-spacing: -.015em;
  margin: 48px 0 22px;
  scroll-margin-top: 105px;
}
.taxup-preview-b2b :is(.editorial-post-content, .pillar-article, .en-editorial-body, .txp-reforma-tecnologia) h3 {
  font: 600 21px/1.45 Inter, Arial, sans-serif;
  color: var(--navy-deep);
  margin: 30px 0 14px;
}
.taxup-preview-b2b :is(.editorial-post-content, .txp-reforma-tecnologia) a { text-underline-offset: 3px; }
.taxup-preview-b2b .txp-reforma-tecnologia figure { border: 0; padding: 0; margin: 32px 0; }
.taxup-preview-b2b .txp-reforma-tecnologia figcaption { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.taxup-preview-b2b .txp-reforma-tecnologia table { font: 400 15px/1.6 Inter, Arial, sans-serif; }
.taxup-preview-b2b .txp-reforma-tecnologia th { background: var(--navy); }
.taxup-preview-b2b .txp-reforma-tecnologia :is(th, td) { padding: 14px 15px; border-color: #e5e8f1; }
.taxup-preview-b2b .txp-reforma-tecnologia tbody tr:nth-child(even) { background: var(--bg-soft); }
.taxup-preview-b2b :is(.table-scroll, .figure-scroll, .post-figure) { max-width: 100%; }
.taxup-preview-b2b :is(.editorial-post-author-box, .dataset-license) {
  background: var(--bg-soft);
  border: 0;
  border-radius: 4px;
}
.taxup-preview-b2b .txp-reforma-tecnologia .tool { border: 1px solid var(--rule); border-radius: 4px; }
.taxup-preview-b2b .txp-reforma-tecnologia .tool button { background: var(--navy-deep); }
.taxup-preview-b2b .txp-reforma-tecnologia .tool-results > div { background: var(--bg-soft); }
.taxup-preview-b2b .txp-reforma-tecnologia .tool-results strong { color: var(--navy-deep); }
.taxup-preview-b2b .taxup-preview-note { padding-top: 18px; }
.taxup-preview-b2b .taxup-preview-note p { margin-top: 10px; }
.taxup-preview-b2b :is(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 4px;
}
/* A referência estática possui outro menu; o WordPress conserva seu drawer funcional. */
@media (min-width: 981px) and (max-width: 1080px) {
  .taxup-preview-b2b .nav-links { display: flex; }
  .taxup-preview-b2b .nav-cta { display: inline-flex; }
}
@media (max-width: 980px) {
  .taxup-preview-b2b .nav-links.is-mobile-open { display: flex !important; }
  .taxup-preview-b2b .nav-links:not(.is-mobile-open) { visibility: hidden; }
  html body.taxup-review.taxup-preview-b2b .nav-links.is-mobile-open .nav-link,
  html body.taxup-review.taxup-preview-b2b .nav-links.is-mobile-open .nav-chevron { color: #fff !important; stroke: #fff !important; }
  html body.taxup-review.taxup-preview-b2b .nav-links.is-mobile-open .nav-link:hover { background: rgba(255,255,255,.1) !important; }
  .taxup-preview-b2b .rt-timeline { grid-template-columns: minmax(0, 1fr); }
  .taxup-preview-b2b .rt-node { min-width: 0; flex-direction: column; align-items: flex-start; }
  .taxup-preview-b2b .rt-node > :is(.rt-node-date, .rt-node-title, .rt-node-desc, .rt-node-tag) {
    max-width: 100%; overflow-wrap: normal; word-break: normal;
  }
}
@media (max-width: 900px) {
  .taxup-preview-b2b :is(.editorial-post-layout, .pillar-layout-inner) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .taxup-preview-b2b .editorial-post-sidebar { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .taxup-preview-b2b :is(.editorial-post-hero, .pillar-hero, .en-hero, .dataset-heading) {
    padding: 30px 22px 38px !important;
    margin-bottom: 32px;
  }
  .taxup-preview-b2b :is(.editorial-post-hero, .pillar-hero, .en-hero, .dataset-heading) h1 {
    font-size: 34px !important;
    line-height: 1.17 !important;
    text-wrap: pretty;
  }
  .taxup-preview-b2b :is(.institucional-deck, .pillar-deck) { font-size: 17px; }
  .taxup-preview-b2b .editorial-post-body { padding: 0 22px 45px; }
  .taxup-preview-b2b .pillar-layout-inner { padding: 0 22px 45px; }
  .taxup-preview-b2b .en-editorial-body { padding: 0 22px 45px !important; }
  .taxup-preview-b2b .pillar-section > table { display: block; max-width: 100%; overflow-x: auto; }
  .taxup-preview-b2b :is(.editorial-post-content, .pillar-article, .en-editorial-body, .txp-reforma-tecnologia) p { font-size: 17px; }
  .taxup-preview-b2b :is(.editorial-post-content, .pillar-article, .en-editorial-body, .txp-reforma-tecnologia) h2 { font-size: 28px; margin-top: 39px; }
  .taxup-preview-b2b :is(.editorial-post-content, .pillar-article, .en-editorial-body, .txp-reforma-tecnologia) h3 { font-size: 20px; }
  .taxup-preview-b2b .txp-reforma-tecnologia table { font-size: 14px; }
  /* Os 117 SVGs editoriais têm largura nativa de 1040px; manter os rótulos legíveis. */
  .taxup-preview-b2b .txp-reforma-tecnologia .figure-scroll img { min-width: 1040px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.taxup-preview-b2b) { scroll-behavior: auto; }
  .taxup-preview-b2b *, .taxup-preview-b2b *::before, .taxup-preview-b2b *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .taxup-preview-b2b .taxup-preview-note { display: none; }
}
