/* WessIA v94 — contraste determinístico. Sem correção automática por JS. */
:root{
  --w94-bg:#F6F8FB;
  --w94-bg-2:#EEF3F8;
  --w94-surface:#FFFFFF;
  --w94-ink:#0F172A;
  --w94-muted:#475569;
  --w94-navy:#0A2540;
  --w94-navy-2:#0D3153;
  --w94-blue:#2563EB;
  --w94-blue-hover:#1D4ED8;
  --w94-blue-soft:#EAF2FF;
  --w94-border:#CBD5E1;
  --w94-white:#FFFFFF;
}
html{background:var(--w94-bg)!important;color-scheme:light!important;}
body{background:var(--w94-bg)!important;color:var(--w94-ink)!important;}
body *{text-shadow:none!important;}

/* ===== SITE PRINCIPAL ===== */
html body.v22 main#main-content > section{
  background:var(--w94-bg)!important;
  background-image:none!important;
  color:var(--w94-ink)!important;
  border-color:var(--w94-border)!important;
}
html body.v22 main#main-content > section:nth-of-type(even){background:var(--w94-surface)!important;}
html body.v22 main#main-content > section :where(h1,h2,h3,h4,h5,h6,strong,b,summary){
  color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;opacity:1!important;
}
html body.v22 main#main-content > section :where(p,li,dd,dt,label,small,figcaption,blockquote,span){
  color:var(--w94-muted)!important;-webkit-text-fill-color:var(--w94-muted)!important;opacity:1!important;
}
html body.v22 main#main-content > section a:not([class*="btn"]):not([class*="cta"]):not(.primary):not(.topcta):not(.v88-lead-float){
  color:#1D4ED8!important;-webkit-text-fill-color:#1D4ED8!important;opacity:1!important;
}

/* Áreas escuras: branco obrigatório. */
html body.v22 main#main-content > section.v22-hero,
html body.v22 main#main-content > section.inner-hero,
html body.v22 main#main-content > section.v9-blog-hero,
html body.v22 main#main-content > section.v86-audit-hero,
html body.v22 main#main-content > section.v91-hero,
html body.v22 main#main-content > section.final-cta,
html body.v22 main#main-content > section.v21-related-paths,
html body.v22 main#main-content > section.v22-final{
  background:var(--w94-navy)!important;background-image:none!important;color:var(--w94-white)!important;border-color:#24435F!important;
}
html body.v22 main#main-content > section.v22-hero :where(h1,h2,h3,h4,h5,h6,strong,b,summary),
html body.v22 main#main-content > section.inner-hero :where(h1,h2,h3,h4,h5,h6,strong,b,summary),
html body.v22 main#main-content > section.v9-blog-hero :where(h1,h2,h3,h4,h5,h6,strong,b,summary),
html body.v22 main#main-content > section.v86-audit-hero :where(h1,h2,h3,h4,h5,h6,strong,b,summary),
html body.v22 main#main-content > section.v91-hero :where(h1,h2,h3,h4,h5,h6,strong,b,summary),
html body.v22 main#main-content > section.final-cta :where(h1,h2,h3,h4,h5,h6,strong,b,summary),
html body.v22 main#main-content > section.v21-related-paths :where(h1,h2,h3,h4,h5,h6,strong,b,summary),
html body.v22 main#main-content > section.v22-final :where(h1,h2,h3,h4,h5,h6,strong,b,summary){
  color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;opacity:1!important;
}
html body.v22 main#main-content > section.v22-hero :where(p,li,dd,dt,label,small,figcaption,blockquote,span),
html body.v22 main#main-content > section.inner-hero :where(p,li,dd,dt,label,small,figcaption,blockquote,span),
html body.v22 main#main-content > section.v9-blog-hero :where(p,li,dd,dt,label,small,figcaption,blockquote,span),
html body.v22 main#main-content > section.v86-audit-hero :where(p,li,dd,dt,label,small,figcaption,blockquote,span),
html body.v22 main#main-content > section.v91-hero :where(p,li,dd,dt,label,small,figcaption,blockquote,span),
html body.v22 main#main-content > section.final-cta :where(p,li,dd,dt,label,small,figcaption,blockquote,span),
html body.v22 main#main-content > section.v21-related-paths :where(p,li,dd,dt,label,small,figcaption,blockquote,span),
html body.v22 main#main-content > section.v22-final :where(p,li,dd,dt,label,small,figcaption,blockquote,span){
  color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;opacity:1!important;
}
html body.v22 main#main-content > section.v22-hero .v22-kicker,
html body.v22 main#main-content > section.inner-hero .eyebrow,
html body.v22 main#main-content > section.v9-blog-hero .eyebrow,
html body.v22 main#main-content > section.v86-audit-hero .eyebrow,
html body.v22 main#main-content > section.v91-hero .eyebrow{
  color:#BFD3FF!important;-webkit-text-fill-color:#BFD3FF!important;
}

