/*
 * design-upgrade.css — M3llem Express · Design Vert Confiance v4.0
 * Benchmark: Angi, TaskRabbit, HomeAdvisor 2025-2026
 * Palette navy + vert #1A9E74
 */

/* ================================================================
   TOKENS
   ================================================================ */
:root {
  --g:      #1A9E74;
  --gd:     #0D6E50;
  --gm:     #22B882;
  --gl:     #E6F7F1;
  --g10:    rgba(26,158,116,.10);
  --g20:    rgba(26,158,116,.20);
  --g35:    rgba(26,158,116,.35);
  --n:      #080E1A;
  --n2:     #111827;
  --n3:     #1E2A3B;
  --t1:     #0F172A;
  --t2:     #374151;
  --t3:     #6B7280;
  --t4:     #9CA3AF;
  --b1:     #E5E7EB;
  --b2:     #F3F4F6;
  --b3:     #F9FAFB;
  --w:      #FFFFFF;
  --wa:     #25D366;
  --red:    #EF4444;
  --sh1:    0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  --sh2:    0 4px 16px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.04);
  --sh3:    0 12px 40px rgba(0,0,0,.12),0 4px 12px rgba(0,0,0,.06);
  --sh4:    0 24px 64px rgba(0,0,0,.16),0 8px 24px rgba(0,0,0,.08);
  --shg:    0 0 0 1px rgba(26,158,116,.2),0 8px 32px rgba(26,158,116,.15);
  --r:      12px;
  --ease:   .22s cubic-bezier(.16,1,.3,1);
  /* compat */
  --g-dk:   #0D6E50;
  --g-dark: #0D3D30;
  --g-lt:   #E6F7F1;
  --g-mid:  #22B882;
  --white:  #FFFFFF;
  --off:    #F9FAFB;
  --text:   #0F172A;
  --muted:  #6B7280;
  --border: #E5E7EB;
  --sh-sm:  0 1px 4px rgba(0,0,0,.08);
  --sh-md:  0 4px 20px rgba(0,0,0,.10);
  --sh-lg:  0 10px 40px rgba(0,0,0,.14);
  --sh-g:   0 6px 28px rgba(26,158,116,.32);
}

/* ================================================================
   BASE + KADENCE OVERRIDES
   ================================================================ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

/* LAYOUT */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media(max-width:768px) { .wrap { padding: 0 18px; } }
#page-homepage { overflow-x: hidden; }
/* Neutralise le .wrap de Kadence (#inner-wrap) pour ne pas contraindre nos sections full-width */
#inner-wrap.wrap,
#inner-wrap { max-width: none !important; padding: 0 !important; margin: 0 !important; width: 100% !important; min-height: 0 !important; }

/* Cacher l'ancien bouton WP WhatsApp Chat plugin (on a notre propre .wafab) */
#qlwapp,
.qlwapp-box,
.qlwapp-button { display: none !important; visibility: hidden !important; }

/* ── NAV : Urgence en rouge alerte ── */
#masthead a[href*="urgence"],
.primary-menu li a[href*="urgence"],
.header-navigation a[href*="urgence"],
.m3llem-urgence-nav {
  color: var(--red) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
#masthead a[href*="urgence"]::before,
.primary-menu li a[href*="urgence"]::before,
.m3llem-urgence-nav::before {
  content: '';
  display: inline-flex !important;
  flex-shrink: 0 !important;
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

/* ── NAV : Devis CTA — pill vert animé (style WhatsApp) ── */
#masthead a[href*="devis"]:not(.m3llem-topbar-item):not(.footer a),
.primary-menu li a[href*="devis"],
.header-navigation a[href*="devis"],
.m3llem-devis-nav {
  background: var(--g) !important;
  color: var(--w) !important;
  padding: 9px 20px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 16px rgba(26,158,116,.5) !important;
  animation: pulse-devis 2.5s ease-in-out infinite !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: none !important;
  transition: background .2s, box-shadow .2s, transform .15s !important;
}
#masthead a[href*="devis"]:not(.m3llem-topbar-item):hover,
.primary-menu li a[href*="devis"]:hover,
.m3llem-devis-nav:hover {
  background: var(--gd) !important;
  box-shadow: 0 6px 28px rgba(26,158,116,.7) !important;
  transform: translateY(-1px) !important;
  color: var(--w) !important;
}
@keyframes pulse-devis {
  0%,100% { box-shadow: 0 2px 16px rgba(26,158,116,.5); }
  50%      { box-shadow: 0 4px 28px rgba(26,158,116,.8), 0 0 0 4px rgba(26,158,116,.15); }
}

/* ── Pages internes : mise en page propre ── */
body:not(.home) .entry-content,
body:not(.home) .entry-content-wrap,
body:not(.home) article.page {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 48px 28px !important;
  text-align: left !important;
}
/* H1 des pages internes : taille réduite vs hero */
body:not(.home) .entry-content > h1,
body:not(.home) .entry-content-wrap > h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  letter-spacing: -.035em !important;
  line-height: 1.2 !important;
}
/* Titre H1 de page seul centré */
body:not(.home) .entry-content > h1:first-child,
body:not(.home) .entry-content-wrap > h1:first-child {
  text-align: center !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 12px !important;
}
/* Paragraphe d'intro juste après le H1 — centré et limité en largeur */
body:not(.home) .entry-content > h1:first-child + p,
body:not(.home) .entry-content-wrap > h1:first-child + p {
  text-align: center !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 40px !important;
  color: var(--t3) !important;
}
/* Tout le reste : left-aligned, lecture naturelle */
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3,
body:not(.home) .entry-content h4,
body:not(.home) .entry-content p,
body:not(.home) .entry-content ul,
body:not(.home) .entry-content ol,
body:not(.home) .entry-content li,
body:not(.home) .entry-content .wp-block-paragraph,
body:not(.home) .entry-content .wp-block-heading {
  text-align: left !important;
  max-width: none !important;
}
/* Reset centrage Gutenberg dans les grilles/cartes */
body:not(.home) .entry-content .wp-block-columns *,
body:not(.home) .entry-content .wp-block-group *,
body:not(.home) .entry-content .kb-row-layout-wrap *,
body:not(.home) .entry-content .kb-blocks-info-box-wrap *,
body:not(.home) .entry-content [class*="scard"] *,
body:not(.home) .entry-content [class*="grid"] * {
  text-align: left !important;
}
/* Sections titre de section (h2 de section dans le contenu) */
body:not(.home) .entry-content .section-title,
body:not(.home) .entry-content .wp-block-heading.has-text-align-center {
  text-align: center !important;
}
@media(max-width:768px){
  body:not(.home) .entry-content,
  body:not(.home) .entry-content-wrap { padding: 28px 18px !important; }
}

body {
  font-family: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: var(--t1) !important;
  background: var(--w) !important;
  -webkit-font-smoothing: antialiased !important;
}
body,input,select,textarea { font-family: 'Inter',-apple-system,sans-serif !important; }
.content-bg, body.content-style-unboxed .site, .site { background: var(--w) !important; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Inter',sans-serif !important;
  color: var(--t1) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -.04em !important;
}
h1 { font-size: clamp(2.8rem,6vw,4.5rem) !important; letter-spacing: -.05em !important; }
h2 { font-size: clamp(1.8rem,4vw,2.6rem) !important; }
h3 { font-size: 1.375rem !important; }
h4 { font-size: 1.125rem !important; }
p  { margin-bottom: 1.25rem; }

a { color: var(--gd); transition: color var(--ease); }
a:hover { color: var(--g); }

.content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.entry-content-wrap { padding: 0 !important; }
.single-entry { box-shadow: none !important; }

/* ================================================================
   HEADER
   ================================================================ */
#masthead,
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container):not(.site-main-header-wrap),
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--b1) !important;
  box-shadow: none !important;
  transition: box-shadow var(--ease) !important;
}
.scrolled #masthead, body.admin-bar #masthead { box-shadow: var(--sh2) !important; }

.site-branding .site-title,
.site-branding .site-title a {
  font-family: 'Inter',sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.375rem !important;
  color: var(--t1) !important;
  letter-spacing: -.04em !important;
  text-decoration: none !important;
}

.main-navigation .primary-menu-container > ul > li > a {
  font-weight: 500 !important;
  font-size: .9375rem !important;
  color: var(--t2) !important;
  border-radius: 8px !important;
  transition: all var(--ease) !important;
}
.main-navigation .primary-menu-container > ul > li > a:hover {
  color: var(--t1) !important;
  background: var(--b2) !important;
}
.main-navigation .primary-menu-container > ul > li.current-menu-item > a {
  color: var(--t1) !important;
  font-weight: 700 !important;
}

/* Dropdown */
.header-navigation .header-menu-container ul ul.sub-menu {
  background: var(--w) !important;
  border: 1px solid var(--b1) !important;
  border-radius: var(--r) !important;
  box-shadow: var(--sh3) !important;
}
.header-navigation .header-menu-container ul ul li.menu-item { border-bottom: 1px solid var(--b2) !important; }
.header-navigation .header-menu-container ul ul li.menu-item > a { color: var(--t2) !important; font-size: .875rem !important; }
.header-navigation .header-menu-container ul ul li.menu-item > a:hover { color: var(--gd) !important; background: var(--gl) !important; }

/* Nav CTA legacy — neutralisé, géré par le sélecteur [href*="devis"] ci-dessus */

/* Mobile nav */
.mobile-navigation, #mobile-drawer { background: var(--n) !important; }
.mobile-navigation ul li > a,
.mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
  color: rgba(255,255,255,.85) !important;
  border-bottom-color: rgba(255,255,255,.1) !important;
}
.mobile-navigation ul li.current-menu-item > a { color: var(--gm) !important; }

/* ================================================================
   LAYOUT SECTIONS
   ================================================================ */
.m3llem-section { padding: 96px 0; }
.m3llem-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.m3llem-container-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

