/* V19 : modèle unique, projet plein écran blanc opaque */
.cms-project-modal[hidden]{display:none!important}.cms-project-modal{position:fixed!important;inset:0!important;background:#fff!important;z-index:2147482000!important;color:#000!important;font-family:"neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important}.cms-project-layout{display:grid;grid-template-columns:50% 50%;height:100dvh;overflow:hidden}.cms-project-copy,.cms-project-gallery{height:100%;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;scrollbar-width:none}.cms-project-copy::-webkit-scrollbar,.cms-project-gallery::-webkit-scrollbar{display:none}.cms-project-copy{padding:80px 24px 50px 15px;text-align:left}.cms-project-title{font:400 16px/1.3 "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important;margin:0 0 30px;color:#000!important}.cms-project-text{font:400 16px/1.35 "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important;white-space:pre-line;margin:0 0 30px;overflow-wrap:break-word}.cms-project-copy [lang="fr"],.cms-project-copy [lang="fr"] *{color:#000!important}.cms-project-copy [lang="en"],.cms-project-copy [lang="en"] *{color:rgba(0,0,0,.5)!important}.cms-project-copy .cms-captions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 38px!important}.cms-project-copy .cms-caption{display:flex;flex-direction:column;gap:8px;font:400 11px/1.25 "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important;overflow-wrap:anywhere}.cms-project-photo{margin:0 0 12px;position:relative}.cms-project-photo img{width:100%;height:auto;display:block;object-fit:contain}.cms-project-photo figcaption{font:11px "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif;color:#000;padding:5px 8px}.cms-project-close{position:fixed;top:14px;right:18px;z-index:2147482002;background:#fff;border:0;color:#000;font:14px "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif;cursor:pointer;padding:8px}.cms-project-open{overflow:hidden!important}.cms-home .cms-group{display:flex;gap:0}.cms-home .cms-group .visuel{flex:1;min-width:0}.cms-home .cms-group .visuel img{max-width:100%;height:auto}.cms-home .cms-group .visuel img:hover{filter:blur(5px)!important;opacity:1!important}.cms-home .cms-group .visuel a::before,.cms-home .cms-group .visuel a::after{background:transparent!important;opacity:0!important}
@media(max-width:700px){.cms-project-layout{display:flex;flex-direction:column;overflow:auto;height:100dvh}.cms-project-copy,.cms-project-gallery{height:auto;overflow:visible;flex:none}.cms-project-gallery{order:0}.cms-project-copy{order:1}.cms-project-copy{padding:75px 14px 25px}.cms-project-copy .cms-captions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cms-project-gallery{padding-bottom:35px}.cms-project-close{top:10px;right:10px}}

/* V20 — catalogue vierge et finitions visuelles */
.cms-project-gallery{display:block!important;line-height:0!important;padding:0!important;margin:0!important}
.cms-project-photo{position:relative!important;display:block!important;margin:0!important;padding:0!important;border:0!important;line-height:0!important;background:transparent!important}
.cms-project-photo img{display:block!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;vertical-align:bottom!important}
.cms-project-photo figcaption{position:absolute!important;left:10px!important;top:10px!important;right:auto!important;bottom:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#000!important;font-family:"neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important;font-size:11px!important;font-weight:400!important;line-height:1.1!important;pointer-events:none!important}
.cms-project-close,.index-close,.index-trigger,.versinfos,.versinfos h1{background:transparent!important;background-color:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;outline-offset:3px}
.cms-project-close,.index-close{color:#000!important;padding:0!important;line-height:1.2!important}
.cms-project-modal{background:#fff!important}
.cms-project-modal .cms-project-layout{background:#fff!important}
.index-overlay .index-close{background:transparent!important}

/* V21 — correctifs prioritaires : home, navigation et galeries */
html,body{overflow-x:hidden!important}
html:has(body.home:not(.cms-project-open)),body.home:not(.cms-project-open){height:auto!important;min-height:100%!important;overflow-y:auto!important;position:static!important}
body.home:not(.cms-project-open) .container{height:auto!important;min-height:100vh!important;overflow:visible!important}
body.home.cms-project-open{overflow:hidden!important}
.cms-project-modal{isolation:isolate!important}
.cms-project-nav{position:fixed!important;top:10px!important;left:12px!important;z-index:2147482003!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;background:transparent!important;box-shadow:none!important;font:400 16px/1.15 "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important}
.cms-project-nav button,.cms-project-nav a{display:inline!important;appearance:none!important;border:0!important;background:none!important;background-color:transparent!important;box-shadow:none!important;color:#000!important;font:inherit!important;line-height:inherit!important;padding:0!important;margin:0!important;text-decoration:none!important;cursor:pointer!important}
.cms-project-close,.index-overlay .index-close{appearance:none!important;background:none!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;outline:none!important;color:#000!important;font:400 16px/1.15 "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important;padding:0!important;margin:0!important}
.cms-project-copy{padding-top:100px!important}
.cms-project-gallery{display:flex!important;flex-direction:column!important;gap:0!important;font-size:0!important;line-height:0!important;overflow-x:hidden!important}
.cms-project-gallery>.cms-project-photo{display:block!important;flex:none!important;margin:0!important;padding:0!important;border:0!important;line-height:0!important;font-size:0!important}
.cms-project-gallery>.cms-project-photo>img{display:block!important;margin:0!important;padding:0!important;border:0!important;width:100%!important;height:auto!important;vertical-align:top!important}
.cms-project-photo figcaption{position:absolute!important;top:10px!important;left:10px!important;font:400 12px/1 "neue-haas-grotesk-text", "neue-haas-grotesk-display", sans-serif!important;color:#000!important;background:transparent!important;text-shadow:0 1px 2px #fff9!important}
.index-overlay{background:rgba(255,255,255,.91)!important}
.index-overlay .index-close,.index-trigger,.info .index-nav,.info .index-nav h1{background:transparent!important;background-image:none!important;box-shadow:none!important}
@media(max-width:700px){.cms-project-copy{padding-top:110px!important}.cms-project-nav{font-size:14px!important}.cms-project-close{top:10px!important;right:12px!important}}
