/* Retrato institucional com escurecimento, inspirado na seção de referência */
.professor-hero{position:relative;isolation:isolate;overflow:hidden;text-align:left!important;background:#02080d;border-block:1px solid var(--line)}
.professor-hero:before{content:'';position:absolute;z-index:-2;inset:0;background:url('assets/dr-newton-retrato.jpg') center 34%/cover no-repeat;filter:brightness(1) saturate(.9)}
.professor-hero:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(2,8,13,.66) 0%,rgba(2,8,13,.5) 45%,rgba(2,8,13,.34) 100%)}
.professor-hero .container{position:relative;min-height:520px;display:flex;flex-direction:column;justify-content:center}.professor-hero h2{max-width:680px}.professor-hero .max{margin:24px 0 0;max-width:650px;color:#d0dde0}
/* Carrossel de vídeo vertical (Stories / Mobile 9:16) */
.video-frame{width:min(100%,340px)!important;aspect-ratio:9/16!important;border:2px solid rgba(23,183,198,.55)!important;box-shadow:0 0 35px rgba(23,183,198,.28),0 25px 60px rgba(0,0,0,.45)!important;border-radius:20px!important}
@media(max-width:760px){.professor-hero:before{background-position:58% center}.professor-hero:after{background:linear-gradient(0deg,rgba(2,8,13,.7) 0%,rgba(2,8,13,.45) 100%)}.professor-hero .container{min-height:500px}.professor-hero .max{color:#e2ecee}.video-frame{width:min(100%,280px)!important}}

/* Enquadramento superior do retrato no desktop. */
@media(min-width:761px){.professor-hero:before{background-image:url('assets/assinatura-cientifica-desktop-v2.png');background-position:center top;background-size:cover;mask-image:none}.professor-hero:after{background:linear-gradient(90deg,#02080d 0%,rgba(2,8,13,.94) 35%,rgba(2,8,13,.35) 70%,rgba(2,8,13,.2) 100%)}.professor-hero h2{margin-inline:0}.professor-hero .max{max-width:55%}}