.m3llem-section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gd);
  background: var(--gl); padding: 5px 14px;
  border-radius: 9999px; margin-bottom: 16px;
  border: 1px solid rgba(26,158,116,.15);
}
.m3llem-section-label.light { color: rgba(255,255,255,.9); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.m3llem-section-title { font-size: clamp(1.8rem,4vw,2.6rem) !important; font-weight: 800 !important; color: var(--t1) !important; margin-bottom: 16px !important; letter-spacing: -.04em !important; }
.m3llem-section-title.light { color: var(--w) !important; }
.m3llem-section-sub { font-size: 1.0625rem; color: var(--t3); margin-bottom: 48px; max-width: 640px; line-height: 1.7; }
.m3llem-green { color: var(--g) !important; }
.m3llem-accent { color: var(--gm); }

/* Section backgrounds */
.m3llem-section-white  { background: var(--w); }
.m3llem-section-light  { background: var(--b3); }
.m3llem-section-dark   { background: var(--n); }
.m3llem-section-green  { background: linear-gradient(135deg, var(--n) 0%, var(--n3) 100%); }
.m3llem-section-cta    { background: linear-gradient(135deg, var(--n) 0%, var(--n3) 60%, var(--n2) 100%); }

.m3llem-section-dark  h1, .m3llem-section-dark  h2, .m3llem-section-dark  h3,
.m3llem-section-dark  .m3llem-section-title,
.m3llem-section-green .m3llem-section-title,
.m3llem-section-cta   .m3llem-section-title { color: var(--w) !important; }
.m3llem-section-dark  p, .m3llem-section-green p { color: rgba(255,255,255,.4) !important; }

/* ================================================================
   HERO — dark navy + grid + deux colonnes
   ================================================================ */
.m3llem-hero-cover .wp-block-cover__inner-container { width: 100% !important; padding: 0 !important; }

/* Force dark navy sur le hero cover block */
.m3llem-hero-cover .wp-block-cover,
.m3llem-hero-cover { background-color: var(--n) !important; }

.m3llem-hero-cover .wp-block-cover::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,158,116,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26,158,116,.07) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) !important;
  background-size: auto, auto, 40px 40px, 40px 40px !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.m3llem-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 28px 80px;
  position: relative;
  z-index: 1;
}

.m3llem-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,158,116,.12);
  border: 1px solid rgba(26,158,116,.25);
  color: var(--gm);
  font-size: .8125rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 28px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.m3llem-hero-badge-dot { width: 6px; height: 6px; background: var(--g); border-radius: 50%; animation: hblink 2s ease-in-out infinite; }
@keyframes hblink { 0%,100%{opacity:1}50%{opacity:.3} }

.m3llem-hero-title {
  font-size: clamp(2.8rem,6vw,4.5rem) !important;
  font-weight: 900 !important;
  color: var(--w) !important;
  line-height: 1.05 !important;
  letter-spacing: -.05em !important;
  margin-bottom: 22px !important;
}
.m3llem-hero-title em,
.m3llem-hero-title .accent { font-style: normal; color: var(--g) !important; }

.m3llem-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}
.m3llem-hero-subtitle strong { color: rgba(255,255,255,.75); font-weight: 600; }

.m3llem-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

/* Trust strip sous hero */
.m3llem-hero-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.m3llem-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65); font-size: .875rem; font-weight: 600;
  padding: 7px 14px; border-radius: 9999px;
}

/* Stats hero */
.m3llem-hero-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 32px; gap: 8px; margin-top: 12px;
}
.m3llem-hero-stat-num { font-size: 2.25rem; font-weight: 900; color: var(--g); letter-spacing: -.05em; line-height: 1; display: block; }
.m3llem-hero-stat-label { font-size: 10px; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .1em; margin-top: 5px; display: block; }

/* Boutons hero */
.m3llem-btn-hero-primary {
  background: var(--g); color: var(--w) !important;
  padding: 0 32px; height: 56px; border-radius: 14px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 4px 20px var(--g35); transition: all var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.m3llem-btn-hero-primary:hover { background: var(--gd); color: var(--w) !important; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,158,116,.45); }

.m3llem-btn-hero-wa {
  background: var(--wa); color: var(--w) !important;
  padding: 0 28px; height: 56px; border-radius: 14px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: all var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.m3llem-btn-hero-wa:hover { background: #1da851; color: var(--w) !important; transform: translateY(-2px); }

.m3llem-btn-hero-tel {
  background: rgba(255,255,255,.08); color: var(--w) !important;
  padding: 0 24px; height: 56px; border-radius: 14px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.2); transition: all var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.m3llem-btn-hero-tel:hover { background: rgba(255,255,255,.15); color: var(--w) !important; }

/* ================================================================
   TRUST STRIP (barre après hero)
   ================================================================ */
.m3llem-trust-strip { background: var(--b3); border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1); padding: 18px 0; }
.m3llem-trust-strip-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.m3llem-trust-strip-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 28px; border-right: 1px solid var(--b1);
  font-size: 13.5px; font-weight: 600; color: var(--t1);
}
.m3llem-trust-strip-item:last-child { border-right: none; }
.m3llem-trust-strip-item svg { width: 17px; height: 17px; color: var(--g); flex-shrink: 0; }

/* ================================================================
   SERVICES GRID
   ================================================================ */
.m3llem-section-services { background: var(--w); padding: 96px 0; }
.m3llem-section-services .m3llem-section-title { text-align: center; }
.m3llem-section-services .m3llem-section-label { display: block; text-align: center; margin: 0 auto 16px; width: fit-content; }
.m3llem-section-services .m3llem-section-sub { text-align: center; margin: 0 auto 48px; }

.m3llem-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.m3llem-service-card {
  position: relative;
  background: var(--w); border: 1.5px solid var(--b1);
  border-radius: 24px; padding: 28px;
  text-decoration: none !important; color: var(--t1) !important;
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--ease); overflow: hidden;
}
.m3llem-service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gl) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--ease); pointer-events: none;
}
.m3llem-service-card:hover {
  border-color: rgba(26,158,116,.4);
  box-shadow: var(--shg); transform: translateY(-4px);
  color: var(--t1) !important;
}
.m3llem-service-card:hover::after { opacity: 1; }

.m3llem-service-icon {
  width: 50px; height: 50px; background: var(--gl);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  transition: all var(--ease); position: relative; z-index: 1;
  font-size: 1.5rem;
}
.m3llem-service-card:hover .m3llem-service-icon { background: var(--g); }

.m3llem-service-card h3 {
  font-size: 1.0625rem !important; font-weight: 700 !important;
  color: var(--t1) !important; margin: 0 !important;
  position: relative; z-index: 1;
}
.m3llem-service-card p {
  font-size: .875rem; color: var(--t3); margin: 0; line-height: 1.65;
  position: relative; z-index: 1;
}
.m3llem-service-link {
  font-size: .875rem; font-weight: 700; color: var(--g);
  position: relative; z-index: 1; display: flex; align-items: center; gap: 4px;
  margin-top: auto;
}
.m3llem-service-tag {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 700; color: var(--gd);
  background: var(--b2); border: 1px solid var(--b1);
  padding: 4px 12px; border-radius: 9999px;
  width: fit-content; margin-top: auto; position: relative; z-index: 1;
  transition: all var(--ease);
}
.m3llem-service-card:hover .m3llem-service-tag { background: var(--gl); border-color: rgba(26,158,116,.25); }
.m3llem-service-tag.urgence { background: #FEF2F2; color: var(--red); border-color: rgba(239,68,68,.2); }
.m3llem-services-cta { text-align: center; margin-top: 40px; }

/* ================================================================
   BOUTONS GLOBAUX
   ================================================================ */
.m3llem-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g); color: var(--w) !important;
  padding: 0 30px; height: 52px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 2px 12px var(--g35); transition: all var(--ease);
}
.m3llem-btn-primary:hover { background: var(--gd); color: var(--w) !important; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,158,116,.4); }

.m3llem-btn-outline {
  display: inline-flex; align-items: center;
  background: var(--gl); color: var(--gd) !important;
  padding: 0 24px; height: 48px; border-radius: 12px;
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  border: 1.5px solid rgba(26,158,116,.2); transition: all var(--ease);
}
.m3llem-btn-outline:hover { background: rgba(26,158,116,.15); color: var(--gd) !important; border-color: var(--g); }

.m3llem-btn-outline-green {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--gd) !important;
  padding: 0 24px; height: 48px; border-radius: 12px;
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  border: 2px solid var(--g); transition: all var(--ease);
}
.m3llem-btn-outline-green:hover { background: var(--gl); color: var(--gd) !important; }

.m3llem-btn-urgence {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--w) !important;
  padding: 0 28px; height: 48px; border-radius: 12px;
  font-weight: 700; font-size: .9375rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(239,68,68,.4); transition: all var(--ease);
}
.m3llem-btn-urgence:hover { background: #DC2626; color: var(--w) !important; transform: translateY(-2px); }

.m3llem-btn-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--w); color: var(--n) !important;
  padding: 0 32px; height: 56px; border-radius: 14px;
  font-weight: 800; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 6px 32px rgba(0,0,0,.2); transition: all var(--ease);
}
.m3llem-btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.28); color: var(--n) !important; }

.m3llem-btn-cta-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: var(--w) !important;
  padding: 0 30px; height: 56px; border-radius: 14px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: all var(--ease);
}
.m3llem-btn-cta-wa:hover { background: #1da851; color: var(--w) !important; transform: translateY(-2px); }

.m3llem-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 24px; }

/* ================================================================
   SECTION PROBLÈME
   ================================================================ */
.m3llem-section-dark .m3llem-section-label { color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.m3llem-problems-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 40px 0; }
.m3llem-problem-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 20px; color: rgba(255,255,255,.8);
  font-size: .9375rem; line-height: 1.55;
}
.m3llem-problem-x { color: var(--red); font-weight: 900; font-size: 1.25rem; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.m3llem-solution-banner {
  background: linear-gradient(90deg, rgba(26,158,116,.25), rgba(26,158,116,.1));
  border: 1px solid rgba(26,158,116,.4); border-radius: var(--r);
  padding: 20px 28px; color: rgba(255,255,255,.9);
  font-weight: 600; font-size: 1rem; text-align: center; line-height: 1.5;
}

/* ================================================================
   COMMENT ÇA MARCHE — watermark numbers
   ================================================================ */
.m3llem-steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--b1);
  border-radius: 24px; overflow: hidden; border: 1px solid var(--b1);
}

.m3llem-step {
  background: var(--w); padding: 44px 36px;
  position: relative; overflow: hidden; text-align: left;
}

