.header.site-header{position:sticky;top:0;z-index:100;background:var(--ink);max-width:none;width:100%;box-shadow:0 5px 20px #0002}.site-nav{gap:30px}.site-nav a[aria-current=page]{color:var(--yellow)}.nav-metiers{position:relative}.nav-metiers-top{display:flex;align-items:center;gap:8px}.submenu-toggle{border:0;background:none;color:var(--yellow);padding:12px 6px;font-size:20px;cursor:pointer}.metiers-menu{position:absolute;left:-24px;top:100%;width:310px;background:var(--ink);border:1px solid var(--line);padding:12px;box-shadow:0 18px 35px #0006;display:none}.metiers-menu a{display:block;padding:12px;font-size:13px;border-bottom:1px solid var(--line)}.metiers-menu a:last-child{border-bottom:0}.metiers-menu a:hover,.metiers-menu a:focus-visible{background:var(--yellow);color:var(--ink)}.nav-metiers:hover .metiers-menu,.nav-metiers:focus-within .metiers-menu,.nav-metiers.is-open .metiers-menu{display:block}.nav-metiers.suppressed .metiers-menu{display:none}.back-top{position:fixed;right:24px;bottom:24px;z-index:110;width:48px;height:48px;border:1px solid var(--yellow);background:var(--yellow);color:var(--ink);font-size:25px;cursor:pointer;box-shadow:0 6px 20px #0005}.back-top[hidden],[hidden]{display:none!important}.page-banner{height:400px;background:#080808;overflow:hidden;border-bottom:1px solid var(--line)}.page-banner img{display:block;width:100%;height:400px;object-fit:cover}.page-intro{padding-top:36px;padding-bottom:70px}.breadcrumb{color:var(--muted);font-size:11px;margin-bottom:42px}.page-intro h1{max-width:1050px;font-size:clamp(38px,5.4vw,76px);margin:22px 0 28px;letter-spacing:-2px}.page-lead{max-width:860px;font-size:clamp(17px,2vw,23px);line-height:1.6;color:var(--muted);margin:0 0 48px}.service-detail-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:70px;border-top:1px solid var(--line);padding-top:38px}.service-detail-grid h2,.service-location h2{font-size:30px;letter-spacing:-.7px;margin:0 0 22px}.service-detail-grid p,.service-location p{color:var(--muted);font-size:15px;line-height:1.85}.service-offer{border:1px solid var(--line);padding:30px}.service-offer ul{padding-left:20px;margin-bottom:30px}.service-offer li{font-size:14px;margin:14px 0;color:var(--muted)}.service-offer li::marker{color:var(--yellow)}.service-location{border-top:1px solid var(--line);padding-top:30px;margin-top:45px;max-width:900px}.related-projects{padding-bottom:80px}.page-actions{margin-top:35px;text-align:center}.project-note,.project-count,.empty-projects{color:var(--muted);font-size:12px;line-height:1.7}.project-count{text-align:center}.service-link{display:block;color:var(--paper);transition:background .22s,color .22s}.service-link:hover,.service-link:focus-visible{background:var(--yellow);color:var(--ink)}.service-link:hover p,.service-link:hover .service-no,.service-link:focus-visible p,.service-link:focus-visible .service-no{color:#333328}.service-link:hover svg,.service-link:focus-visible svg{stroke:var(--ink)}.service-discover{display:block;font-size:10px;font-weight:bold;margin-top:18px}.all-projects{margin-top:30px}.related-projects article.project-card{cursor:default}.related-projects article.project-card:hover img{transform:none}.gallery-main .no-photo{color:var(--muted)}#multipage-gallery{width:min(1080px,94vw)}#multipage-gallery .gallery-main img{object-fit:contain}.preview-banner~.header.site-header{top:42px}html{scroll-padding-top:130px}@media(max-width:700px){.header.site-header{gap:14px;padding:14px 20px;flex-wrap:wrap;min-height:0}.site-header .brand-tagline{font-size:9px}.site-nav{display:flex;width:100%;justify-content:space-between;gap:8px;font-size:12px}.site-nav .nav-contact{padding:8px 12px}.site-nav span{margin-left:0}.metiers-menu{left:-65px;width:min(300px,calc(100vw - 40px));max-height:65vh;overflow-y:auto}.page-intro{padding-top:24px;padding-bottom:45px}.breadcrumb{margin-bottom:30px}.page-intro h1{font-size:40px;letter-spacing:-1.5px}.service-detail-grid{grid-template-columns:1fr;gap:30px}.service-offer{padding:24px}.service-detail-grid h2,.service-location h2{font-size:25px}.back-top{right:16px;bottom:16px;width:44px;height:44px}.related-projects{padding-bottom:50px}.preview-banner~.header.site-header{top:56px}html{scroll-padding-top:160px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service-link{transition:none}}

@media(max-width:700px){.site-header .site-nav>a{display:block}.site-header .site-nav{min-width:0}.site-header .brand{max-width:100%}}

.page-banner img{height:100%;object-fit:contain;transform:translateY(var(--banner-y,0px)) scale(var(--banner-scale,1.025));will-change:transform}.media-gallery{padding:34px 0 45px;border-top:1px solid var(--line);margin:28px 0}.media-gallery h2{font-size:30px;margin:0 0 18px}.gallery-summary{color:var(--muted);font-size:14px;line-height:1.8;white-space:normal;max-width:850px}.gallery-figure{margin:22px 0 14px}.gallery-photo-main{display:block;width:100%;max-height:650px;aspect-ratio:16/10;object-fit:contain;background:#0b0b0b}.gallery-photo-thumbs{display:flex;gap:12px;overflow-x:auto;padding:5px 0 12px}.gallery-photo-thumbs button{flex:0 0 110px;padding:3px;border:1px solid #555;background:none;cursor:pointer}.gallery-photo-thumbs button[aria-pressed=true]{border-color:var(--yellow)}.gallery-photo-thumbs img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.media-gallery video{display:block;width:100%;max-height:650px;aspect-ratio:16/9;background:#080808}.metier-galleries{padding-bottom:90px}.portfolio-card{min-width:0}.portfolio-card .media-gallery{border:0;margin:0;padding:0}.portfolio-card .media-gallery h2{font-size:17px;margin:14px 0}.portfolio-card .gallery-summary{font-size:12px}.portfolio-card .project-caption h2{font-size:17px;margin:0;letter-spacing:0;line-height:1.4}.portfolio-dialog{width:min(1080px,94vw)}.portfolio-dialog>.dialog-close{display:block;margin-left:auto}.portfolio-dialog .media-gallery{border:0;margin:0;padding:0}.portfolio-dialog .gallery-photo-main{max-height:65vh;aspect-ratio:auto}.motion-ready .reveal{opacity:0;transform:translateY(62px);transition:opacity 1s cubic-bezier(.2,.65,.3,1),transform 1s cubic-bezier(.2,.65,.3,1);transition-delay:var(--reveal-delay,0ms)}.motion-ready .reveal.is-visible{opacity:1;transform:none}.page-entrance{opacity:1}.back-top{background:#a58d36;border-color:#a58d36}@media(max-width:700px){.portfolio-grid{grid-template-columns:1fr}.gallery-photo-thumbs button{flex-basis:80px}.media-gallery h2{font-size:25px}.media-gallery{padding-bottom:25px}.gallery-photo-main{max-height:420px}.metier-galleries{padding-bottom:55px}.page-intro h1{overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){.motion-ready .reveal{opacity:1;transform:none;transition:none}.page-banner img{transform:none!important;will-change:auto}}

.demo-badge{display:inline-block;border:1px solid #675e3a;color:#c3b47b;font-size:9px;letter-spacing:1.2px;padding:6px 9px;margin:0 0 15px}.motion-ready .form-reveal{transform:translateY(24px);transition-duration:.75s}.motion-ready .form-reveal.is-visible,.motion-ready .form-reveal:focus-within{opacity:1;transform:none}.media-gallery:has(.demo-badge) .gallery-summary{max-width:850px}@media(prefers-reduced-motion:reduce){.motion-ready .form-reveal{opacity:1;transform:none;transition:none}}

/* Galeries compactes approuvées */

.metier-galleries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start}.metier-galleries>h2,.metier-galleries>.page-actions,.metier-galleries>p{grid-column:1/-1}.metier-galleries>.reveal{min-width:0}.metier-galleries .media-gallery{border:0;padding:0;margin:0;display:flex;flex-direction:column;min-width:0}.metier-galleries .demo-badge{align-self:flex-start;font-size:8px;letter-spacing:.6px;order:0}.metier-galleries .media-gallery h2{font-size:20px;line-height:1.3;letter-spacing:-.3px;min-height:52px;margin:0 0 15px;order:1}.metier-galleries .gallery-figure{margin:0;order:2}.metier-galleries .gallery-photo-main{width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover}.metier-galleries figcaption{font-size:10px;line-height:1.5;min-height:30px}.metier-galleries .gallery-photo-thumbs{order:3;gap:8px;padding:6px 0 12px}.metier-galleries .gallery-photo-thumbs button{flex-basis:62px}.metier-galleries .gallery-summary{order:4;font-size:12px;line-height:1.7;margin:10px 0 0}.metier-galleries video{order:2;aspect-ratio:16/9;max-height:none}.metier-galleries>.page-actions{margin-top:15px}@media(max-width:760px){.metier-galleries{grid-template-columns:1fr;gap:38px}.metier-galleries .media-gallery h2{min-height:0}.metier-galleries .gallery-photo-thumbs button{flex-basis:75px}}

.video-preview{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#101010;color:white;border-radius:4px}.video-preview img{display:block;width:100%;height:100%;object-fit:contain}.video-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;text-shadow:0 2px 5px #000;background:#0002;font-size:24px}.video-play span{font-size:14px}.video-preview:hover .video-play{background:#0005}.video-preview:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}.video-player-dialog{width:min(1100px,96vw);max-height:95vh;background:#101010;color:white;border:1px solid #555;padding:16px}.video-player-dialog::backdrop{background:#000d}.video-player-dialog h2{font-size:18px;margin:10px 0}.video-player-dialog video{display:block;width:100%;max-height:78vh;aspect-ratio:16/9;object-fit:contain;background:black}.video-player-dialog .dialog-close{display:block;margin-left:auto;color:white;background:#333;border:1px solid #777;padding:10px;cursor:pointer}.video-dialog-open{overflow:hidden}.metier-galleries .video-preview{order:2}

/* Preserve each source video’s intrinsic proportions in the enlarged player. */
.video-player-dialog video{width:auto;height:auto;max-width:100%;max-height:78vh;aspect-ratio:auto;margin-inline:auto}

/* Galerie popup : image à gauche, sélection à droite, hauteur contenue. */
.portfolio-dialog{box-sizing:border-box;width:min(1180px,96vw);max-height:94dvh;padding:18px;overflow:hidden;background:var(--ink,#151515)}
.portfolio-dialog>.dialog-close{margin:0 0 10px auto}
.portfolio-dialog .portfolio-dialog-content{min-height:0}
.portfolio-dialog .media-gallery{display:grid;grid-template-columns:minmax(0,1fr) 146px;grid-template-rows:auto auto minmax(0,1fr);column-gap:18px;row-gap:10px;max-height:calc(94dvh - 94px);min-height:0;overflow:hidden}
.portfolio-dialog .media-gallery>h2{grid-column:1/-1;margin:0;font-size:clamp(17px,2vw,25px);line-height:1.25}
.portfolio-dialog .gallery-summary{grid-column:1/-1;margin:0;max-width:none;font-size:12px;line-height:1.45;max-height:3em;overflow:auto}
.portfolio-dialog .gallery-figure{grid-column:1;grid-row:3;margin:0;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.portfolio-dialog .gallery-photo-main{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94dvh - 212px);aspect-ratio:auto;object-fit:contain;background:transparent;margin:auto}
.portfolio-dialog .gallery-figure figcaption{flex:none;max-width:100%;font-size:11px;line-height:1.3;margin:7px 0 0;text-align:left;align-self:flex-start;max-height:2.6em;overflow:hidden}
.portfolio-dialog .gallery-photo-thumbs{grid-column:2;grid-row:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:7px;align-content:start;align-self:stretch;overflow:hidden;padding:0;margin:0;min-height:0;max-height:calc(94dvh - 190px)}
.portfolio-dialog .gallery-photo-thumbs button{box-sizing:border-box;width:100%;min-width:0;min-height:0;max-height:105px;padding:2px;border:1px solid #555;background:transparent;cursor:pointer;overflow:hidden}
.portfolio-dialog .gallery-photo-thumbs button[aria-pressed=true]{border-color:var(--yellow);box-shadow:inset 0 0 0 1px var(--yellow)}
.portfolio-dialog .gallery-photo-thumbs img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;display:block;background:transparent}
@media(max-width:600px){
 .portfolio-dialog{width:98vw;padding:10px;max-height:96dvh}
 .portfolio-dialog .media-gallery{grid-template-columns:minmax(0,1fr) 92px;column-gap:8px;row-gap:7px;max-height:calc(96dvh - 78px)}
 .portfolio-dialog .gallery-summary{font-size:11px;max-height:3em}
 .portfolio-dialog .gallery-photo-main{max-height:calc(96dvh - 210px)}
 .portfolio-dialog .gallery-photo-thumbs{gap:5px;max-height:calc(96dvh - 185px)}
 .portfolio-dialog .gallery-photo-thumbs button{max-height:75px}
 .portfolio-dialog .gallery-figure figcaption{font-size:10px}
}

/* Popup compacte : visuel dominant et rail vertical, angles droits. */
.portfolio-dialog{width:fit-content;max-width:96vw;max-height:96dvh;padding:10px;border:1px solid var(--line);border-radius:0;background:#181818;overflow:hidden}
.portfolio-dialog>.dialog-close{position:absolute;right:14px;top:14px;z-index:2;width:32px;height:32px;margin:0;background:#151515d9;border:1px solid #777;border-radius:0;font-size:22px}
.portfolio-dialog .media-gallery{display:grid;grid-template-columns:minmax(0,1fr) 92px;grid-template-rows:auto minmax(0,1fr);gap:8px 12px;width:fit-content;max-width:calc(96vw - 22px);max-height:calc(96dvh - 22px);overflow:hidden}
.portfolio-dialog .media-gallery>h2{grid-column:1/-1;grid-row:1;font-size:17px;line-height:1.25;padding-right:42px;margin:0}
.portfolio-dialog .gallery-summary,.portfolio-dialog .gallery-figure figcaption{display:none}
.portfolio-dialog .gallery-figure{grid-column:1;grid-row:2;display:block;margin:0;min-width:0;overflow:hidden;align-self:start}
.portfolio-dialog .gallery-photo-main{width:auto;height:auto;max-width:min(78vw,calc(96vw - 126px));max-height:calc(96dvh - 60px);margin:0;object-fit:contain;background:transparent;border:0;border-radius:0}
.portfolio-dialog .gallery-photo-thumbs{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:10px;align-self:stretch;width:92px;max-height:calc(96dvh - 60px);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;padding:0 3px 0 0;margin:0;min-height:0}
.portfolio-dialog .gallery-photo-thumbs button{flex:0 0 88px;width:88px;height:88px;min-height:88px;max-height:88px;border-radius:0;padding:2px;border:1px solid #666;background:transparent}
.portfolio-dialog .gallery-photo-thumbs img{width:100%;height:100%;object-fit:contain;border-radius:0;background:transparent}
.portfolio-dialog .gallery-photo-thumbs button[aria-pressed=true]{border-color:var(--yellow);box-shadow:inset 0 0 0 1px var(--yellow)}
@media(max-width:600px){
 .portfolio-dialog{max-width:98vw;padding:7px}
 .portfolio-dialog .media-gallery{grid-template-columns:minmax(0,1fr) 60px;gap:7px;max-width:calc(98vw - 16px)}
 .portfolio-dialog .media-gallery>h2{font-size:14px}
 .portfolio-dialog .gallery-photo-main{max-width:calc(98vw - 84px);max-height:calc(96dvh - 62px)}
 .portfolio-dialog .gallery-photo-thumbs{width:60px;gap:7px;max-height:calc(96dvh - 62px)}
 .portfolio-dialog .gallery-photo-thumbs button{width:56px;height:56px;min-height:56px;max-height:56px;flex-basis:56px}
 .portfolio-dialog>.dialog-close{top:9px;right:9px;width:28px;height:28px}
}

/* Rail en deux ou trois colonnes, borné à la hauteur du visuel. */
.portfolio-dialog .media-gallery{grid-template-columns:minmax(0,1fr) var(--rail-width,156px);gap:8px 12px;align-items:start}
.portfolio-dialog .gallery-photo-main{max-width:calc(96vw - var(--rail-width,156px) - 36px);max-height:calc(96dvh - 64px)}
.portfolio-dialog .gallery-photo-thumbs{display:grid;grid-template-columns:repeat(var(--thumb-columns,2),minmax(0,1fr));grid-auto-rows:max-content;align-content:start;align-self:start;width:var(--rail-width,156px);height:var(--image-height,60vh);max-height:var(--image-height,60vh);gap:7px;overflow-y:auto;overflow-x:hidden;padding:0 3px 0 0;box-sizing:border-box}
.portfolio-dialog .gallery-photo-thumbs button{display:block;flex:none;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1;padding:2px;margin:0;border-radius:0}
.portfolio-dialog .gallery-photo-thumbs img{width:100%;height:100%;object-fit:contain;aspect-ratio:1}
@media(max-width:600px){
 .portfolio-dialog .media-gallery{grid-template-columns:minmax(0,1fr) var(--rail-width,110px);gap:7px}
 .portfolio-dialog .gallery-photo-main{max-width:calc(98vw - var(--rail-width,110px) - 24px);max-height:calc(96dvh - 64px)}
 .portfolio-dialog .gallery-photo-thumbs{width:var(--rail-width,110px);height:var(--image-height,60vh);max-height:var(--image-height,60vh);gap:5px}
 .portfolio-dialog .gallery-photo-thumbs button{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1;flex:none}
}

/* Fermeture visible, réservée à l’en-tête et hors du rail de miniatures. */
.portfolio-dialog>.dialog-close{top:8px;right:8px;width:26px;height:26px;padding:0;display:grid;place-items:center;font-size:20px;line-height:1;color:#151515;background:var(--yellow,#fdd43b);border:1px solid var(--yellow,#fdd43b);border-radius:0;box-sizing:border-box}
.portfolio-dialog>.dialog-close:hover{background:#ffe477;border-color:#ffe477}
.portfolio-dialog>.dialog-close:focus-visible{outline:2px solid white;outline-offset:2px}
.portfolio-dialog .media-gallery{grid-template-rows:minmax(28px,auto) minmax(0,1fr)}
.portfolio-dialog .media-gallery>h2{min-height:28px;padding-right:36px;box-sizing:border-box}
@media(max-width:600px){.portfolio-dialog>.dialog-close{top:6px;right:6px;width:24px;height:24px;font-size:18px}.portfolio-dialog .media-gallery>h2{padding-right:32px}}



/* Pages internes : titres plus compacts, textes de lecture conservés. */
.page-intro h1{font-size:clamp(32px,3.1vw,44px);line-height:1.18;letter-spacing:-.7px;max-width:1050px;margin:18px 0 20px;overflow-wrap:normal;hyphens:auto}
.page-intro .breadcrumb{margin-bottom:26px}
.page-lead{font-size:17px;line-height:1.65;margin-bottom:32px;max-width:860px}
.service-detail-grid h2,.service-location h2{font-size:24px;line-height:1.3;letter-spacing:-.4px;margin-bottom:18px}
.metier-galleries>h2{font-size:28px;line-height:1.25;letter-spacing:-.5px}
.metier-galleries .media-gallery h2{font-size:18px;line-height:1.35;letter-spacing:-.2px;min-height:49px}
@media(max-width:700px){
 .page-intro h1{font-size:28px;letter-spacing:-.4px;margin:16px 0 18px}
 .page-intro .breadcrumb{margin-bottom:20px}
 .page-lead{font-size:16px;margin-bottom:26px}
 .service-detail-grid h2,.service-location h2{font-size:22px}
 .metier-galleries>h2{font-size:24px}
 .metier-galleries .media-gallery h2{min-height:0}
}
