/* Faixa independente do carrossel: o efeito fica atrás da imagem e dos controles. */
.ps-bridge-position {position:relative;}
.ps-bridge-banner {isolation:isolate;}
.ps-bridge-banner .ps-bridge-slider {position:relative;z-index:1;}
.ps-bridge-fade {position:absolute;inset:auto 0 0;height:min(var(--ps-bridge-height,100px),45%);background:linear-gradient(180deg,transparent,#25135e);z-index:0;pointer-events:none;}
body.porecatu-home-identity .porecatu-home-manager > .porecatu-home-section.ps-bridge-adjacent {margin-block-start:0;}
body .pgs-section.ps-bridge-services {isolation:isolate; background:radial-gradient(ellipse at 50% 115%,#4625a9 0%,transparent 65%),linear-gradient(180deg,#25135e,#180d44 65%,#301581)!important;color:#fff;padding-block-start:max(var(--pgs-padding,22px),30px);padding-block-end:max(var(--pgs-padding,22px),32px);}
body.porecatu-home-identity.phi-services-light .pgs-section.ps-bridge-services,body.porecatu-home-identity.phi-services-purple .pgs-section.ps-bridge-services {background:radial-gradient(ellipse at 50% 115%,#4625a9 0%,transparent 65%),linear-gradient(180deg,#25135e,#180d44 65%,#301581)!important;}
.ps-bridge-services.ps-bridge-mode-wave {padding-block-start:max(var(--pgs-padding,22px),55px)!important;}
.ps-bridge-services > span.ps-bridge-wave {position:absolute;top:0;left:0;right:0;height:48px;pointer-events:none;z-index:-1;background:url('home-bridge-wave.svg') center top/100% 100% no-repeat;opacity:var(--ps-bridge-glow,.65);}
.ps-bridge-services .pgs-inner {position:relative;z-index:1;}
.ps-bridge-heading {text-align:center;margin:0 auto 24px;max-width:100%;}
.ps-bridge-heading h2 {margin:0 0 8px;color:#fff!important;font-weight:800;line-height:1.2;font-size:clamp(22px,2.5vw,34px);overflow-wrap:anywhere;}
.ps-bridge-heading h2 span {color:#ffd34c;}
.ps-bridge-heading p {margin:0;color:#f1eaff!important;font-size:clamp(13px,1.3vw,16px);line-height:1.5;overflow-wrap:anywhere;}
.ps-bridge-custom-heading .pgs-inner > .pgs-heading {display:none;}
body .pgs-section.ps-bridge-services :is(.pgs-heading h2,.pgs-heading p,.pgs-service-count,.pgs-no-results) {color:#fff!important;}
body .pgs-section.ps-bridge-services :is(a,button,input):focus-visible {outline:3px solid #ffd34c!important;outline-offset:3px;}
@media(max-width:767px){.ps-bridge-fade{height:min(44px,25%)}.ps-bridge-services > span.ps-bridge-wave{height:25px}.ps-bridge-services.ps-bridge-mode-wave{padding-block-start:max(var(--pgs-padding,22px),32px)!important}.ps-bridge-heading{margin-bottom:18px}}
/* Retorna às cores originais de alto contraste; título continua legível. */
html.hpref-contrast .ps-bridge-fade,html.hpref-contrast .ps-bridge-services > span.ps-bridge-wave {display:none!important;}
html.hpref-contrast body .pgs-section.ps-bridge-services {background:#000!important;color:#fff!important;}
html.hpref-contrast .ps-bridge-heading h2 span {color:#ff0!important;}
@media(forced-colors:active){.ps-bridge-fade,.ps-bridge-services > span.ps-bridge-wave{display:none!important}body .pgs-section.ps-bridge-services{background:Canvas!important;color:CanvasText!important}.ps-bridge-heading h2,.ps-bridge-heading h2 span,.ps-bridge-heading p,body .pgs-section.ps-bridge-services :is(.pgs-heading h2,.pgs-heading p,.pgs-service-count,.pgs-no-results){color:CanvasText!important}}
@media print{.ps-bridge-fade,.ps-bridge-services > span.ps-bridge-wave{display:none!important}body .pgs-section.ps-bridge-services{background:#fff!important;color:#000!important}.ps-bridge-heading h2,.ps-bridge-heading h2 span,.ps-bridge-heading p,body .pgs-section.ps-bridge-services :is(.pgs-heading h2,.pgs-heading p,.pgs-service-count,.pgs-no-results){color:#000!important}}
/* A identidade da home pode usar seletores !important mais específicos. */
html.hpref-contrast body.porecatu-home-identity:is(.phi-services-light,.phi-services-purple) .pgs-section.ps-bridge-services {background:#000!important;}
@media(forced-colors:active){body.porecatu-home-identity:is(.phi-services-light,.phi-services-purple) .pgs-section.ps-bridge-services{background:Canvas!important}}
@media print{body.porecatu-home-identity:is(.phi-services-light,.phi-services-purple) .pgs-section.ps-bridge-services{background:#fff!important}}