/* Watermark number */
.m3llem-step::before {
  content: attr(data-step);
  position: absolute; bottom: -20px; right: -10px;
  font-size: 120px; font-weight: 900; color: var(--b2);
  line-height: 1; pointer-events: none; letter-spacing: -.05em;
  font-family: 'Inter', sans-serif;
}

.m3llem-step-number {
  width: 48px; height: 48px; background: var(--g); color: var(--w);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; margin-bottom: 22px; position: relative; z-index: 1;
}
.m3llem-step-icon { display: none; }
.m3llem-step-arrow { display: none; }

.m3llem-step h3 { font-size: 1.125rem !important; font-weight: 700 !important; color: var(--t1) !important; margin: 0 0 10px !important; position: relative; z-index: 1; }
.m3llem-step p  { font-size: .9375rem; color: var(--t3); margin: 0; line-height: 1.65; position: relative; z-index: 1; }

/* ================================================================
   POURQUOI NOUS
   ================================================================ */
.m3llem-why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.m3llem-why-card {
  padding: 28px 24px; background: var(--b3);
  border-radius: 16px; border: 1px solid var(--b1); transition: all var(--ease);
}
.m3llem-why-card:hover { background: var(--w); border-color: rgba(26,158,116,.25); box-shadow: var(--sh2); transform: translateY(-3px); }
.m3llem-why-icon {
  width: 44px; height: 44px; background: var(--gl);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.25rem;
}
.m3llem-why-card h4 { font-size: 1rem !important; font-weight: 700 !important; color: var(--t1) !important; margin: 0 0 8px !important; }
.m3llem-why-card p  { font-size: .875rem; color: var(--t3); margin: 0; max-width: none !important; }

/* ================================================================
   B2B — section navy sombre
   ================================================================ */
.m3llem-b2b-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.m3llem-b2b-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 28px;
  transition: all var(--ease); text-align: left;
}
.m3llem-b2b-card:hover { background: rgba(26,158,116,.06); border-color: rgba(26,158,116,.25); transform: translateY(-3px); }
.m3llem-b2b-card.featured { border-color: rgba(26,158,116,.3); background: rgba(26,158,116,.06); }

.m3llem-b2b-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gm); margin-bottom: 14px;
}
.m3llem-b2b-badge::before { content: ''; width: 18px; height: 2px; background: var(--g); border-radius: 1px; }
.m3llem-b2b-icon { display: none; }

.m3llem-b2b-card h3 { font-size: 1.125rem !important; font-weight: 700 !important; color: var(--w) !important; margin: 0 0 10px !important; letter-spacing: -.03em !important; }
.m3llem-b2b-card p  { font-size: .875rem; color: rgba(255,255,255,.38) !important; line-height: 1.7; margin: 0 0 18px; max-width: none !important; }

.m3llem-b2b-price {
  display: inline-flex; align-items: center;
  background: rgba(26,158,116,.12); color: var(--gm);
  padding: 5px 14px; border-radius: 9999px;
  font-size: 12px; font-weight: 700; border: 1px solid rgba(26,158,116,.2);
}

/* ================================================================
   ZONES GRID
   ================================================================ */
.m3llem-zones-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 40px; }
.m3llem-zone-card {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--w); border: 1.5px solid var(--b1);
  border-radius: 9999px; padding: 11px 22px;
  text-decoration: none !important; font-size: 14px; font-weight: 600;
  color: var(--t2); transition: all var(--ease); box-shadow: var(--sh1);
  justify-content: center;
}
.m3llem-zone-card:hover {
  background: var(--g); color: var(--w) !important; border-color: var(--g);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,158,116,.3);
}
.m3llem-zone-more { background: var(--gl); border-color: rgba(26,158,116,.25); color: var(--gd) !important; cursor: default; }
.m3llem-zone-icon { font-size: 1rem; }
.m3llem-zone-name { font-weight: 700; font-size: 1rem; color: inherit; display: block; margin: 0; line-height: 1.3; }
.m3llem-zone-card:hover .m3llem-zone-name { color: inherit !important; }
.m3llem-zone-desc { font-size: .8125rem; color: var(--t3); }

/* ================================================================
   FAQ
   ================================================================ */
.m3llem-faq-list { display: flex; flex-direction: column; gap: 8px; margin: 40px 0; }
.m3llem-faq-item {
  background: var(--w); border: 1.5px solid var(--b1);
  border-radius: 16px; overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.m3llem-faq-item[open] { border-color: rgba(26,158,116,.3); box-shadow: 0 0 0 4px rgba(26,158,116,.06); }
.m3llem-faq-item summary {
  padding: 20px 24px; font-weight: 700; font-size: .9375rem;
  color: var(--t1); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--w); transition: background var(--ease), color var(--ease); user-select: none;
}
.m3llem-faq-item summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 300;
  color: var(--g); transition: transform var(--ease); flex-shrink: 0; margin-left: 16px;
}
.m3llem-faq-item[open] summary::after { transform: rotate(45deg); }
.m3llem-faq-item summary:hover { background: var(--b3); color: var(--gd); }
.m3llem-faq-item[open] summary { background: var(--b3); color: var(--gd); }
.m3llem-faq-item > p {
  padding: 0 24px 20px; margin: 0; color: var(--t3);
  font-size: .9375rem; line-height: 1.75;
  border-top: 1px solid var(--b2);
}
.m3llem-faq-item > p:first-of-type { padding-top: 16px; }
.m3llem-faq-item summary::-webkit-details-marker { display: none; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer, #colophon {
  background: var(--n2) !important;
  color: rgba(255,255,255,.4) !important;
}
.site-footer a, #colophon a {
  color: rgba(255,255,255,.4) !important;
  text-decoration: none !important;
  transition: color var(--ease) !important;
}
.site-footer a:hover, #colophon a:hover { color: var(--w) !important; }
.site-footer h2,.site-footer h3,.site-footer h4,
#colophon h2,#colophon h3,#colophon h4 {
  color: var(--w) !important;
  font-size: 10px !important; font-weight: 800 !important;
  text-transform: uppercase !important; letter-spacing: .1em !important;
  margin-bottom: 18px !important;
}
/* Ligne verte en haut du footer */
.site-footer::before, #colophon::before {
  content: '' !important; display: block !important; height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(26,158,116,.4), transparent) !important;
}

/* ================================================================
   WHATSAPP FLOTTANT — pulsation ring
   ================================================================ */
.qlwapp {
  position: fixed !important; bottom: 28px !important;
  right: 28px !important; z-index: 9999 !important;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.qlwapp .qlwapp-toggle {
  background: var(--wa) !important; border-radius: 50% !important;
  width: 64px !important; height: 64px !important;
  box-shadow: 0 4px 20px rgba(37,211,102,.5) !important;
  animation: wa-pulse 2.5s infinite !important;
  transition: transform var(--ease) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}
.qlwapp .qlwapp-toggle:hover {
  transform: scale(1.1) !important; animation: none !important;
  box-shadow: 0 8px 32px rgba(37,211,102,.65) !important;
}
.qlwapp .qlwapp-toggle svg,
.qlwapp .qlwapp-toggle i { color: var(--w) !important; font-size: 28px !important; }

/* ================================================================
   CONTENU PAGES — entry content
   ================================================================ */
.entry-content { font-size: 1rem !important; line-height: 1.8 !important; color: var(--t2) !important; }
.entry-content > *:first-child { margin-top: 0 !important; }

.entry-content h2 {
  color: var(--t1) !important; font-size: 1.625rem !important;
  margin-top: 3rem !important; margin-bottom: 1rem !important;
  padding-bottom: 10px !important; border-bottom: 2px solid var(--gl) !important;
}
.entry-content h3 { color: var(--gd) !important; font-size: 1.1875rem !important; margin-top: 2rem !important; }

.entry-content ul { padding-left: 0 !important; list-style: none !important; }
.entry-content ul li { padding: 7px 0 7px 30px !important; position: relative !important; color: var(--t2) !important; }
.entry-content ul li::before { content: '✓' !important; position: absolute !important; left: 0 !important; top: 8px !important; color: var(--g) !important; font-weight: 700 !important; font-size: .875rem !important; }

.entry-content a:not(.wp-block-button__link):not([class*="btn"]):not([class*="m3llem"]) {
  color: var(--gd) !important; font-weight: 500 !important;
  text-decoration: underline !important; text-underline-offset: 3px !important;
  text-decoration-color: rgba(13,110,80,.3) !important;
}
.entry-content a:not(.wp-block-button__link):not([class*="btn"]):not([class*="m3llem"]):hover { color: var(--g) !important; text-decoration-color: var(--g) !important; }

/* WP Buttons */
.wp-block-button__link { font-family: 'Inter',sans-serif !important; font-weight: 700 !important; border-radius: 12px !important; transition: all var(--ease) !important; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--g) !important; color: var(--w) !important; box-shadow: 0 2px 12px var(--g35) !important; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--gd) !important; transform: translateY(-2px) !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; border: 2px solid var(--g) !important; color: var(--gd) !important; }

/* ================================================================
   FORMULAIRES WPForms
   ================================================================ */
.wpforms-field input,.wpforms-field select,.wpforms-field textarea {
  border: 1.5px solid var(--b1) !important; border-radius: var(--r) !important;
  padding: 12px 16px !important; font-family: 'Inter',sans-serif !important;
  font-size: .9375rem !important; color: var(--t1) !important;
  transition: border-color var(--ease),box-shadow var(--ease) !important;
}
.wpforms-field input:focus,.wpforms-field select:focus,.wpforms-field textarea:focus {
  outline: none !important; border-color: var(--g) !important;
  box-shadow: 0 0 0 3px rgba(26,158,116,.12) !important;
}
.wpforms-field label { font-weight: 600 !important; font-size: .875rem !important; color: var(--t1) !important; margin-bottom: 6px !important; }
.wpforms-submit,.wpforms-form button[type="submit"] {
  background: var(--g) !important; color: var(--w) !important; border: none !important;
  border-radius: 12px !important; font-family: 'Inter',sans-serif !important;
  font-weight: 700 !important; font-size: 1rem !important; padding: 14px 32px !important;
  box-shadow: 0 2px 12px var(--g35) !important; cursor: pointer !important; transition: all var(--ease) !important;
}
.wpforms-submit:hover { background: var(--gd) !important; transform: translateY(-1px) !important; }

