@import url('./project-quartier-libre-pilot.css');
/* Final shared reading rhythm. Vision is the reference for all standard copy. */
:root{--ame-copy-family:'Open Sans Condensed','Arial Narrow',sans-serif;--ame-copy-size:clamp(16px,1.25vw,18px);--ame-copy-weight:500;--ame-copy-leading:1.45}
html body :is(#home,#projectsPage,#approachPage,#studioPage,#projectExperience,#legalConditions,#legalPrivacy) :is(p,dd,.ame-pathway-panel li,.ame-contact-budget-intro,.ame-contact-budget-note,.ame-contact-budget-furniture,.ame-contact-send-note,.ame-contact-recap>div){font-family:var(--ame-copy-family)!important;font-size:var(--ame-copy-size)!important;font-weight:var(--ame-copy-weight)!important;line-height:var(--ame-copy-leading)!important;letter-spacing:normal!important}
html body #visionBridge .vision-copy-area .vision-piece p{font-family:var(--ame-copy-family)!important;font-size:var(--ame-copy-size)!important;font-weight:var(--ame-copy-weight)!important;line-height:var(--ame-copy-leading)!important;letter-spacing:normal!important}

/* Accompagnement and editorial copy use Vision as the single typographic reference. */
html body #home #pratique .ame-practice-description,
html body :is(.editorial-page p,.case-data-summary,.case-context-copy>p,.ame-contact-rail>p,.ame-contact-step-copy p,.ame-pathway-panel p,.ame-pathway-panel li){font-family:var(--ame-copy-family)!important;font-size:var(--ame-copy-size)!important;font-weight:var(--ame-copy-weight)!important;line-height:var(--ame-copy-leading)!important;letter-spacing:normal!important}

/* Shared floating CTA: solid index brown, cream copy, mercury orb preserved. */
html body .ame-floating-compose.reference-restored{background:#4b3e34!important;background-image:none!important;border:1px solid rgba(248,245,239,.38)!important;color:#f8f5ef!important;box-shadow:0 10px 28px rgba(75,62,52,.22)!important}
html body .ame-floating-compose.reference-restored::before{display:none!important}
html body .ame-floating-compose.reference-restored :is(.ame-floating-compose__label,.ame-floating-compose__arrow){color:#f8f5ef!important}
html body .ame-floating-compose.reference-restored:hover{background:#59483d!important;transform:none!important}

/* The project CTA repeats the header's Open Sans → Aftera vertical type roll. */
html body .ame-floating-compose.reference-restored .ame-floating-compose__label{display:grid!important;grid-template-areas:'cta-word';align-items:center;overflow:hidden;height:24px;min-width:max-content;font-size:0!important;line-height:1!important;white-space:nowrap}
html body .ame-floating-compose.reference-restored .ame-floating-compose__label>span{grid-area:cta-word;display:block;color:inherit;white-space:nowrap;transition:transform .54s cubic-bezier(.16,1,.3,1);will-change:transform}
html body .ame-floating-compose.reference-restored .ame-cta-text{font:600 clamp(13px,.95vw,16px)/1.2 'Open Sans Condensed',sans-serif;transform:translate3d(0,0,0)}
html body .ame-floating-compose.reference-restored .ame-cta-aftera{font:italic 400 clamp(15px,1.08vw,18px)/1.2 'AME Aftera',serif!important;font-style:italic!important;font-weight:400!important;letter-spacing:-.02em;color:#f8f5ef!important;opacity:1!important;transform:translate3d(0,220%,0)}
html body .ame-floating-compose.reference-restored:is(:hover,:focus-visible) .ame-cta-text{transform:translate3d(0,-220%,0)}
html body .ame-floating-compose.reference-restored:is(:hover,:focus-visible) .ame-cta-aftera{color:#f8f5ef!important;opacity:1!important;transform:translate3d(0,0,0)}
@media(prefers-reduced-motion:reduce){html body .ame-floating-compose.reference-restored .ame-floating-compose__label>span{transition:none}}

/* Footer composition: signature left, Paris in the middle, regular contact details right. */
html body .ame-site-footer-v232 .ame-footer-top{grid-template-columns:minmax(220px,1fr) minmax(430px,52%)!important;align-items:start!important}
html body .ame-site-footer-v232 .ame-footer-contact{display:grid!important;grid-template-columns:1fr!important;row-gap:8px!important;align-items:start!important;text-align:right!important;font-family:'Open Sans Condensed',sans-serif!important;font-weight:400!important}
html body .ame-site-footer-v232 .ame-footer-contact>a{grid-column:1!important;justify-self:end!important;text-align:right!important;font-weight:400!important}
html body .ame-site-footer-v232 .ame-footer-contact>a[href^="tel:"]{grid-row:2!important}
html body .ame-site-footer-v232 .ame-footer-contact>a[href^="mailto:"]{grid-row:3!important}
html body .ame-site-footer-v232 .ame-footer-location{grid-column:1!important;grid-row:1!important;justify-self:end!important;text-align:right!important;font-weight:400!important;margin:0 0 4px!important;opacity:1!important}

/* Studio manifesto: two-column statement with no sequence counter. */
html body #studioPage .studio-editorial-foot h2{margin-top:0!important}
html body #studioPage .studio-editorial-statement{grid-column:2;max-width:650px}
html body #studioPage .studio-editorial-statement p{margin:0 0 1.15em}

@media(max-width:850px){
 html body .ame-site-footer-v232 .ame-footer-top{grid-template-columns:1fr!important}
 html body .ame-site-footer-v232 .ame-footer-contact{grid-template-columns:1fr!important;justify-self:stretch!important;max-width:none!important}
 html body #studioPage .studio-editorial-statement{grid-column:auto;max-width:none;margin-top:30px}
}

/* Contact content floats directly over the site's dynamic background. */
html body :is(#home section.contact,.contact-index,.case-contact-panel){background:transparent!important;background-image:none!important}
html body :is(#home section.contact,.contact-index,.case-contact-panel)::before{display:none!important}
html body :is(#home section.contact,.contact-index,.case-contact-panel) .ame-contact-widget{background:transparent!important}

/* Project intentions keep the shared face and weight, distinguished by italic. */
html body #projectsPage .grid-project-problem{font-family:var(--ame-copy-family)!important;font-weight:var(--ame-copy-weight)!important;font-style:italic!important;line-height:1.3!important}

/* Selected-project metadata sits directly below the photograph and clears on scroll. */
html body:not(.case-open) .cinema-stage{--photo-half-height:21.5vh}
html body:not(.case-open) .cinema-project-meta{top:calc(var(--image-y,56) * 1% + var(--photo-half-height) + 10px)!important;bottom:auto!important;width:var(--photo-width,47vw)!important;transform:translateX(-50%)!important;opacity:var(--meta-opacity,1)!important;will-change:opacity!important}
@media(max-width:900px) and (min-width:761px){html body:not(.case-open) .cinema-stage{--photo-half-height:20vh}}
@media(max-width:760px){html body:not(.case-open) .cinema-stage{--photo-half-height:19vh}html body:not(.case-open) .cinema-project-meta{top:calc(var(--image-y,56) * 1% + var(--photo-half-height) + 8px)!important}}

/* Two-scale project rhythm: full-height hero views and centred 78vh details. */
@media(min-width:901px){
 html body #caseScroller{gap:70px!important;scroll-snap-type:none!important;align-items:center!important}
 html body #caseScroller>.case-panel{margin-right:0!important}
 html body #caseScroller>.ame-mersi-media{padding:0!important;overflow:hidden!important;align-self:center!important;background:var(--paper)!important}
 html body #caseScroller>.ame-mersi-primary{height:100%!important;min-height:100%!important;width:calc(100dvh * var(--ame-media-ratio,1.5))!important;min-width:calc(100dvh * var(--ame-media-ratio,1.5))!important}
 html body #caseScroller>.ame-mersi-secondary{height:78dvh!important;min-height:78dvh!important;width:calc(78dvh * var(--ame-media-ratio,1.25))!important;min-width:calc(78dvh * var(--ame-media-ratio,1.25))!important}
 html body #caseScroller>.ame-mersi-pair{height:78dvh!important;min-height:78dvh!important;width:min(116dvh,1200px)!important;min-width:min(116dvh,1200px)!important;gap:70px!important}
 html body #caseScroller>.ame-mersi-media :is(.case-figure,.artwork){height:100%!important;min-height:0!important;margin:0!important}
 html body #caseScroller>.ame-mersi-media img{width:100%!important;height:100%!important}
 html body #caseScroller .case-opening-title{font-family:'Open Sans Condensed',sans-serif!important;font-size:clamp(39px,6vw,86.4px)!important;font-weight:700!important;line-height:1!important;letter-spacing:normal!important}
 html body #caseScroller>.case-data-full-v30+.ame-mersi-media{margin-left:-70px!important}
}
@media(max-width:900px){
 :root{--ame-copy-size:16px;--ame-copy-leading:1.4}
 html body.case-open #projectExperience{padding-top:0!important}
 html body #caseScroller{gap:30px!important}
 html body #caseScroller>.case-panel.case-end{height:100svh!important;min-height:100svh!important;padding:0 20px!important;overflow:hidden!important}
 html body #caseScroller>.case-panel.case-end .case-end-inner{height:100%!important;min-height:100%!important}
 html body #caseScroller>.case-panel.case-end .case-end-copy{top:33.333333%!important;transform:translateY(-50%)!important}
 html body #caseScroller>.case-panel.case-end .case-end-bottom{bottom:0!important}
 html body #caseScroller>.ame-mersi-media{min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;display:flex!important;justify-content:center!important}
 html body #caseScroller>.ame-mersi-primary{width:100%!important}
 html body #caseScroller>.ame-mersi-secondary{width:84%!important;align-self:center!important}
 html body #caseScroller>.ame-mersi-media :is(.case-figure,.case-generic-figure,.case-big-picture,.artwork){position:relative!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;overflow:visible!important}
 html body #caseScroller>.ame-mersi-media img{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;transform:none!important;object-fit:cover!important}
 html body #caseScroller>.ame-mersi-pair{display:flex!important;flex-direction:column!important;gap:30px!important;width:84%!important;align-self:center!important}
 html body #caseScroller .case-opening-title{font-family:'Open Sans Condensed',sans-serif!important;font-size:39px!important;font-weight:700!important;line-height:1!important;letter-spacing:normal!important}
 html body #caseScroller>.case-data-full-v30+.ame-mersi-media{margin-top:-30px!important}
}

/* Restore the V2 photographic grain, softened by 35%, behind colour-field content. */
html body .case-opening-band{position:relative;isolation:isolate;background-image:none!important}
html body .case-opening-band::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.65;background-image:url('../assets/grain-trix400-d76.png');background-repeat:repeat;background-size:256px 256px;mix-blend-mode:multiply}
html body .case-opening-band::after{display:none!important}
html body #studioPage .studio-editorial-portrait{position:relative;isolation:isolate;overflow:visible;background-image:none!important}
html body #studioPage .studio-editorial-portrait::before{content:'';position:absolute;left:0;right:0;top:calc(0px - var(--header-height,65px));bottom:0;z-index:0;pointer-events:none;background:#522124}
html body #studioPage .studio-editorial-portrait::after{content:'';position:absolute;left:0;right:0;top:calc(0px - var(--header-height,65px));bottom:0;z-index:0;pointer-events:none;opacity:.65;background-image:url('../assets/grain-trix400-d76.png');background-repeat:repeat;background-size:256px 256px;mix-blend-mode:multiply}
html body #studioPage .studio-editorial-portrait>img{position:relative;z-index:1}

/* Project-specific presentation corrections. */
html body #caseScroller .case-cut-trigger>.ame-expand-symbol{display:none!important}
html body #caseScroller .case-cut-trigger{position:relative!important}
html body #caseScroller .case-cut-hint{left:50%!important;right:auto!important;bottom:18px!important;top:auto!important;transform:translateX(-50%)!important;white-space:nowrap!important}
html body #caseScroller .case-last-suite{height:100dvh!important;min-height:100dvh!important;padding:0!important}
html body #caseScroller .case-last-suite :is(.case-figure,.artwork,img){width:100%!important;height:100%!important;margin:0!important}
html body #caseScroller .case-last-suite img{object-fit:cover!important}
html body #caseScroller .pur-vin-edge{width:100vw!important;min-width:100vw!important;height:100dvh!important;min-height:100dvh!important;padding:0!important}
html body #caseScroller .pur-vin-edge :is(.case-figure,.artwork,img){width:100%!important;height:100%!important;margin:0!important}
html body #caseScroller .pur-vin-edge img{object-fit:cover!important}
html body #caseScroller .lipat-photo img{object-position:center bottom!important}
html body #caseScroller .lipat-opening .case-opening-perspective img{object-position:50% calc(100% + 2cm)!important}
html body #caseScroller .lipat-opening .case-opening-perspective,
html body #caseScroller .lipat-opening .case-opening-perspective .artwork,
html body #caseScroller .lipat-opening .case-opening-perspective img{width:100%!important;height:100%!important;margin:0!important}
html body #caseScroller .lipat-opening .case-opening-perspective img{object-fit:cover!important;transform:none!important}
html body #caseScroller .lipat-design-board,
html body #caseScroller .lipat-design-board :is(.case-figure,.artwork){width:100%!important;height:100%!important;margin:0!important;background:#fff!important;overflow:hidden!important}
html body #caseScroller .lipat-design-board .artwork{display:flex!important;align-items:center!important;justify-content:center!important}
html body #caseScroller .lipat-design-board img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important;clip-path:none!important}
html body #caseScroller .grande-parcelle-schemas,
html body #caseScroller .grande-parcelle-schemas :is(.gp-schema-figure,.artwork),
html body #caseScroller .grande-parcelle-cut :is(.case-cut-trigger,.case-cut-figure,.artwork){background:transparent!important}
html body #caseScroller .grande-parcelle-schemas .gp-schema-figure>figcaption{font-family:var(--ame-copy-family)!important;font-size:var(--ame-copy-size)!important;font-weight:var(--ame-copy-weight)!important;line-height:var(--ame-copy-leading)!important;letter-spacing:normal!important;background:transparent!important}
html body #caseScroller .grande-parcelle-cut :is(.case-cut-trigger,.case-cut-figure,.artwork,img){width:100%!important;height:100%!important;margin:0!important}
html body #caseScroller .grande-parcelle-cut img{object-fit:cover!important;object-position:center center!important}

/* The plan viewer always identifies the currently displayed document. */
html body .plan-viewer-stage{position:relative!important}
html body .plan-viewer-caption{position:absolute;left:50%;right:auto;bottom:20px;z-index:3;width:calc(100% - 48px);max-width:900px;padding:0;transform:translateX(-50%);background:transparent;color:#4b3e34;text-align:center;font:500 clamp(18px,1.55vw,25px)/1.2 'Open Sans Condensed',sans-serif}
@media(max-width:700px){html body .plan-viewer-caption{left:50%;bottom:14px;width:calc(100% - 28px);font-size:18px}}

/* Global background treatment: grain and fluid relief softened by 30%. */
html body .fine-grain,
html body.case-open .fine-grain,
html body.editorial-open .fine-grain{opacity:.0112!important}
html body .tv-static{--tv-opacity:.091!important}
html body.tv-pulse .tv-static{opacity:.154!important}
@media(prefers-reduced-motion:reduce){html body .tv-static,html body.tv-pulse .tv-static{opacity:.028!important}}

/* Project summary: keep the surface in the free column beside long mission lists. */
@media(min-width:901px){
 html body #caseScroller>.case-data-pilot .case-data-area-pilot{left:auto!important;right:8%!important}
}

/* Fontaine: surface value and Carrez qualification form a clear two-line unit. */
html body #caseScroller .case-data-area-fontaine{display:flex!important;flex-direction:column;align-items:flex-start;gap:.08em;white-space:normal!important;line-height:.72!important}
html body #caseScroller .case-data-area-fontaine span{font:inherit;letter-spacing:inherit;line-height:inherit}
html body #caseScroller .case-data-area-fontaine small{font:600 .3em/1 'Open Sans Condensed',sans-serif;letter-spacing:.02em;text-transform:none}
@media(max-width:900px){
 html body #caseScroller img.case-mobile-zoom{cursor:zoom-in}
 html body #caseScroller img.case-mobile-zoom:focus-visible{outline:2px solid #4b3e34;outline-offset:4px}
}

/* Homepage manifesto film — a full-viewport pause between Selected Work and
   All Work. The video remains translucent so the shared grain stays visible. */
.home-manifest-film{position:relative;width:100%;height:100svh;min-height:720px;overflow:hidden;isolation:isolate;background:#171412;color:#f8f5ef}
.home-manifest-film::after{content:'';position:absolute;inset:0;z-index:1;background:rgba(0,0,0,.3);pointer-events:none}
.home-manifest-film__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.8;z-index:0}
.home-manifest-film__content{position:absolute;inset:0;z-index:2;padding:clamp(100px,12vh,150px) clamp(28px,4.3vw,82px) clamp(28px,3.5vh,52px)}
html body #home .home-manifest-film__intro{position:absolute;top:16%;right:4.3vw;width:min(560px,39vw);margin:0;color:#f8f5ef!important;font-family:'Open Sans Condensed','Arial Narrow',sans-serif!important;font-size:clamp(16px,1.18vw,21px)!important;font-weight:500!important;line-height:1.25!important;letter-spacing:normal!important}
.home-manifest-film__statement{position:absolute;left:4.3vw;right:4.3vw;bottom:9%;margin:0;color:#f8f5ef;font-family:'Open Sans Condensed','Arial Narrow',sans-serif;font-size:clamp(52px,5.55vw,106px);font-weight:500;line-height:.96;letter-spacing:-.045em;text-wrap:balance}
.home-manifest-film__scroll{position:absolute;left:4.3vw;bottom:3.2%;display:flex;gap:22px;color:rgba(248,245,239,.48);font:600 12px/1 'Open Sans Condensed','Arial Narrow',sans-serif;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:760px){
 .home-manifest-film{min-height:680px}
 .home-manifest-film__content{padding:92px 20px 24px}
 html body #home .home-manifest-film__intro{top:13%;left:20px;right:20px;width:auto;font-size:16px!important;line-height:1.32!important}
 .home-manifest-film__statement{left:20px;right:20px;bottom:13%;font-size:clamp(40px,10.8vw,68px);line-height:.98;text-wrap:wrap}
 .home-manifest-film__scroll{left:20px;bottom:4%;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.home-manifest-film__video{display:none}}
