:root{--en-navy:#0c2f6f;--en-blue:#1747c9;--en-cyan:#09a7b5;--en-ink:#17233b;--en-border:#e6ebf3;--en-soft:#f7f9fc}
/* Aggressive but scoped suppression of legacy Houzez / Elementor global chrome. */
body.en-global-chrome-active #header-section,
body.en-global-chrome-active #masthead,
body.en-global-chrome-active .header-main-wrap,
body.en-global-chrome-active .header-main-wrap-v1,
body.en-global-chrome-active .header-main-wrap-v2,
body.en-global-chrome-active .header-mobile,
body.en-global-chrome-active .main-nav-wrap,
body.en-global-chrome-active .houzez-header,
body.en-global-chrome-active .hz-header,
body.en-global-chrome-active .site-header:not(.en-site-header),
body.en-global-chrome-active .elementor-location-header,
body.en-global-chrome-active [data-elementor-type="header"],
body.en-global-chrome-active .hfe-header,
body.en-global-chrome-active .ehf-header,
body.en-global-chrome-active #footer-section,
body.en-global-chrome-active #colophon,
body.en-global-chrome-active .footer-wrap,
body.en-global-chrome-active .footer-main-wrap,
body.en-global-chrome-active .footer-top-wrap,
body.en-global-chrome-active .footer-bottom-wrap,
body.en-global-chrome-active .footer-widget-wrap,
body.en-global-chrome-active .houzez-footer,
body.en-global-chrome-active .hz-footer,
body.en-global-chrome-active .site-footer:not(.en-site-footer),
body.en-global-chrome-active .elementor-location-footer,
body.en-global-chrome-active [data-elementor-type="footer"],
body.en-global-chrome-active .hfe-footer,
body.en-global-chrome-active .ehf-footer{display:none!important}
.en-site-header,.en-site-footer{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--en-ink);box-sizing:border-box}.en-site-header *,.en-site-footer *{box-sizing:border-box}
.en-site-header{background:#fff;border-bottom:1px solid var(--en-border);position:relative;z-index:998}.en-site-header-inner{max-width:1280px;margin:0 auto;min-height:76px;padding:8px 24px;display:flex;align-items:center;gap:28px}.en-site-brand{display:flex;align-items:center;gap:9px;text-decoration:none!important;color:var(--en-blue)!important;font-weight:800;line-height:.9;font-size:19px;letter-spacing:.02em;white-space:nowrap}.en-site-brand img{width:42px;height:42px;object-fit:contain;border-radius:50%}.en-site-brand b{color:#24365d}.en-site-nav{margin-left:auto;display:flex;align-items:center;gap:30px}.en-site-nav a,.en-footer-nav a{color:#1f2f51!important;text-decoration:none!important;font-weight:600;font-size:14px}.en-site-nav a:hover,.en-footer-nav a:hover{color:var(--en-blue)!important}.en-site-actions{display:flex;align-items:center;gap:14px}.en-search-toggle{border:0;background:none;font-size:25px;color:#0d326f;cursor:pointer;padding:8px}.en-main-cta{position:relative;min-width:168px;min-height:46px;padding:9px 18px;border-radius:8px;background:var(--en-cyan);color:#fff!important;text-decoration:none!important;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 14px rgba(13,58,135,.12)}.en-main-cta strong{font-size:14px}.en-main-cta small{position:absolute;right:6px;top:-17px;color:#008e9c;font-size:11px;font-weight:700;white-space:nowrap}.en-main-cta-new{background:var(--en-blue)}.en-nav-toggle{display:none;border:0;background:#fff;font-size:25px;color:var(--en-navy)}.en-site-search{max-width:1280px;margin:0 auto;padding:0 24px 14px;display:flex;gap:8px}.en-site-search[hidden]{display:none}.en-site-search input{flex:1;border:1px solid var(--en-border);border-radius:7px;padding:10px 12px}.en-site-search button{border:0;border-radius:7px;background:var(--en-blue);color:#fff;padding:0 18px}
.en-site-footer{background:#fff;border-top:1px solid var(--en-border);margin-top:56px}.en-site-footer-main{max-width:1280px;margin:0 auto;padding:30px 24px;display:grid;grid-template-columns:280px 1fr 190px;align-items:center;gap:38px}.en-footer-logo{font-size:17px}.en-footer-brand p{font-size:13px;line-height:1.6;margin:12px 0 0}.en-footer-brand small{color:#69758e}.en-footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 22px}.en-footer-right{text-align:right}.en-footer-social{display:flex;justify-content:flex-end;gap:10px;margin-bottom:12px}.en-footer-social a{width:32px;height:32px;border:1px solid var(--en-border);border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none!important;color:var(--en-blue)!important;font-size:12px;font-weight:700}.en-footer-signature{color:#135bd4;font-size:22px;line-height:1.02;font-style:italic;margin:0}.en-site-footer-bottom{max-width:1280px;margin:0 auto;padding:14px 24px 20px;border-top:1px solid var(--en-border);display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#718096}.en-site-footer-bottom a{color:#718096!important;text-decoration:none!important;margin-left:20px}
@media(max-width:960px){.en-site-header-inner{min-height:68px;padding:8px 16px}.en-site-brand span{font-size:16px}.en-site-brand img{width:38px;height:38px}.en-nav-toggle{display:block;margin-left:auto}.en-site-nav{position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--en-border);padding:12px 18px;display:none;flex-direction:column;align-items:stretch;gap:0}.en-site-header.en-menu-open .en-site-nav{display:flex}.en-site-nav a{padding:11px 0;border-bottom:1px solid #f0f2f6}.en-search-toggle{display:none}.en-main-cta{min-width:auto;padding:9px 12px;min-height:42px}.en-main-cta strong{font-size:12px}.en-main-cta small{display:none}.en-site-footer-main{grid-template-columns:1fr;padding:28px 18px;text-align:center}.en-footer-nav{justify-content:center}.en-footer-right{text-align:center}.en-footer-social{justify-content:center}.en-site-footer-bottom{flex-direction:column;text-align:center}.en-site-footer-bottom a{margin:0 8px}}
/* v0.3: explicit legacy chrome marker, including legacy blocks embedded inside page templates. */
.en-legacy-chrome,[data-en-legacy-chrome="1"]{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}

/* v0.4.0 – sous-menu Prix immobilier relié aux pages existantes */
.en-nav-dropdown{position:relative;display:flex;align-items:center}
.en-nav-dropdown-toggle{display:flex;align-items:center;gap:5px}
.en-nav-dropdown-toggle span{font-size:10px;transition:transform .16s ease}
.en-nav-dropdown-menu{position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%) translateY(-4px);min-width:220px;padding:8px;background:#fff;border:1px solid var(--en-border);border-radius:10px;box-shadow:0 12px 28px rgba(22,38,76,.14);opacity:0;visibility:hidden;pointer-events:none;transition:.16s ease;z-index:1005}
.en-nav-dropdown-menu:before{content:"";position:absolute;left:0;right:0;top:-15px;height:15px}
.en-nav-dropdown-menu a{display:block!important;padding:10px 12px!important;border-radius:7px;white-space:nowrap}
.en-nav-dropdown-menu a:hover{background:#f5f8fd}
.en-nav-dropdown:hover .en-nav-dropdown-menu,.en-nav-dropdown:focus-within .en-nav-dropdown-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.en-nav-dropdown:hover .en-nav-dropdown-toggle span,.en-nav-dropdown:focus-within .en-nav-dropdown-toggle span{transform:rotate(180deg)}
@media(max-width:960px){
 .en-nav-dropdown{display:block}
 .en-nav-dropdown-toggle{padding:11px 0;border-bottom:1px solid #f0f2f6}
 .en-nav-dropdown-menu{position:static;transform:none!important;min-width:0;box-shadow:none;border:0;border-radius:0;padding:0 0 0 14px;opacity:1;visibility:visible;pointer-events:auto;background:#fafbfd}
 .en-nav-dropdown-menu:before{display:none}
 .en-nav-dropdown-menu a{padding:10px 0!important;font-size:13px!important}
}


/* v0.5.0 — mobile : un seul menu de navigation. Le menu complet reste dans le header/hamburger ;
   le footer mobile ne répète plus toute la navigation. */
body.en-global-chrome-active #mobile-nav,
body.en-global-chrome-active .mobile-nav,
body.en-global-chrome-active .mobile-nav-wrap,
body.en-global-chrome-active .mobile-navigation,
body.en-global-chrome-active .houzez-mobile-menu,
body.en-global-chrome-active .hz-mobile-menu,
body.en-global-chrome-active .nav-mobile:not(.en-site-nav){display:none!important}
@media(max-width:960px){
  .en-site-footer-main{padding-top:24px;padding-bottom:20px}
  .en-footer-nav{display:none!important}
  .en-site-footer{margin-top:36px}
  .en-footer-brand p{margin-top:9px}
  .en-footer-signature{font-size:20px}
}

/* Page Mentions légales créée par le plugin */
.en-legal-page{background:#f7f9fc;padding:38px 18px 64px;color:#17233b;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.en-legal-wrap{max-width:980px;margin:0 auto}
.en-legal-hero{margin-bottom:22px}
.en-legal-kicker{display:inline-block;color:#1747c9;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}
.en-legal-hero h1{margin:0 0 10px;color:#0c2f6f;font-size:38px;line-height:1.08}
.en-legal-hero p{max-width:760px;margin:0;color:#64718b;line-height:1.6}
.en-legal-card{background:#fff;border:1px solid #e6ebf3;border-radius:16px;padding:22px 24px;margin:14px 0;box-shadow:0 8px 24px rgba(22,38,76,.045)}
.en-legal-card h2{margin:0 0 14px;color:#123f9f;font-size:20px}
.en-legal-card p{line-height:1.62;margin:8px 0;color:#33425f}
.en-legal-card a{color:#1747c9;text-decoration:underline}
.en-legal-card dl{margin:0}.en-legal-card dl>div{display:grid;grid-template-columns:220px 1fr;gap:18px;padding:9px 0;border-bottom:1px solid #eef1f6}.en-legal-card dl>div:last-child{border-bottom:0}
.en-legal-card dt{font-weight:700;color:#20365f}.en-legal-card dd{margin:0;color:#42506b}
.en-legal-missing{display:inline-block;background:#fff5cf;border:1px solid #eadca8;color:#725e1f;border-radius:6px;padding:2px 7px;font-weight:700}
.en-legal-note{background:#f3f7ff;border-left:3px solid #1747c9;padding:12px 14px;border-radius:8px}
@media(max-width:700px){
 .en-legal-page{padding:26px 12px 44px}.en-legal-hero h1{font-size:31px}.en-legal-card{padding:18px 16px;border-radius:13px}.en-legal-card dl>div{grid-template-columns:1fr;gap:3px}.en-legal-card h2{font-size:18px}
}


/* v0.5.2 — navigation mobile robuste :
   - le hamburger reste toujours accessible ;
   - "Neuf" est explicitement présent dans le menu mobile ;
   - le CTA principal bascule dans le menu sur petits écrans pour éviter tout débordement. */
.en-mobile-only{display:none!important}
@media(max-width:960px){
  .en-site-header{z-index:10020}
  .en-site-header-inner{min-height:64px;padding:8px 12px;gap:10px;position:relative}
  .en-site-brand{min-width:0;flex:1 1 auto}
  .en-site-brand span{font-size:15px;line-height:.92}
  .en-site-brand img{width:36px;height:36px;flex:0 0 36px}
  .en-nav-toggle{
    display:flex!important;align-items:center;justify-content:center;
    width:44px;height:44px;min-width:44px;margin-left:auto;padding:0;
    border:1px solid #e6ebf3;border-radius:9px;background:#fff;
    font-size:24px;line-height:1;cursor:pointer;z-index:10030
  }
  .en-site-nav{
    position:absolute!important;top:64px!important;left:0!important;right:0!important;
    z-index:10025!important;background:#fff!important;
    border-top:1px solid var(--en-border);border-bottom:1px solid var(--en-border);
    box-shadow:0 16px 30px rgba(17,38,78,.14);
    padding:8px 16px 14px!important;display:none!important;
    flex-direction:column!important;align-items:stretch!important;gap:0!important;
    max-height:calc(100vh - 72px);overflow-y:auto
  }
  .en-site-header.en-menu-open .en-site-nav{display:flex!important}
  .en-site-nav>a,.en-nav-dropdown-toggle{
    display:flex!important;align-items:center;min-height:46px;
    padding:11px 2px!important;border-bottom:1px solid #eef1f5!important;
    font-size:15px!important;font-weight:700!important
  }
  .en-site-nav .en-nav-neuf{
    color:#1747c9!important;
    background:#f3f7ff;border-radius:8px;padding-left:10px!important;padding-right:10px!important;
    margin:4px 0
  }
  .en-nav-dropdown{display:block!important}
  .en-nav-dropdown-menu{
    position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;
    pointer-events:auto!important;box-shadow:none!important;border:0!important;border-radius:0!important;
    padding:0 0 0 14px!important;background:#fafbfd!important;min-width:0!important
  }
  .en-nav-dropdown-menu a{padding:10px 0!important;font-size:13px!important}
  .en-mobile-only{display:flex!important}
  .en-mobile-deposer{
    margin-top:12px;justify-content:center!important;
    background:#09a7b5!important;color:#fff!important;border:0!important;
    border-radius:9px!important;padding:12px 14px!important;font-weight:800!important
  }
  .en-site-actions{display:flex;flex:0 0 auto}
}
@media(max-width:700px){
  .en-site-actions{display:none!important}
  .en-site-brand span{font-size:14px}
}
@media(max-width:390px){
  .en-site-brand span{font-size:13px}
  .en-site-header-inner{gap:7px}
}


/* v0.5.3 — suppression du SECOND header mobile du thème.
   Ces sélecteurs ne touchent jamais le header Estimation Nantes du plugin. */
@media(max-width:960px){
  body.en-global-chrome-active #mobile-header,
  body.en-global-chrome-active #header-mobile,
  body.en-global-chrome-active .mobile-header,
  body.en-global-chrome-active .mobile-header-wrap,
  body.en-global-chrome-active .mobile-header-wrapper,
  body.en-global-chrome-active .mobile-header-container,
  body.en-global-chrome-active .header-mobile-wrap,
  body.en-global-chrome-active .header-mobile-wrapper,
  body.en-global-chrome-active .header-mobile-container,
  body.en-global-chrome-active .header-mobile-wrap-v1,
  body.en-global-chrome-active .header-mobile-wrap-v2,
  body.en-global-chrome-active .header-mobile-wrap-v3,
  body.en-global-chrome-active .houzez-mobile-header,
  body.en-global-chrome-active .hz-mobile-header,
  body.en-global-chrome-active .mobile-menu-header,
  body.en-global-chrome-active .elementor-widget-houzez-mobile-menu,
  body.en-global-chrome-active [class*="header-mobile"]:not(.en-site-header),
  body.en-global-chrome-active [class*="mobile-header"]:not(.en-site-header){
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }
}

/* v0.5.4 — estimation prioritaire dans le header, dépôt secondaire. */
.en-secondary-action{
  color:var(--en-blue)!important;text-decoration:none!important;font-size:12px!important;
  font-weight:700!important;white-space:nowrap;padding:8px 2px;border-bottom:1px solid transparent
}
.en-secondary-action:hover{border-bottom-color:var(--en-blue)}
.en-mobile-bottom-bar{display:none}
@media(max-width:960px){
  .en-secondary-action{display:none!important}
}
@media(max-width:700px){
  body.en-global-chrome-active{padding-bottom:64px!important}
  .en-mobile-bottom-bar{
    position:fixed;left:0;right:0;bottom:0;z-index:1100;display:grid;grid-template-columns:1fr 1fr;
    gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);
    border-top:1px solid var(--en-border);box-shadow:0 -8px 24px rgba(13,50,111,.10)
  }
  .en-mobile-bottom-bar a{
    min-height:44px;border-radius:9px;display:flex;align-items:center;justify-content:center;
    text-decoration:none!important;font-size:14px;font-weight:800
  }
  .en-mobile-bottom-estimate{background:var(--en-cyan);color:#fff!important}
  .en-mobile-bottom-call{background:#fff;color:var(--en-navy)!important;border:1px solid var(--en-border)}
}


/* v0.5.5 — wordmark actuel + suppression du slogan historique */
.en-site-brand-wordmark{gap:0!important;flex:0 0 auto!important;}
.en-site-brand-wordmark .en-brand-wordmark{display:block!important;width:172px!important;max-width:172px!important;height:auto!important;object-fit:contain!important;border-radius:0!important;}
.en-footer-logo .en-brand-wordmark{width:165px!important;max-width:165px!important;}
.en-footer-signature{display:none!important;}
@media(max-width:960px){
  .en-site-brand-wordmark .en-brand-wordmark{width:148px!important;max-width:148px!important;}
  .en-footer-logo .en-brand-wordmark{width:155px!important;max-width:155px!important;margin:0 auto!important;}
}


/* v0.5.6 — hiérarchie conversion : estimation prioritaire, dépôt secondaire. */
.en-main-cta-deposit{background:var(--en-navy)!important;box-shadow:0 5px 14px rgba(6,43,89,.16)!important}
.en-main-cta-deposit small{color:var(--en-navy)!important}
.en-main-cta-deposit:hover{background:#041f43!important}
.en-mobile-bottom-vendre .en-mobile-bottom-estimate{background:var(--en-navy)!important}

/* Le dépôt n'est plus un item du header : il descend dans le footer. */
.en-secondary-action,.en-mobile-deposer{display:none!important}

.en-footer-publish{
  max-width:1180px;margin:0 auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:26px;
  border-bottom:1px solid var(--en-border);background:#fff
}
.en-footer-publish-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.en-footer-publish-copy strong{color:var(--en-navy);font-size:17px;line-height:1.25}
.en-footer-publish-copy span{color:#69758e;font-size:13px;line-height:1.5}
.en-footer-publish>a{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:9px;
  background:var(--en-navy);color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800
}
.en-footer-publish>a:hover{background:#041f43}

/* Footer plus léger. */
.en-site-footer-main{grid-template-columns:220px 1fr 120px!important;padding-top:24px!important;padding-bottom:22px!important}
.en-footer-logo .en-brand-wordmark{width:132px!important;max-width:132px!important}
.en-footer-brand p{font-size:12px!important;line-height:1.45!important;margin-top:8px!important}
.en-footer-nav{gap:12px 18px!important}
.en-footer-nav a{font-size:13px!important}

@media(max-width:960px){
  .en-footer-publish{padding:18px;flex-direction:column;align-items:stretch;text-align:center}
  .en-footer-publish>a{width:100%}
  .en-footer-logo .en-brand-wordmark{width:125px!important;max-width:125px!important}
}


/* v0.5.9 — code couleur CTA global : vert dépôt / rouge estimation */
:root{--en-cta-deposit:#08775f;--en-cta-deposit-hover:#06644f;--en-cta-estimate:#f0333c;--en-cta-estimate-hover:#d92731}
.en-main-cta{background:var(--en-cta-estimate)!important;box-shadow:0 5px 14px rgba(240,51,60,.18)!important}
.en-main-cta:hover{background:var(--en-cta-estimate-hover)!important}
.en-main-cta-deposit{background:var(--en-cta-deposit)!important;box-shadow:0 5px 14px rgba(8,119,95,.18)!important}
.en-main-cta-deposit:hover{background:var(--en-cta-deposit-hover)!important}
.en-footer-publish>a{background:var(--en-cta-deposit)!important;color:#fff!important;border-color:var(--en-cta-deposit)!important}
.en-footer-publish>a:hover{background:var(--en-cta-deposit-hover)!important}
.en-mobile-bottom-estimate{background:var(--en-cta-estimate)!important;color:#fff!important}
.en-mobile-bottom-vendre .en-mobile-bottom-estimate{background:var(--en-cta-deposit)!important;color:#fff!important}

/* Harmonisation des CTA d'estimation déjà présents dans les modules du site. */
a.ensl-choice-primary[href*="/estimation-immobiliere-nantes/"],
a.en-prix-primary[href*="/estimation-immobiliere-nantes/"],
a.en-id-primary[href*="/estimation-immobiliere-nantes/"],
a.envp-btn[href*="/estimation-immobiliere-nantes/"]{
  background:var(--en-cta-estimate)!important;background-color:var(--en-cta-estimate)!important;
  border-color:var(--en-cta-estimate)!important;color:#fff!important
}
a.ensl-choice-primary[href*="/estimation-immobiliere-nantes/"]:hover,
a.en-prix-primary[href*="/estimation-immobiliere-nantes/"]:hover,
a.en-id-primary[href*="/estimation-immobiliere-nantes/"]:hover,
a.envp-btn[href*="/estimation-immobiliere-nantes/"]:hover{
  background:var(--en-cta-estimate-hover)!important;background-color:var(--en-cta-estimate-hover)!important
}
/* Harmonisation des vrais boutons de dépôt, sans transformer les liens de navigation/footer en boutons. */
a.envp-option-cta[href*="/deposer-mon-annonce/"],
a.enbv-global-deposit[href*="/deposer-mon-annonce/"]{
  background:var(--en-cta-deposit)!important;background-color:var(--en-cta-deposit)!important;
  border-color:var(--en-cta-deposit)!important;color:#fff!important
}
@media(max-width:700px){
 .en-mobile-bottom-bar a{font-size:12px!important;padding:0 8px;text-align:center}
}
