/* Réalisations v3 — fiche projet et en-tête du catalogue. */
body.single-ecmp_real .ecmp-project-v3.e-con{--ink:#071b43;--muted:#4a5670;--tint:#f3f6fb;display:flex;flex-direction:column;gap:clamp(40px,5vw,72px);width:100%;max-width:min(1320px,100%);margin:0 auto;padding:136px 24px 72px!important}
.ecmp-project-v3,.ecmp-project-v3 *,.ecmp-project-v3 *::before,.ecmp-project-v3 *::after{box-sizing:border-box}
.ecmp-project-v3 .e-con{min-width:0}
.ecmp-project-v3 p:last-child{margin-bottom:0}

/* Fil d'Ariane + secteur */
.ecmp-crumb ol{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;padding:0;list-style:none;font-size:13px;line-height:1.3;color:#4a5670}
.ecmp-crumb li{display:flex;align-items:center;gap:8px;margin:0}
.ecmp-crumb li+li::before{content:"";width:5px;height:5px;border:solid currentColor;border-width:1.5px 1.5px 0 0;transform:rotate(45deg);opacity:.55}
.ecmp-crumb a{color:inherit;text-decoration:none}
.ecmp-crumb a:hover,.ecmp-crumb a:focus-visible{color:#006bff;text-decoration:underline;text-underline-offset:3px}
.ecmp-crumb [aria-current]{color:#071b43;font-weight:600}
.ecmp-kicker{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0!important}
.ecmp-kicker span{padding:7px 12px;border-radius:999px;background:#fff;color:#071b43;font-family:"Sora",sans-serif;font-size:12px;font-weight:600;line-height:1.2}
.ecmp-kicker span:first-child{background:#071b43;color:#fff}

/* Bandeau : texte à gauche, visuel à droite */
.ecmp-project-v3 .ecmp-project-hero.e-con{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(20px,3vw,48px);overflow:clip;padding:clamp(28px,4vw,60px)!important;border-radius:32px;background:linear-gradient(135deg,#e9f1ff 0%,#f3f6fb 55%,#fff5e6 100%)}
.ecmp-project-v3 .ecmp-project-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:18px;position:relative;z-index:1}
.ecmp-project-v3 .ecmp-project-hero-copy>.elementor-element{width:100%}
.ecmp-project-v3 .ecmp-project-logo{max-width:170px}
.ecmp-project-v3 .ecmp-project-title .elementor-heading-title{overflow-wrap:anywhere}
.ecmp-project-v3 .ecmp-project-lede{max-width:56ch}
.ecmp-project-v3 .ecmp-project-cover{min-width:0}
.ecmp-project-v3 .ecmp-project-cover img{width:100%;height:auto;transform:scale(1.3);filter:drop-shadow(0 26px 30px rgba(7,27,67,.16));transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.ecmp-project-v3 .ecmp-project-hero-site{width:auto!important;align-self:flex-start;margin-top:6px}
.ecmp-project-v3 .ecmp-project-hero-site .elementor-button{background:#006bff!important;color:#fff!important;border-radius:999px!important;padding:15px 24px!important;white-space:normal;box-shadow:0 12px 26px -10px rgba(0,107,255,.55);transition:background-color .25s ease,transform .25s ease}
.ecmp-project-v3 .ecmp-project-hero-site .elementor-button-icon,.ecmp-project-v3 .ecmp-project-hero-site .elementor-button-icon svg,.ecmp-project-v3 .ecmp-project-hero-site .elementor-button-icon path{color:#fff!important;fill:currentColor!important}
.ecmp-project-v3 .ecmp-project-hero-site .elementor-button:hover,.ecmp-project-v3 .ecmp-project-hero-site .elementor-button:focus-visible{background:#071b43!important;transform:translateY(-2px)}

/* Étude : projet à gauche (fixe au défilement), captures en mosaïque à droite */
.ecmp-project-v3 .ecmp-project-study{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);align-items:start;gap:clamp(28px,4.5vw,84px)}
.ecmp-project-v3 .ecmp-project-info{position:sticky;top:min(112px,calc(100vh - var(--ecmp-info-h,0px) - 24px));display:flex;flex-direction:column;gap:28px}
.ecmp-project-v3 .ecmp-project-copy-block{display:flex;flex-direction:column;gap:14px}
.ecmp-project-v3 .ecmp-project-media{display:flex;flex-direction:column;gap:30px}
.ecmp-project-v3 .ecmp-project-section{display:flex;flex-direction:column;gap:12px}
body:not(.elementor-editor-active) .ecmp-project-v3 .ecmp-project-section:not(:has(img)){display:none}
.ecmp-project-v3 .ecmp-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}
.ecmp-project-v3 .ecmp-project-gallery>.elementor-element{grid-column:auto;min-width:0;width:100%}
.ecmp-project-v3 .ecmp-project-gallery>.elementor-element:first-child,.ecmp-project-v3 .ecmp-project-gallery>.elementor-element:last-child:nth-child(even){grid-column:1/-1}
.ecmp-project-v3 .ecmp-project-section:not(.ecmp-project-section--comparison) .ecmp-project-gallery--2>.elementor-element{grid-column:auto}
.ecmp-project-v3 .ecmp-project-image{overflow:hidden;border-radius:18px;background:var(--tint)}
.ecmp-project-v3 .ecmp-project-image a{display:block;cursor:zoom-in}
.ecmp-project-v3 .ecmp-project-image img{display:block;width:100%;height:auto;border-radius:0!important;transition:transform .5s cubic-bezier(.2,.7,.2,1)}

/* Chiffres clés et prestations */
.ecmp-facts{display:grid;gap:24px}
.ecmp-facts__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.ecmp-facts__stat{display:flex;flex-direction:column;gap:6px;padding:20px;border-radius:18px;background:#071b43;color:#fff}
.ecmp-facts__stat+.ecmp-facts__stat{background:#006bff}
.ecmp-facts__stat strong{font-family:"Sora",sans-serif;font-size:clamp(28px,2.8vw,42px);font-weight:700;line-height:1;letter-spacing:-.03em}
.ecmp-facts__stat div{font-size:13.5px;line-height:1.35;opacity:.86}
.ecmp-facts__block{padding-top:22px;border-top:1px solid rgba(7,27,67,.12)}
.ecmp-facts__label{margin:0 0 12px!important;font-family:"Sora",sans-serif;font-size:11.5px;font-weight:600;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:#4a5670}
.ecmp-facts__tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.ecmp-facts__tags li{margin:0;padding:8px 13px;border-radius:999px;background:#f3f6fb;color:#071b43;font-size:13.5px;font-weight:500;line-height:1.25}

/* Avant / après */
.ecmp-project-comparison-tabs.e-con{display:none;flex-direction:row;gap:10px;width:auto}
.ecmp-project-section--comparison.is-interactive .ecmp-project-comparison-tabs.e-con,body.elementor-editor-active .ecmp-project-comparison-tabs.e-con{display:flex}
.ecmp-project-comparison-tab{width:auto!important}
.ecmp-project-comparison-tab .elementor-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.ecmp-project-comparison-tab .elementor-button[aria-selected=true]{box-shadow:inset 0 0 0 2px currentColor}
.ecmp-project-comparison-tab .elementor-button:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.ecmp-project-v3 .ecmp-project-section--comparison .ecmp-project-comparison-item{display:flex;flex-direction:column;gap:10px}
.ecmp-project-v3 .ecmp-project-section--comparison.is-interactive .ecmp-project-gallery{grid-template-columns:minmax(0,1fr)}
.ecmp-project-section--comparison.is-interactive .ecmp-project-comparison-item[hidden]{display:none!important}
.ecmp-project-section--comparison.is-interactive .ecmp-project-comparison-label{display:none}

body.single-ecmp_real .ecmp-project-contact{display:none!important}
@media(hover:hover) and (pointer:fine){.ecmp-project-v3 .ecmp-project-cover:hover img{transform:scale(1.34)}.ecmp-project-v3 .ecmp-project-image:hover img{transform:scale(1.02)}}

@media(max-width:1024px){
html:has(body.single-ecmp_real),body.single-ecmp_real{overflow-x:clip}
body.single-ecmp_real .ecmp-project-v3.e-con{padding:40px 20px 56px!important}
.ecmp-project-v3 .ecmp-project-hero.e-con{grid-template-columns:minmax(0,1fr);gap:8px;border-radius:26px}
.ecmp-project-v3 .ecmp-project-cover{width:100%;max-width:640px;justify-self:center}
.ecmp-project-v3 .ecmp-project-cover img{transform:scale(1.18)}
.ecmp-project-v3 .ecmp-project-study{grid-template-columns:minmax(0,1fr);gap:36px}
.ecmp-project-v3 .ecmp-project-info{position:static}
body.single-ecmp_real .elementor-location-footer .elementor-icon-list-items{width:100%;max-width:100%;margin-inline:0}
body.single-ecmp_real .e-contact-buttons{--e-contact-buttons-horizontal-offset:10px;--e-contact-buttons-vertical-offset:84px;--e-contact-buttons-size-small:48px;--e-contact-buttons-icon-size-small:48px;--e-contact-buttons-svg-size-small:28px}
body.single-ecmp_real .grecaptcha-badge{right:0!important;bottom:10px!important;width:70px!important;overflow:hidden;transition:width .2s ease}
body.single-ecmp_real .grecaptcha-badge:hover,body.single-ecmp_real .grecaptcha-badge:focus-within{width:256px!important}
}
@media(max-width:767px){
.ecmp-project-v3 .ecmp-project-hero.e-con{padding:24px 20px 12px!important}
.ecmp-project-v3 .ecmp-project-gallery{grid-template-columns:minmax(0,1fr)}
.ecmp-project-v3 .ecmp-project-gallery>.elementor-element,.ecmp-project-v3 .ecmp-project-section:not(.ecmp-project-section--comparison) .ecmp-project-gallery--2>.elementor-element{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.ecmp-project-v3 img,.ecmp-project-v3 .elementor-button{transition:none!important}}

/* Visionneuse : flèches au centre de l'écran */
body.single-ecmp_real .elementor-lightbox .elementor-swiper-button{position:fixed!important;top:50%!important;width:52px!important;height:52px!important;min-width:52px;min-height:52px;margin:0!important;transform:translateY(-50%)!important;display:flex!important;align-items:center;justify-content:center;border-radius:50%;background:rgba(7,27,67,.92);color:#fff;box-shadow:0 8px 28px rgba(0,0,0,.28);z-index:10020;cursor:pointer}
body.single-ecmp_real .elementor-lightbox .elementor-swiper-button-prev{left:24px!important;right:auto!important}
body.single-ecmp_real .elementor-lightbox .elementor-swiper-button-next{left:auto!important;right:24px!important}
body.single-ecmp_real .elementor-lightbox .elementor-swiper-button svg{width:24px;height:24px;fill:currentColor}
@media(max-width:767px){body.single-ecmp_real .elementor-lightbox .elementor-swiper-button{width:46px!important;height:46px!important;min-width:46px;min-height:46px}body.single-ecmp_real .elementor-lightbox .elementor-swiper-button-prev{left:10px!important}body.single-ecmp_real .elementor-lightbox .elementor-swiper-button-next{right:10px!important}}

/* Effets : cible de la transition depuis la carte, apparition des captures */
.ecmp-project-v3 .ecmp-project-cover img{view-transition-name:ecmp-cover}
@media(prefers-reduced-motion:no-preference){
.ecmp-arrive .ecmp-project-v3 .ecmp-project-hero-copy>*{animation:ecmp-rise .6s cubic-bezier(.2,.7,.2,1) backwards!important}
.ecmp-arrive .ecmp-project-v3 .ecmp-project-hero-copy>*:nth-child(2){animation-delay:.07s!important}
.ecmp-arrive .ecmp-project-v3 .ecmp-project-hero-copy>*:nth-child(n+3){animation-delay:.14s!important}
.ecmp-arrive .ecmp-project-v3 .ecmp-project-study{animation:ecmp-rise .7s .2s cubic-bezier(.2,.7,.2,1) backwards!important}
@supports (animation-timeline:view()){
.ecmp-project-v3 .ecmp-project-image a{animation:ecmp-rise linear both;animation-timeline:view();animation-range:entry 0% entry 45%}
}
}

/* En-tête du catalogue */
body.page-id-39485 .ekit-heading--title,body.page-id-39485 .ekit-heading--title span{text-transform:none!important}
.ecmp-hub-crumb{align-self:center}
.ecmp-hub-crumb .ecmp-crumb ol{justify-content:center}