/* CookieYes */
.cky-btn-accept { background-color: var(--g) !important; color: var(--w) !important; border-color: var(--g) !important; border-radius: var(--r) !important; font-weight: 700 !important; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)} }
.m3llem-hero-badge   { animation: fadeUp .5s .1s  both; }
.m3llem-hero-title   { animation: fadeUp .6s .2s  both; }
.m3llem-hero-subtitle{ animation: fadeUp .6s .35s both; }
.m3llem-hero-actions { animation: fadeUp .6s .5s  both; }
.m3llem-hero-trust   { animation: fadeUp .6s .65s both; }
.m3llem-service-card:nth-child(1){animation:fadeUp .5s .1s both}
.m3llem-service-card:nth-child(2){animation:fadeUp .5s .2s both}
.m3llem-service-card:nth-child(3){animation:fadeUp .5s .3s both}
.m3llem-service-card:nth-child(4){animation:fadeUp .5s .4s both}
.m3llem-service-card:nth-child(5){animation:fadeUp .5s .5s both}
.m3llem-service-card:nth-child(6){animation:fadeUp .5s .6s both}

/* ================================================================
   PAGE HERO — pages intérieures
   ================================================================ */
.m3llem-page-hero {
  background: var(--n) !important;
  padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden;
}
.m3llem-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26,158,116,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26,158,116,.06) 0%, transparent 70%);
  pointer-events: none;
}
.m3llem-page-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 28px; }
.m3llem-page-hero-icon { font-size: 3.5rem; margin-bottom: 20px; display: block; animation: fadeUp .5s .05s both; }
.m3llem-page-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(26,158,116,.15); border: 1px solid rgba(26,158,116,.3);
  color: var(--gm); font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 9999px; margin-bottom: 20px; animation: fadeUp .5s .1s both;
}
.m3llem-page-hero-title {
  font-size: clamp(1.75rem,4vw,2.875rem) !important; font-weight: 800 !important;
  color: var(--w) !important; line-height: 1.15 !important; letter-spacing: -.04em !important;
  margin: 0 0 18px !important; animation: fadeUp .6s .2s both;
}
.m3llem-page-hero-subtitle { font-size: 1.125rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 36px; animation: fadeUp .6s .3s both; }
.m3llem-page-hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; animation: fadeUp .6s .4s both; }
.m3llem-page-hero-stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: var(--w); font-size: .875rem; font-weight: 700;
  padding: 10px 20px; border-radius: 50px; backdrop-filter: blur(8px); white-space: nowrap;
}
.m3llem-page-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; animation: fadeUp .6s .5s both; }

/* Entry hero (Kadence page hero) */
.entry-hero, .page-hero-section {
  background: var(--n) !important;
  min-height: 0 !important; padding: 56px 0 !important;
}
.entry-hero .entry-title,.entry-hero .page-title,.entry-hero h1,.page-hero-section h1 {
  color: var(--w) !important;
}
.entry-hero .kadence-breadcrumbs,.entry-hero .kadence-breadcrumbs a,.entry-hero .kadence-breadcrumbs span { color: rgba(255,255,255,.5) !important; }

/* ================================================================
   INTERVENTIONS GRID
   ================================================================ */
.m3llem-interventions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.m3llem-intervention-card {
  background: var(--w); border: 1.5px solid var(--b1);
  border-radius: 16px; padding: 28px 24px;
  transition: all var(--ease); position: relative; overflow: hidden;
}
.m3llem-intervention-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--g), var(--gm));
  transform: scaleX(0); transform-origin: left; transition: transform var(--ease);
}
.m3llem-intervention-card:hover { transform: translateY(-5px); box-shadow: var(--sh3); border-color: rgba(26,158,116,.25); }
.m3llem-intervention-card:hover::after { transform: scaleX(1); }
.m3llem-intervention-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.m3llem-intervention-card h3 { font-size: 1.0625rem !important; font-weight: 700 !important; color: var(--t1) !important; margin: 0 0 8px !important; }
.m3llem-intervention-card p  { font-size: .875rem; color: var(--t3); line-height: 1.55; margin: 0 0 16px; max-width: none !important; }
.m3llem-intervention-price { font-size: .875rem; font-weight: 800; color: var(--gd); background: var(--gl); padding: 5px 12px; border-radius: 8px; display: inline-block; }
.m3llem-intervention-price.urgence { background: #FEF2F2; color: var(--red); }

/* ================================================================
   PRICING GRID
   ================================================================ */
.m3llem-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.m3llem-pricing-card {
  background: var(--w); border: 1.5px solid var(--b1);
  border-radius: 16px; padding: 32px 24px; text-align: center;
  transition: all var(--ease); position: relative;
}
.m3llem-pricing-card.featured { border-color: var(--g); box-shadow: var(--shg); background: linear-gradient(160deg, var(--gl) 0%, var(--w) 70%); }
.m3llem-pricing-card.featured::before { content: 'Le plus demandé'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--g); color: var(--w); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 14px; border-radius: 9999px; white-space: nowrap; }
.m3llem-pricing-card:hover { transform: translateY(-5px); box-shadow: var(--sh3); border-color: rgba(26,158,116,.25); }
.m3llem-pricing-icon { font-size: 2rem; margin-bottom: 14px; }
.m3llem-pricing-card h3 { font-size: 1.0625rem !important; font-weight: 700 !important; color: var(--t1) !important; margin: 0 0 12px !important; }
.m3llem-pricing-price { font-size: 1.5rem; font-weight: 900; color: var(--gd); margin-bottom: 6px; line-height: 1.2; }
.m3llem-pricing-note { font-size: .8125rem; color: var(--t3); margin-bottom: 20px; }
.m3llem-pricing-card ul { list-style: none !important; padding: 0 !important; margin: 0 0 20px !important; text-align: left; }
.m3llem-pricing-card ul li { font-size: .875rem; color: var(--t2); padding: 6px 0 6px 22px !important; position: relative; }
.m3llem-pricing-card ul li::before { content: '✓' !important; position: absolute !important; left: 0 !important; top: 7px !important; color: var(--g) !important; font-weight: 700 !important; font-size: .8rem !important; }

/* ================================================================
   HIGHLIGHT BOX
   ================================================================ */
