:root{
  --m-jason-blue:#004b9b;
  --m-jason-blue-deep:#004b9b;
  --m-jason-blue-soft:#0084e4;
  --m-jason-gold:#a63a43;
  --m-jason-gold-dark:#84313a;
  --m-jason-cream:#f2e4e6;
  --m-jason-ink:#004b9b;
}

/* Bandeaux intérieurs : texte à gauche et formulaire réellement séparé */
body.m-jason-site .inner-hero-shell{background:#ffffff!important;overflow:visible!important}
body.m-jason-site .inner-hero-shell .inner-hero{min-height:520px!important;height:auto!important;padding:72px 0 82px!important;position:relative!important;overflow:hidden!important;background-position:center!important;background-size:cover!important}
body.m-jason-site .inner-hero-shell .inner-hero:before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(0, 75, 155, .76) 0%,rgba(0, 75, 155, .48) 43%,rgba(0, 75, 155, .10) 72%,rgba(0, 75, 155, 0) 100%)!important;z-index:1!important}
body.m-jason-site .inner-hero-shell .inner-hero:after{display:none!important}
body.m-jason-site .inner-hero-shell .inner-hero-desktop-picture,
body.m-jason-site .inner-hero-shell .inner-hero-mobile-picture{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:0!important;overflow:hidden!important}
body.m-jason-site .inner-hero-shell .inner-hero-desktop-picture img,
body.m-jason-site .inner-hero-shell .inner-hero-mobile-picture img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;animation:m-jasonHeroDrift 18s ease-in-out infinite alternate!important}
@keyframes m-jasonHeroDrift{from{transform:scale(1.02) translateX(0)}to{transform:scale(1.09) translateX(-1.5%)}}
body.m-jason-site .inner-hero-shell .inner-hero-grid{display:block!important;position:relative!important;z-index:2!important;margin:0 auto!important;padding:0 15px!important}
body.m-jason-site .inner-hero-shell .inner-hero-text{width:min(600px,54%)!important;max-width:600px!important;min-height:0!important;margin:0 auto 0 0!important;padding:32px 34px!important;border:1px solid rgba(255, 255, 255, .28)!important;border-left:5px solid var(--m-jason-gold)!important;border-top:0!important;border-radius:2px!important;background:rgba(0, 75, 155, .88)!important;box-shadow:14px 16px 0 rgba(166, 58, 67, .28),0 24px 56px rgba(0, 75, 155, .30)!important;backdrop-filter:blur(5px)!important;color:#ffffff!important}
body.m-jason-site .inner-hero-text h1{color:#ffffff!important}
body.m-jason-site .inner-hero-text p,
body.m-jason-site .inner-hero-text li{color:#ffffff!important}
body.m-jason-site .inner-hero-text .hero-badge{border-radius:0!important;background:var(--m-jason-gold)!important;color:#ffffff!important}
body.m-jason-site .inner-hero-text .hero-checks i{color:#a63a43!important}

body.m-jason-site .inner-hero-form-section{position:relative!important;z-index:3!important;background:linear-gradient(180deg,#ffffff 0%,var(--m-jason-cream) 100%)!important;padding:56px 0 70px!important;margin:0!important}
body.m-jason-site .inner-hero-form-section .container{max-width:1200px!important}
body.m-jason-site .inner-hero-form-section .hero-form-zone{width:100%!important;max-width:none!important;margin:0!important;position:relative!important}
body.m-jason-site .inner-hero-form-section .modern-form-card{width:100%!important;max-width:none!important;margin:0!important;padding:38px 42px!important;border:1px solid #0084e4!important;border-radius:2px!important;background:#ffffff!important;box-shadow:12px 14px 0 rgba(166, 58, 67, .18),0 24px 55px rgba(0, 75, 155, .13)!important;overflow:visible!important}
body.m-jason-site .modern-form-card .row{display:flex!important;flex-wrap:wrap!important;margin-left:-10px!important;margin-right:-10px!important}
body.m-jason-site .modern-form-card [class*="col-"]{padding-left:10px!important;padding-right:10px!important}
body.m-jason-site .modern-form-card .form-control{border-radius:0!important;min-height:52px!important;border:1px solid #0084e4!important;box-shadow:inset 0 2px 0 rgba(0, 75, 155, .04)!important}
body.m-jason-site .modern-form-card textarea.form-control{min-height:124px!important}
body.m-jason-site .modern-form-card .captcha-col{min-height:82px!important;overflow:visible!important;display:flex!important;align-items:center!important}
body.m-jason-site .modern-form-card .g-recaptcha{width:304px!important;max-width:100%!important;height:78px!important;overflow:visible!important;transform:none!important}
body.m-jason-site .modern-form-card #js-contact-btn{width:100%!important;min-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1.2!important;margin:10px 0 0!important}

/* Tous les boutons : carrés avec relief 3D */
body.m-jason-site a.theme-btn-m-jason,
body.m-jason-site a.theme-btn-dark,
body.m-jason-site a.gallery-cta,
body.m-jason-site a.footer-quote-final,
body.m-jason-site .devis-nav>a,
body.m-jason-site .site-header-redesign nav>ul>li.active>a,
body.m-jason-site button.cs-btn-one,
body.m-jason-site .btn-gradient-color,
body.m-jason-site .feature-card>a,
body.m-jason-site .city-buttons a{
  border-radius:0!important;
  background:linear-gradient(180deg,#004b9b 0%,var(--m-jason-blue) 100%)!important;
  color:#ffffff!important;
  border:1px solid #004b9b!important;
  box-shadow:0 6px 0 var(--m-jason-blue-deep),0 11px 20px rgba(0, 75, 155, .22)!important;
  transform:translateY(0)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
body.m-jason-site a.theme-btn-m-jason:hover,
body.m-jason-site a.theme-btn-dark:hover,
body.m-jason-site a.gallery-cta:hover,
body.m-jason-site a.footer-quote-final:hover,
body.m-jason-site .devis-nav>a:hover,
body.m-jason-site .site-header-redesign nav>ul>li.active>a:hover,
body.m-jason-site button.cs-btn-one:hover,
body.m-jason-site .btn-gradient-color:hover,
body.m-jason-site .feature-card>a:hover,
body.m-jason-site .city-buttons a:hover{
  transform:translateY(3px)!important;
  box-shadow:0 3px 0 var(--m-jason-blue-deep),0 7px 14px rgba(0, 75, 155, .20)!important;
  filter:brightness(1.06)!important;
}
body.m-jason-site .site-header-redesign nav>ul>li.active>a,
body.m-jason-site .site-header-redesign nav>ul>li>a[href="nos-realisations.html"]{
  background:linear-gradient(180deg,#a63a43 0%,var(--m-jason-gold) 100%)!important;
  border-color:var(--m-jason-gold-dark)!important;
  box-shadow:0 5px 0 var(--m-jason-gold-dark),0 9px 16px rgba(132, 49, 58, .20)!important;
  padding-left:18px!important;padding-right:18px!important
}

/* Galerie : uniquement une icône d’ouverture */
body.m-jason-site .creative-gallery-item span{font-size:0!important;width:46px!important;height:46px!important;left:auto!important;right:14px!important;bottom:14px!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(0, 75, 155, .92)!important;border:1px solid rgba(255, 255, 255, .60)!important;box-shadow:5px 5px 0 rgba(166, 58, 67, .72)!important}
body.m-jason-site .creative-gallery-item span i{font-size:18px!important;color:#ffffff!important;margin:0!important}
body.m-jason-site .creative-gallery-item span:empty:before{content:"\f00e";font-family:FontAwesome;font-size:18px;color:#ffffff}

/* Cartes, footer et anciennes ombres rouges */
body.m-jason-site .bottom-partner-card,
body.m-jason-site .intervention-card{background:#ffffff!important;color:var(--m-jason-ink)!important;border:1px solid #0084e4!important;box-shadow:10px 12px 0 rgba(166, 58, 67, .16),0 22px 42px rgba(0, 75, 155, .12)!important}
body.m-jason-site .bottom-partner-card h3,
body.m-jason-site .intervention-card h3{color:var(--m-jason-gold-dark)!important}
body.m-jason-site .bottom-partner-card p,
body.m-jason-site .intervention-card p,
body.m-jason-site .bottom-partner-card li,
body.m-jason-site .intervention-card li{color:var(--m-jason-ink)!important}
body.m-jason-site .footer-mj-final h3,
body.m-jason-site .footer-mj-final .footer-panel h3{color:#a63a43!important}
body.m-jason-site .footer-mj-final{--mj-red:var(--m-jason-gold)!important;--mj-red-dark:var(--m-jason-gold-dark)!important}
body.m-jason-site .feature-card,
body.m-jason-site .service-slide-card,
body.m-jason-site .testimonial-m-jason-card{box-shadow:0 18px 38px rgba(0, 75, 155, .16)!important}
body.m-jason-site .feature-card:before,
body.m-jason-site .section-title-m-jason>span{background:rgba(166, 58, 67, .16)!important;color:var(--m-jason-gold-dark)!important}

@media(max-width:991px){
 body.m-jason-site .inner-hero-shell .inner-hero{min-height:470px!important;padding:56px 0 64px!important}
 body.m-jason-site .inner-hero-shell .inner-hero-text{width:min(680px,88%)!important;max-width:680px!important;margin-left:0!important;padding:27px!important}
 body.m-jason-site .inner-hero-form-section{padding:42px 0 56px!important}
 body.m-jason-site .inner-hero-form-section .modern-form-card{padding:28px!important}
 body.m-jason-site .modern-form-card .captcha-col{justify-content:flex-start!important}
}
@media(max-width:575px){
 body.m-jason-site .inner-hero-shell .inner-hero{min-height:510px!important;padding:42px 0!important}
 body.m-jason-site .inner-hero-shell .inner-hero-text{width:calc(100% - 20px)!important;margin:0 10px!important;padding:22px!important;box-shadow:8px 9px 0 rgba(166, 58, 67, .24),0 18px 35px rgba(0, 75, 155, .28)!important}
 body.m-jason-site .inner-hero-form-section .modern-form-card{padding:21px 18px!important}
 body.m-jason-site .modern-form-card .g-recaptcha{transform:scale(.88)!important;transform-origin:left top!important;margin-bottom:-8px!important}
 body.m-jason-site .modern-form-card .captcha-col{min-height:72px!important}
}

/* Correctifs finaux réellement ciblés sur les classes présentes dans le HTML */
body.m-jason-site .inner-hero-shell{display:block!important}
body.m-jason-site .inner-hero-shell .inner-hero-grid{max-width:1180px!important}
body.m-jason-site .inner-hero-shell .inner-hero-text{
  width:500px!important;
  max-width:46%!important;
  margin-left:0!important;
  margin-right:auto!important;
  transform:none!important;
}
body.m-jason-site .inner-hero-form-section{clear:both!important;display:block!important}
body.m-jason-site .inner-hero-form-section .container{max-width:1240px!important}
body.m-jason-site .inner-hero-form-section .modern-form-card{
  display:block!important;
  transform:none!important;
  width:100%!important;
  min-height:auto!important;
}
body.m-jason-site .inner-hero-form-section .modern-form-card form{width:100%!important}
body.m-jason-site .modern-form-card .form-group{margin-bottom:20px!important}
body.m-jason-site .modern-form-card .captcha-col{overflow:visible!important;min-height:82px!important}
body.m-jason-site .modern-form-card #js-contact-btn{
  height:58px!important;
  padding:0 24px!important;
  font-size:16px!important;
  font-weight:800!important;
  white-space:normal!important;
}

/* Tous les CTA et boutons principaux sont carrés et en relief */
body.m-jason-site a[class*="btn"],
body.m-jason-site button,
body.m-jason-site .main-menu a,
body.m-jason-site .theme-btn-m-jason,
body.m-jason-site .theme-btn-dark,
body.m-jason-site .gallery-cta,
body.m-jason-site .read-more-red,
body.m-jason-site .feature-card>a,
body.m-jason-site .city-buttons a{
  border-radius:0!important;
}
body.m-jason-site .main-menu.modern-nav nav>ul>li>a[href="nos-realisations.html"]{
  background:linear-gradient(180deg,#a63a43 0%,#a63a43 100%)!important;
  color:#ffffff!important;
  border:1px solid #4d4f4e!important;
  box-shadow:0 5px 0 #4d4f4e,0 10px 18px rgba(132, 49, 58, .24)!important;
  transform:translateY(0)!important;
}
body.m-jason-site .main-menu.modern-nav nav>ul>li>a[href="nos-realisations.html"]:hover{
  transform:translateY(3px)!important;
  box-shadow:0 2px 0 #4d4f4e,0 6px 12px rgba(132, 49, 58, .20)!important;
}

/* Galerie : pictogramme seul, sans texte */
body.m-jason-site .creative-gallery-item>span{
  font-size:0!important;
  line-height:1!important;
  overflow:hidden!important;
}
body.m-jason-site .creative-gallery-item>span i{display:block!important;font-size:19px!important}

/* Bloc devis et textes du footer lisibles */
body.m-jason-site .bottom-partner-card,
body.m-jason-site .intervention-card{background:#ffffff!important}
body.m-jason-site .bottom-partner-card h3,
body.m-jason-site .intervention-card h3{color:#a63a43!important}
body.m-jason-site .bottom-partner-card p,
body.m-jason-site .bottom-partner-card li,
body.m-jason-site .intervention-card p,
body.m-jason-site .intervention-card li{color:#004b9b!important}
body.m-jason-site .footer-mj-final h3,
body.m-jason-site .footer-mj-final .footer-panel h3,
body.m-jason-site .footer-mj-final .footer-brand-card h3{color:#a63a43!important}

/* Neutralisation explicite des anciennes touches rouges */
body.m-jason-site{--mj-red:#a63a43!important;--mj-red-dark:#4d4f4e!important;--mj-black:#004b9b!important;--mj-soft:#0084e4!important;--mj-border:rgba(166, 58, 67, .25)!important}
body.m-jason-site .seo-impact-strip{background:radial-gradient(circle at 14% 20%,rgba(166, 58, 67, .22),transparent 31%),linear-gradient(135deg,#004b9b,#004b9b 58%,#004b9b)!important}
body.m-jason-site .home-photo-seo{background:radial-gradient(circle at 10% 10%,rgba(166, 58, 67, .10),transparent 28%),#ffffff!important}
body.m-jason-site .work-process-wow{background:radial-gradient(circle at 90% 20%,rgba(166, 58, 67, .11),transparent 32%),#0084e4!important}
body.m-jason-site .modern-form-card .form-control:focus{border-color:#a63a43!important;box-shadow:0 0 0 3px rgba(166, 58, 67, .14)!important}
body.m-jason-site .feature-card,
body.m-jason-site .service-slide-card,
body.m-jason-site .testimonial-m-jason-card{box-shadow:0 18px 38px rgba(0, 75, 155, .17)!important}

@media(max-width:991px){
 body.m-jason-site .inner-hero-shell .inner-hero-text{width:620px!important;max-width:88%!important}
}
@media(max-width:575px){
 body.m-jason-site .inner-hero-shell .inner-hero-text{width:calc(100% - 20px)!important;max-width:none!important}
 body.m-jason-site .modern-form-card .g-recaptcha{transform:scale(.82)!important;transform-origin:left top!important}
}
