
/* ===== Correctifs demandés 15 juillet 2026 — chargés en dernier ===== */
:root{--mj-red:#145296;--mj-red-dark:#4d4f4e}

/* Etat actif : uniquement le LI réellement actif/current */
body.m-jason-site .main-menu.modern-nav nav>ul>li.current-menu-item>a,
body.m-jason-site .main-menu.modern-nav nav>ul>li.active>a{
  background:linear-gradient(135deg,var(--mj-red),#a63a43)!important;
  color:#ffffff!important;
  border-radius:19px!important;
  box-shadow:0 13px 30px rgba(0, 75, 155, .16)!important;
}
/* Réalisations n'est pas forcé actif hors de sa page */
body.m-jason-site .main-menu.modern-nav nav>ul>li:not(.active):not(.current-menu-item)>a[href="nos-realisations.html"]{
  background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;transform:none!important;
}
body.m-jason-site .main-menu.modern-nav nav>ul>li.active>a[href="nos-realisations.html"],
body.m-jason-site .main-menu.modern-nav nav>ul>li.current-menu-item>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;
}

.m-jason-site .google-review-gif{width:82px!important;height:42px!important;min-width:42px!important;max-width:none!important;object-fit:contain!important;object-position:center!important;border-radius:0!important;margin:0!important;display:block!important}
.m-jason-site .top-pill{background:#ffffff!important;border:2px solid rgb(166, 58, 67)!important;box-shadow:0 12px 28px rgba(166, 58, 67, .69)!important}
.m-jason-site .top-pill span{display:inline-block!important;padding-left:2px!important;color:#004b9b!important}
.header-info-fixed,.header-info{background:#ffffff!important;border:2px solid rgb(166, 58, 67)!important;box-shadow:0 12px 28px rgba(166, 58, 67, .69)!important}
.header-info{display:flex;gap:12px;align-items:center;border-radius:999px;padding:9px 18px}

.text-panel-red ul.icon-list li,.seo-rich-panel ul.icon-list li,.bottom-partner-card ul.icon-list li,.legal-card ul.icon-list li{
  background:rgb(242, 228, 230)!important;border-left:3px solid var(--mj-red)!important;border-radius:12px!important;padding:10px 12px 10px 42px!important;
}
body.m-jason-site .feature-card::before{content:"77"!important;position:absolute!important;right:18px!important;top:4px!important;font-size:110px!important;font-weight:900!important;color:rgb(242, 228, 230)!important;line-height:1!important;background:none!important;opacity:.42!important}
.m-jason-site .seo-impact-head span{display:inline-flex;background:#ffffff!important;color:#004b9b!important;border-radius:999px;padding:8px 16px;text-transform:uppercase;font-weight:900;letter-spacing:.5px}
.m-jason-site .seo-impact-head h2{color:#f2e4e6!important}.m-jason-site .seo-impact-head p{color:#ffffff!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:#f2e4e6!important}
body.m-jason-site .work-process-wow{background:radial-gradient(circle at 90% 20%,rgba(166, 58, 67, .11),transparent 32%),#004b9b!important}
.header-style-two .header-wrapper .header-navigation-area .main-menu ul li ul.sub-menu li a{color:#ffffff!important;background:#004b9b!important;padding:12px 18px!important;font-weight:800!important;line-height:1.35!important;text-decoration:none!important;white-space:normal!important}
body.m-jason-site .theme-btn-m-jason,body.m-jason-site .btn-gradient-color,body.m-jason-site .devis-nav>a{background:linear-gradient(135deg,var(--mj-red),#145296)!important}

/* Formulaire remis dans chaque background */
body.m-jason-site .inner-hero-shell.hero-with-form .inner-hero{min-height:760px!important;padding:72px 0!important;display:flex!important;align-items:center!important}
body.m-jason-site .inner-hero-shell.hero-with-form .inner-hero-grid{display:grid!important;grid-template-columns:minmax(0,.86fr) minmax(520px,1.14fr)!important;gap:56px!important;align-items:center!important;max-width:1320px!important;padding:0 26px!important}
body.m-jason-site .inner-hero-shell.hero-with-form .inner-hero-text{width:100%!important;max-width:520px!important;margin:0!important;padding:30px 32px!important}
body.m-jason-site .inner-hero-shell.hero-with-form .hero-form-zone{position:relative!important;z-index:4!important;width:100%!important;max-width:690px!important;margin:0 0 0 auto!important;transform:none!important}
body.m-jason-site .inner-hero-shell.hero-with-form .modern-form-card{width:100%!important;max-width:none!important;padding:28px 32px!important;background:rgba(255, 255, 255, .97)!important;border-radius:20px!important;box-shadow:0 28px 75px rgba(0, 75, 155, .36)!important;overflow:visible!important;transform:none!important}
body.m-jason-site .modern-form-card #js-contact-btn{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1.2!important;padding:0 18px!important;min-height:58px!important}
/* Backgrounds plus dynamiques */
body.m-jason-site .inner-hero-desktop-picture img,body.m-jason-site .inner-hero-mobile-picture img{animation:m-jasonHeroDriftFast 8s ease-in-out infinite alternate!important}
@keyframes m-jasonHeroDriftFast{from{transform:scale(1.03) translate3d(0,0,0)}to{transform:scale(1.12) translate3d(-2%,1%,0)}}

/* Mobile menu visible et fonctionnel avant/après scroll */
.mj-mobile-toggle{border:0;background:linear-gradient(135deg,var(--mj-red),#a63a43)!important;width:52px;height:46px;border-radius:14px;box-shadow:0 14px 28px rgba(0, 75, 155, .18);align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;cursor:pointer}
@media(max-width:991px){
  body.m-jason-site .top-call-group{display:flex!important;flex-wrap:wrap!important}
  body.m-jason-site .mj-mobile-toggle{display:flex!important}
  body.m-jason-site .mj-mobile-panel{display:block!important;position:fixed!important;top:var(--mj-mobile-panel-top,86px)!important;left:12px!important;right:12px!important;z-index:99999!important;opacity:0!important;visibility:hidden!important;transform:translateY(-10px)!important;background:#004b9b!important;border:2px solid #145296!important;max-height:calc(100dvh - var(--mj-mobile-panel-top,86px) - 14px)!important;overflow:auto!important}
  body.m-jason-site .mj-mobile-panel.is-open{opacity:1!important;visibility:visible!important;transform:translateY(0)!important}
  body.m-jason-site .inner-hero-shell.hero-with-form .inner-hero{min-height:auto!important;padding:54px 0 66px!important}
  body.m-jason-site .inner-hero-shell.hero-with-form .inner-hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:28px!important;padding:0 18px!important}
  body.m-jason-site .inner-hero-shell.hero-with-form .inner-hero-text{max-width:620px!important;width:100%!important;margin:0!important}
  body.m-jason-site .inner-hero-shell.hero-with-form .hero-form-zone{max-width:760px!important;margin:0!important}
  body.m-jason-site .inner-hero-shell.hero-with-form .modern-form-card{padding:25px!important}
}
@media(max-width:575px){
 body.m-jason-site .top-call-group{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
 body.m-jason-site .inner-hero-shell.hero-with-form .modern-form-card{padding:20px 16px!important;border-radius:14px!important}
 body.m-jason-site .modern-form-card .g-recaptcha{transform:scale(.82)!important;transform-origin:left top!important}
}
