/* Fotos do ensaio enviadas em setembro de 2026. */
#home .hero-portrait {
    display: block;
    width: 100%;
    max-width: 540px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(61, 59, 58, .12);
}

#home .hero-portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
}

#sobre .about-portrait {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#sobre .about-portrait .about-doctor-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
}

#sobre .about-portrait .about-text.second-about {
    top: auto;
    right: 24px;
    bottom: 24px;
    background: rgba(61, 59, 58, .88) !important;
}

@media (max-width: 991px) {
    #home .hero-photo-column {
        margin-top: 30px;
    }

    #home .hero-portrait {
        max-width: 510px;
    }

    #sobre .about-portrait {
        margin-bottom: 36px;
    }
}

@media (max-width: 575px) {
    #sobre .about-portrait .about-text.second-about {
        left: 18px !important;
        right: 18px;
        bottom: 18px;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    #sobre .about-portrait,
    #sobre .about-portrait .about-doctor-photo,
    #sobre .about-portrait .about-text.second-about {
        visibility: visible !important;
        opacity: 1;
        transform: none;
        clip-path: none;
        animation: none;
    }
}