/* Botões: azul + branco. Ghost em fundo claro: branco + navy. Ghost em fundo escuro: transparente + branco. */
html body :is(.v22-cta,.v25-header-cta,.v25-footer-cta,.v22-btn-primary,.v25-mobile-primary,.prime-diagnostic-open,.v25-diagnostic-link,.v16-hub-more,.v16-filter.is-active,.c26-btn.c26-btn-primary,.v86-audit-btn,.diag-next,.diag-finish,.primary,.topcta,.v88-lead-float,.btn-primary){
  background:var(--w94-blue)!important;background-image:none!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;border-color:var(--w94-blue)!important;box-shadow:0 10px 24px rgba(37,99,235,.22)!important;opacity:1!important;
}
html body :is(.v22-cta,.v25-header-cta,.v25-footer-cta,.v22-btn-primary,.v25-mobile-primary,.prime-diagnostic-open,.v25-diagnostic-link,.v16-hub-more,.v16-filter.is-active,.c26-btn.c26-btn-primary,.v86-audit-btn,.diag-next,.diag-finish,.primary,.topcta,.v88-lead-float,.btn-primary) *{
  color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;opacity:1!important;
}
html body :is(.v22-cta,.v25-header-cta,.v25-footer-cta,.v22-btn-primary,.v25-mobile-primary,.prime-diagnostic-open,.v25-diagnostic-link,.v16-hub-more,.v16-filter.is-active,.c26-btn.c26-btn-primary,.v86-audit-btn,.diag-next,.diag-finish,.primary,.topcta,.v88-lead-float,.btn-primary):hover{
  background:var(--w94-blue-hover)!important;border-color:var(--w94-blue-hover)!important;
}
html body.v22 main#main-content > section:not(.v22-hero):not(.inner-hero):not(.v9-blog-hero):not(.v86-audit-hero):not(.v91-hero):not(.final-cta):not(.v21-related-paths):not(.v22-final) :is(.v22-btn-ghost,.secondary,.v86-audit-link,.diag-prev){
  background:#FFFFFF!important;background-image:none!important;color:var(--w94-navy)!important;-webkit-text-fill-color:var(--w94-navy)!important;border:2px solid #94A3B8!important;
}
html body.v22 main#main-content > :is(.v22-hero,.inner-hero,.v9-blog-hero,.v86-audit-hero,.v91-hero,.final-cta,.v21-related-paths,.v22-final) :is(.v22-btn-ghost,.secondary,.v86-audit-link,.diag-prev){
  background:transparent!important;background-image:none!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;border:2px solid #BFD3E5!important;
}
html body.v22 main#main-content > :is(.v22-hero,.inner-hero,.v9-blog-hero,.v86-audit-hero,.v91-hero,.final-cta,.v21-related-paths,.v22-final) :is(.v22-btn-ghost,.secondary,.v86-audit-link,.diag-prev) *{
  color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;
}

/* Cards e rotas dentro de áreas escuras continuam claros + texto escuro. */
html body.v22 main#main-content .v90-intent-routes a,
html body.v22 main#main-content :is(.prime-card,.v77-evidence-card,.related-grid>a,.topic-grid>a,.deliverables,.faq-list details,.sources-grid>ul,.content-card,.c26-card,.v16-demo-card,.v72-proof-teaser,.v77-case-proof,.v86-audit-offer,.v91-data-card,.v91-metric,.prime-choice,.v86-form-card,.v86-proof,.v22-insight-grid>*,.v22-market-grid>*,.v22-cap-grid>*,.v22-process-grid>*,.v66-three-offers>*,.v9-blog-grid>*,.v21-related-grid>*,.grid>a,.grid>article,.grid>div){
  background:#FFFFFF!important;background-image:none!important;color:var(--w94-ink)!important;border-color:var(--w94-border)!important;
}
html body.v22 main#main-content .v90-intent-routes a,
html body.v22 main#main-content :is(.prime-card,.v77-evidence-card,.related-grid>a,.topic-grid>a,.deliverables,.faq-list details,.sources-grid>ul,.content-card,.c26-card,.v16-demo-card,.v72-proof-teaser,.v77-case-proof,.v86-audit-offer,.v91-data-card,.v91-metric,.prime-choice,.v86-form-card,.v86-proof,.v22-insight-grid>*,.v22-market-grid>*,.v22-cap-grid>*,.v22-process-grid>*,.v66-three-offers>*,.v9-blog-grid>*,.v21-related-grid>*,.grid>a,.grid>article,.grid>div) :where(h1,h2,h3,h4,h5,h6,strong,b,summary,span){
  color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;opacity:1!important;
}
html body.v22 main#main-content :is(.prime-card,.v77-evidence-card,.related-grid>a,.topic-grid>a,.deliverables,.faq-list details,.sources-grid>ul,.content-card,.c26-card,.v16-demo-card,.v72-proof-teaser,.v77-case-proof,.v86-audit-offer,.v91-data-card,.v91-metric,.prime-choice,.v86-form-card,.v86-proof,.v22-insight-grid>*,.v22-market-grid>*,.v22-cap-grid>*,.v22-process-grid>*,.v66-three-offers>*,.v9-blog-grid>*,.v21-related-grid>*,.grid>a,.grid>article,.grid>div) :where(p,li,small,label){
  color:var(--w94-muted)!important;-webkit-text-fill-color:var(--w94-muted)!important;opacity:1!important;
}