.m3llem-highlight-box { background: var(--gl); border-left: 4px solid var(--g); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0; font-size: .9375rem; color: var(--gd); line-height: 1.65; }
.m3llem-highlight-box strong { color: var(--gd); }
.m3llem-highlight-box.warning { background: #FEF2F2; border-color: var(--red); color: #7F1D1D; }
.m3llem-highlight-box.warning strong { color: var(--red); }
.m3llem-highlight-box.tip { background: #EFF6FF; border-color: #3B82F6; color: #1E3A5F; }
.m3llem-highlight-box.tip strong { color: #1D4ED8; }

/* ================================================================
   RELATED SERVICES
   ================================================================ */
.m3llem-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.m3llem-related-card {
  background: var(--w); border: 1.5px solid var(--b1);
  border-radius: 12px; padding: 24px 20px; text-align: center;
  text-decoration: none !important; transition: all var(--ease);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.m3llem-related-card:hover { border-color: rgba(26,158,116,.3); background: var(--gl); transform: translateY(-4px); box-shadow: var(--sh2); }
.m3llem-related-icon { font-size: 2rem; }
.m3llem-related-card span { font-weight: 700; font-size: .9375rem; color: var(--t1); }
.m3llem-related-card:hover span { color: var(--gd) !important; }
.m3llem-related-card small { font-size: .8125rem; color: var(--t3); line-height: 1.4; }

/* ================================================================
   URGENCE COMPONENTS
   ================================================================ */
.m3llem-urgence-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.m3llem-urgence-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 28px 22px; text-align: center; transition: all var(--ease);
}
.m3llem-urgence-card:hover { background: rgba(26,158,116,.06); border-color: rgba(26,158,116,.2); transform: translateY(-4px); }
.m3llem-urgence-icon { font-size: 2.5rem; margin-bottom: 14px; }
.m3llem-urgence-card h3 { font-size: 1.0625rem !important; font-weight: 700 !important; color: var(--w) !important; margin: 0 0 8px !important; }
.m3llem-urgence-card p  { font-size: .875rem; color: rgba(255,255,255,.5) !important; margin: 0 0 16px; line-height: 1.55; max-width: none !important; }
.m3llem-urgence-delay { display: inline-block; background: var(--red); color: var(--w); font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 9999px; }

/* ================================================================
   SYNDICS FORMULES
   ================================================================ */
.m3llem-formule-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.m3llem-formule-card {
  background: var(--w); border: 2px solid var(--b1);
  border-radius: 20px; padding: 36px 28px;
  position: relative; transition: all var(--ease); display: flex; flex-direction: column;
}
.m3llem-formule-card.featured { border-color: var(--g); box-shadow: var(--shg); background: linear-gradient(160deg, var(--gl) 0%, var(--w) 80%); transform: scale(1.03); }
.m3llem-formule-card:hover:not(.featured) { transform: translateY(-6px); box-shadow: var(--sh3); border-color: rgba(26,158,116,.3); }
.m3llem-formule-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--g); color: var(--w); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 16px; border-radius: 9999px; white-space: nowrap; }
.m3llem-formule-icon { font-size: 2.5rem; margin-bottom: 18px; }
.m3llem-formule-card h3 { font-size: 1.25rem !important; font-weight: 800 !important; color: var(--t1) !important; margin: 0 0 10px !important; }
.m3llem-formule-price { font-size: 1.625rem; font-weight: 900; color: var(--gd); margin-bottom: 6px; }
.m3llem-formule-period { font-size: .875rem; color: var(--t3); margin-bottom: 20px; }
.m3llem-formule-features { list-style: none !important; padding: 0 !important; margin: 0 0 24px !important; flex: 1; }
.m3llem-formule-features li { font-size: .9375rem; color: var(--t2); padding: 8px 0 8px 26px !important; position: relative; border-bottom: 1px solid var(--b1); }
.m3llem-formule-features li:last-child { border-bottom: none; }
.m3llem-formule-features li::before { content: '✓' !important; position: absolute !important; left: 0 !important; top: 9px !important; color: var(--g) !important; font-weight: 800 !important; }

/* ================================================================
   GEO PAGE SERVICES
   ================================================================ */
.m3llem-geo-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.m3llem-geo-service {
  display: flex; align-items: center; gap: 14px;
  background: var(--w); border: 1.5px solid var(--b1);
  border-radius: 12px; padding: 18px 20px;
  text-decoration: none !important; transition: all var(--ease);
}
.m3llem-geo-service:hover { border-color: rgba(26,158,116,.3); background: var(--gl); transform: translateX(4px); }
.m3llem-geo-service-icon { font-size: 1.625rem; flex-shrink: 0; }
.m3llem-geo-service-name { font-weight: 700; font-size: .9375rem; color: var(--t1); display: block; }
.m3llem-geo-service:hover .m3llem-geo-service-name { color: var(--gd) !important; }
.m3llem-geo-service-tag { font-size: .75rem; color: var(--t3); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .m3llem-services-grid    { grid-template-columns: repeat(2,1fr); }
  .m3llem-why-grid         { grid-template-columns: repeat(2,1fr); }
  .m3llem-b2b-grid         { grid-template-columns: 1fr; max-width: 480px; margin: 40px auto 0; }
  .m3llem-problems-grid    { grid-template-columns: repeat(2,1fr); }
  .m3llem-interventions-grid { grid-template-columns: repeat(2,1fr); }
  .m3llem-pricing-grid     { grid-template-columns: repeat(2,1fr); }
  .m3llem-related-grid     { grid-template-columns: repeat(2,1fr); }
  .m3llem-urgence-grid     { grid-template-columns: repeat(2,1fr); }
  .m3llem-formule-grid     { grid-template-columns: 1fr; max-width: 480px; margin: 40px auto 0; }
  .m3llem-formule-card.featured { transform: scale(1); }
  .m3llem-geo-services     { grid-template-columns: repeat(2,1fr); }
  .m3llem-hero-stats       { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .m3llem-section { padding: 64px 0; }
  .m3llem-services-grid   { grid-template-columns: 1fr; }
  .m3llem-zones-grid      { grid-template-columns: repeat(2,1fr); }
  .m3llem-why-grid        { grid-template-columns: 1fr; }
  .m3llem-problems-grid   { grid-template-columns: 1fr; }
  .m3llem-steps-grid      { grid-template-columns: 1fr; border-radius: 16px; }
  .m3llem-hero-actions    { flex-direction: column; }
  .m3llem-btn-hero-primary,.m3llem-btn-hero-wa,.m3llem-btn-hero-tel { justify-content: center; }
  .m3llem-hero-inner      { padding: 60px 20px; }
  .qlwapp { bottom: 88px !important; right: 16px !important; }
}

@media (max-width: 480px) {
  .m3llem-zones-grid      { grid-template-columns: 1fr; }
  .m3llem-cta-actions     { flex-direction: column; }
  .m3llem-btn-cta-primary,.m3llem-btn-cta-wa { justify-content: center; }
  .m3llem-page-hero-badge { font-size: .75rem; }
  .m3llem-page-hero-actions { flex-direction: column; align-items: center; }
  .m3llem-interventions-grid { grid-template-columns: 1fr; }
  .m3llem-pricing-grid    { grid-template-columns: 1fr; }
  .m3llem-related-grid    { grid-template-columns: 1fr; }
  .m3llem-urgence-grid    { grid-template-columns: 1fr; }
  .m3llem-geo-services    { grid-template-columns: 1fr; }
}

/* ================================================================
   CORRECTIONS CRITIQUES — KADENCE OVERRIDES
   ================================================================ */

/* 1. CACHER la section titre de page Kadence (entry-hero) sur TOUTES les pages
      Nos pages utilisent des hero personnalisés dans le contenu */
.entry-hero {
  display: none !important;
}

/* 2. SUPPRIMER l'image de fond des Cover blocks — on utilise la couleur du bloc
      Ceci affiche le background-color dark navy défini dans le bloc */
.wp-block-cover .wp-block-cover__image-background,
.wp-block-cover video.wp-block-cover__video-background {
  display: none !important;
  opacity: 0 !important;
}

/* 3. FORCER la couleur navy sur les Cover blocks du hero */
.wp-block-cover {
  background-image: none !important;
}

/* 4. Correction padding/margin : pas de décalage dû à la suppression de entry-hero */
.site-main { padding-top: 0 !important; margin-top: 0 !important; }
.content-area { padding-top: 0 !important; }
.entry-content-wrap { padding-top: 0 !important; }

/* Sticky header offset : compenser la hauteur de la topbar (~38px) */
.admin-bar .m3llem-topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .m3llem-topbar { top: 46px; } }

/* 5. TOPBAR — barre sombre avec coordonnées (injectée via wp_body_open) */
.m3llem-topbar {
  background: var(--n2);
  padding: 9px 0;
  font-size: 12px;
  position: relative;
  z-index: 1000;
}
.m3llem-topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
}
.m3llem-topbar-left,
.m3llem-topbar-right {
  display: flex; align-items: center; gap: 18px;
}
.m3llem-topbar-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.45);
  font-size: 12px; font-weight: 500;
  text-decoration: none;
  transition: color var(--ease);
}
.m3llem-topbar-item:hover { color: var(--w); }
.m3llem-topbar-item svg { width: 12px; height: 12px; opacity: .6; flex-shrink: 0; }
.m3llem-topbar-badge {
  background: linear-gradient(135deg, rgba(26,158,116,.25), rgba(26,158,116,.15));
  border: 1px solid rgba(26,158,116,.35);
  color: var(--gm);
  padding: 2px 10px; border-radius: 9999px;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
@media (max-width: 640px) {
  .m3llem-topbar-right { display: none; }
  /* Garder seulement le numéro de téléphone — email trop long à 375px */
  .m3llem-topbar-left .m3llem-topbar-item:nth-child(n+2) { display: none; }
  .m3llem-topbar-inner { justify-content: center; }
}

/* ================================================================
   STICKY BAR MOBILE
   ================================================================ */
@media (max-width: 640px) {
  .m3llem-sticky-mobile {
    display: flex !important; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 7000; background: var(--w); border-top: 1px solid var(--b1);
    padding: 10px 16px; gap: 8px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    padding-bottom: calc(10px + env(safe-area-inset-bottom,0px));
  }
  .m3llem-sticky-mobile a {
    flex: 1; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none;
    touch-action: manipulation; transition: all var(--ease);
  }
  .sticky-call { background: var(--b2); color: var(--t1); border: 1.5px solid var(--b1); }
  .sticky-devis { background: var(--g); color: var(--w) !important; box-shadow: 0 2px 10px var(--g35); }
  .sticky-whatsapp { background: var(--wa); color: var(--w) !important; }
}

/* ================================================================
   ALIAS v2.html — sélecteurs identiques au design preview
   Permet d'ajouter directement les classes v2 aux blocs WordPress
   ================================================================ */

/* TOPBAR */
.topbar { background: var(--n2); padding: 9px 0; font-size: 12px; }
.topbar-in { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 18px; }
.topbar-it { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.45); font-size: 12px; text-decoration: none; transition: color var(--ease); }
.topbar-it:hover { color: var(--w); }
.topbar-it svg { width: 13px; height: 13px; opacity: .6; }
.topbar-badge { background: rgba(26,158,116,.2); border: 1px solid rgba(26,158,116,.35); color: var(--gm); padding: 2px 10px; border-radius: 9999px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* HERO v2 */
.hero { background: var(--n) !important; min-height: 92vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 80px 0; }
.hero-mesh { position: absolute; inset: 0; pointer-events: none; }
.hero-mesh::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 50%,rgba(26,158,116,.12) 0%,transparent 60%), radial-gradient(ellipse 40% 40% at 20% 80%,rgba(26,158,116,.07) 0%,transparent 50%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size: 40px 40px; pointer-events: none; }
.hero-layout { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; position: relative; z-index: 1; }
@media(max-width:1024px){.hero-layout{grid-template-columns:1fr;gap:48px}}
@media(max-width:768px){.hero{min-height:auto;padding:60px 0}}

.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,158,116,.12); border: 1px solid rgba(26,158,116,.25); color: var(--gm); padding: 6px 14px; border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 28px; }
.hero-dot { width: 6px; height: 6px; background: var(--g); border-radius: 50%; animation: blink 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }

.hero h1, .hero-l h1 { font-size: clamp(2.8rem,6vw,4.5rem) !important; font-weight: 900 !important; letter-spacing: -.05em !important; line-height: 1.05 !important; color: var(--w) !important; margin-bottom: 22px !important; }
.hero h1 em, .hero-l h1 em { font-style: normal !important; color: var(--g) !important; }
.hero-sub { font-size: 1.125rem !important; color: rgba(255,255,255,.68) !important; line-height: 1.75 !important; max-width: 500px; margin-bottom: 36px !important; }
.hero-sub strong { color: rgba(255,255,255,.9) !important; font-weight: 600 !important; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.07); padding-top: 32px; gap: 8px; margin-top: 12px; }
@media(max-width:560px){.hero-stats{grid-template-columns:repeat(2,1fr)}}
.hstat { padding: 0 8px; }
.hstat-n { font-size: 2.25rem; font-weight: 900; color: var(--g); letter-spacing: -.05em; line-height: 1; display: block; }
.hstat-l { font-size: 10px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; margin-top: 5px; display: block; }

