/* V7 — même logo client, favicon et formulaire sous la photo sur smartphone */
.eh-responsive-hero{position:relative;isolation:isolate}
@media(min-width:801px){
  .eh-responsive-hero > .hero-form-wrap,
  .eh-responsive-hero > .special-hero-form{
    position:absolute!important;top:50%;right:max(23px, calc((100% - 1280px)/2 + 20px));
    transform:translateY(-50%);width:min(425px,38%);z-index:7;
    margin:0!important;max-width:none!important;
  }
  .eh-responsive-hero > .hero-form-wrap .quote-form,
  .eh-responsive-hero > .special-hero-form .quote-form{max-width:100%;margin:0!important}
  .eh-responsive-hero .hero-home,.eh-responsive-hero .service-hero{min-height:730px}
  .eh-responsive-hero .special-form-hero{min-height:735px}
}
@media(min-width:801px) and (max-width:1080px){
  .eh-responsive-hero > .hero-form-wrap,.eh-responsive-hero > .special-hero-form{
   width: min(370px,41%);right:18px;
  }
  .eh-responsive-hero .hero-grid,.eh-responsive-hero .service-hero-grid{gap:28px!important}
}
@media(max-width:800px){
  .eh-responsive-hero{background:#f7f4ee}
  .eh-responsive-hero .hero-home,.eh-responsive-hero .service-hero,
  .eh-responsive-hero .simple-hero.special-form-hero{
    display:block!important;position:relative!important;overflow:hidden!important;
    min-height:0!important;margin:0!important;
  }
  .eh-responsive-hero .hero-grid,.eh-responsive-hero .service-hero-grid,
  .eh-responsive-hero .special-hero-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    min-height:0!important;align-items:center!important;gap:0!important;
    padding-top:clamp(56px,9vw,80px)!important;
    padding-bottom:clamp(55px,9vw,82px)!important;
  }
  .eh-responsive-hero .special-hero-grid{padding-block:clamp(65px,11vw,95px)!important}
  .eh-responsive-hero .hero-text,.eh-responsive-hero .service-hero-copy,
  .eh-responsive-hero .special-hero-text{width:100%;max-width:740px;margin:0 auto;z-index:3;position:relative}
  .eh-responsive-hero > .hero-form-wrap,.eh-responsive-hero > .special-hero-form{
    display:block!important;position:static!important;top:auto!important;right:auto!important;
    transform:none!important;width:100%!important;max-width:none!important;
    margin:0!important;padding:clamp(24px,5vw,36px) 18px 44px!important;
    background:linear-gradient(180deg,#f5f2ec 0%,#fffcf7 100%);
    border-top:4px solid #dcb369;box-shadow:inset 0 6px 22px rgba(21,23,29,.055);
  }
  .eh-responsive-hero > .hero-form-wrap .quote-form,
  .eh-responsive-hero > .special-hero-form .quote-form{
    width:100%!important;max-width:640px!important;margin:0 auto!important;
    box-sizing:border-box!important;box-shadow:0 17px 40px rgba(17,28,42,.15)!important;
  }
  .eh-responsive-hero .hero-glow{
    background:linear-gradient(90deg,rgba(5,12,20,.64),rgba(5,12,20,.26))!important;
  }
  .eh-responsive-hero .hero-text,.eh-responsive-hero .service-hero-copy{
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
}
@media(max-width:450px){
  .eh-responsive-hero > .hero-form-wrap,.eh-responsive-hero > .special-hero-form{padding:22px 12px 36px!important}
  .eh-responsive-hero .hero-grid,.eh-responsive-hero .service-hero-grid{padding-block:48px 58px!important}
  .eh-responsive-hero .special-hero-grid{padding-block:55px 70px!important}
  .eh-responsive-hero .hero-actions .btn{min-height:48px}
}