/* Header desktop */
html body.v22 :is(.v22-header,.v25-header){background:var(--w94-navy)!important;background-image:none!important;color:#FFFFFF!important;border-color:#24435F!important;}
html body.v22 :is(.v22-header,.v25-header) > .v22-nav > :where(a,nav,button) :where(span,strong,small,b),
html body.v22 :is(.v22-header,.v25-header) > .v22-nav > :where(a,nav,button,details,summary){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;opacity:1!important;}
html body.v22 .v22-menu-panel{background:#FFFFFF!important;background-image:none!important;border-color:var(--w94-border)!important;}
html body.v22 .v22-menu-panel :where(a,b,strong,span,small){color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;opacity:1!important;}
html body.v22 .v22-menu-panel a span{color:var(--w94-muted)!important;-webkit-text-fill-color:var(--w94-muted)!important;}
html body.v22 .v25-mobile-toggle{background:#102F4F!important;border-color:#35526B!important;}
html body.v22 .v25-mobile-toggle span{background:#FFFFFF!important;}

/* Menu mobile: caixa branca = texto escuro. Nunca herda branco do header. */
@media(max-width:980px){
  html body.v22 .v25-mobile-panel{background:var(--w94-bg-2)!important;background-image:none!important;border-color:var(--w94-border)!important;}
  html body.v22 .v25-mobile-panel .v25-mobile-panel-inner{background:transparent!important;background-image:none!important;}
  html body.v22 .v25-mobile-panel .v25-mobile-group,
  html body.v22 .v25-mobile-panel a.v25-mobile-direct{background:#FFFFFF!important;background-image:none!important;border:1px solid var(--w94-border)!important;color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;}
  html body.v22 .v25-mobile-panel .v25-mobile-group summary,
  html body.v22 .v25-mobile-panel .v25-mobile-group summary *,
  html body.v22 .v25-mobile-panel a.v25-mobile-direct{color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;opacity:1!important;}
  html body.v22 .v25-mobile-panel .v25-mobile-group a{color:var(--w94-muted)!important;-webkit-text-fill-color:var(--w94-muted)!important;opacity:1!important;border-top-color:var(--w94-border)!important;}
  html body.v22 .v25-mobile-panel a.v25-mobile-primary{background:var(--w94-blue)!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;border-color:var(--w94-blue)!important;}
}

/* Footer: fundo navy, absolutamente nenhum card branco. */
html body.v22 footer.v22-footer,
html body.v22 footer.v25-footer{background:var(--w94-navy)!important;background-image:none!important;color:#FFFFFF!important;border-color:#24435F!important;}
html body.v22 footer.v22-footer :where(h1,h2,h3,h4,h5,h6,strong,b,summary,a),
html body.v22 footer.v25-footer :where(h1,h2,h3,h4,h5,h6,strong,b,summary,a){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;opacity:1!important;}
html body.v22 footer.v22-footer :where(p,li,small,span,label,dd,dt),
html body.v22 footer.v25-footer :where(p,li,small,span,label,dd,dt){color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;opacity:1!important;}
html body.v22 footer :is(.v25-footer-group,.v25-footer-group>div,.v25-footer-group summary){background:transparent!important;background-image:none!important;border-color:#294B68!important;box-shadow:none!important;}
html body.v22 footer .v25-footer-group summary{color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;}
html body.v22 footer .v25-footer-group a{color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;}

/* Formulários */
html body input,html body textarea,html body select{background:#FFFFFF!important;color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;border-color:#94A3B8!important;}
html body input::placeholder,html body textarea::placeholder{color:#64748B!important;-webkit-text-fill-color:#64748B!important;opacity:1!important;}

/* ===== DEMONSTRAÇÕES ===== */
html body.demo-site{background:var(--w94-bg)!important;color:var(--w94-ink)!important;}
html body.demo-site .site-header{background:var(--w94-navy)!important;background-image:none!important;color:#FFFFFF!important;border-color:#24435F!important;}
html body.demo-site .site-header :where(a,strong,small,span,button){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;opacity:1!important;}
html body.demo-site main > section{background:#FFFFFF!important;background-image:none!important;color:var(--w94-ink)!important;border-color:var(--w94-border)!important;}
html body.demo-site main > section:nth-of-type(even):not(.closing){background:var(--w94-bg)!important;}
html body.demo-site main > section:not(.closing) :where(h1,h2,h3,h4,h5,h6,strong,b,summary){color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;opacity:1!important;}
html body.demo-site main > section:not(.closing) :where(p,li,span,small,label){color:var(--w94-muted)!important;-webkit-text-fill-color:var(--w94-muted)!important;opacity:1!important;}
html body.demo-site main :is(.item-card,.menu-card,.service-card,.feature-card,.result-card,.card,.panel,.booking-panel,.order-preview,.quote-preview){background:#FFFFFF!important;background-image:none!important;color:var(--w94-ink)!important;border-color:var(--w94-border)!important;}
html body.demo-site main :is(.item-card,.menu-card,.service-card,.feature-card,.result-card,.card,.panel,.booking-panel,.order-preview,.quote-preview) *{color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;opacity:1!important;}
html body.demo-site .closing{background:var(--w94-navy)!important;background-image:none!important;color:#FFFFFF!important;}
html body.demo-site .closing :where(h1,h2,h3,h4,strong,b,a){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;}
html body.demo-site .closing :where(p,span,small){color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;}
html body.demo-site .site-footer{background:#071C30!important;background-image:none!important;color:#FFFFFF!important;}
html body.demo-site .site-footer *{color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;opacity:1!important;}

/* ===== DEMOS CONCEITUAIS DEMO18 ===== */
html body.demo18{background:var(--w94-bg)!important;color:var(--w94-ink)!important;}
html body.demo18 .demo16-header{background:var(--w94-navy)!important;background-image:none!important;color:#FFFFFF!important;}
html body.demo18 .demo16-header :where(a,strong,small,span,button){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;opacity:1!important;}
html body.demo18 main > section{background:#FFFFFF!important;background-image:none!important;color:var(--w94-ink)!important;border-color:var(--w94-border)!important;}
html body.demo18 main > section:nth-of-type(even):not(.closing){background:var(--w94-bg)!important;}
html body.demo18 main > section:not(.closing) :where(h1,h2,h3,h4,h5,h6,strong,b,summary){color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;}
html body.demo18 main > section:not(.closing) :where(p,li,span,small,label){color:var(--w94-muted)!important;-webkit-text-fill-color:var(--w94-muted)!important;}
html body.demo18 .closing{background:var(--w94-navy)!important;background-image:none!important;color:#FFFFFF!important;}
html body.demo18 .closing :where(h1,h2,h3,strong,b,a){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;}
html body.demo18 .closing :where(p,span,small){color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;}
html body.demo18 .demo16-footer{background:#071C30!important;color:#FFFFFF!important;}
html body.demo18 .demo16-footer *{color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;}

/* ===== LANDING /orcamento-site (sem classe no body) ===== */
html body:not(.v22):not(.demo-site):not(.demo18){background:var(--w94-bg)!important;color:var(--w94-ink)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) header{background:#FFFFFF!important;color:var(--w94-ink)!important;border-bottom:1px solid var(--w94-border)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) header :where(a,b,strong,small,span){color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) :is(.hero,.proof,.choices,.faq,.final){background:var(--w94-bg)!important;background-image:none!important;color:var(--w94-ink)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) :is(.hero,.proof,.choices,.faq,.final) :where(h1,h2,h3,strong,b,summary){color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) :is(.hero,.proof,.choices,.faq,.final) :where(p,span,small,li){color:var(--w94-muted)!important;-webkit-text-fill-color:var(--w94-muted)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) :is(.hero-card,.grid a,.faq details){background:#FFFFFF!important;color:var(--w94-ink)!important;border-color:var(--w94-border)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) :is(.hero-card,.grid a,.faq details) *{color:var(--w94-ink)!important;-webkit-text-fill-color:var(--w94-ink)!important;}
html body:not(.v22):not(.demo-site):not(.demo18) .audit{background:var(--w94-navy)!important;color:#FFFFFF!important;}
html body:not(.v22):not(.demo-site):not(.demo18) .audit :where(h1,h2,h3,strong,b){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;}
html body:not(.v22):not(.demo-site):not(.demo18) .audit :where(p,span,small){color:#DCE6EF!important;-webkit-text-fill-color:#DCE6EF!important;}
html body:not(.v22):not(.demo-site):not(.demo18) .audit>a{background:#FFFFFF!important;color:var(--w94-navy)!important;-webkit-text-fill-color:var(--w94-navy)!important;}

/* Acessibilidade */
html body :where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #93C5FD!important;outline-offset:3px!important;}
::selection{background:#BFDBFE;color:#0A2540;}