/* HERO VISUAL CARD (côté droit) */
.hero-visual { position: relative; height: 440px; }
@media(max-width:1024px){.hero-visual{display:none}}
.hv-main { position: absolute; top: 0; left: 0; right: 0; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 24px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.hv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hv-icon { width: 40px; height: 40px; background: linear-gradient(135deg,var(--g),var(--gd)); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hv-icon svg { width: 20px; height: 20px; color: var(--w); }
.hv-status { background: rgba(26,158,116,.15); color: var(--gm); padding: 4px 12px; border-radius: 9999px; font-size: 11px; font-weight: 700; border: 1px solid rgba(26,158,116,.25); }
.hv-title { font-size: 15px; font-weight: 700; color: var(--w) !important; margin-bottom: 4px !important; }
.hv-sub { font-size: 12px; color: rgba(255,255,255,.55) !important; }
.hv-sep { height: 1px; background: rgba(255,255,255,.07); margin: 16px 0; }
.hv-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(255,255,255,.04); border-radius: 8px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,.06); }
.hv-row-l { font-size: 12px; color: rgba(255,255,255,.6) !important; }
.hv-row-r { font-size: 12px; font-weight: 700; color: var(--w) !important; }
.hv-bar-wrap { margin: 16px 0 8px; }
.hv-bar-l { font-size: 11px; color: rgba(255,255,255,.3) !important; margin-bottom: 8px; display: flex; justify-content: space-between; }
.hv-bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.hv-bar-fill { height: 100%; width: 75%; background: linear-gradient(90deg,var(--gd),var(--g)); border-radius: 2px; }
.hv-footer { display: flex; gap: 8px; margin-top: 16px; }
.hv-btn-main { flex: 1; height: 42px; background: var(--g); color: var(--w) !important; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; gap: 6px; }
.hv-btn-sec { height: 42px; width: 42px; background: rgba(255,255,255,.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hv-float { position: absolute; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 14px 16px; }
.hv-f1 { bottom: -24px; right: -24px; width: 200px; }
.hv-f2 { top: 80px; right: -20px; width: 180px; }
.hv-f-label { font-size: 10px; color: rgba(255,255,255,.3) !important; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.hv-f-val { font-size: 14px; font-weight: 800; color: var(--w) !important; letter-spacing: -.03em; }
.hv-f-badge { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; background: rgba(26,158,116,.15); color: var(--gm); border-radius: 9999px; padding: 2px 8px; font-size: 10px; font-weight: 700; }
.hv-f-dot { width: 5px; height: 5px; background: var(--g); border-radius: 50%; flex-shrink: 0; }

/* TRUST STRIP */
.trust { background: var(--b3); border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1); padding: 18px 0; }
.trust-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-it { display: flex; align-items: center; gap: 10px; padding: 10px 28px; border-right: 1px solid var(--b1); font-size: 13.5px; font-weight: 600; color: var(--t1) !important; }
.trust-it:last-child { border-right: none; }
.trust-it svg { width: 17px; height: 17px; color: var(--g); flex-shrink: 0; }
@media(max-width:700px){.trust-it{border-right:none;font-size:13px;padding:8px 16px}}

/* SECTION HEADER sh */
.sh { margin-bottom: 52px; }
.sh-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--gl); color: var(--gd); padding: 5px 14px; border-radius: 9999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; border: 1px solid rgba(26,158,116,.15); }
.sh h2 { font-size: clamp(1.8rem,4vw,2.6rem) !important; font-weight: 800 !important; letter-spacing: -.04em !important; color: var(--t1) !important; margin-bottom: 14px !important; line-height: 1.2 !important; }
.sh p { font-size: 1.0625rem; color: var(--t3) !important; max-width: 54ch; line-height: 1.7; }
.sh-center { text-align: center; }
.sh-center p { margin: 0 auto; }

/* BUTTONS v2 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 24px; height: 48px; border-radius: 12px; font-size: .9375rem; font-weight: 700; letter-spacing: -.02em; cursor: pointer; border: none; transition: all var(--ease); white-space: nowrap; line-height: 1; text-decoration: none; }
.btn-g { background: var(--g); color: var(--w) !important; box-shadow: 0 2px 12px rgba(26,158,116,.35); }
.btn-g:hover { background: var(--gd); box-shadow: 0 6px 24px rgba(26,158,116,.4); transform: translateY(-1px); color: var(--w) !important; }
.btn-wa { background: var(--wa); color: var(--w) !important; box-shadow: 0 2px 12px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); color: var(--w) !important; }
.btn-o { background: transparent; color: var(--w) !important; border: 1.5px solid rgba(255,255,255,.25); }
.btn-o:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: var(--w) !important; }
.btn-ghost { background: var(--gl); color: var(--gd) !important; border: 1.5px solid rgba(26,158,116,.2); }
.btn-ghost:hover { background: rgba(26,158,116,.15); border-color: var(--g); color: var(--gd) !important; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: .8125rem; border-radius: 8px; }

/* SERVICES v2 */
.svcs { padding: 96px 0; background: var(--w); }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:900px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.svc-grid{grid-template-columns:1fr}}
.scard { background: var(--w); border: 1.5px solid var(--b1); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: all var(--ease); position: relative; overflow: hidden; text-decoration: none !important; color: var(--t1) !important; }
.scard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,var(--gl) 0%,transparent 55%); opacity: 0; transition: opacity var(--ease); pointer-events: none; }
.scard:hover { border-color: rgba(26,158,116,.4); box-shadow: var(--shg); transform: translateY(-4px); color: var(--t1) !important; }
.scard:hover::after { opacity: 1; }
.scard-num { font-size: 10px; font-weight: 800; color: var(--b1); letter-spacing: .06em; position: relative; z-index: 1; }
.scard:hover .scard-num { color: rgba(26,158,116,.25); }
.scard-ico { width: 50px; height: 50px; background: var(--gl); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: all var(--ease); position: relative; z-index: 1; }
.scard-ico svg { width: 22px; height: 22px; color: var(--g); transition: color var(--ease); }
.scard:hover .scard-ico { background: var(--g); }
.scard:hover .scard-ico svg { color: var(--w); }
.scard h3 { font-size: 1.0625rem !important; font-weight: 700 !important; letter-spacing: -.025em !important; position: relative; z-index: 1; color: var(--t1) !important; margin: 0 !important; }
.scard p { font-size: .875rem !important; color: var(--t3) !important; line-height: 1.65 !important; max-width: none !important; position: relative; z-index: 1; margin: 0 !important; }
.scard-price { display: inline-flex; align-items: center; gap: 5px; background: var(--b2); border: 1px solid var(--b1); color: var(--t2); padding: 4px 12px; border-radius: 9999px; font-size: 11.5px; font-weight: 700; width: fit-content; margin-top: auto; position: relative; z-index: 1; transition: all var(--ease); }
.scard:hover .scard-price { background: var(--gl); border-color: rgba(26,158,116,.25); color: var(--gd); }
.scard-link { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--g) !important; position: relative; z-index: 1; }
.scard-link svg { width: 13px; height: 13px; transition: transform var(--ease); }
.scard:hover .scard-link svg { transform: translateX(5px); }

/* HOW IT WORKS v2 */
.how { padding: 96px 0; background: var(--b3); }
.how-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--b1); border-radius: 24px; overflow: hidden; border: 1px solid var(--b1); }
@media(max-width:700px){.how-steps{grid-template-columns:1fr}}
.how-step { background: var(--w); padding: 44px 36px; position: relative; overflow: hidden; }
.how-step-bg { position: absolute; bottom: -20px; right: -10px; font-size: 120px; font-weight: 900; color: var(--b2); line-height: 1; pointer-events: none; letter-spacing: -.05em; font-family: 'Inter',sans-serif; user-select: none; }
.how-num { width: 48px; height: 48px; background: var(--g); color: var(--w) !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; margin-bottom: 22px; position: relative; z-index: 1; }
.how-step h3 { font-size: 1.125rem !important; font-weight: 700 !important; letter-spacing: -.03em !important; margin-bottom: 10px !important; position: relative; z-index: 1; color: var(--t1) !important; }
.how-step p { font-size: .9375rem !important; color: var(--t3) !important; max-width: none !important; position: relative; z-index: 1; }

/* WHY US v2 */
.why { padding: 96px 0; background: var(--w); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:900px){.why-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.why-grid{grid-template-columns:1fr}}
.why-card { padding: 28px; background: var(--b3); border-radius: 16px; border: 1px solid var(--b1); transition: all var(--ease); cursor: default; }
.why-card:hover { background: var(--w); border-color: rgba(26,158,116,.25); box-shadow: var(--sh2); transform: translateY(-3px); }
.why-ico { width: 44px; height: 44px; background: var(--gl); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-ico svg { width: 20px; height: 20px; color: var(--g); }
.why-card h3 { font-size: 1rem !important; font-weight: 700 !important; letter-spacing: -.025em !important; margin-bottom: 8px !important; color: var(--t1) !important; }
.why-card p { font-size: .875rem !important; color: var(--t3) !important; max-width: none !important; margin: 0 !important; }

/* B2B v2 */
.b2b { padding: 96px 0; background: var(--n); position: relative; overflow: hidden; }
.b2b::before { content: ''; position: absolute; top: -200px; left: -200px; width: 700px; height: 700px; background: radial-gradient(circle,rgba(26,158,116,.1) 0%,transparent 65%); pointer-events: none; }
.b2b::after { content: ''; position: absolute; bottom: -200px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle,rgba(26,158,116,.07) 0%,transparent 65%); pointer-events: none; }
.b2b-head { margin-bottom: 52px; position: relative; z-index: 1; }
.b2b-head h2 { color: var(--w) !important; }
.b2b-head p { color: rgba(255,255,255,.65) !important; }
.b2b-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; position: relative; z-index: 1; }
@media(max-width:800px){.b2b-grid{grid-template-columns:1fr}}
.b2b-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 28px; transition: all var(--ease); }
.b2b-card:hover { background: rgba(26,158,116,.06); border-color: rgba(26,158,116,.25); }
.b2b-tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gm); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.b2b-tag::before { content: ''; width: 18px; height: 2px; background: var(--g); border-radius: 1px; }
.b2b-card h3 { font-size: 1.125rem !important; font-weight: 700 !important; color: var(--w) !important; letter-spacing: -.03em !important; margin-bottom: 10px !important; }
.b2b-card p { font-size: .875rem !important; color: rgba(255,255,255,.62) !important; max-width: none !important; line-height: 1.7 !important; }
.b2b-range { display: inline-flex; align-items: center; margin-top: 18px; background: rgba(26,158,116,.12); color: var(--gm); padding: 5px 14px; border-radius: 9999px; font-size: 12px; font-weight: 700; border: 1px solid rgba(26,158,116,.2); }
.b2b-cta { margin-top: 40px; text-align: center; position: relative; z-index: 1; }

