/* Reset font-weight */
.entry-content p,.entry-content li,.entry-content td,.entry-content span,
.entry-content a:not(.hag-btn):not(.hag-btn-sm):not(.hag-btn-ghost),
.hag-section p,.hag-section li,.hag-section td,
.hag-section-full p,.hag-section-full li,.hag-section-full td,
.hag-faq p,.hag-faq li,.hag-footer p,.hag-footer li{font-weight:400 !important}
strong,b,.hag-label,.hag-btn,.hag-btn-sm,.hag-btn-ghost,
h1,h2,h3,h4,h5,h6,.hag-faq summary,th{font-weight:700 !important}
.hag-hero-content p{font-weight:400 !important}
.hag-cta-bg>img{transition:none !important;transform:none !important}
.hag-cta-bg:hover>img{transform:none !important}
.hag-cta-bg h2,.hag-cta-bg-content h2{color:#fff !important;font-size:2.4rem !important;font-weight:800 !important}
.hag-cta-bg .hag-cta-bg-content>p:first-child{font-size:2.4rem !important;color:#fff !important;font-weight:800 !important;text-transform:none !important;letter-spacing:0 !important;margin-bottom:16px !important}
.hag-cta-bg .hag-grid-3 div>p:first-child{font-weight:900 !important}
.hag-cta-bg .hag-cta-bg-content>p[style*="1.8rem"]{font-weight:900 !important}
.hag-header-inner{padding-left:10px !important;padding-right:10px !important}
.hag-header.scrolled{background:#1a2d3d !important;box-shadow:0 2px 12px rgba(0,0,0,0.15) !important}
.hag-header.scrolled .hag-header-logo img{filter:brightness(0) invert(1) !important}
.hag-header.scrolled .hag-header-nav li a{color:#fff !important}
.hag-header.scrolled .hag-header-burger span{background:#fff !important}
.hag-header-right{display:none;align-items:center;gap:12px}
.hag-header-mobile-cta{display:none}
.hag-section:first-of-type .hag-grid-2 .hag-img-box{order:-1}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@800;900&display=swap');
.hag-cta-bg .hag-grid-3 div>p:first-child{font-family:'Poppins',sans-serif !important}
.hag-footer iframe{width:100%;height:300px;border:0}

/* TABLETTE */
@media(min-width:768px) and (max-width:1024px){
  h1{font-size:2.6rem !important}
  h2{font-size:1.8rem !important}
  h3{font-size:1.1rem !important}
  .hag-cta-bg .hag-cta-bg-content>p:first-child{font-size:1.8rem !important}
  .hag-grid-2{grid-template-columns:1fr !important;gap:30px !important}
  .hag-grid-3{grid-template-columns:repeat(2,1fr) !important;gap:20px !important}
  .hag-section{padding-top:60px !important;padding-bottom:60px !important}
  .hag-section-full{padding-top:60px !important;padding-bottom:60px !important}
  .hag-img-overlay-lg{min-height:450px !important}
  .hag-img-overlay{min-height:380px !important}
  .hag-hero{min-height:420px !important}
  .hag-hero .hag-grid-2{grid-template-columns:1fr !important}
  .hag-hero .hag-grid-2>div[style*="text-align:left"]{text-align:center !important}
  .hag-flipbox,.hag-flipbox-inner{min-height:280px !important}
  .hag-header-inner{height:80px !important}
  .hag-header-logo img{height:40px !important}
  .hag-header-nav{display:none !important;position:absolute;top:80px;left:0;right:0;background:#1a2d3d;flex-direction:column;padding:20px;gap:16px;border-bottom:2px solid #E8892F;z-index:999}
  .hag-header-nav.open{display:flex !important}
  .hag-header-nav li a{color:#fff !important}
  .hag-header-right{display:flex !important}
  .hag-header-mobile-cta{display:block !important}
  .hag-header-mobile-cta .hag-btn-sm{padding:10px 18px !important;font-size:0.85rem !important}
  .hag-header-burger{display:block !important}
  .hag-header-phone{margin-left:0 !important}
  .hag-grid-2>div:has(img){order:1 !important}
  .hag-grid-2>div:not(:has(img)){order:2 !important}
  .hag-grid-2 .hag-img-box{order:1 !important}
  .hag-grid-2 .hag-vcenter{order:2 !important}
  /* Overlay plein sur tablette pour les blocs services */
  .hag-img-overlay-lg::after{background:rgba(38,83,128,0.82) !important}
}

/* MOBILE */
@media(max-width:767px){
  h1{font-size:2rem !important}
  h2{font-size:1.7rem !important}
  h3{font-size:1.05rem !important}
  .hag-cta-bg .hag-cta-bg-content>p:first-child{font-size:1.7rem !important}
  .hag-hero .hag-grid-2{grid-template-columns:1fr !important}
  .hag-hero .hag-grid-2>div[style*="text-align:left"]{text-align:center !important}
  .hag-hero .hag-img-box{max-width:300px;margin:0 auto;order:1 !important}
  .hag-hero .hag-grid-2>div:first-child{order:2 !important}
  .hag-label{font-size:0.8rem !important;letter-spacing:1.5px !important}
  .hag-btn{padding:14px 28px !important;font-size:1rem !important}
  .hag-btn-sm{padding:12px 24px !important;font-size:0.9rem !important}
  .hag-btn-ghost{padding:14px 28px !important;font-size:1rem !important}
  .hag-grid-2,.hag-grid-3{grid-template-columns:1fr !important;gap:20px !important}
  .hag-section,.hag-section-full-inner,.hag-footer-inner,.hag-footer-bottom,.hag-cta-bg-content{padding-left:16px !important;padding-right:16px !important}
  .hag-header-inner{padding-left:10px !important;padding-right:10px !important}
  .hag-section{padding-top:40px !important;padding-bottom:40px !important}
  .hag-section-full{padding-top:40px !important;padding-bottom:40px !important}
  .hag-hero{min-height:auto !important}
  .hag-img-overlay{min-height:350px !important}
  .hag-img-overlay-lg{min-height:auto !important}
  /* OVERLAY BLEU PLEIN sur mobile — couvre tout le bloc */
  .hag-img-overlay::after{background:rgba(38,83,128,0.85) !important}
  .hag-img-overlay-lg::after{background:rgba(38,83,128,0.85) !important}
  /* Le texte overlay prend toute la carte sur mobile */
  .hag-img-overlay-lg .hag-img-overlay-text{position:relative !important;padding:24px !important}
  .hag-img-overlay-lg{display:flex;flex-direction:column}
  .hag-img-overlay-lg img{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important}
  .hag-cta-bg{padding:40px 16px !important}
  .hag-flipbox,.hag-flipbox-inner{min-height:260px !important}
  .hag-faq summary{padding:18px 20px !important;font-size:1rem !important}
  .hag-faq .hag-faq-body{padding:0 20px 18px !important}
  .hag-card{padding:20px !important}
  .hag-footer-inner{grid-template-columns:1fr !important;gap:30px !important}
  .hag-grid-2>div:has(img){order:1 !important}
  .hag-grid-2>div:not(:has(img)){order:2 !important}
  .hag-grid-2 .hag-img-box{order:1 !important}
  .hag-grid-2 .hag-vcenter{order:2 !important}
  .hag-header-inner{height:70px !important}
  .hag-header-logo img{height:35px !important}
  .hag-header-right{display:flex !important}
  .hag-header-mobile-cta{display:block !important}
  .hag-header-mobile-cta .hag-btn-sm{padding:8px 14px !important;font-size:0.8rem !important}
  .hag-header-burger{display:block !important}
  .hag-header-nav{display:none !important;position:absolute;top:70px;left:0;right:0;background:#1a2d3d;flex-direction:column;padding:20px;gap:16px;border-bottom:2px solid #E8892F;z-index:999}
  .hag-header-nav.open{display:flex !important}
  .hag-header-nav li a{color:#fff !important;font-size:1.05rem !important}
  .hag-header-nav .hag-header-phone a.hag-btn-sm{color:#fff !important}
  .hag-header-phone{margin-left:0 !important}
  .hag-cta-bg-content .hag-btn,.hag-cta-bg-content .hag-btn-ghost{display:block !important;margin:0 auto 12px !important;max-width:280px;text-align:center}
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}