/* Auditoria de contraste v32 */
/* Superfícies realmente escuras */
:where(.maresty-hero,.article-hero,.blog-hero-v19,.internal-dark,.internal-cta,.noc-alert-panel,.noc-cta-card,.article-cta-card,.maresty-footer,.technology-showcase,.backstage-section,.telecom-section,.contact-cta,.brand-story,.noc-board,.noc-feed,.dark-surface) :where(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6,strong,b){color:#fff!important}
:where(.maresty-hero,.article-hero,.blog-hero-v19,.internal-dark,.internal-cta,.noc-alert-panel,.noc-cta-card,.article-cta-card,.maresty-footer,.technology-showcase,.backstage-section,.telecom-section,.contact-cta,.brand-story,.noc-board,.noc-feed,.dark-surface) :where(p,small,li,span:not(.badge):not(.section-label):not(.hero-kicker),label){color:rgba(255,255,255,.80)!important}
/* Superfícies claras: impede texto branco herdado */
:where(.mega-menu,.mega-menu-panel,.companies-panel,.person-panel,.ti-panel,.brand-panel,.lab-panel,.lab-feature-card,.service-card,.solution-card,.detail-card,.faq-card,.process-card,.deliverable-card,.light-surface,.bg-white,.maresty-light) :where(h1,h2,h3,h4,h5,h6,strong,b){color:#173d71!important}
:where(.mega-menu,.mega-menu-panel,.companies-panel,.person-panel,.ti-panel,.brand-panel,.lab-panel,.lab-feature-card,.service-card,.solution-card,.detail-card,.faq-card,.process-card,.deliverable-card,.light-surface,.bg-white,.maresty-light) :where(p,small,li,span:not(.badge):not(.section-label):not(.hero-kicker),label){color:#65718a!important}
.mega-menu a,.mega-menu-panel a{color:#173d71!important}.mega-menu a:hover,.mega-menu-panel a:hover{color:#6f42c1!important}
.noc-alert-panel h3,.noc-cta-card h2{color:#fff!important}.noc-alert-panel .noc-panel-top span,.noc-alert-panel li strong,.noc-cta-actions>a:last-child{color:#fff!important}.noc-alert-panel .noc-panel-top small,.noc-alert-panel li span,.noc-alert-panel>p,.noc-cta-card p{color:rgba(255,255,255,.78)!important}
.maresty-footer a,.maresty-footer p,.maresty-footer span,.maresty-footer li{color:rgba(255,255,255,.76)!important}.maresty-footer a:hover{color:#75e5ff!important}
:where(.internal-dark,.internal-cta,.noc-alert-panel,.noc-cta-card,.article-cta-card,.dark-surface) .btn-light{color:#173d71!important}:where(.internal-dark,.internal-cta,.noc-alert-panel,.noc-cta-card,.article-cta-card,.dark-surface) .btn-outline-light{color:#fff!important}

/* V33 — contraste contextual: superfícies claras dentro de seções escuras */
:where(.technology-showcase,.telecom-section,.backstage-section,.contact-cta,.agent-section,.dark-surface) :where(
  .noc-photo-card,
  .noc-agent-visual,
  .phone-panel,
  .backstage-card,
  .contact-box,
  .agent-window,
  .visual-machine,
  .visual-alerts > div,
  .visual-footer,
  .contact-link,
  .ramal-grid > span,
  .phone-flow > div,
  .phone-note
) :where(h1,h2,h3,h4,h5,h6,strong,b){color:#173d71!important}

:where(.technology-showcase,.telecom-section,.backstage-section,.contact-cta,.agent-section,.dark-surface) :where(
  .noc-photo-card,
  .noc-agent-visual,
  .phone-panel,
  .backstage-card,
  .contact-box,
  .agent-window,
  .visual-machine,
  .visual-alerts > div,
  .visual-footer,
  .contact-link,
  .ramal-grid > span,
  .phone-flow > div,
  .phone-note
) :where(p,small,li,span:not(.badge):not(.section-label):not(.hero-kicker),label){color:#65718a!important}

/* Legendas sobre fotografias continuam claras */
.noc-photo-card .noc-photo-caption,
.noc-photo-card .noc-photo-caption :where(span,strong,small,p){color:#fff!important}
.noc-photo-card .noc-photo-caption span{color:#75e5ff!important}

/* Painel de telefonia: conteúdo legível sobre cartões claros */
.telecom-section .phone-panel{background:#fff!important}
.telecom-section .phone-header small{color:#7f42bf!important}
.telecom-section .phone-header h4{color:#173d71!important}
.telecom-section .phone-flow > div{background:#f4f6ff!important}
.telecom-section .phone-flow strong{color:#173d71!important}
.telecom-section .phone-flow small{color:#71809a!important}
.telecom-section .ramal-grid span{background:#eeeaff!important;color:#38476d!important}
.telecom-section .phone-note{background:#e7faff!important;color:#24516a!important}
.telecom-section .phone-note span{color:#24516a!important}

/* Cards brancos da seção NOC/Agent */
.backstage-section .backstage-card{background:#fff!important}
.backstage-section .backstage-card h4{color:#173d71!important}
.backstage-section .backstage-card p,
.backstage-section .backstage-card li{color:#65718a!important}

/* Caixa de contato clara */
.contact-cta .contact-box h4{color:#173d71!important}
.contact-cta .contact-box p{color:#65718a!important}
.contact-cta .contact-link span{color:#173d71!important}
.contact-cta .contact-link small{color:#7f879b!important}

/* Mega menus sempre claros, inclusive no celular */
.mega-menu-layer .mega-panel,
.mega-menu-layer .mega-panel *{text-shadow:none!important}
.mega-menu-layer .mega-panel :where(h1,h2,h3,h4,h5,h6,strong,b){color:#173d71!important}
.mega-menu-layer .mega-panel :where(p,small,li,span:not(.badge):not(.section-label):not(.menu-pf),label){color:#65718a!important}
.mega-menu-layer .mega-panel a{color:#173d71!important}
.mega-menu-layer .mega-panel a:hover{color:#6f42c1!important}

/* Elementos decorativos não podem bloquear links e botões */
.technology-showcase::before,
.telecom-section::before,
.backstage-section::before,
.contact-cta::before{pointer-events:none!important}
.technology-showcase > .container,
.telecom-section > .container,
.backstage-section > .container,
.contact-cta > .container{position:relative;z-index:2}
.technology-showcase a,
.telecom-section a,
.backstage-section a,
.contact-cta a{position:relative;z-index:3;pointer-events:auto!important}

/* Foto do técnico: preservar rosto e enquadramento */
.noc-photo-card img{object-position:center 20%!important}
.solution-hero-visual img[src*="exames.jpg"],
.solution-story-media img[src*="exames.jpg"]{object-position:center top!important}
