/* Source JPEGs retain their original pixels. Screenshot borders are hidden. */
.photo-window[data-window]{display:block;position:relative;overflow:hidden;width:100%;height:auto;aspect-ratio:var(--photo-ratio);background:#dce1de}
.photo-window[data-window] img,.photo-dialog[data-window]:not([data-window=""]) #dialog-image{
 display:block;position:absolute;inset:auto;top:0;left:0;width:100%;height:auto!important;
 max-width:none;max-height:none;aspect-ratio:auto;object-fit:initial;transform:translateY(var(--photo-shift))!important;
}
.inner-page .projects .project-image.photo-window[data-window]{height:auto;aspect-ratio:4/3}
.inner-page .projects .project-image.photo-window[data-window] img{width:var(--card-width);left:var(--card-left)}
.inner-page .projects .project-image.photo-window[data-window="banque-accueil"]{aspect-ratio:945/587}
.inner-page .project-grid{align-items:start}
.service-page .service-page-visual.service-photo-window{height:auto;aspect-ratio:auto;max-width:var(--service-max);margin-inline:auto;background:transparent;overflow:visible}
.service-photo-window figcaption{position:static;margin:0;padding:12px 0 0;max-width:none;background:transparent;font-size:13px;line-height:1.6}
.photo-dialog[data-window]:not([data-window=""]) .dialog-media{position:relative;overflow:hidden;aspect-ratio:var(--photo-ratio);width:min(100%,var(--dialog-width));max-width:var(--photo-max);margin-inline:auto}
[data-window="banque-accueil"]{--photo-ratio:945/587;--photo-shift:-35.64453125%;--photo-max:945px;--service-max:1100px;--dialog-width:calc(141.6695dvh - 233.4327px);--card-width:100.000000%;--card-left:0.000000%;}
[data-window="cuisine-bois-gris"]{--photo-ratio:944/708;--photo-shift:-32.71484375%;--photo-max:944px;--service-max:1100px;--dialog-width:calc(117.3333dvh - 193.3333px);--card-width:100.000000%;--card-left:0.000000%;}
[data-window="porte-bois-vitree"]{--photo-ratio:944/1260;--photo-shift:-19.23828125%;--photo-max:944px;--service-max:650px;--dialog-width:calc(65.9302dvh - 108.6349px);--card-width:56.190476%;--card-left:21.904762%;}
[data-window="baies-vitrees-cour"]{--photo-ratio:944/708;--photo-shift:-32.71484375%;--photo-max:944px;--service-max:1100px;--dialog-width:calc(117.3333dvh - 193.3333px);--card-width:100.000000%;--card-left:0.000000%;}
[data-window="fenetre-sous-toiture"]{--photo-ratio:944/1260;--photo-shift:-19.23828125%;--photo-max:944px;--service-max:650px;--dialog-width:calc(65.9302dvh - 108.6349px);--card-width:56.190476%;--card-left:21.904762%;}
[data-window="armoires-integrees"]{--photo-ratio:944/1260;--photo-shift:-19.23828125%;--photo-max:944px;--service-max:650px;--dialog-width:calc(65.9302dvh - 108.6349px);--card-width:56.190476%;--card-left:21.904762%;}
[data-window="fenetres-cour"]{--photo-ratio:944/708;--photo-shift:-32.71484375%;--photo-max:944px;--service-max:1100px;--dialog-width:calc(117.3333dvh - 193.3333px);--card-width:100.000000%;--card-left:0.000000%;}
[data-window="garde-corps-dores"]{--photo-ratio:1448/1086;--photo-shift:0.00000000%;--photo-max:1448px;--service-max:1100px;--dialog-width:calc(117.3333dvh - 193.3333px);--card-width:100.000000%;--card-left:0.000000%;}
