.imt-agency .imt-agency-main{padding-top:26px;padding-bottom:68px}
.imt-agency-nav{display:flex;flex-wrap:wrap;gap:8px 24px;border-bottom:1px solid #dce3e8;padding:0 0 18px;margin-bottom:32px}
.imt-agency .imt-agency-nav a{display:inline-flex;align-items:center;min-height:44px;color:#183b53!important;font-size:14px;text-decoration:none;border-bottom:2px solid transparent}
.imt-agency .imt-agency-nav a[aria-current],.imt-agency .imt-agency-nav a:hover{color:#85642e!important;border-bottom-color:#b48840}
.imt-agency .imt-agency-heading{padding:30px 0 28px;max-width:860px}
.imt-agency .imt-agency-heading h1{margin:8px 0 24px;color:#102c46!important}
.imt-agency .imt-agency-heading p{color:#536674;font-size:18px;line-height:1.7}
.imt-agency .imt-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:#8a6c35!important}
.imt-agency .imt-editorial-content{min-width:0}
.imt-agency .imt-editorial-content>.elementor>.elementor-top-section{left:0!important;width:100%!important;padding:34px 0!important;background:#fff!important}
.imt-agency .imt-editorial-content .elementor-container{max-width:100%!important}
.imt-agency .imt-editorial-content .elementor-widget{min-width:0}
.imt-agency .imt-editorial-content .elementor-widget-heading :is(h1,h2,h3,h4){font-family:Georgia,serif!important;font-weight:400!important;line-height:1.18!important;letter-spacing:-.025em;color:#102c46!important}
.imt-agency .imt-editorial-content .elementor-widget-heading h1{font-size:clamp(2.6rem,5vw,4.4rem)!important}
.imt-agency .imt-editorial-content .elementor-widget-heading h2{font-size:clamp(1.8rem,3vw,2.8rem)!important}
.imt-agency .imt-editorial-content .elementor-widget-heading h3{font-size:clamp(1.5rem,2vw,2rem)!important}
.imt-agency .imt-editorial-content .elementor-widget-heading h4{font-family:'Segoe UI',sans-serif!important;font-size:14px!important;line-height:1.5!important;font-weight:600!important;letter-spacing:0}
.imt-agency .imt-editorial-content .elementor-widget-text-editor,.imt-agency .imt-editorial-content .elementor-widget-text-editor p{color:#425968!important;font-family:'Segoe UI',sans-serif!important;font-size:17px!important;line-height:1.75!important}
.imt-agency .imt-editorial-content .elementor-button{background:#102c46!important;color:white!important;border:1px solid #102c46!important;min-height:46px;padding:14px 22px!important;border-radius:4px!important;font-family:'Segoe UI',sans-serif!important;font-size:15px!important;line-height:1.4!important;text-decoration:none}
.imt-agency .imt-editorial-content .elementor-button *{color:inherit!important}
.imt-agency .imt-editorial-content .elementor-icon-list-text{color:#183b53!important}
.imt-agency .imt-editorial-content .elementor-icon-list-icon :is(i,svg){color:#b48840!important;fill:#b48840!important}
.imt-agency .imt-editorial-content .elementor-drop-cap{float:none!important;margin:0!important;font:inherit!important;color:inherit!important}
.imt-agency .imt-editorial-content .elementor-drop-cap-letter{font:inherit!important;color:inherit!important}
/* Preserve the native Elementor trees while matching the new theme. */
.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:first-child{padding:52px clamp(24px,5vw,70px)!important;background:#102c46!important;border-radius:5px}
.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:first-child .elementor-widget-wrap{display:flex!important;flex-wrap:wrap;justify-content:flex-start;max-width:940px;margin:auto;padding:0!important}
.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:first-child :is(h1,h2,p){color:#fff!important;text-align:left!important}
.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:first-child h2{font-family:'Segoe UI',sans-serif!important;font-size:clamp(1.2rem,2vw,1.5rem)!important;line-height:1.5!important;letter-spacing:0}
.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:first-child .elementor-widget-button{width:auto!important;margin:10px 14px 0 0!important}
.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:first-child .elementor-button{background:#b48840!important;border-color:#b48840!important}
.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:last-child{padding:40px!important;background:#f0f4f6!important;border-left:3px solid #b48840}
.imt-agency .elementor-23831 .elementor-element-7627975>.elementor-container,.imt-agency .elementor-23694 :is(.elementor-element-a103b201,.elementor-element-a103c201,.elementor-element-a105b201,.elementor-element-a107b201,.elementor-element-a108b201)>.elementor-container{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.imt-agency .elementor-23694 :is(.elementor-element-a103c201,.elementor-element-a107b201,.elementor-element-a108b201)>.elementor-container{grid-template-columns:repeat(2,minmax(0,1fr))}
.imt-agency .elementor-23831 .elementor-element-7627975>.elementor-container>.elementor-column,.imt-agency .elementor-23694 :is(.elementor-element-a103b201,.elementor-element-a103c201,.elementor-element-a105b201,.elementor-element-a107b201,.elementor-element-a108b201)>.elementor-container>.elementor-column{width:100%!important;min-width:0}
.imt-agency .elementor-23831 .elementor-element-7627975>.elementor-container>.elementor-column>.elementor-widget-wrap,.imt-agency .elementor-23694 :is(.elementor-element-a103b201,.elementor-element-a103c201,.elementor-element-a105b201,.elementor-element-a107b201,.elementor-element-a108b201)>.elementor-container>.elementor-column>.elementor-widget-wrap{padding:26px!important;background:#f3f6f6!important;border:1px solid #dce3e8!important;border-top:3px solid #b48840!important;border-radius:4px;align-content:start}
.imt-agency .elementor-23831 .elementor-element-7627975>.elementor-container{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.imt-agency .elementor-23831 .elementor-element-7627975 .elementor-widget-heading h3{font-size:1.55rem!important}
.imt-agency .elementor-23831 .elementor-element-7627975 .elementor-widget-heading h4{color:#85642e!important}
.imt-agency .elementor-23694 :is(.elementor-element-a103b201,.elementor-element-a103c201) .elementor-widget-heading h3{font-size:2.5rem!important;color:#85642e!important}
.imt-agency .elementor-23694 .elementor-element-a105b201 .elementor-widget-heading h3{font-size:1.6rem!important;color:#85642e!important}
.imt-agency .imt-service-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:46px;padding:30px 0 48px}
.imt-agency .imt-service-hero h1{font-size:clamp(2.3rem,3.8vw,3.8rem)!important;line-height:1.13;margin:16px 0 25px;color:#102c46!important}
.imt-agency .imt-service-hero h1 em{font-style:normal;color:#8a6c35}
.imt-agency .imt-service-hero p{font-size:18px;line-height:1.75;color:#425968}
.imt-agency .imt-service-hero figure{margin:0}
.imt-agency .imt-service-photo{display:block;width:100%;height:auto!important;border-radius:4px;box-shadow:0 20px 50px #102c4615}
.imt-agency .imt-service-hero figcaption{font-size:13px;color:#536674;margin-top:12px}
.imt-agency .imt-agency-actions{display:flex;gap:14px 20px;align-items:center;flex-wrap:wrap;margin-top:24px}
.imt-agency .imt-agency-actions>a:not(.imt-button){color:#183b53!important;text-decoration:underline;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.imt-agency .imt-button{color:white!important}
.imt-service-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:28px 0 44px;border-block:1px solid #dce3e8;margin-bottom:22px}
.imt-service-overview article>span{color:#8a6c35;font-size:13px;letter-spacing:.12em}
.imt-agency .imt-service-overview h2{font-size:1.6rem;color:#102c46!important;margin:12px 0}
.imt-service-overview p{color:#536674;font-size:16px;line-height:1.7}
.imt-agency .imt-editorial-construction .elementor-widget-text-editor{width:100%!important;max-width:100%!important}
.imt-agency .imt-editorial-construction .ico-shell{max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.imt-agency .imt-editorial-construction .ico-intro{display:none}
.imt-agency .imt-editorial-construction .ico-section{background:white!important;color:#183b53!important;border:1px solid #dce3e8!important;border-radius:4px!important;box-shadow:none!important;padding:26px!important;margin:22px 0!important}
.imt-agency .imt-editorial-construction .ico-section :is(h2,h3,p,.ico-section-title,.ico-document-title,.ico-document-arrow){color:#183b53!important}
.imt-agency .imt-editorial-construction :is(.ico-kicker,.ico-document-label,.ico-result-count){color:#85642e!important}
.imt-agency .imt-editorial-construction :is(.ico-gallery-open,.ico-document-head){background:#f1f5f6!important;color:#183b53!important;border-color:#dce3e8!important;font-size:15px!important;min-height:46px}
.imt-agency .imt-editorial-construction .ico-document-body{background:white!important;color:#183b53!important}
.imt-agency .imt-editorial-construction .ico-search{background:white!important;color:#183b53!important;border:1px solid #aebec8!important;font-size:16px!important;min-height:46px}
.imt-agency .imt-editorial-construction .ico-photo img{object-fit:contain!important;height:auto!important}
.imt-agency .imt-construction-library{border-top:1px solid #dce3e8;margin:34px 0;padding-top:12px}
.imt-agency .imt-construction-library>summary{padding:16px 0;min-height:50px;color:#183b53!important;font-weight:600;cursor:pointer}
.imt-agency .imt-editorial-renovations-avant-travaux>.wp-block-group{padding:34px 24px!important;background:#fff!important;max-width:none!important}
.imt-agency .imt-editorial-renovations-avant-travaux>.wp-block-group:first-child{background:#f0f4f6!important;border-left:3px solid #b48840}
.imt-agency .imt-editorial-renovations-avant-travaux :is(h2,h3,p){color:#183b53!important}
.imt-agency .imt-editorial-renovations-avant-travaux h2{font-size:clamp(1.8rem,3vw,2.6rem)!important}
.imt-agency .imt-editorial-renovations-avant-travaux h3{font-size:1.35rem!important}
.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-column{min-width:0}
.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-column>.wp-block-group{height:100%;padding:16px!important;border:1px solid #dce3e8;border-radius:4px;background:#f5f7f7!important}
.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-image{margin:0 0 20px!important}
.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-image img{display:block;width:100%;height:260px!important;object-fit:cover;border-radius:3px!important}
.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-button__link{background:#102c46!important;color:#fff!important;min-height:46px}
.imt-agency .imt-photo-trigger{position:relative;display:block;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in;text-align:left}
.imt-agency .imt-photo-cue{position:absolute;bottom:10px;right:10px;padding:5px 9px;color:#fff!important;background:#102c46eb;font-size:12px;border-radius:3px}
.imt-agency .imt-project-contact{display:flex;gap:32px;justify-content:space-between;align-items:center;padding:36px;margin-top:40px;background:#102c46;color:white;border-radius:4px}
.imt-agency .imt-project-contact :is(h2,p){color:white!important}
.imt-agency .imt-project-contact .imt-eyebrow{color:#dfc28f!important}
.imt-agency .imt-project-contact h2{font-size:clamp(1.8rem,2.5vw,2.5rem);max-width:760px;margin:12px 0}
.imt-project-contact p{max-width:720px;font-size:16px;line-height:1.7}
.imt-project-contact>a{flex-shrink:0}
.imt-agency .imt-editorial-temoignages-clients .elementor-widget-text-editor{width:100%!important;max-width:100%!important}
.imt-agency .imt-editorial-temoignages-clients :is(figure,table,tbody,tr,td){max-width:100%!important;box-sizing:border-box}
.imt-agency .imt-editorial-temoignages-clients table{width:100%!important;table-layout:fixed;border-collapse:collapse}
.imt-agency .imt-editorial-temoignages-clients :is(h2,h3){font-family:'Segoe UI',sans-serif!important;font-size:19px!important;line-height:1.7!important;color:#183b53!important;letter-spacing:0}
.imt-agency .imt-editorial-temoignages-clients :is(h2,h3) span{color:inherit!important}
.imt-agency .imt-editorial-temoignages-clients h3{padding-top:24px;border-top:1px solid #dce3e8}
.imt-agency .imt-editorial-temoignages-clients img{height:auto;max-width:100%}
.imt-agency .imt-editorial-temoignages-clients img[role=img]{width:1em!important;height:1em!important;display:inline!important}
.imt-agency .imt-footer h2{color:white!important}
.imt-agency :is(.imt-agency-main a,.imt-agency-main button,summary):focus-visible{outline:3px solid #b48840;outline-offset:4px}
/* Native modal: Escape, focus containment and return focus are kept. */
.imt-agency .imt-photo-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(1060px,94vw);max-height:92dvh;border:0;border-radius:6px;padding:22px;background:#102c46;color:white;box-shadow:0 24px 80px #0005;overflow:auto}
.imt-agency .imt-photo-dialog:not([open]){display:none}
.imt-photo-dialog::backdrop{background:#04121de6}
.imt-photo-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.imt-agency .imt-photo-dialog h2{color:white!important;font-size:1.5rem;margin:0}
.imt-agency .imt-photo-dialog button{background:transparent;color:white!important;border:1px solid #8298a8;border-radius:4px;min-height:44px;padding:8px 14px;font-size:15px;cursor:pointer}
.imt-photo-dialog figure{margin:18px 0}
.imt-photo-dialog .imt-photo-large{display:block;width:100%;height:60dvh!important;object-fit:contain;background:#081e30}
.imt-photo-dialog figcaption{font-size:14px;margin-top:12px;color:#fff!important;line-height:1.6}
.imt-photo-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}
.imt-photo-dialog button:focus-visible{outline:3px solid #dfc28f;outline-offset:3px}
@media(max-width:1000px){.imt-agency .imt-service-hero{gap:28px}.imt-agency .elementor-23831 .elementor-element-7627975>.elementor-container,.imt-agency .elementor-23694 :is(.elementor-element-a103b201,.elementor-element-a105b201)>.elementor-container,.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.imt-agency .imt-project-contact{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.imt-agency .imt-agency-main{padding-top:14px}.imt-agency-nav{gap:4px 16px;margin-bottom:20px}.imt-agency .imt-agency-nav a{font-size:13px}.imt-agency .imt-service-hero{grid-template-columns:1fr;padding:12px 0 30px;gap:22px}.imt-service-overview{grid-template-columns:1fr;gap:14px}.imt-agency .imt-service-hero h1{font-size:2.4rem!important}.imt-agency .imt-service-hero p{font-size:17px}.imt-agency :is(.imt-editorial-notre-histoire,.imt-editorial-notre-equipe)>.elementor>.elementor-top-section:first-child{padding:30px 20px!important}.imt-agency .imt-editorial-content>.elementor>.elementor-top-section{padding:24px 0!important}.imt-agency .elementor-23831 .elementor-element-7627975>.elementor-container,.imt-agency .elementor-23694 :is(.elementor-element-a103b201,.elementor-element-a103c201,.elementor-element-a105b201,.elementor-element-a107b201,.elementor-element-a108b201)>.elementor-container,.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-columns{grid-template-columns:1fr}.imt-agency .imt-editorial-renovations-avant-travaux>.wp-block-group{padding:26px 0!important}.imt-agency .imt-editorial-renovations-avant-travaux>.wp-block-group:first-child{padding:24px 18px!important}.imt-agency .imt-editorial-renovations-avant-travaux .wp-block-image img{height:310px!important}.imt-agency .imt-editorial-construction .ico-section{padding:18px!important}.imt-agency .imt-project-contact{padding:24px;gap:20px}.imt-agency .imt-photo-dialog{padding:16px}.imt-photo-dialog .imt-photo-large{height:52dvh!important}.imt-agency .imt-photo-dialog h2{font-size:1.15rem}.imt-agency .imt-photo-dialog button{font-size:13px;padding:8px 10px}.imt-agency .imt-editorial-temoignages-clients :is(td,th){padding:6px!important}}
