/* V36 : cadre photographique de référence, image 2 de la revue Direction. */
:root{--nx-photo-radius:8px;--nx-photo-line:#dce5ef}
/* Remplir le cadre, sans bandes, en conservant le visuel retenu. */
main .svc{border-radius:var(--nx-photo-radius)}
main .svcphoto{height:auto;aspect-ratio:1672/941;overflow:hidden}
main .svcphoto>img.photo{display:block;width:100%;height:100%;object-fit:cover!important}
.wwhero.wrap .wwpicture,.hv-photo img,.r-work-intro img,.r-chapter figure img,.nx-value img{border-radius:var(--nx-photo-radius);border:1px solid var(--nx-photo-line);overflow:hidden}
.wwhero.wrap .wwpicture>.photo{display:block;width:100%;height:auto;object-fit:cover}
.r-photo-cards article,.r-offer,.r-workflow li,.familydetails article{border-radius:var(--nx-photo-radius)}
/* Même contour sur les visuels de hero, sans coupe géométrique ni bandes. */
.pagehero .heroart,.nx-hero .heroart{border:1px solid var(--nx-photo-line);border-radius:var(--nx-photo-radius);overflow:hidden;clip-path:none;top:50%;bottom:auto;height:auto;aspect-ratio:auto;transform:translateY(-50%)}
.pagehero .heroart>img.photo,.nx-hero .heroart>img.photo{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.pagehero .heroart:after,.nx-hero .heroart:after{display:none}
#accueil.hero-image-only{border-radius:var(--nx-photo-radius);overflow:hidden}
#accueil.hero-image-only>.hero-background{border-radius:var(--nx-photo-radius)}
/* Le sous-titre accompagne le texte sans créer un interligne de corps courant. */
.r-work-intro .r-lead{font-size:22px;font-weight:500;line-height:1.38;letter-spacing:-.015em;margin-bottom:22px;color:#173c5d;text-wrap:pretty}
.r-work-intro p:not(.r-lead){line-height:1.75}
/* Les réponses utilisent toute la largeur délimitée par les séparateurs. */
.r-faq details>p{max-width:none;width:100%;box-sizing:border-box;margin:20px 0 5px;line-height:1.8}
@container(max-width:700px){
 .pagehero .heroart,.nx-hero .heroart{position:relative;top:auto;bottom:auto;transform:none;width:100%;height:auto;aspect-ratio:auto}
 .r-work-intro .r-lead{font-size:20px;line-height:1.4;margin-bottom:20px}
}

/* Les six vignettes de familles utilisent le même cadre, à leur échelle. */
.family{border-radius:var(--nx-photo-radius)}
.family>.photo{display:block;width:100%;height:auto!important;aspect-ratio:1672/941;object-fit:cover!important}
.ho-photo img{object-fit:cover}
