/* Full-height service photography and a consistent discipline heading. */
.imx-home-immersive .imx-room-visual{height:calc(100svh - var(--site-header-height,74px));min-height:480px}
.imx-home-stories .imx-story{padding-block:32px}
.imx-home-stories .imx-story__layout{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,80px)}
.imx-home-stories .imx-story__visual{height:calc(100svh - var(--site-header-height,74px));min-height:560px;max-height:none;aspect-ratio:auto;border-radius:0}
.imx-home-stories .imx-story__copy{max-width:none;padding-block:24px}
.imx-home-stories .imx-service-heading{display:block;width:100%;margin:0 0 28px;color:#fbc100;font:600 clamp(1.35rem,1.9vw,2rem)/1.3 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.015em;text-transform:uppercase;text-align:center;text-wrap:balance;opacity:1;transform:none}
.imx-home-stories [data-imx-story]:not(.is-story-visible) .imx-service-heading{opacity:0;transform:translateY(12px)}
.imx-home-stories .imx-service-heading{transition:opacity 650ms ease,transform 650ms cubic-bezier(.2,.65,.3,1)}
.imx-home-stories .imx-story__title{max-width:none;text-align:center;margin-inline:auto}
.imx-home-stories .imx-story__local-film{margin:0;min-width:0}
.imx-story__video-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#52636a;font-size:12px;line-height:1.45}
.imx-story__video-controls button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;border:0;background:none;color:#08476c;font:500 14px/1.4 "Helvetica Neue",Helvetica,Arial,sans-serif;cursor:pointer;flex:none}
.imx-story__video-controls svg{width:18px;height:18px;fill:currentColor}
.imx-story__video-controls button:focus-visible{outline:2px solid #08476c;outline-offset:3px}
.imx-home-stories .imx-living__sticky{width:100%;max-width:none;padding:22px var(--imx-story-gutter) 12px}
.imx-home-stories .imx-living__scene{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,80px)}
.imx-home-stories .imx-living__reading{height:100%;max-height:none;align-self:stretch;justify-content:flex-start;padding:20px 0;overflow:clip;scrollbar-gutter:auto}
.imx-home-stories .imx-living__heading{display:block;flex:none;text-align:center;margin:0 0 22px}
.imx-home-stories .imx-living__heading h2{max-width:none;margin:0;font:500 clamp(32px,3.5vw,52px)/1.08 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:-.035em;color:#08476c}
.imx-home-stories .imx-living__invitation{display:block;max-width:none;margin:14px 0 0;font-size:15px;line-height:1.5;color:#52636a}
.imx-home-stories .imx-living__overview{padding-bottom:14px;border-bottom:1px solid #d8ded9;margin-bottom:20px;color:#3f5966}
.imx-living__overview p{margin:0 0 10px;font-size:15px;line-height:1.6}
.imx-living__overview p:last-child{margin-bottom:0}
.imx-living__overview img{display:inline-block;vertical-align:-5px;object-fit:contain;width:23px;height:23px}
.imx-home-stories .imx-living__chapter[data-living-chapter="0"]{display:none}
.imx-home-stories .imx-living__chapter h3{font-size:clamp(22px,2vw,28px)}
/* Longer entry photographs inside the services and project dossiers. */
.icb .icb-hero{height:calc(100svh - var(--site-header-height,74px) - 44px);min-height:560px;max-height:none}
.project-hero{min-height:calc(100svh - var(--site-header-height,74px) - 44px);height:auto}
.icp .icp-cinema{min-height:calc(100svh - var(--site-header-height,74px) - 44px)}
/* The official arch path becomes the photo aperture, without modifying portraits. */
.home-selection + .immo-team .immo-team-portrait{width:50%;max-width:220px;aspect-ratio:198/226;max-height:none;border-radius:50% 50% 0 0 / 44% 44% 0 0;-webkit-mask-image:url('/assets/branding/immoconcept-portrait-arch.svg');mask-image:url('/assets/branding/immoconcept-portrait-arch.svg');-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.home-selection + .immo-team .immo-team-portrait img{object-position:center 35%}
.immo-team .immo-team-email{display:inline-flex;align-items:center;min-height:44px;max-width:100%;margin-top:5px;font-size:14px;line-height:1.5;color:#08476c;overflow-wrap:anywhere;text-underline-offset:4px}
.contact-photographs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 30px}
.contact-photographs figure{margin:0;min-width:0}
.contact-photographs img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.contact-photographs figcaption{margin-top:8px;font-size:12px;line-height:1.5;color:#536670}
.contact-direct a{overflow-wrap:anywhere}
.immo-valuation-demo{display:grid;grid-template-columns:1fr 1fr;gap:40px 64px;max-width:1200px;margin:auto;padding:64px clamp(20px,5vw,64px);color:#08476c}
.valuation-badge{display:inline-block;padding:7px 11px;border-radius:20px;background:#fff1b6;color:#624b00;font-size:12px;font-weight:600;line-height:1.5}
.valuation-intro h2{margin:20px 0 16px;font-size:clamp(30px,3vw,46px);line-height:1.08;letter-spacing:-.035em;font-weight:500}
.valuation-intro p,.valuation-detail p{font-size:15px;line-height:1.65;margin:0 0 16px}
.valuation-intro .valuation-disclosure{font-size:13px;color:#536670}
.immo-valuation-demo label{display:grid;gap:9px;font-size:14px;font-weight:500;line-height:1.5}
.valuation-start{display:grid;gap:18px;align-content:start;margin:0}
.immo-valuation-demo input{display:block;width:100%;min-height:52px;padding:12px 15px;border:1px solid #aab9bd;background:#fff;color:#08476c;border-radius:0;font:400 16px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;box-sizing:border-box}
.immo-valuation-demo input:focus{outline:2px solid #08476c;outline-offset:2px}
.immo-valuation-demo small{display:block;font-size:12px;font-weight:400;line-height:1.5;color:#536670}
.immo-valuation-demo button{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:52px;padding:14px 19px;border:0;background:#08476c;color:#fff;font:500 15px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;text-align:left;cursor:pointer}
.immo-valuation-demo button:hover{background:#063650}
.immo-valuation-demo button:focus-visible{outline:2px solid #08476c;outline-offset:3px}
.immo-valuation-demo [hidden]{display:none!important}
.valuation-result{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:32px 64px;padding-top:32px;border-top:1px solid #d1d9d7}
.valuation-kicker{font-size:12px;font-weight:600;letter-spacing:.035em;text-transform:uppercase}
.valuation-range p{font-size:13px;line-height:1.6;color:#536670;margin:14px 0}
.valuation-range strong{display:block;font-size:clamp(25px,2.3vw,36px);line-height:1.35;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.valuation-detail h3{font-size:23px;font-weight:500;letter-spacing:-.02em;line-height:1.3;margin:0 0 12px}
.valuation-detail form{display:grid;gap:12px;margin-top:20px}
.valuation-contact{display:inline-flex;align-items:center;min-height:44px;font-size:13px;text-underline-offset:4px;margin-top:12px;line-height:1.5}
.valuation-detail .valuation-confirmation{padding:18px 20px;background:#e7f1ec;color:#18523b;margin-top:20px}
@media(max-width:1100px){.imx-home-stories .imx-living__overview p{font-size:14px;line-height:1.5}.imx-home-stories .imx-living__heading h2{font-size:34px}}
@media(max-width:850px){
 .imx-home-immersive .imx-room-visual{height:calc(100svh - var(--site-header-height,66px));min-height:420px}
 .imx-home-stories .imx-story__layout{grid-template-columns:minmax(0,1fr);max-width:none}
 .imx-home-stories .imx-story__visual{height:calc(100svh - var(--site-header-height,66px));min-height:440px;max-height:none}
 .imx-home-stories .imx-story__copy{padding-block:0}
 .imx-home-stories .imx-service-heading{font-size:clamp(1.3rem,5vw,1.6rem);margin-bottom:22px}
 .imx-home-stories .imx-living__sticky{height:auto;min-height:0;position:relative;top:0;padding:28px 20px 16px}
 .imx-home-stories .imx-living__track{height:auto}
 .imx-home-stories .imx-living__scene{display:flex;flex-direction:column;gap:26px}
 .imx-home-stories .imx-living__viewport{height:calc(100svh - var(--site-header-height,66px));min-height:440px;flex:none}
 .imx-home-stories .imx-living__reading{height:auto;max-height:none;flex:none;overflow:visible;padding:0}
 .imx-home-stories .imx-living__overview p{font-size:15px;line-height:1.6}
 .imx-home-stories .imx-living__heading h2{font-size:clamp(31px,8vw,38px)}
 .imx-home-stories .imx-living__navigation>button{font-size:12px}
 .icb .icb-hero{height:calc(100svh - var(--site-header-height,66px) - 44px);min-height:480px}
 .icp .icp-cinema-video{height:calc(100svh - var(--site-header-height,66px) - 44px);min-height:440px;max-height:none;aspect-ratio:auto;object-fit:cover}
 .project-hero{min-height:calc(100svh - var(--site-header-height,66px) - 44px)}
 .contact-photographs{gap:10px}
 .immo-team .immo-team-email{font-size:13px}
 .immo-valuation-demo{grid-template-columns:minmax(0,1fr);gap:26px;padding:40px 20px}
 .valuation-result{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:28px}
}
@media(prefers-reduced-motion:reduce){.imx-home-stories .imx-service-heading,.imx-home-stories [data-imx-story]:not(.is-story-visible) .imx-service-heading{opacity:1;transform:none;transition:none}}

.icp-project-phase{display:inline-block;margin:0 0 15px;color:#08476c;font-size:12px;line-height:1.5;font-weight:600;letter-spacing:.045em;text-transform:uppercase}
.project-scene-eleven [data-media-kind="photo"] img{object-position:50% 60%}

.imx-living__mobile-controls{display:none}
@media(min-width:851px){.imx-home-stories .imx-story--development .imx-story__media{grid-column:2;grid-row:1}.imx-home-stories .imx-story--development .imx-story__copy{grid-column:1;grid-row:1}}
@media(max-width:850px){
 .imx-home-stories .imx-living__viewport{height:62svh;min-height:410px}
 .imx-living__mobile-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;position:absolute;z-index:6;top:12px;bottom:auto;left:12px;right:12px;padding:8px;background:#faf8f3f2;border:1px solid #e1e5e0;box-shadow:0 3px 15px #08476c10}
 .imx-living__mobile-controls button{flex:none;width:46px;height:46px;border:0;background:#fbc100;color:#08476c;font-size:26px;cursor:pointer}
 .imx-living__mobile-controls button:disabled{opacity:.3;cursor:default}
 .imx-living__mobile-controls span{color:#08476c;font-size:12px;font-weight:600;line-height:1.4;text-align:center}
 .imx-living__mobile-controls button:focus-visible{outline:2px solid #08476c;outline-offset:2px}
 .imx-living__bubble{z-index:7}
}

/* Both sides use document scroll; keep the stage explanation readable on shorter displays. */
@media(min-width:851px) and (min-height:621px) and (max-height:860px){
 .imx-living:not([data-living-moment="ensemble"]) .imx-living__overview,
 .imx-living:not([data-living-moment="ensemble"]) .imx-living__invitation{display:none}
 .imx-home-stories .imx-living__reading{padding-block:8px}
 .imx-home-stories .imx-living__heading{margin-bottom:14px}
 .imx-home-stories .imx-living__heading h2{font-size:34px}
 .imx-home-stories .imx-living__heading .imx-service-heading{margin-bottom:18px}
 .imx-home-stories .imx-living__chapter h3{font-size:24px;margin-bottom:12px}
 .imx-home-stories .imx-living__description{font-size:14px;line-height:1.5}
 .imx-home-stories .imx-living__reply{margin-top:12px;font-size:12px}
 .imx-home-stories .imx-living__mandate{margin-top:12px;padding-top:8px}
}
.imx-living.is-still .imx-living__reading{height:auto;overflow:visible}

/* On phones, all three service entrances share the first screen after the arch. */
@media(max-width:760px){
 .imx-home-immersive .imx-home-hero{display:grid;grid-template-rows:minmax(0,1fr) auto;height:calc(100svh - var(--site-header-height,66px));min-height:0}
 .imx-home-immersive .imx-house{height:100%;min-height:0}
 .imx-home-immersive .imx-house-rooms{height:100%;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:0}
 .imx-home-immersive .imx-room{min-height:0;overflow:hidden}
 .imx-home-immersive .imx-room + .imx-room{border-top:1px solid rgba(255,255,255,.35)}
 .imx-home-immersive .imx-room-link{--service-size:clamp(1.125rem,5.15vw,1.5rem);display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:minmax(0,1fr) auto auto minmax(0,1fr);column-gap:12px;height:100%;min-height:0;padding:16px 20px;overflow:hidden}
 .imx-home-immersive .imx-room-visual{position:absolute;inset:0;height:100%;min-height:0}
 .imx-home-immersive .imx-room-visual::after{background:linear-gradient(90deg,rgba(3,25,39,.85),rgba(3,25,39,.60) 65%,rgba(3,25,39,.42))}
 .imx-home-immersive .imx-room-courtage .imx-home-media{object-position:50% 43%}
 .imx-home-immersive .imx-room-gestion .imx-home-media{object-position:50% 38%}
 .imx-home-immersive .imx-room h2{position:relative;inset:auto;grid-column:1;grid-row:2;align-self:end;min-height:0;line-height:1.16;text-align:left;letter-spacing:.01em}
 .imx-home-immersive .imx-room-content{display:contents}
 .imx-home-immersive .imx-room-content>p{position:relative;z-index:2;display:block;grid-column:1;grid-row:3;align-self:start;max-width:34ch;margin:7px 0 0;color:#fff;font-size:.8125rem;line-height:1.4}
 .imx-home-immersive .imx-room-content>p>.imx-home-aims-mark{width:17px;height:17px;margin-right:4px;vertical-align:-4px}
 .imx-home-immersive .imx-room-action{position:relative;z-index:2;grid-column:2;grid-row:2/4;align-self:center;justify-self:end;justify-content:center;min-width:44px;min-height:44px;gap:5px;color:#fff;font-size:.6875rem;line-height:1.3}
 .imx-home-immersive .imx-room-action svg{width:28px;height:28px;color:#fbc100}
 .imx-home-immersive .imx-home-heading{gap:6px;padding:14px 20px 16px}
 .imx-home-immersive .imx-home-heading h1{font-size:clamp(1.25rem,5.5vw,1.5625rem);line-height:1.15}
 .imx-home-immersive .imx-home-heading>p{max-width:44ch;font-size:.8125rem;line-height:1.45}
}
/* Preserve readable links when a phone is held in a very short landscape view. */
@media(max-width:760px) and (max-height:500px){
 .imx-home-immersive .imx-home-hero{height:auto}
 .imx-home-immersive .imx-house,.imx-home-immersive .imx-house-rooms{height:auto}
 .imx-home-immersive .imx-house-rooms{grid-template-rows:repeat(3,minmax(132px,auto))}
}