/* ZONES v2 */
.zones { padding: 80px 0; background: var(--b3); }
.zones-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.zpill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 9999px; border: 1.5px solid var(--b1); font-size: 14px; font-weight: 600; color: var(--t2) !important; background: var(--w); transition: all var(--ease); text-decoration: none !important; box-shadow: var(--sh1); white-space: nowrap; }
.zpill svg { width: 13px; height: 13px; color: var(--g); flex-shrink: 0; transition: color var(--ease); }
.zpill:hover { background: var(--g); color: var(--w) !important; border-color: var(--g); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,158,116,.3); }
.zpill:hover svg { color: var(--w); }

/* FAQ v2 */
.faq { padding: 96px 0; background: var(--w); }
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-items { display: flex; flex-direction: column; gap: 8px; }
.fitem { border: 1.5px solid var(--b1); border-radius: 16px; overflow: hidden; transition: border-color var(--ease), box-shadow var(--ease); }
.fitem.open { border-color: rgba(26,158,116,.3); box-shadow: 0 0 0 4px rgba(26,158,116,.06); }
.fq { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; gap: 16px; user-select: none; }
.fq-text { font-size: .9375rem; font-weight: 700; color: var(--t1) !important; letter-spacing: -.02em; }
.ftoggle { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--b1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--ease); color: var(--t4); }
.ftoggle svg { width: 13px; height: 13px; transition: transform var(--ease); }
.fitem.open .ftoggle { background: var(--g); border-color: var(--g); color: var(--w); }
.fitem.open .ftoggle svg { transform: rotate(45deg); }
.fa { display: none; padding: 0 24px 20px; font-size: .9375rem; color: var(--t3) !important; line-height: 1.75; border-top: 1px solid var(--b2); }
.fitem.open .fa { display: block; padding-top: 16px; }

/* CTA BAND v2 */
.cta-band { padding: 80px 0; background: linear-gradient(135deg,var(--n) 0%,var(--n3) 100%); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%,rgba(26,158,116,.15) 0%,transparent 60%); pointer-events: none; }
.cta-band-in { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; position: relative; z-index: 1; }
@media(max-width:900px){.cta-band-in{grid-template-columns:1fr}}
.cta-band-l h2 { font-size: clamp(1.8rem,4vw,2.5rem) !important; font-weight: 800 !important; color: var(--w) !important; letter-spacing: -.04em !important; margin-bottom: 14px !important; }
.cta-band-l p { color: rgba(255,255,255,.65) !important; font-size: 1.0625rem !important; margin-bottom: 28px !important; max-width: 44ch; }
.cta-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-form { background: rgba(15,22,40,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 28px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
/* Force white bg + dark text on all inputs inside the form */
.cta-form input[type="text"],
.cta-form input[type="tel"],
.cta-form input[type="email"],
.cta-form select {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1.5px solid #E5E7EB !important;
  text-align: left !important;
}
.cta-form input::placeholder { color: #9CA3AF !important; }
.cta-form select option { background: #fff !important; color: #111827 !important; }
.cta-form-title { font-size: 1rem; font-weight: 700; color: var(--w) !important; margin-bottom: 6px !important; }
.cta-form-sub { font-size: .8125rem; color: rgba(255,255,255,.35) !important; margin-bottom: 20px !important; }
.cf-inp { width: 100% !important; background: #ffffff !important; border: 1.5px solid #E5E7EB !important; border-radius: 10px !important; padding: 12px 14px !important; font-size: .9rem !important; color: var(--n2) !important; font-family: 'Inter',sans-serif !important; outline: none !important; transition: border-color .2s, box-shadow .2s !important; margin-bottom: 10px !important; box-sizing: border-box !important; }
.cf-inp::placeholder { color: #9CA3AF !important; font-size: .875rem !important; }
.cf-inp:focus { border-color: var(--g) !important; box-shadow: 0 0 0 3px rgba(26,158,116,.18) !important; background: #fff !important; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf-select { width: 100% !important; background: #ffffff !important; border: 1.5px solid #E5E7EB !important; border-radius: 10px !important; padding: 12px 36px 12px 14px !important; font-size: .9rem !important; color: var(--n2) !important; font-family: 'Inter',sans-serif !important; outline: none !important; -webkit-appearance: none !important; appearance: none !important; transition: border-color .2s, box-shadow .2s !important; margin-bottom: 10px !important; text-align: left !important; cursor: pointer !important; box-sizing: border-box !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236B7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 18px !important; }
.cf-select option { background: #fff; color: var(--n2); }
.cf-select:focus { border-color: var(--g) !important; box-shadow: 0 0 0 3px rgba(26,158,116,.18) !important; }
.cf-submit { width: 100%; height: 50px; background: var(--g) !important; color: var(--w) !important; border: none !important; border-radius: 12px; font-size: .9375rem; font-weight: 700; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Inter',sans-serif; box-shadow: 0 2px 14px rgba(26,158,116,.4) !important; }
.cf-submit:hover { background: var(--gd) !important; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(26,158,116,.55) !important; }

/* FOOTER v2 */
.footer { background: var(--n2) !important; padding: 64px 0 0 !important; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;gap:32px}}
@media(max-width:540px){.footer-grid{grid-template-columns:1fr}}
.footer-logo { font-size: 18px; font-weight: 800; letter-spacing: -.04em; color: var(--w) !important; margin-bottom: 14px !important; }
.footer-logo span { color: var(--g); }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.3) !important; max-width: 26ch; line-height: 1.7; margin-bottom: 22px !important; }
.footer-contact a { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: rgba(255,255,255,.6) !important; margin-bottom: 10px; transition: color var(--ease); text-decoration: none; }
.footer-contact a:hover { color: var(--w) !important; }
.footer-contact svg { width: 14px; height: 14px; color: var(--g); flex-shrink: 0; }
.fcol h4 { font-size: 10px !important; font-weight: 800 !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: rgba(255,255,255,.25) !important; margin-bottom: 18px !important; }
.fcol ul { list-style: none !important; display: flex; flex-direction: column; gap: 10px; padding: 0 !important; margin: 0 !important; }
.fcol li a { font-size: .875rem; color: rgba(255,255,255,.6) !important; transition: color var(--ease); text-decoration: none; }
.fcol li a:hover { color: var(--w) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4) !important; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.4) !important; transition: color var(--ease); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.6) !important; }

/* WA FAB v2 */
.wafab { position: fixed; bottom: 24px; right: 24px; z-index: 8000; display: flex; align-items: center; gap: 10px; background: var(--wa); color: var(--w) !important; padding: 14px 22px; border-radius: 9999px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 20px rgba(37,211,102,.5),0 2px 8px rgba(0,0,0,.15); transition: all var(--ease); text-decoration: none; }
.wafab:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,.55); color: var(--w) !important; }
.wafab svg { width: 22px; height: 22px; }
.wafab-pulse { position: absolute; inset: -4px; border-radius: 9999px; border: 2px solid rgba(37,211,102,.5); animation: wapin 2.5s ease-out infinite; pointer-events: none; }
@keyframes wapin { 0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.3)} }

/* MOBILE BAR v2 */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 7000; background: var(--w); border-top: 1px solid var(--b1); padding: 10px 16px; gap: 8px; box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
@media(max-width:640px){.mobile-bar{display:flex}}
.mobile-bar a { flex: 1; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.mobile-bar .m-call { background: var(--b2); color: var(--t1) !important; border: 1.5px solid var(--b1); }
.mobile-bar .m-devis { background: var(--g); color: var(--w) !important; box-shadow: 0 2px 10px rgba(26,158,116,.35); }

/* SERVICE PAGE v2 */
.svc-hero { background: var(--n) !important; padding: 72px 0 56px; position: relative; overflow: hidden; }
.svc-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 30%,rgba(26,158,116,.12) 0%,transparent 60%); pointer-events: none; }
.svc-hero-in { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.3) !important; margin-bottom: 20px; }
.breadcrumb svg { width: 12px; height: 12px; }
.svc-hero h1 { color: var(--w) !important; font-size: clamp(2rem,5vw,3.25rem) !important; font-weight: 900 !important; letter-spacing: -.05em !important; margin-bottom: 14px !important; }
.svc-hero p { color: rgba(255,255,255,.45) !important; font-size: 1.0625rem !important; max-width: 50ch; margin-bottom: 28px !important; }
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: start; padding: 64px 0 96px; }
@media(max-width:900px){.svc-layout{grid-template-columns:1fr}}

/* DEVIS PAGE v2 */
.dpage { padding: 64px 0 96px; }
.dpage-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; }
@media(max-width:900px){.dpage-grid{grid-template-columns:1fr}}
.promises { display: flex; flex-direction: column; gap: 12px; }
.promise { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--b3); border: 1px solid var(--b1); border-radius: 12px; transition: all var(--ease); }
.promise:hover { border-color: rgba(26,158,116,.25); background: var(--gl); }
.p-ico { width: 42px; height: 42px; background: var(--gl); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-ico svg { width: 18px; height: 18px; color: var(--g); }
.p-txt strong { display: block; font-size: .9375rem; color: var(--t1) !important; font-weight: 700; }
.p-txt span { font-size: .8125rem; color: var(--t3) !important; }
.dform { background: var(--w); border: 1.5px solid var(--b1); border-radius: 24px; padding: 36px; box-shadow: var(--sh3); }
.dform-title { font-size: 1.375rem !important; font-weight: 800 !important; letter-spacing: -.04em !important; margin-bottom: 6px !important; color: var(--t1) !important; }
.dform-sub { font-size: .875rem; color: var(--t3) !important; margin-bottom: 28px !important; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: .8125rem; font-weight: 700; color: var(--t1) !important; margin-bottom: 6px; }
.finp,.ftxtarea,.fsel { width: 100%; border: 1.5px solid var(--b1); border-radius: 8px; padding: 12px 16px; font-size: .9375rem; font-family: 'Inter',sans-serif; color: var(--t1); outline: none; transition: border-color var(--ease),box-shadow var(--ease); background: var(--w); }
.finp:focus,.ftxtarea:focus,.fsel:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(26,158,116,.12); }
.ftxtarea { resize: vertical; min-height: 88px; }
.fsel { -webkit-appearance: none; appearance: none; padding-right: 36px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:480px){.frow{grid-template-columns:1fr}}
.rpills { display: flex; gap: 8px; flex-wrap: wrap; }
.rpill { padding: 9px 16px; border: 1.5px solid var(--b1); border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--t2) !important; cursor: pointer; transition: all var(--ease); display: flex; align-items: center; gap: 6px; background: var(--w); }
.rpill:hover,.rpill.on { border-color: var(--g); background: var(--gl); color: var(--gd) !important; }
.fsub { width: 100%; height: 52px; background: var(--g); color: var(--w) !important; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all var(--ease); display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Inter',sans-serif; margin-top: 4px; }
.fsub:hover { background: var(--gd); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,158,116,.35); }
.flegal { font-size: 11px; color: var(--t4) !important; margin-top: 12px; line-height: 1.6; }
.flegal a { color: var(--g) !important; }

