:root{--ink:#193853;--deep:#102c42;--cream:#f4e9d3;--paper:#faf5e9;--sand:#d8c4a6;--brume:#8497a8;--line:#d5cbb9;--text:#193853;--muted:#465961;--serif:Baskerville,"Baskerville Old Face","Iowan Old Style","Palatino Linotype",Georgia,serif;--sans:"Gill Sans MT","Gill Sans","Segoe UI",Arial,sans-serif;--edge:clamp(1.25rem,5vw,5.4rem);--width:1320px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;color:var(--text);background:var(--paper);font-family:var(--sans);font-size:1.0625rem;line-height:1.55;-webkit-font-smoothing:antialiased}
body:has(dialog[open]){overflow:hidden}
[hidden]{display:none!important}
img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}
button{cursor:pointer;color:inherit}button:disabled{cursor:default}button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #407da6;outline-offset:5px}
:where(h1,h2,h3,p,figure,dl,dd){margin:0}
:where(h1,h2,h3){font-family:var(--serif);font-weight:400;letter-spacing:-.044em;line-height:1}
:where(h1,h2) em{font-weight:400}.wrap{width:min(calc(100% - 2 * var(--edge)),var(--width));margin-inline:auto}
.skip{position:fixed;z-index:20;top:-10rem;left:1rem;background:var(--paper);padding:.7rem 1.2rem}.skip:focus{top:.5rem}
.top{position:relative;z-index:4;background:var(--cream)}
.header-in{width:min(calc(100% - 2 * var(--edge)),1550px);margin:auto;min-height:82px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:2rem}
.brand{display:inline-flex;align-items:center;justify-self:start}.brand img{width:clamp(160px,14vw,207px);height:auto}
.desktop-nav{display:flex;gap:clamp(1.6rem,3.1vw,3.3rem);align-items:center;font-size:.98rem}
.desktop-nav a,.footer-in>a:last-child,.back,.text-btn{text-decoration:underline;text-underline-offset:.37em;text-decoration-color:transparent;transition:text-decoration-color .18s}
.desktop-nav a:hover,.footer-in>a:last-child:hover,.text-btn:hover,.back:hover{text-decoration-color:currentColor}
.header-cta,.button{min-height:47px;display:inline-flex;align-items:center;justify-content:center;padding:.72rem 1.48rem;border:1px solid transparent;border-radius:2px;font-size:.96rem;line-height:1.25;font-weight:500;text-align:center;transition:background .2s,color .2s,border-color .2s}
.header-cta{justify-self:end;background:transparent;color:var(--ink);border-color:var(--ink);min-height:43px}
.header-cta:hover{background:var(--ink);color:var(--cream)}
.button-dark{background:var(--ink);color:var(--cream)}.button-dark:hover{background:#254b69}
.button-cream{background:var(--cream);color:var(--ink)}.button-cream:hover{background:#fff6e4}
.menu-toggle,#mobile-nav{display:none}.menu-toggle,.icon-btn{background:transparent;border:0;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.kicker{display:flex;align-items:center;gap:.85rem;font-size:.76rem;line-height:1.35;letter-spacing:.16em;font-weight:600;text-transform:uppercase}
.kicker::before{content:"";width:31px;height:1px;background:currentColor;opacity:.85}
.watch{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;gap:.74rem;font-size:1rem;padding:2px 0}
.watch-icon,.play-dot{display:grid;place-items:center;border:1px solid #fff9;border-radius:50%;width:43px;height:43px;color:inherit}
.watch-icon svg,.play-dot svg{width:19px;height:19px;transform:translateX(1px)}
.watch:hover .watch-icon,.play-dot:hover{background:#fff2;border-color:#fff}
.spaces,.profiles{padding-block:clamp(4.4rem,7.4vw,8rem)}
.section-intro{display:grid;grid-template-columns:1.2fr .8fr;align-items:end;column-gap:clamp(2rem,9vw,9rem);margin-bottom:3rem}
.section-intro h2,.atelier h2,.project h2,.detail-body h2{font-size:clamp(3.6rem,5.5vw,6.25rem);line-height:.99;margin-top:1.15rem}
.section-intro>p,.atelier-copy>p:not(.kicker),.profile-copy p,.detail-body p,.detail-body dd{color:var(--muted);font-size:1.08rem;line-height:1.62}
.section-intro>p{max-width:28rem;margin-bottom:.3rem}
.cards{display:grid;grid-template-columns:1.04fr .96fr;gap:clamp(2.3rem,4vw,4.2rem) clamp(1.35rem,3vw,3rem)}
.card-media{position:relative;overflow:hidden;background:var(--sand);aspect-ratio:1.67}
.card-media>a,.card-media img{display:block;width:100%;height:100%}.card-media img,.atelier-img img,.profile-panel img,.detail-film img{object-fit:cover}
.card-media img{transition:transform .55s ease}
.card-media>a:hover img{transform:scale(1.035)}
.play-dot{position:absolute;right:1rem;bottom:1rem;background:#142e3b99;color:#fff;backdrop-filter:blur(6px)}
.card-label{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.18rem 0 0}
.card-label h3{font-size:clamp(2.1rem,3.1vw,3.25rem)}
.card-label p{font-size:1rem;line-height:1.48;color:var(--muted);margin-top:.6rem;max-width:41em}
.open-card{display:grid;place-items:center;flex-shrink:0;border:1px solid #a4aaa5;border-radius:50%;width:39px;height:39px;margin-top:3px}.open-card svg{width:15px}.open-card:hover{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.atelier{display:grid;grid-template-columns:1.04fr .96fr;background:var(--cream)}
.atelier-img{min-height:590px}.atelier-img img{width:100%;height:100%;object-position:50%}
.atelier-copy{padding:clamp(3.1rem,5.5vw,6rem) max(var(--edge),calc((100vw - var(--width)) / 2)) clamp(3.2rem,5.5vw,6rem) clamp(2.5rem,5vw,6rem)}
.atelier-copy>p:not(.kicker){margin-top:1.6rem}
.accordions{margin-top:2rem}.accordions details{border-top:1px solid #bcbaa9}.accordions details:last-child{border-bottom:1px solid #bcbaa9}
.accordions summary{cursor:pointer;list-style:none;position:relative;font-size:1.08rem;padding:.87rem 2rem .87rem 0;font-weight:500}
.accordions summary::-webkit-details-marker{display:none}
.accordions summary::after{content:"+";position:absolute;right:0;font:1.4rem var(--sans)}
.accordions details[open] summary::after{content:"−"}
.accordions details p{margin:0 1.5rem 1rem 0;font-size:.99rem;line-height:1.55;color:var(--muted)}
.profile-tabs{display:flex;align-items:stretch;gap:2.1rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem}
.profile-tabs button,.film-choices button{background:transparent;border:0;position:relative;padding:.7rem 0;font-size:1rem;color:var(--muted)}
.profile-tabs button[aria-selected=true]{color:var(--ink);font-weight:600}.profile-tabs button[aria-selected=true]::after{content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0;background:var(--ink)}
.profile-panel{display:grid;grid-template-columns:1fr 1fr;background:var(--cream);min-height:310px}
.profile-copy{align-self:center;padding:clamp(2rem,5vw,5.5rem)}.profile-copy h3{font-size:clamp(2.65rem,3.8vw,4.8rem)}
.profile-copy p{margin:1.2rem 0 1.5rem}.profile-panel img{width:100%;height:100%;max-height:430px}
.text-btn{padding:0;border:0;border-bottom:1px solid currentColor;background:transparent}
.project{color:var(--cream);background:var(--ink);padding-block:clamp(3.6rem,6.8vw,7rem)}
.project-in{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.footer-in{display:flex;gap:2rem;align-items:center;justify-content:space-between;padding-block:2.5rem;color:var(--ink)}
.footer-in>span,.footer-in>a:last-child{font-size:.92rem}.footer-in>span{color:var(--muted)}
.detail-head{padding-block:2.2rem 2.6rem}.back{display:inline-block;font-size:.95rem;text-decoration-color:var(--line);margin-bottom:3rem}
.detail-head h1{font-size:clamp(3.7rem,7.4vw,7.7rem);margin:.6rem 0 1rem}.detail-head .intro{max-width:42rem;font-size:1.2rem;color:var(--muted)}
.detail-film{position:relative;max-height:570px;aspect-ratio:2.45;background:var(--ink);overflow:hidden}
.detail-film img{width:100%;height:100%;object-position:center 60%}.detail-film .watch{position:absolute;bottom:1.5rem;left:1.5rem;color:white;background:#0c283bbe;padding:.4rem 1.1rem .4rem .45rem;border-radius:50px}
.detail-body{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,7vw,8rem);padding-block:5rem}.detail-body h2{font-size:clamp(3rem,4.6vw,5rem)}.detail-body p{margin:1.5rem 0}.detail-body .kicker{margin:0;color:var(--ink);font-size:.76rem}
.detail-body dl>div{border-top:1px solid var(--line);padding:1.2rem 0}.detail-body dt{font-family:var(--serif);font-size:1.7rem}.detail-body dd{margin:.5rem 0}
.next-space{border-top:1px solid var(--line);padding:2rem 0 3rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.next-space a{font-family:var(--serif);font-size:2rem;text-decoration:underline;text-underline-offset:.2em}
dialog{border:0;max-height:90svh;max-width:calc(100vw - 2rem);color:var(--ink);background:var(--paper);padding:clamp(1.25rem,2.7vw,2.65rem);box-shadow:0 16px 120px #08233455}
dialog::backdrop{background:#0e1e29cc;backdrop-filter:blur(5px)}dialog h2{font-size:clamp(2.3rem,4vw,4rem);margin:.5rem 0 1rem}.dialog-top{display:flex;justify-content:space-between;gap:1rem;align-items:center}
.icon-btn{display:grid;padding:0}.icon-btn:hover{background:rgba(25,56,83,.07)}#film-dialog{width:960px}#film-player{display:block;width:100%;max-height:55svh;aspect-ratio:16/9;background:#071723;object-fit:contain}
#film-desc{color:var(--muted);font-size:1rem;margin:.8rem 0}.film-choices{display:flex;flex-wrap:wrap;gap:.5rem 1.35rem;border-top:1px solid var(--line)}.film-choices button[aria-pressed=true]{color:var(--ink);text-decoration:underline;text-underline-offset:.35em}
#brief-dialog{width:580px}#brief-dialog>p{color:var(--muted)}#brief-form{display:grid;gap:1.05rem;margin-top:1.45rem}
#brief-form label,#brief-form legend{font-size:1rem}#brief-form label>span{color:var(--muted);font-size:.9rem}
#brief-form select,#brief-form input:not([type=checkbox]),#brief-form textarea{width:100%;display:block;background:#fffdf6;color:var(--ink);border:1px solid #a6a797;border-radius:2px;margin-top:.34rem;padding:.53rem .7rem;min-height:44px}
#brief-form textarea{resize:vertical}.brief-note,#brief-status{font-size:.91rem;color:var(--muted)}#brief-status:empty{display:none}
#brief-form fieldset{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.45rem 1rem}#brief-form legend{margin-bottom:.4rem}input[type=checkbox]{accent-color:var(--ink)}
@media(min-width:1600px){}
@media(max-width:940px){.header-in{gap:1rem}.desktop-nav{gap:1.5rem}.atelier-img{min-height:470px}.atelier-copy{padding:3.2rem 2rem}.section-intro{gap:2.5rem}.footer-in>span{max-width:230px}}
@media(max-width:730px){
.header-in{grid-template-columns:1fr auto auto;gap:.6rem;min-height:65px}.brand img{width:149px}.desktop-nav{display:none}.menu-toggle{display:grid}.header-cta{min-height:38px;padding:.48rem .8rem;font-size:.84rem}
#mobile-nav:not([hidden]){display:grid;padding:.5rem var(--edge) 1.2rem;gap:.2rem;background:var(--cream);border-top:1px solid var(--line)}
#mobile-nav a,#mobile-nav button{text-align:left;font-size:1.07rem;padding:.6rem 0;background:none;border:0}
.section-intro,.atelier,.detail-body{grid-template-columns:1fr}.section-intro{gap:1rem;margin-bottom:2rem}.section-intro h2,.atelier h2,.project h2{font-size:clamp(3.2rem,9vw,4.4rem)}
.section-intro>p{max-width:38rem}.cards{gap:2.2rem 1rem;grid-template-columns:1fr 1fr}.card-media{aspect-ratio:1.2}.card-label{display:block}.open-card{display:none}
.card-label p{font-size:.95rem}.card-label h3{font-size:clamp(1.65rem,4.7vw,2.45rem)}
.atelier-img{min-height:0;aspect-ratio:1.85}.atelier-copy{padding:3.2rem var(--edge)}
.profile-panel{grid-template-columns:1fr}.profile-panel img{max-height:300px;aspect-ratio:1.8}.profile-tabs{gap:1.4rem}.profile-tabs button{font-size:.95rem}
.project-in{align-items:start;flex-direction:column}.footer-in{flex-wrap:wrap;gap:1rem 1.5rem}.footer-in>span{max-width:none;flex-basis:100%;order:2}
.detail-film{aspect-ratio:1.42}.detail-body{gap:2rem;padding-block:3.5rem}.detail-head{padding-block:1.5rem 2rem}.back{margin-bottom:2rem}
}
@media(max-width:480px){.header-in{gap:.2rem}.brand img{width:137px}.header-cta{font-size:.78rem;padding:.48rem .6rem}.watch{font-size:.91rem;gap:.48rem}.watch-icon{width:37px;height:37px}.cards{grid-template-columns:1fr}.card-media{aspect-ratio:1.62}.card-label{display:flex}.open-card{display:grid}.card-label h3{font-size:2.25rem}.play-dot{width:37px;height:37px}.profile-tabs{gap:1.05rem}.next-space{align-items:start;flex-direction:column}.kicker{font-size:.73rem}.film-choices{gap:.1rem 1rem}.film-choices button{font-size:.92rem}}
@media(max-width:360px){.header-cta{display:none}.header-in{grid-template-columns:1fr auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* The palette follows the changing water and daylight in the films. */
:root {
  --night: #081b2b;
  --surface: #102a40;
  --line: #486073;
  --text: #f4e9d3;
  --muted: #bccbd2;
}
body { background: #0c2235; }
::selection { background: var(--cream); color: var(--ink); }
.top { background: var(--deep); color: var(--cream); }
body:has(#home-view:not([hidden])) .top {
  position: absolute; inset: 0 0 auto;
  background: linear-gradient(to bottom, #081b2bea 0%, #081b2baa 63%, transparent);
}
.header-in { min-height: 87px; border-bottom: 1px solid #f4e9d333; }
.header-cta { border-color: #f4e9d3aa; color: var(--cream); }
.header-cta:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.skip { background: var(--cream); color: var(--ink); }
.open-card { border-color: #a7bbca85; }
.open-card:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.button-dark { color: var(--ink); background: var(--cream); }
.button-dark:hover { background: #fff8e9; }
.atelier { background: var(--ink); }
.accordions details, .accordions details:last-child { border-color: #7991a16b; }
.profiles { background: transparent; }
.profile-tabs button[aria-selected=true], .footer-in, .detail-body .kicker { color: var(--cream); }
.profile-tabs button[aria-selected=true]::after { background: var(--cream); }
.profile-panel { background: var(--surface); }
.project { background: #1a3a53; border-block: 1px solid #f4e9d31c; }
footer { background: var(--night); }
dialog { background: #102a40; color: var(--cream); border: 1px solid #70879780; }
.icon-btn:hover { background: #c2d9df1a; }
.film-choices button[aria-pressed=true] { color: var(--cream); }
#brief-form select, #brief-form input:not([type=checkbox]), #brief-form textarea {
  color: var(--cream); background: var(--night); border-color: #698293; color-scheme: dark;
}
input[type=checkbox] { accent-color: #c5dce4; }
:is(button,a,summary,select,input,textarea):focus-visible { outline-color: #a9d4ed; }
.hero {
  position: relative; display: flex; isolation: isolate; overflow: hidden; align-items: end;
  height: min(850px, 96svh); min-height: 625px;
  color: var(--cream); background: var(--night);
}
.hero-media, .hero-media > *, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-media { z-index: -3; overflow: hidden; }
.hero-media > * { object-fit: cover; object-position: var(--focal, 56%) 52%; }
.hero[data-scene="projet-soussol"] { --focal: 56%; }
.hero[data-scene="projet-entreprise"] { --focal: 61%; }
.scene-video { opacity: 0; }
.scene-video.is-visible { opacity: 1; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #081c30cd 0%, #0b203385 27%, #0c233336 49%, transparent 76%),
              linear-gradient(0deg, #091f32 0%, #0a1e32bc 11%, #0b213124 42%, transparent 60%);
}
.hero-copy { z-index: 1; padding: 7.8rem 0 clamp(10.1rem, 17vh, 12.4rem); pointer-events: none; }
.hero-copy :is(button,a) { pointer-events: auto; }
.hero-kicker { color: #f4ead5; }
.hero h1 { font-size: clamp(4.4rem, 7.2vw, 7.8rem); line-height: .95; letter-spacing: -.061em; margin: 1.05rem 0 1.2rem; text-wrap: initial; }
.hero h1 em { color: #f4e9d3; letter-spacing: -.065em; }
.hero-intro { color: #fff7e9; font-size: clamp(1.02rem, 1.18vw, 1.22rem); max-width: 28rem; min-height: 3.05em; line-height: 1.5; text-shadow: 0 1px 12px #0c233a88; }
.hero-actions { display: flex; align-items: center; gap: 1.45rem; margin-top: 1.35rem; }
.hero-actions .button { min-height: 46px; padding: .66rem 1.24rem; }
.cinema { display: inline-flex; align-items: center; gap: .62rem; min-height: 44px; border: 0; background: transparent; color: #fff8eb; font-size: 1rem; }
.cinema:hover { text-decoration: underline; text-underline-offset: .28rem; }
.scene-deck {
  position: absolute; bottom: 1.65rem; inset-inline: 0; z-index: 2;
  display: flex; align-items: center; gap: clamp(1.4rem, 4.1vw, 4.4rem);
}
.scene-tabs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: clamp(1.1rem, 3.4vw, 3.7rem); }
.scene-tabs button {
  position: relative; text-align: left; display: flex; flex-direction: column; justify-content: flex-end;
  gap: .16rem; min-width: 0; min-height: 69px; padding: .35rem 0 .87rem; border: 0;
  background: transparent; color: #e4e9e9; line-height: 1.28;
}
.scene-name { font-family: var(--serif); font-size: clamp(1.25rem,1.8vw,1.85rem); letter-spacing: -.028em; }
.scene-detail { color: #d5dde0; font-size: .87rem; }
.scene-line { position: absolute; bottom: 0; width: 100%; height: 2px; background: #cbd7df50; }
.scene-line::after {
  content: ''; display: block; height: 100%; width: 100%; background: var(--cream);
  transform-origin: left; transform: scaleX(0);
}
.scene-tabs button[aria-selected=true] .scene-name { color: #fff5df; }
.scene-tabs button[aria-selected=true] .scene-line { background: #d8e5ec8a; }
.scene-tabs button[aria-selected=true] .scene-line::after { transform: scaleX(var(--progress, .035)); transition: transform .25s linear; }
.scene-tabs button:hover .scene-line { background: var(--cream); }
.motion-btn {
  flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; width: 44px; height: 44px;
  padding: 0; color: var(--cream); border: 1px solid #f4e9d38c; background: #0c233790;
}
.motion-btn svg { width: 17px; height: 17px; }
.motion-btn:hover { background: #294b64; }
@media (min-width: 1700px) {
  .hero { height: min(88svh, 1040px); }
  .hero-copy { padding-bottom: clamp(12rem, 20vh, 16.5rem); }
}
@media (max-width: 730px) {
  .header-in { min-height: 66px; }
  #mobile-nav:not([hidden]) { background: #0d263b; border-color: #f4e9d32b; }
  .hero { min-height: 620px; height: min(94svh, 800px); max-height: none; }
  .hero-media { height: 69%; }
  .hero-media > * { object-position: var(--focal, 61%) center; }
  .hero[data-scene="projet-soussol"] { --focal: 57%; }
  .hero[data-scene="projet-entreprise"] { --focal: 63%; }
  .hero-shade {
    background: linear-gradient(0deg, var(--night) 0%, var(--night) 29%, #081b2be3 40%, #081b2b67 53%, transparent 66%),
                linear-gradient(90deg,#081b2b35,transparent 78%);
  }
  .hero-copy { padding: 0 0 7.3rem; }
  .hero h1 { font-size: clamp(3.25rem, 9vw, 4.65rem); line-height: .97; margin: .68rem 0 .8rem; }
  .hero-intro { font-size: 1.02rem; min-height: 3em; max-width: 28em; }
  .hero-actions { margin-top: .97rem; gap: 1.15rem; }
  .hero-actions .button { min-height: 44px; }
  .cinema { font-size: .93rem; }
  .scene-deck { bottom: 1.24rem; gap: .8rem; }
  .scene-tabs { column-gap: .75rem; }
  .scene-tabs button { min-height: 52px; justify-content: flex-start; padding: .3rem 0 .55rem; }
  .scene-name { font-family: var(--sans); font-size: .9rem; line-height: 1.3; letter-spacing: -.012em; max-width: 9em; }
  .scene-detail { display: none; }
  .motion-btn { width: 42px; height: 42px; }
}
@media (max-width: 380px) {
  .hero { min-height: 595px; }
  .scene-tabs { column-gap: .55rem; }
  .scene-name { font-size: .85rem; }
  .scene-deck { gap: .45rem; }
  .hero-intro { font-size: .98rem; }
}
@media (max-height: 590px) and (min-width: 731px) {
  .hero { min-height: 495px; }
  .header-in { min-height: 64px; }
  .hero h1 { font-size: clamp(3.7rem, 6vw, 5rem); }
  .hero-copy { padding-bottom: 6.8rem; }
  .scene-deck { bottom: .75rem; }
}

.hero h1 { font-size: clamp(3.8rem, 5.95vw, 6.6rem); line-height: .98; }
.profile-copy p a { text-decoration: underline; text-decoration-color: #99afba92; text-underline-offset: .16em; }
.profile-copy p a:hover { color: var(--cream); }
.service-questions { padding-block: .8rem 4.6rem; display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,7vw,8rem); }
.service-questions h2 { font-size:clamp(2.3rem,3.8vw,4rem); line-height:1.06; max-width:14em; }
.service-questions .accordions { margin:0; }
.service-questions summary { padding-block:1rem; }
.detail-body h2 { line-height:1.04; }
.detail-head .intro { max-width:49rem; }
.detail-head h1 { max-width:17em; font-size:clamp(3.1rem,6vw,6.8rem); line-height:1.02; text-wrap:balance; }
.next-space a { text-align:right; }
#visits-dialog { width:min(1160px, calc(100vw - 2rem)); padding:clamp(.9rem,2vw,1.7rem); background:#0b2335; }
#visits-dialog .dialog-top { align-items:center; margin-bottom:.65rem; }
#visits-dialog h2 { font-size:clamp(1.7rem,3.6vw,3.4rem); line-height:1.06; margin:0; }
.cinema-frame { position:relative; width:100%; aspect-ratio:16/9; max-height:62svh; background:#061420; overflow:hidden; }
.cinema-frame .hero-media { position:absolute; z-index:0; inset:0; width:100%; height:100%; }
.cinema-frame .hero-media > * { object-fit:contain; object-position:center; }
.cinema-toolbar { display:flex; align-items:center; justify-content:space-between; gap:.8rem; margin-top:.5rem; }
.cinema-toolbar .film-choices { border:0; }
.cinema-motion { background:transparent; color:var(--cream); border:1px solid var(--line); min-height:40px; padding:.15rem .8rem; }
#visit-caption { color:#c9d6db; font-size:1rem; margin-top:.35rem; }
.film-credits { margin-top:.6rem; color:#c2d1d7; font-size:.86rem; }
.film-credits summary { width:fit-content; cursor:pointer; }
.film-credits p { margin-top:.42rem; }
.film-credits a { text-decoration:underline; text-underline-offset:.15em; }
@media(max-width:730px) {
 .hero h1 { font-size:clamp(2.44rem,8.55vw,3.85rem); line-height:.99; }
 .service-questions { grid-template-columns:1fr; gap:1.4rem; padding-block:.2rem 2.7rem; }
 .service-questions h2 { max-width:18em; }
 .next-space a { text-align:left; }
 .cinema-toolbar { align-items:flex-start; }
 .cinema-toolbar .film-choices { gap:.15rem .8rem; }
 .cinema-motion { min-height:40px; margin-block:.35rem; }
}
@media(max-width:380px) { .hero h1 { font-size:clamp(2.08rem,9.2vw,2.5rem); } }

/* The composition reserves the left foreground for the editorial block. */
body:has(#home-view:not([hidden])) .top {
  position:absolute; inset:0 0 auto; color:var(--cream);
  background:linear-gradient(#04111de6, #05182870 73%, transparent);
}
body.admin-bar:has(#home-view:not([hidden])) .top { top:var(--wp-admin--admin-bar--height,32px); }
.hero {
  position:relative; display:flex; flex-flow:column nowrap; align-items:stretch; justify-content:flex-end;
  isolation:isolate; overflow:hidden; height:auto; min-height:max(670px,100svh); max-height:none;
  padding:clamp(7rem,15vh,10rem) max(var(--edge),calc((100vw - 1680px)/2)) clamp(1.35rem,3.1vh,2rem);
  background:#071823; color:#fbf3e0;
}
.product-frame { position:absolute; inset:0; width:100%; height:100%; overflow:hidden; z-index:-3; }
.hero .hero-media { position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.hero .hero-media > * { width:100%; height:100%; object-fit:cover; object-position:var(--focal,55%) 51%; }
.hero .hero-shade {
  display:block; z-index:-1;
  background:linear-gradient(90deg, #061723d9 0%, #071927bc 19%, #0718266b 37%, transparent 66%),
             linear-gradient(0deg, #06141ff0 0%, #06151ead 10%, #06172526 32%, transparent 54%);
}
.hero .hero-copy { width: min(43rem,43vw); margin:0; padding:0; align-self:flex-start; }
.hero .hero-kicker { font-size:clamp(.75rem,.8vw,.9rem); letter-spacing:.145em; text-shadow:0 1px 5px #031423; }
.hero h1 { font-size:clamp(3.5rem,5.15vw,6.6rem); line-height:.97; margin:1.08rem 0 1.12rem; text-wrap:balance; }
.hero h1 em { display:block; }
.hero .hero-intro { font-size:clamp(1rem,1.08vw,1.17rem); max-width:34ch; min-height:3.05em; color:#fff6e7; line-height:1.48; }
.hero .hero-actions { gap:.5rem 1.25rem; margin-top:1.02rem; }
.hero .scene-deck { position:relative; inset:auto; width:100%; margin:clamp(1.9rem,5.5vh,4.75rem) 0 0; gap:clamp(1.3rem,4.5vw,6.5rem); }
.scene-name { color:#fff3df; }
.scene-detail { color:#e0e3df; }
.hero .scene-tabs button { min-height:61px; }
.film-controls { display:flex; flex:none; align-items:center; gap:.55rem; }
.sound-btn,.cinema-motion { display:inline-flex; align-items:center; justify-content:center; }
.sound-btn { width:44px; height:44px; border:1px solid #f5eada9c; border-radius:50%; padding:0; background:#091b27a8; color:#fff5e4; }
.sound-btn:hover,.motion-btn:hover { background:#214355; }
.sound-btn svg { width:19px;height:19px; }
.sound-btn[aria-pressed=false] .sound-wave,.sound-btn[aria-pressed=true] .sound-muted { display:none; }
#visits-dialog[open] {
  position:fixed; inset:0; margin:0; width:100%; max-width:none; height:100%; height:100dvh; max-height:none; border:0;
  display:flex; flex-direction:column; gap:.52rem; padding:clamp(.85rem,2vh,1.45rem) clamp(1rem,2.75vw,3rem);
  overflow:auto; background:#05121b;
}
#visits-dialog .dialog-top { margin:0; min-height:44px; }
#visits-dialog .dialog-top h2 { font-size:clamp(1.6rem,2.9vw,2.7rem); }
#visits-dialog .cinema-frame { flex:1 1 auto; min-height:10rem; aspect-ratio:auto; max-height:none; background:#040d13; }
#visits-dialog .cinema-toolbar { flex:none; margin:0; align-items:center; gap:.8rem; }
#visits-dialog .cinema-frame .hero-media > * { object-fit:contain; }
#visits-dialog #visit-caption { margin:0; font-size:1rem; }
#visits-dialog .film-credits { margin:.1rem 0 0; }
.room-preview { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; opacity:0; }
.room-preview.is-visible { opacity:1; }
.play-dot { z-index:1; }
@media(min-width:1700px) { .hero { padding-bottom:clamp(2rem,3.2vh,3.7rem); } }
@media(min-width:731px) and (max-height:690px) {
  .hero { min-height:max(555px,100svh); padding-top:6rem; padding-bottom:1rem; }
  .hero h1 { font-size:clamp(3.1rem,4.8vw,4.9rem); }
  .hero .scene-deck { margin-top:1.2rem; }
}
@media(max-width:730px) {
  .hero { min-height:max(690px,100svh); padding:clamp(18rem,46svh,29rem) var(--edge) max(1.25rem,env(safe-area-inset-bottom)); }
  .product-frame { height:64%; }
  .hero .hero-media > * { object-position:var(--focal,62%) 52%; }
  .hero .hero-shade { background:linear-gradient(0deg,#071823 0%,#071823 36.1%,#071823e8 43%,#0718236b 52%,transparent 66%); }
  .hero .hero-copy { width:100%; max-width:35rem; }
  .hero h1 { font-size:clamp(2.5rem,8.35vw,3.85rem); margin:.65rem 0 .72rem; line-height:1; text-wrap:pretty; }
  .hero h1 em { display:inline; }
  .hero .hero-kicker { font-size:.73rem; }
  .hero .hero-intro { max-width:37ch; min-height:3.05em; font-size:1rem; }
  .hero .hero-actions { margin-top:.7rem; gap:.45rem 1rem; }
  .hero .scene-deck { margin-top:1.2rem; gap:clamp(.55rem,2vw,1rem); }
  .hero .scene-tabs { gap:.52rem; }
  .hero .scene-tabs button { min-height:45px; justify-content:flex-end; padding:0 0 .52rem; }
  .scene-name { font-size:.9rem; }
  .film-controls { gap:.27rem; }
  .film-controls :is(.sound-btn,.motion-btn) { width:40px; height:40px; }
  #visits-dialog .cinema-frame { min-height:8rem; }
  #visits-dialog .cinema-toolbar { align-items:flex-start; }
}
@media(max-width:360px) {
  .hero h1 { font-size:2.45rem; }
  .hero .scene-deck { gap:.45rem; }
  .hero .scene-tabs { gap:.36rem; }
  .hero .scene-name { font-size:.82rem; }
}

.card-media { aspect-ratio:16/9; background:#0a2032; }
.card-media a img { object-fit:contain; }
.detail-film { width:min(calc(100% - 2 * var(--edge)),1150px); max-height:none; aspect-ratio:16/9; background:#081c2c; }
.detail-film img { object-fit:contain; object-position:center; }

.scene-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.equipment-browser,.equipment-detail{color:var(--cream)}
.equipment-filters{display:flex;gap:.4rem .6rem;flex-wrap:wrap;margin:0 0 1.6rem;padding-bottom:1.25rem;border-bottom:1px solid var(--line)}
.equipment-filters button,.equipment-more .button{border:1px solid #768993;background:transparent;color:var(--cream);min-height:44px;padding:.5rem 1.05rem;border-radius:2px;line-height:1.2;font-size:.98rem}
.equipment-filters button[aria-pressed=true],.equipment-filters button:hover,.equipment-more .button:hover{background:var(--cream);color:#102c42;border-color:var(--cream)}
.equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.45rem clamp(1rem,2vw,2.2rem)}
.equipment-item{position:relative;min-width:0}
.equipment-picture{aspect-ratio:16/9;overflow:hidden;background:var(--ink)}
.equipment-picture img{width:100%;height:100%;object-fit:cover}
.equipment-label{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem;margin-top:.95rem}
.equipment-label h3{font-size:clamp(1.45rem,2.15vw,2.4rem);line-height:1.12}
.equipment-label button{font:inherit;color:inherit;letter-spacing:inherit;text-align:left;border:0;padding:0;background:transparent}
.equipment-label button::after{content:"";position:absolute;inset:0}
.equipment-play{display:grid;place-content:center;flex:none;font:10px/1 Arial;width:29px;height:29px;padding-left:2px;border:1px solid #9ea7a6;border-radius:50%}
.equipment-item:has(button:hover) .equipment-play,.equipment-item:focus-within .equipment-play{background:var(--cream);color:#102c42}
.equipment-item button:focus-visible{outline:none}
.equipment-item:has(button:focus-visible){outline:3px solid #467e9f;outline-offset:5px}
.equipment-item>p{margin:.48rem 0 0;max-width:40ch;font-size:.96rem;line-height:1.45;color:var(--muted)}
.equipment-more{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.85rem}
.equipment-count{color:var(--muted);font-size:.88rem}
.equipment-family-heading,.equipment-detail>h2{font-size:clamp(2.6rem,4.8vw,4.5rem);line-height:1.04;margin:0 0 2rem}
.equipment-family-heading{margin-top:clamp(4.5rem,8vw,8rem);padding-top:2.5rem;border-top:1px solid var(--line)}
.equipment-detail{padding-block:clamp(3rem,6vw,6rem) 1rem}
@media(max-width:900px){.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.equipment-grid{grid-template-columns:1fr;gap:1.65rem}.equipment-item>p{max-width:100%}.equipment-more{align-items:flex-start;flex-direction:column}.equipment-filters{gap:.35rem}.equipment-filters button{padding:.5rem .75rem;font-size:.9rem}.equipment-label h3{font-size:1.7rem}.hero .scene-deck{align-items:flex-end}.hero .scene-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.hero .scene-name{font-size:.75rem}.hero .scene-tabs button{min-height:44px}}
@media(max-width:379px){.hero .scene-deck{gap:.4rem}.hero .scene-name{font-size:.69rem}}

/* Keep a decoded, opaque picture below the incoming picture during a blend. */
.scene-video.is-outgoing{z-index:1}
.scene-video.is-incoming{z-index:2}
.hero .hero-media video[data-key="projet-maison"]{object-position:55% 51%}
.hero .hero-media video[data-key="projet-soussol"]{object-position:56% 51%}
.hero .hero-media video[data-key="projet-entreprise"]{object-position:61% 51%}
.hero .hero-media video[data-key="cryo"]{object-position:55% 51%}
@media(max-width:730px){
 .hero .hero-media video[data-key="projet-maison"],.hero .hero-media video[data-key="cryo"]{object-position:62% 52%}
 .hero .hero-media video[data-key="projet-soussol"]{object-position:57% 52%}
 .hero .hero-media video[data-key="projet-entreprise"]{object-position:63% 52%}
}
