/* MCA — consistência visual, fotografia substituível e apresentação ICF. */
/* Mesma cor da área neutra do vídeo (amostrada de vários quadros). */
#filme-house[data-scroll-film]{--film-neutral:#e5e3e4;background:var(--film-neutral)!important}
#filme-house[data-scroll-film] .film-sticky{background:var(--film-neutral)!important}
#filme-house[data-scroll-film] .film-stage{background:var(--film-neutral)!important;container-type:size;isolation:isolate;overflow:visible!important}
#filme-house[data-scroll-film] .film-stage video{inset:auto!important;left:50%!important;top:50%!important;width:min(100%,calc(100cqh * 16 / 9))!important;height:auto!important;max-width:100%!important;max-height:100%!important;aspect-ratio:16/9;transform:translate(-50%,-50%)!important;object-fit:contain!important;object-position:center!important;mix-blend-mode:normal!important;filter:none!important;mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent)!important;mask-composite:intersect!important;-webkit-mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent)!important;-webkit-mask-composite:source-in!important}
#filme-house .film-heading h2{color:#002a56!important}
#filme-house .film-heading>p{color:#425973!important}
/* Fotografia de fundo: nomes independentes por seção e um único layer fotográfico. */
body:not(.internal-page) #page .ed-tech-bridge{background:linear-gradient(100deg,#03091cde,#031831a8 57%,#03183180),url('../images/home/tecnologia-background.jpg') center 54%/cover no-repeat!important}
body:not(.internal-page) #page .v9-final{background:linear-gradient(90deg,#03091ce8,#03091ca8 52%,#03091c45),url('../images/home/proximo-passo.jpg') center 54%/cover no-repeat!important}
body:not(.internal-page) #page .ed-tech-bridge::before,body:not(.internal-page) #page .ed-tech-bridge::after,body:not(.internal-page) #page .v9-final::before,body:not(.internal-page) #page .v9-final::after{content:none!important;background:none!important;display:none!important}
/* Regras consistentes para a distância entre corpo de texto e CTA, sem alterar o padding de seções. */
#page main :is(p,ul,ol,.ed-intro-aside,.system-steps)+:is(a.button,button.button,a.ed-inline-link,a.text-link,.button-row,.ed-hero-actions,.mca-section-action){margin-top:20px!important}
#page main :is(p,ul,ol)+:is(.mca-button-row,.ed-actions,.ed-cta-row){margin-top:20px!important}
#page main :is(.button-row,.ed-hero-actions,.mca-button-row,.ed-actions){gap:14px 22px!important;flex-wrap:wrap;align-items:center}
#page main :is(.button,.ed-inline-link,.text-link){max-width:100%;overflow-wrap:break-word}
#page main :is(.v7-cover-copy,.ed-split-copy,.v9-intro-copy,.v7-hero-copy,.editorial-copy,.mca-showcase) p{line-height:1.7}
#page main .mca-section-action{margin-top:20px!important}
#page main .mca-form-grid button[type=submit]{margin-top:16px!important}
/* Banners internos: contraste independente da imagem escolhida pelo editor. */
body.internal-page #page .mca-inner-hero .v7-hero-image::after{background:linear-gradient(90deg,rgba(3,9,28,.90) 0%,rgba(3,9,28,.81) 53%,rgba(3,9,28,.48) 100%),linear-gradient(0deg,rgba(3,9,28,.33),transparent 70%)!important}
body.internal-page #page .mca-inner-hero :is(h1,h2,h3,p,.v7-hero-copy){color:#fff!important}
body.internal-page #page .mca-inner-hero :is(.eyebrow,.ed-kicker,.ed-source-note){color:#c4e2ff!important;text-shadow:0 1px 5px #03091c80}
body.internal-page #page .mca-inner-hero :is(.ed-inline-link,.text-link,.v10-secondary,.v13-editorial-link,.ed-hero-actions a:not(.button)){color:#fff!important;border-color:#c4e2ff!important;text-shadow:0 1px 5px #03091c80}
body.internal-page #page .mca-inner-hero :is(.ed-inline-link,.text-link,.v10-secondary,.v13-editorial-link):hover{color:#c4e2ff!important;border-color:#c4e2ff!important}
body.internal-page #page .mca-inner-hero :is(.ed-inline-link,.text-link) svg{color:inherit!important}
body.internal-page #page .mca-inner-hero :is(a,button):focus-visible{outline:2px solid #fff!important;outline-offset:4px!important}
/* Dark sections and active/inactive step copy maintain readable contrast. */
#page #sistema .system-copy .eyebrow{color:#b6d7f5!important}
#page #sistema .system-step{opacity:1!important}
#page #sistema .system-step:not(.is-active) :is(strong,p){color:#b0bfd1!important}
#page #sistema .system-step:not(.is-active) >span{color:#88b7e4!important}
#page #sistema .system-step.is-active :is(strong,p){color:#f3f7fc!important}
#page #sistema .system-copy .button{margin-top:20px!important}
#page #sistema .scene-stage canvas{transform:none!important;max-width:100%;max-height:100%}
#page #sistema .v9-drag-hint,#page #sistema .v10-reset{color:#e0edfa!important}
#page #sistema .v9-drag-hint[hidden],#page #sistema .v10-reset[hidden]{display:none!important}
#page #sistema .v10-reset:focus-visible{outline:2px solid #d9eeff!important}
#page .mca-form-grid :is(input,select,textarea){color:#002a56!important;background:#fff!important;border-color:#8599ad!important}
#page .mca-form-grid :is(input,textarea)::placeholder{color:#52677d!important;opacity:1}
#page .mca-form-grid :is(input,select,textarea):focus-visible{outline:2px solid #005dbe!important;outline-offset:2px}
#page .mca-form-grid label{color:#203e5c!important}
@media(max-width:700px){#filme-house[data-scroll-film] .film-stage video{top:35%!important;width:min(100%,calc(65cqh * 16 / 9))!important;max-height:66%!important}#page main :is(.button-row,.ed-hero-actions){gap:12px 18px!important}body.internal-page #page .mca-inner-hero .v7-hero-image::after{background:linear-gradient(90deg,#03091ce8,#03091cc2),linear-gradient(0deg,#03091c80,transparent)!important}}
@media(prefers-reduced-motion:reduce){#filme-house[data-scroll-film] .film-stage{container-type:inline-size}#filme-house[data-scroll-film] .film-stage video{width:100%!important;top:50%!important;max-height:100%!important}}
#page .button.button-green,#page .v9-cta,.site-header .button.button-green{background-image:linear-gradient(115deg,#00468e,#005eae,#006bb9,#0053a2)!important;color:#fff!important}
#page .button.button-green:hover,#page .v9-cta:hover,.site-header .button.button-green:hover{background-image:linear-gradient(115deg,#00427e,#005aab,#0069b5)!important;color:#fff!important}