/* ================================================================
   KADENCE FOOTER OVERRIDE — toutes les pages internes
   Style dark navy matching v2.html footer
   ================================================================ */
.site-footer,
.kadence-footer-widgets,
footer.footer-html-section,
.site-footer-wrap,
#colophon {
  background: var(--n2) !important;
  color: rgba(255,255,255,.4) !important;
  border-top: none !important;
}
.site-footer a,
#colophon a {
  color: rgba(255,255,255,.4) !important;
  transition: color var(--ease);
}
.site-footer a:hover,
#colophon a:hover {
  color: var(--w) !important;
}
.site-footer .footer-html,
.site-footer p,
#colophon p {
  color: rgba(255,255,255,.3) !important;
  font-size: 13px !important;
}
/* Padding toutes pages sauf homepage (qui a son propre footer) */
body:not(.home) .site-footer { padding: 40px 0 !important; }
body:not(.home) #colophon { padding: 40px 0 !important; }

/* ================================================================
   RESPONSIVE MOBILE — Corrections v2
   ================================================================ */

/* ── Barre mobile fixe : compenser en bas de page ── */
@media(max-width:640px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ── WAFab : au-dessus de la barre mobile, circulaire ── */
@media(max-width:640px) {
  .wafab {
    bottom: 84px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    font-size: 0 !important;
  }
  .wafab svg { width: 26px !important; height: 26px !important; }
  .wafab-pulse { inset: -5px !important; }
}

/* ── Hero : H1 lisible, boutons empilés ── */
@media(max-width:480px) {
  .hero { padding: 52px 0 !important; }
  .hero h1, .hero-l h1 { font-size: clamp(2.2rem, 9vw, 2.8rem) !important; line-height: 1.08 !important; }
  .hero-btns { flex-direction: column !important; }
  .hero-btns .btn { width: 100% !important; justify-content: center !important; }
  .hero-sub { max-width: 100% !important; font-size: 1rem !important; }
  .hero-pill { font-size: 10px !important; }
}

/* ── Sections : padding réduit ── */
@media(max-width:640px) {
  .svcs, .how, .why, .zones, .faq { padding: 64px 0 !important; }
  .b2b  { padding: 64px 0 !important; }
  .cta-band { padding: 56px 0 !important; }
}
@media(max-width:480px) {
  .svcs, .how, .why, .zones, .faq { padding: 52px 0 !important; }
  .b2b, .cta-band { padding: 48px 0 !important; }
  .sh { margin-bottom: 36px !important; }
}

/* ── How-steps : padding allégé en colonne ── */
@media(max-width:700px) {
  .how-step { padding: 32px 22px !important; }
  .how-step-bg { font-size: 80px !important; }
}

/* ── CTA band : boutons et formulaire empilés ── */
@media(max-width:480px) {
  .cta-band-btns { flex-direction: column !important; }
  .cta-band-btns .btn { width: 100% !important; justify-content: center !important; }
  .cf-row { grid-template-columns: 1fr !important; }
}

/* ── Formulaire : selects plein largeur ── */
@media(max-width:540px) {
  .cf-row { grid-template-columns: 1fr !important; }
}

/* ── Touch targets : min 44px pour tous les liens interactifs ── */
@media(max-width:768px) {
  .fq       { min-height: 52px !important; }
  .trust-it { padding: 10px 14px !important; }
}

/* ── Services : optimisation mobile ── */
@media(max-width:900px) {
  .svc-grid { gap: 14px !important; }
}
@media(max-width:640px) {
  .svc-grid { gap: 10px !important; }
  .scard { border-radius: 16px !important; padding: 20px !important; gap: 10px !important; }
  .scard-ico { width: 42px !important; height: 42px !important; border-radius: 10px !important; }
  .scard-ico svg { width: 19px !important; height: 19px !important; }
  .scard h3 { font-size: .9375rem !important; }
  .scard p  { font-size: .8125rem !important; line-height: 1.55 !important; }
  .scard-price { font-size: 11px !important; padding: 3px 10px !important; }
  .scard-link  { font-size: 12px !important; }
}

/* ── Zones : 2 colonnes (481-640px), 1 colonne (≤480px) ── */
@media(max-width:640px) {
  .zones-pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .zpill {
    justify-content: center !important;
    padding: 13px 16px !important;
    font-size: 13.5px !important;
    border-radius: 14px !important;
    min-height: 46px !important;
  }
}
/* ≤480px : 1 colonne — chaque pill prend toute la largeur */
@media(max-width:480px) {
  .zones-pills { grid-template-columns: 1fr !important; gap: 6px !important; }
  .zpill { border-radius: 12px !important; padding: 13px 20px !important; justify-content: flex-start !important; }
}

/* ── Footer : copyright centré sur mobile ── */
@media(max-width:540px) {
  .footer-bottom { flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .footer-logo { font-size: 16px !important; }
  .footer-desc { max-width: 100% !important; }
}

/* ── Topbar : simplifiée sur mobile ── */
@media(max-width:480px) {
  .m3llem-topbar, .topbar { padding: 7px 0 !important; }
}

/* ================================================================
   CORRECTIONS OVERFLOW — diagnostic mobile 375/390/412px
   ================================================================ */

/* 1. Containers m3llem-* : réduction padding mobile (comme .wrap) */
@media(max-width:768px) {
  .m3llem-container,
  .m3llem-container-narrow { padding: 0 18px !important; }
  .m3llem-section { padding: 72px 0 !important; }
}
@media(max-width:480px) {
  .m3llem-container,
  .m3llem-container-narrow { padding: 0 16px !important; }
}

/* 2. Boutons longs — texte autorisé à passer sur 2 lignes sur petit mobile */
@media(max-width:420px) {
  .btn { white-space: normal !important; text-align: center !important; height: auto !important; min-height: 48px !important; padding: 12px 20px !important; line-height: 1.3 !important; }
  .btn-lg { min-height: 52px !important; padding: 14px 22px !important; }
}

/* 3. Formulaire plein largeur garanti */
@media(max-width:540px) {
  .cf-inp, .cf-select, .cf-submit { width: 100% !important; box-sizing: border-box !important; }
  .cta-form { padding: 20px !important; border-radius: 14px !important; }
}

/* 4. Images et médias — jamais plus larges que le parent */
img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

/* 5. Tableaux et pre — scroll interne si trop larges */
table, pre { overflow-x: auto; max-width: 100%; }

/* 6. Liens dans topbar — tronqués si trop longs */
.m3llem-topbar-item, .topbar-it {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
@media(max-width:480px) {
  .m3llem-topbar-item, .topbar-it { max-width: 160px; }
}

/* 7. Footer grid inner pages — éviter débordement */
@media(max-width:380px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .fcol h4 { margin-top: 8px !important; }
}

/* 8. Section hero — empêcher tout overflow interne */
.hero, .cta-band, .b2b { overflow: hidden !important; }

/* 9. Pages internes — wrapper sécurisé */
@media(max-width:768px) {
  body:not(.home) .entry-content,
  body:not(.home) .entry-content-wrap {
    padding: 32px 18px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* 10. Grilles inner pages — 1 colonne sur mobile */
@media(max-width:640px) {
  body:not(.home) .wp-block-columns {
    flex-direction: column !important;
  }
  body:not(.home) .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }
}

/* ================================================================
   CORRECTIONS MOBILE v4.2
   ================================================================ */

/* A. Neutraliser le double padding Kadence sur les pages internes.
      Kadence génère --global-content-edge-padding via PHP et l'applique
      à .site-container. Notre .entry-content a déjà padding: 28px 18px.
      Sans ce reset, on cumule 2× le padding latéral sur mobile. */
@media(max-width:768px) {
  .site-container,
  .content-container,
  .content-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Reset margin vertical excessif sur .content-area */
  .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
}

/* B. Padding hero de page interne : réduire sur très petit écran */
@media(max-width:480px) {
  .m3llem-page-hero-inner { padding: 0 16px !important; }
  .m3llem-page-hero { padding: 52px 0 40px !important; }
  .m3llem-page-hero-title { font-size: clamp(1.6rem,8vw,2.2rem) !important; }
  .m3llem-page-hero-subtitle { font-size: 1rem !important; }
  .m3llem-page-hero-stat { font-size: .8rem !important; padding: 8px 14px !important; }
}

/* C. Grilles des pages de service — 1 colonne dès ≤640px */
@media(max-width:640px) {
  .m3llem-interventions-grid,
  .m3llem-pricing-grid,
  .m3llem-urgence-grid,
  .m3llem-related-grid,
  .m3llem-geo-services {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: 12px !important;
  }
  .m3llem-formule-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .m3llem-formule-card.featured { transform: scale(1) !important; }
}

/* D. Padding des cartes de services sur mobile — plus aéré */
@media(max-width:480px) {
  .m3llem-intervention-card,
  .m3llem-pricing-card,
  .m3llem-urgence-card,
  .m3llem-formule-card { padding: 22px 18px !important; }
  .m3llem-step { padding: 28px 20px !important; }
}

/* E. Highlight box et related services — pas de dépassement */
@media(max-width:480px) {
  .m3llem-highlight-box { padding: 16px 18px !important; }
  .m3llem-related-card { padding: 18px 14px !important; }
  .m3llem-problems-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
}

/* F. Section hero v2 (homepage) — plus d'espace côtés sur petit mobile */
@media(max-width:390px) {
  .hero-stats { flex-wrap: wrap !important; gap: 8px !important; }
  .hstat { min-width: 70px !important; }
  .how-step { padding: 28px 18px !important; }
}

/* G. FAQ wrap — pas de contrainte de largeur sur mobile */
@media(max-width:640px) {
  .faq-wrap { max-width: 100% !important; }
}
