/* Restauration finale des pages intérieures, sans toucher aux contenus/SEO. */
body.er-overlay-hero-page #page,
body.er-overlay-hero-page #content,
body.er-overlay-hero-page .site-content,
body.er-overlay-hero-page #primary,
body.er-overlay-hero-page #main,
body.er-overlay-hero-page article.page,
body.er-overlay-hero-page .entry-content{margin-top:0!important;padding-top:0!important}
body.er-overlay-hero-page .entry-header,body.er-overlay-hero-page .page-header{display:none!important}
body.er-overlay-hero-page #masthead{display:block!important;position:absolute!important;inset:0 0 auto!important;z-index:9999!important;width:100%!important;background:transparent!important}
body.er-overlay-hero-page #masthead .ast-primary-header-bar{display:flex!important;min-height:92px!important;border:0!important;background:linear-gradient(180deg,rgba(7,31,53,.92),rgba(7,31,53,.38),transparent)!important;box-shadow:none!important}
body.er-category-page #masthead .ast-primary-header-bar,
body.er-premium-archive-page #masthead .ast-primary-header-bar,
body.er-overlay-hero-page #masthead .ast-primary-header-bar{background:transparent!important;box-shadow:none!important;border:0!important}
body.er-overlay-hero-page #masthead .main-header-menu>.menu-item>.menu-link,body.er-overlay-hero-page #masthead .ast-button-wrap .menu-toggle{color:#fff!important}
body.er-overlay-hero-page #masthead .site-logo-img img,body.er-overlay-hero-page #masthead .custom-logo-link img{filter:brightness(0) invert(1)!important}
.erv-featured button{display:none!important}.erv-featured [class*="arrow"],.erv-featured [class*="nav-prev"],.erv-featured [class*="nav-next"]{display:none!important}
.erv-featured .er-home-compare-fixed,.erv-featured [data-er-compare],.erv-featured [data-erp-compare]{display:none!important}
.erv-featured .er-card__excerpt,.er-pro-card .er-card__excerpt{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:3em!important;max-height:3em!important;margin:0 0 14px!important;color:#536979!important;font-size:14px!important;line-height:1.5!important}
/* Actions des cartes : sobres au repos, couleur pleine seulement au survol. */
body #page #content .er-card a.er-card__contact-button[href^="tel:"],
body #page #content .er-card a.er-card__contact-button--phone{border:1px solid #0d6da5!important;background:#fff!important;color:#0d6da5!important;box-shadow:none!important}
body #page #content .er-card a.er-card__contact-button[href^="mailto:"],
body #page #content .er-card a.er-card__contact-button--email{border:1px solid #b64352!important;background:#fff!important;color:#b64352!important;box-shadow:none!important}
body #page #content .er-card a.er-card__contact-button[href^="tel:"]:hover,
body #page #content .er-card a.er-card__contact-button--phone:hover,
body #page #content .er-card a.er-card__contact-button[href^="tel:"]:focus,
body #page #content .er-card a.er-card__contact-button--phone:focus{background:#0d6da5!important;color:#fff!important}
body #page #content .er-card a.er-card__contact-button[href^="mailto:"]:hover,
body #page #content .er-card a.er-card__contact-button--email:hover,
body #page #content .er-card a.er-card__contact-button[href^="mailto:"]:focus,
body #page #content .er-card a.er-card__contact-button--email:focus{background:#b64352!important;color:#fff!important}

/* Le premier bloc de Contact et Revendiquer devient le hero plein écran. */
body.er-contact-premium-page .entry-content>section:first-child,
body.er-claim-premium-page .entry-content>section:first-child,
body.er-contact-premium-page .ercp2-hero,
body.er-claim-premium-page .erc-hero{
  position:relative!important;isolation:isolate!important;width:100vw!important;max-width:none!important;min-height:500px!important;
  margin:0 calc(50% - 50vw)!important;padding:clamp(150px,16vw,210px) max(22px,calc((100vw - 1240px)/2)) 78px!important;
  overflow:hidden!important;border-radius:0!important;background:linear-gradient(105deg,rgba(5,24,41,.96),rgba(10,72,108,.82)),url('../hero-parcours-logement.png') center/cover no-repeat!important;color:#fff!important;box-sizing:border-box!important
}
body.er-contact-premium-page .entry-content>section:first-child h1,
body.er-claim-premium-page .entry-content>section:first-child h1,
body.er-contact-premium-page .ercp2-hero h1,
body.er-claim-premium-page .erc-hero h1{max-width:970px!important;margin:0 0 22px!important;color:#fff!important;font-size:clamp(42px,6vw,76px)!important;line-height:1.02!important;letter-spacing:-.045em!important}
body.er-contact-premium-page .entry-content>section:first-child p,
body.er-claim-premium-page .entry-content>section:first-child p,
body.er-contact-premium-page .ercp2-hero p,
body.er-claim-premium-page .erc-hero p{max-width:780px!important;color:#e4f0f7!important;font-size:clamp(17px,2vw,21px)!important;line-height:1.65!important}
body.er-contact-premium-page .entry-content>section:not(:first-child),body.er-claim-premium-page .entry-content>section:not(:first-child){width:min(1180px,calc(100% - 36px))!important;margin-inline:auto!important}

.er-claim-search{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(460px,1.2fr)!important;gap:28px!important;align-items:center!important;width:min(1180px,calc(100% - 36px))!important;margin:42px auto!important;padding:30px!important;border:1px solid #c8dce8!important;border-radius:24px!important;background:linear-gradient(135deg,#f7fbfd,#eaf4f8)!important;box-shadow:0 18px 48px rgba(7,31,53,.10)!important;box-sizing:border-box!important}
.er-claim-search h2{margin:6px 0 10px!important;color:#071f35!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.12!important}.er-claim-search p{margin:0!important;color:#526979!important;line-height:1.65!important}
.er-claim-search form{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(150px,.7fr) auto!important;gap:10px!important;align-items:end!important}.er-claim-search label{display:grid!important;gap:6px!important}.er-claim-search label span{color:#284a62!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.er-claim-search input,.er-claim-search select{width:100%!important;height:52px!important;padding:0 14px!important;border:1px solid #a9c3d3!important;border-radius:12px!important;background:#fff!important;color:#10283b!important;box-sizing:border-box!important}.er-claim-search button{height:52px!important;padding:0 20px!important;border:0!important;border-radius:12px!important;background:#0d527f!important;color:#fff!important;font-weight:900!important;white-space:nowrap!important}

.er-archive-search{position:relative!important;z-index:3!important;margin:0!important;padding:26px 0!important;background:linear-gradient(135deg,#071f35,#0b4b74)!important;color:#fff!important}
.er-archive-search>.er-wrap{display:grid!important;grid-template-columns:minmax(240px,.65fr) minmax(520px,1.35fr)!important;gap:30px!important;align-items:center!important}.er-archive-search__intro span{display:block!important;color:#9dd7ed!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.12em!important}.er-archive-search__intro strong{display:block!important;margin:5px 0!important;color:#fff!important;font-size:23px!important}.er-archive-search__intro p{margin:0!important;color:#cfe2ec!important;font-size:14px!important}
.er-archive-search__form{display:grid!important;grid-template-columns:minmax(0,1fr) 190px auto!important;gap:10px!important;align-items:end!important}.er-archive-search__form label{display:grid!important;gap:6px!important}.er-archive-search__form label span{color:#d6e8f2!important;font-size:11px!important;font-weight:850!important}.er-archive-search__form input,.er-archive-search__form select{width:100%!important;height:50px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:11px!important;background:#fff!important;color:#10283b!important;box-sizing:border-box!important}.er-archive-search__form button{height:50px!important;padding:0 20px!important;border:1px solid #dfbd62!important;border-radius:11px!important;background:#dfbd62!important;color:#071f35!important;font-weight:900!important}

@media(min-width:922px){
 #ast-desktop-header .main-header-menu{justify-content:flex-end!important;transform:translateX(18px)!important}
 #ast-desktop-header .main-header-menu>.er-menu-professionals>.sub-menu{right:0!important;left:auto!important;display:grid!important;width:min(1120px,calc(100vw - 32px))!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;transform:translate(0,14px)!important}
 #ast-desktop-header .er-menu-professionals>.sub-menu>.menu-item,#ast-desktop-header .er-menu-professionals>.sub-menu>.menu-item>.sub-menu{width:auto!important;min-width:0!important;max-width:100%!important}
 #ast-desktop-header .main-header-menu>.er-menu-professionals.er-menu-desktop-open>.sub-menu{transform:none!important}
}
@media(max-width:921px){
 body.er-overlay-hero-page #masthead .ast-primary-header-bar{min-height:76px!important;background:transparent!important}
 .ast-mobile-header-content,.ast-mobile-header-content .main-header-menu,.ast-mobile-header-content .sub-menu{background:#071f35!important}
 body.er-contact-premium-page .entry-content>section:first-child,body.er-claim-premium-page .entry-content>section:first-child,body.er-contact-premium-page .ercp2-hero,body.er-claim-premium-page .erc-hero{min-height:460px!important;padding:118px 20px 54px!important}
 .er-archive-search>.er-wrap,.er-claim-search{grid-template-columns:1fr!important}.er-archive-search__form,.er-claim-search form{grid-template-columns:1fr!important}
}
@media(max-width:600px){.er-archive-search{padding:22px 0!important}.er-archive-search>.er-wrap{width:calc(100% - 28px)!important;gap:20px!important}.er-claim-search{padding:22px 16px!important;border-radius:18px!important}}
