/* =========================================================
   ACHAT BACKLINKS — TEMPLATES METIER + HUB (CLEAN)
   Version nettoyée pour intégration dans le child theme
   - doublons supprimés
   - ordre rationalisé
   - patches de compatibilité PHP inclus
   - le CSS du plugin seo-programmatic-engine.css doit rester actif
   ========================================================= */

/* =========================================================
   TEMPLATE SEO METIER — BASE + V2.1
   ========================================================= */

/* ---------- Base sections ---------- */
.ab-metier-template-v21{
  position:relative;
}

.ab-metier-template-v21 .section_wrapper,
.ab-metier-template-v21 .mcb-wrap-inner{
  position:relative;
}

.ab-metier-template-v21.ab-section,
.ab-metier-template-v21.ab-metier-hero-v4{
  padding:72px 0;
}

.ab-metier-template-v21.ab-section-alt{
  background:linear-gradient(180deg,#f8fafc 0%,#f3f6fa 100%);
}

.ab-metier-template-v21 h2{
  margin:0 0 18px;
  font-size:36px;
  line-height:1.14;
  letter-spacing:-.02em;
  font-weight:800;
  color:#111827;
}

.ab-metier-template-v21 .ab-wysiwyg,
.ab-metier-template-v21 .ab-wysiwyg p,
.ab-metier-template-v21 .ab-wysiwyg li{
  color:#374151;
  font-size:17px;
  line-height:1.72;
}

.ab-metier-template-v21 .ab-wysiwyg p:last-child{
  margin-bottom:0;
}

.ab-metier-template-v21 .ab-wrap + .ab-wrap{
  margin-top:0;
}

/* ---------- HERO ---------- */
.ab-metier-cap{
  text-transform:capitalize;
}

.ab-metier-hero-v4.ab-metier-template-v21{
  position:relative;
  padding:72px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(255,0,84,.10), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f7f8fa 100%);
  overflow:hidden;
}

.ab-metier-hero-v4.ab-metier-template-v21:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.45) 100%);
  pointer-events:none;
}

.ab-metier-hero-v4.ab-metier-template-v21 .section_wrapper,
.ab-metier-hero-v4.ab-metier-template-v21 .mcb-wrap-inner{
  z-index:2;
}

.ab-hero-main-v4{
  padding-right:28px;
}

.ab-hero-kicker-v4{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
  padding:8px 14px;
  border:1px solid rgba(255,0,84,.14);
  border-radius:999px;
  background:rgba(255,255,255,.88);
  box-shadow:0 8px 20px rgba(16,24,40,.04);
  font-size:13px;
  line-height:1;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#ff0054;
}

.ab-metier-hero-v4.ab-metier-template-v21 h1{
  margin:0 0 22px;
  font-size:52px;
  line-height:1.06;
  letter-spacing:-.03em;
  font-weight:800;
  color:#111827;
}

.ab-intro-v4{
  max-width:840px;
}

.ab-intro-v4 p{
  margin:0 0 16px;
  font-size:18px;
  line-height:1.72;
  color:#374151;
}

.ab-intro-v4 p:last-child{
  margin-bottom:0;
}

.ab-proofbar-v4{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:28px 0 30px;
}

.ab-proofbar-v4 span{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:10px 14px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:14px;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 24px rgba(17,24,39,.06);
  font-size:14px;
  line-height:1.35;
  font-weight:600;
  color:#1f2937;
}

/* ---------- Legacy buttons ---------- */
.ab-page-btn-v4{
  margin-top:6px;
}

.ab-page-btn-v4 a,
.ab-page-btn-v4 .button_theme{
  width:100%;
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none !important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
  box-sizing:border-box;
}

.ab-page-btn-v4 a:before,
.ab-page-btn-v4 a:after,
.ab-page-btn-v4 .button_theme:before,
.ab-page-btn-v4 .button_theme:after{
  display:none !important;
  content:none !important;
}

.ab-page-btn-primary.ab-page-btn-v4 a,
.ab-page-btn-primary.ab-page-btn-v4 .button_theme{
  background:#0f172a !important;
  border:2px solid #0f172a !important;
  box-shadow:0 14px 30px rgba(15,23,42,.18) !important;
  color:#fff !important;
}

.ab-page-btn-primary.ab-page-btn-v4 a .button_label,
.ab-page-btn-primary.ab-page-btn-v4 .button_label{
  color:#fff !important;
  font-weight:700;
}

.ab-page-btn-primary.ab-page-btn-v4 a:hover,
.ab-page-btn-primary.ab-page-btn-v4 .button_theme:hover{
  transform:translateY(-1px);
  background:#0b1220 !important;
  border-color:#0b1220 !important;
  box-shadow:0 18px 34px rgba(15,23,42,.24) !important;
  color:#fff !important;
}

.ab-page-btn-primary.ab-page-btn-v4 a:hover .button_label,
.ab-page-btn-primary.ab-page-btn-v4 .button_theme:hover .button_label{
  color:#fff !important;
}

.ab-page-btn-secondary.ab-page-btn-v4 a,
.ab-page-btn-secondary.ab-page-btn-v4 .button_theme{
  background:#ff0054 !important;
  border:2px solid #ff0054 !important;
  box-shadow:0 14px 30px rgba(255,0,84,.18) !important;
  color:#fff !important;
}

.ab-page-btn-secondary.ab-page-btn-v4 a .button_label,
.ab-page-btn-secondary.ab-page-btn-v4 .button_label{
  color:#fff !important;
  font-weight:700;
}

.ab-page-btn-secondary.ab-page-btn-v4 a:hover,
.ab-page-btn-secondary.ab-page-btn-v4 .button_theme:hover{
  transform:translateY(-1px);
  background:#e5004c !important;
  border-color:#e5004c !important;
  box-shadow:0 18px 34px rgba(255,0,84,.24) !important;
  color:#fff !important;
}

.ab-page-btn-secondary.ab-page-btn-v4 a:hover .button_label,
.ab-page-btn-secondary.ab-page-btn-v4 .button_theme:hover .button_label{
  color:#fff !important;
}

/* ---------- HERO actions links ---------- */
.ab-hero-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:8px;
  max-width:760px;
}

.ab-hero-link{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:14px;
  text-decoration:none !important;
  font-size:15px;
  line-height:1.2;
  font-weight:700;
  box-sizing:border-box;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ab-hero-link-primary{
  background:#0f172a;
  border:2px solid #0f172a;
  color:#fff !important;
  box-shadow:0 14px 30px rgba(15,23,42,.18);
}

.ab-hero-link-primary:hover{
  transform:translateY(-1px);
  background:#0b1220;
  border-color:#0b1220;
  color:#fff !important;
  box-shadow:0 18px 34px rgba(15,23,42,.24);
}

.ab-hero-link-secondary{
  background:#ffffff;
  border:2px solid #ff0054;
  color:#ff0054 !important;
  box-shadow:0 10px 24px rgba(255,0,84,.10);
}

.ab-hero-link-secondary:hover{
  transform:translateY(-1px);
  background:#ff0054;
  border-color:#ff0054;
  color:#fff !important;
  box-shadow:0 18px 34px rgba(255,0,84,.20);
}

/* ---------- HERO side panel ---------- */
.ab-side-panel-v4{
  position:relative;
  padding:26px 24px 22px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(248,250,252,.98) 100%);
  box-shadow:0 24px 50px rgba(17,24,39,.08),0 2px 8px rgba(17,24,39,.04);
  overflow:hidden;
}

.ab-side-panel-v4:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,#ff0054 0%,#ff8a00 100%);
}

.ab-side-panel-label{
  display:inline-flex;
  margin-bottom:14px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,0,84,.06);
  color:#ff0054;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.ab-side-panel-v4 h3{
  margin:0 0 18px;
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  color:#111827;
}

.ab-side-panel-grid{
  display:grid;
  gap:10px;
}

.ab-side-line{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:12px 0;
  border-bottom:1px solid rgba(17,24,39,.08);
}

.ab-side-line:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.ab-side-key{
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#6b7280;
}

.ab-side-value{
  font-size:15px;
  line-height:1.45;
  font-weight:600;
  color:#111827;
}

/* ---------- Generic cards ---------- */
.ab-metier-template-v21 .ab-side-card-v2,
.ab-metier-template-v21 .ab-step-card,
.ab-metier-template-v21 .ab-faq-placeholder{
  border:1px solid rgba(17,24,39,.08);
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 40px rgba(17,24,39,.06);
}

.ab-side-card-v2{
  padding:28px 24px;
}

.ab-side-card-v2 h3{
  margin:0 0 14px;
  font-size:28px;
  line-height:1.18;
  color:#111827;
}

.ab-side-card-v2 p,
.ab-side-card-v2 li{
  color:#374151;
  line-height:1.68;
}

.ab-side-card-v2 ul{
  margin:0;
  padding-left:18px;
}

.ab-side-card-v2 li + li{
  margin-top:8px;
}

/* ---------- Steps ---------- */
.ab-step-card{
  height:100%;
  padding:28px 24px;
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}

.ab-step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  margin-bottom:14px;
  border-radius:12px;
  background:rgba(255,0,84,.08);
  color:#ff0054;
  font-weight:800;
}

.ab-step-card h3{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.2;
  color:#111827;
}

.ab-step-card p,
.ab-step-card li{
  color:#374151;
  line-height:1.65;
}

/* ---------- FAQ wrapper ---------- */
.ab-faq-placeholder{
  padding:6px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}

/* ---------- Plugin blocks ---------- */
.ab-metier-template-v21 .ab-seo-dual-grid,
.ab-metier-template-v21 .ab-seo-local-grid,
.ab-metier-template-v21 .ab-metier-cta-grid,
.ab-metier-template-v21 .ab-maillage-business,
.ab-metier-template-v21 .ab-maillage-villes,
.ab-metier-template-v21 .ab-faq-metier{
  margin-top:0;
}

.ab-metier-template-v21 .ab-seo-card,
.ab-metier-template-v21 .ab-local-card,
.ab-metier-template-v21 .ab-maillage-card,
.ab-metier-template-v21 .ab-ville-card,
.ab-metier-template-v21 .ab-cta-panel,
.ab-metier-template-v21 .ab-faq-item{
  border-radius:22px;
}

/* ---------- Better visual rhythm ---------- */
.ab-metier-template-v21 .mcb-wrap + .mcb-wrap{
  margin-top:28px;
}

.ab-metier-template-v21 .mcb-item-heading + .mcb-item-column,
.ab-metier-template-v21 .mcb-item-heading + .mcb-item-button{
  margin-top:8px;
}

/* =========================================================
   TEMPLATE SEO METIER — V2.2 / V2.3 / V2.5 / V2.6 / V2.7
   ========================================================= */

/* ---------- V2.2 Panels ---------- */
.ab-v22-split-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}

.ab-v22-panel{
  height:100%;
  padding:30px 28px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%);
  box-shadow:0 18px 44px rgba(17,24,39,.06);
}

.ab-v22-panel__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-bottom:14px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,0,84,.08);
  border:1px solid rgba(255,0,84,.14);
  color:#ff0054;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.ab-v22-panel h2{
  margin:0 0 16px;
  font-size:30px;
  line-height:1.14;
  letter-spacing:-.02em;
  color:#111827;
}

.ab-v22-panel__content{
  min-width:0;
}

.ab-v22-panel__content > *:first-child{
  margin-top:0 !important;
}

.ab-v22-panel__content > *:last-child{
  margin-bottom:0 !important;
}

.ab-v22-panel--benefits .ab-wysiwyg,
.ab-v22-panel--benefits .ab-wysiwyg p,
.ab-v22-panel--benefits .ab-wysiwyg li{
  font-size:16px;
  line-height:1.72;
}

.ab-v22-campaign-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:24px;
  align-items:start;
}

.ab-v22-campaign-stack{
  display:grid;
  gap:24px;
  min-width:0;
}

.ab-v22-campaign-grid .ab-step-card{
  padding:30px 28px;
  border-radius:24px;
  box-shadow:0 18px 44px rgba(17,24,39,.06);
}

.ab-v22-campaign-grid .ab-step-card h3{
  font-size:24px;
  line-height:1.18;
}

.ab-v22-campaign-grid .ab-step-card p,
.ab-v22-campaign-grid .ab-step-card li{
  font-size:15px;
  line-height:1.62;
}

.ab-v22-campaign-grid .ab-step-card ul{
  margin:0;
  padding-left:18px;
}

.ab-v22-campaign-grid .ab-step-card li + li{
  margin-top:8px;
}

.ab-v22-campaign-grid .ab-step-card--main{
  min-height:100%;
}

.ab-v22-cta-section .ab-metier-cta-band{
  margin:14px 0 0;
}

.ab-v22-cta-section .ab-metier-cta-main,
.ab-v22-cta-section .ab-metier-cta-side{
  box-shadow:0 22px 56px rgba(7,22,47,.20);
}

.ab-v22-maillage-section .ab-maillage-business,
.ab-v22-locations-section .ab-maillage-villes{
  margin:0;
  padding:34px;
  border-radius:24px;
  background:linear-gradient(180deg,#f8fafc 0%,#f4f7fb 100%);
  border:1px solid #e7edf5;
  box-shadow:0 18px 44px rgba(17,24,39,.05);
}

.ab-v22-maillage-section .ab-maillage-title,
.ab-v22-locations-section .ab-maillage-villes-title{
  font-size:30px;
  line-height:1.16;
  letter-spacing:-.02em;
}

.ab-v22-maillage-section .ab-maillage-intro,
.ab-v22-locations-section .ab-maillage-villes-intro{
  max-width:860px;
}

.ab-v22-locations-section .ab-wysiwyg{
  margin-bottom:10px;
  max-width:980px;
}

.ab-v22-locations-section .ab-maillage-villes{
  margin-top:18px;
}

.ab-v22-faq-section .ab-faq-placeholder{
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}

.ab-v22-faq-section .ab-faq-metier{
  margin-top:0;
  border-radius:22px;
  box-shadow:0 18px 44px rgba(17,24,39,.05);
}

/* ---------- V2.3 Panels / Campaign ---------- */
.ab-v23-panels-stack{
  display:grid;
  gap:24px;
}

.ab-v23-panel{
  padding:30px 28px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%);
  box-shadow:0 18px 44px rgba(17,24,39,.06);
}

.ab-v23-panel__top{
  margin-bottom:18px;
}

.ab-v23-panel__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-bottom:14px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,0,84,.08);
  border:1px solid rgba(255,0,84,.14);
  color:#ff0054;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.ab-v23-panel h2{
  margin:0;
  font-size:34px;
  line-height:1.12;
  letter-spacing:-.02em;
  color:#111827;
}

.ab-v23-panel__content > *:first-child{
  margin-top:0 !important;
}

.ab-v23-panel__content > *:last-child{
  margin-bottom:0 !important;
}

.ab-v23-panel--benefits{
  max-width:880px;
}

.ab-v23-panel--benefits .ab-wysiwyg,
.ab-v23-panel--benefits .ab-wysiwyg p,
.ab-v23-panel--benefits .ab-wysiwyg li{
  font-size:17px;
  line-height:1.74;
}

.ab-v23-panel--priority [class*="grid"],
.ab-v23-panel--priority [class*="cards"],
.ab-v23-panel--priority [class*="list"]{
  width:100%;
}

.ab-v23-campaign-layout{
  display:grid;
  gap:24px;
}

.ab-v23-campaign-intro,
.ab-v23-campaign-card{
  padding:30px 28px;
  border-radius:24px;
  box-shadow:0 18px 44px rgba(17,24,39,.06);
}

.ab-v23-campaign-intro{
  max-width:980px;
}

.ab-v23-campaign-duo{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
}

.ab-v23-campaign-layout .ab-step-card h3{
  font-size:26px;
  line-height:1.16;
}

.ab-v23-campaign-layout .ab-step-card p,
.ab-v23-campaign-layout .ab-step-card li{
  font-size:15px;
  line-height:1.66;
}

.ab-v23-campaign-layout .ab-step-card ul{
  margin:0;
  padding-left:18px;
}

.ab-v23-campaign-layout .ab-step-card li + li{
  margin-top:8px;
}

/* ---------- V2.5 Diagnostic / Priorities / Campaign ---------- */
.ab-v25-shell-card{
  padding:32px 30px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%);
  box-shadow:0 18px 44px rgba(17,24,39,.06);
}

.ab-v25-panel-head{
  margin-bottom:18px;
}

.ab-v25-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-bottom:14px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,0,84,.08);
  border:1px solid rgba(255,0,84,.14);
  color:#ff0054;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.ab-v25-shell-card h2,
.ab-v25-shell-card h3{
  margin:0;
  color:#111827;
}

.ab-v25-shell-card h2{
  font-size:34px;
  line-height:1.12;
  letter-spacing:-.02em;
}

.ab-v25-shell-card h3{
  font-size:30px;
  line-height:1.14;
  letter-spacing:-.02em;
}

.ab-v25-panel-intro{
  max-width:920px;
  margin:14px 0 0;
  color:#4b5563;
  font-size:16px;
  line-height:1.68;
}

.ab-v25-why-section .ab-v25-why-copy{
  max-width:1180px;
}

.ab-v25-why-section .ab-v25-why-copy p{
  margin:0 0 18px;
}

.ab-v25-why-section .ab-v25-why-copy p:last-child{
  margin-bottom:0;
}

.ab-v25-diagnostic-card{
  margin-top:4px;
}

.ab-v25-obstacles .ab-v2-grid-2,
.ab-v25-obstacles .ab-v2-grid-3{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.ab-v25-obstacles .ab-v2-grid-2 > *:last-child:nth-child(odd),
.ab-v25-obstacles .ab-v2-grid-3 > *:last-child:nth-child(odd){
  grid-column:1 / -1;
}

.ab-v25-obstacles .ab-v2-card{
  height:100%;
  padding:26px 24px;
  border-radius:20px;
  box-shadow:none;
  background:#fff;
}

.ab-v25-obstacles .ab-v2-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.24;
}

.ab-v25-obstacles .ab-v2-card p{
  margin:0;
  color:#4b5563;
  line-height:1.7;
}

.ab-v25-priority-card{
  display:grid;
  gap:24px;
}

.ab-v25-priority-pages .ab-v2-grid-2,
.ab-v25-priority-pages .ab-v2-grid-3{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.ab-v25-priority-pages .ab-v2-card{
  min-height:100%;
  padding:24px 20px;
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}

.ab-v25-priority-pages .ab-v2-label{
  max-width:none;
  min-height:auto;
  padding:8px 12px;
  font-size:11px;
  line-height:1.45;
}

.ab-v25-priority-pages .ab-v2-card h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.28;
}

.ab-v25-priority-pages .ab-v2-card p{
  margin:0;
  color:#4b5563;
  line-height:1.65;
}

.ab-v25-impact-card{
  padding:26px 24px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:20px;
  background:#fff;
}

.ab-v25-impact-card h3{
  margin-bottom:14px;
  font-size:30px;
}

.ab-v25-impact-copy{
  max-width:980px;
}

.ab-v25-impact-copy p{
  margin:0 0 14px;
}

.ab-v25-impact-copy p:last-child{
  margin-bottom:0;
}

.ab-v25-campaign-section .mcb-wrap + .mcb-wrap{
  margin-top:24px;
}

.ab-v25-campaign-intro{
  max-width:1180px;
}

.ab-v25-campaign-copy{
  max-width:1040px;
  margin-top:14px;
}

.ab-v25-campaign-copy p{
  margin:0 0 14px;
}

.ab-v25-campaign-copy p:last-child{
  margin-bottom:0;
}

.ab-v25-campaign-panel{
  height:100%;
}

.ab-v25-flow-list{
  margin-top:16px;
}

.ab-v25-steps .ab-v2-grid-2,
.ab-v25-steps .ab-v2-grid-3,
.ab-v25-livrables .ab-v2-grid-2,
.ab-v25-livrables .ab-v2-grid-3{
  grid-template-columns:1fr;
  gap:14px;
}

.ab-v25-steps .ab-v2-card,
.ab-v25-livrables .ab-v2-card{
  padding:20px 18px;
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}

.ab-v25-steps .ab-v2-card h3,
.ab-v25-livrables .ab-v2-card h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.26;
}

.ab-v25-steps .ab-v2-card p,
.ab-v25-livrables .ab-v2-card p{
  margin:0;
  color:#4b5563;
  line-height:1.68;
}

.ab-v25-steps .ab-v2-step-num,
.ab-v25-livrables .ab-v2-step-num{
  width:38px;
  height:38px;
  margin-bottom:12px;
}

/* ---------- V2.6 Local declinations ---------- */
.ab-v26-locations-shell{
  margin-top:18px;
  padding:30px 32px 26px;
  border:1px solid #e7edf5;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%);
  box-shadow:0 18px 44px rgba(17,24,39,.05);
}

.ab-v26-locations-top{
  margin-bottom:18px;
}

.ab-v26-locations-shell .ab-v25-eyebrow{
  margin-bottom:12px;
}

.ab-v26-locations-lead{
  margin:0;
  max-width:820px;
  font-size:16px;
  line-height:1.68;
  color:#475569;
}

.ab-v22-locations-section .ab-v26-locations-shell .ab-maillage-villes{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.ab-v22-locations-section .ab-v26-locations-shell .ab-maillage-villes-title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.01em;
  color:#0f172a;
}

.ab-v22-locations-section .ab-v26-locations-shell .ab-maillage-villes-intro{
  display:none;
}

.ab-v22-locations-section .ab-v26-locations-shell .ab-maillage-villes-grid{
  gap:14px;
  margin-top:10px;
}

.ab-v22-locations-section .ab-v26-locations-shell .ab-ville-chip{
  min-height:44px;
  padding:10px 16px;
  border:1px solid #dce5ef;
  background:#fff;
  box-shadow:0 6px 16px rgba(17,24,39,.04);
  font-size:14px;
  line-height:1.25;
  font-weight:700;
  color:#0f172a;
}

.ab-v22-locations-section .ab-v26-locations-shell .ab-ville-chip:hover{
  background:#ff0054;
  border-color:#ff0054;
  color:#fff;
  box-shadow:0 10px 24px rgba(255,0,84,.18);
  transform:translateY(-1px);
}

.ab-v26-locations-footnote{
  margin:18px 0 0;
  padding-top:16px;
  border-top:1px solid #e8eef5;
  font-size:14px;
  line-height:1.65;
  color:#64748b;
}

/* ---------- CTA patch ---------- */
.ab-metier-template-v21 .ab-metier-cta-main h1,
.ab-metier-template-v21 .ab-metier-cta-main h2,
.ab-metier-template-v21 .ab-metier-cta-main h3,
.ab-metier-template-v21 .ab-metier-cta-main h4{
  color:#ffffff !important;
}

.ab-metier-template-v21 .ab-metier-cta-main p,
.ab-metier-template-v21 .ab-metier-cta-main li,
.ab-metier-template-v21 .ab-metier-cta-main .ab-metier-cta-note{
  color:rgba(255,255,255,.94) !important;
}

.ab-metier-template-v21 .ab-metier-cta-main .ab-metier-cta-kicker{
  color:#ff7aa9 !important;
}

.ab-metier-template-v21 .ab-metier-cta-side,
.ab-metier-template-v21 .ab-metier-cta-side *,
.ab-metier-template-v21 .ab-metier-cta-side .ab-metier-cta-badge{
  color:#ffffff;
}

.ab-metier-template-v21 .ab-metier-cta-side .ab-btn,
.ab-metier-template-v21 .ab-metier-cta-side a{
  color:inherit;
}

/* ---------- V2.7 Notes ---------- */
.ab-v27-helper-note{
  margin:18px 0 0;
  font-size:15px;
  line-height:1.7;
  color:#475569;
}

.ab-v27-helper-note-center{
  text-align:center;
}

.ab-v27-inline-link{
  color:#ff0054;
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid rgba(255,0,84,.28);
  transition:color .2s ease,border-color .2s ease;
}

.ab-v27-inline-link:hover{
  color:#e5004c;
  border-bottom-color:#e5004c;
}

.ab-v25-diagnostic-card .ab-v27-helper-note,
.ab-v25-impact-card .ab-v27-helper-note,
.ab-v25-campaign-intro .ab-v27-helper-note{
  max-width:900px;
}

/* =========================================================
   PATCH COMPATIBILITÉ — TEMPLATE PHP METIER
   ========================================================= */

.ab-metier-hero-v4.ab-metier-template-v21 .section_wrapper.mcb-section-inner{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(320px,1fr);
  gap:32px;
  align-items:start;
}

.ab-v25-campaign-section .section_wrapper.mcb-section-inner{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
}

.ab-v25-campaign-section .section_wrapper.mcb-section-inner > .ab-wrap:first-child{
  grid-column:1 / -1;
}

.ab-v25-why-section .section_wrapper.mcb-section-inner,
.ab-metier-template-v21.ab-section:not(.ab-v25-campaign-section):not(.ab-metier-hero-v4) .section_wrapper.mcb-section-inner{
  display:grid;
  gap:24px;
}

.ab-metier-template-v21 .ab-wrap{
  min-width:0;
}

/* =========================================================
   TEMPLATE HUB METIER — V1
   ========================================================= */

.ab-hub-template-v1{
  --ab-hub-accent:#ff0054;
  --ab-hub-dark:#0f172a;
  --ab-hub-text:#111827;
  --ab-hub-text-soft:#475467;
  --ab-hub-line:rgba(17,24,39,.08);
}

.ab-hub-template-v1.ab-section,
.ab-hub-template-v1.ab-metier-hero-v4{
  padding:72px 0;
}

.ab-hub-template-v1 .ab-wysiwyg,
.ab-hub-template-v1 .ab-wysiwyg p,
.ab-hub-template-v1 .ab-wysiwyg li{
  color:var(--ab-hub-text-soft);
}

.ab-hub-template-v1 .ab-hub-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,0,84,.08);
  border:1px solid rgba(255,0,84,.14);
  color:var(--ab-hub-accent);
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.ab-hub-template-v1 .ab-hub-section-head{
  margin-bottom:28px;
}

.ab-hub-template-v1 .ab-hub-section-head h2{
  margin:0 0 12px;
}

.ab-hub-template-v1 .ab-hub-section-head p{
  margin:0;
  max-width:780px;
  color:#475467;
  font-size:17px;
  line-height:1.72;
}

.ab-hub-template-v1 .ab-v25-shell-card{
  overflow:hidden;
}

.ab-hub-template-v1 .ab-v2-card{
  height:100%;
  padding:24px 22px;
  border:1px solid rgba(17,24,39,.07);
  border-radius:20px;
  background:#fff;
}

.ab-hub-template-v1 .ab-v2-card h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.26;
  color:#111827;
}

.ab-hub-template-v1 .ab-v2-card p,
.ab-hub-template-v1 .ab-v2-card li{
  color:#475467;
  font-size:15px;
  line-height:1.68;
}

.ab-hub-bullet-list{
  list-style:none !important;
  margin:0;
  padding:0 !important;
}

.ab-hub-bullet-list li{
  position:relative;
  list-style:none !important;
  margin:0;
  padding:0 0 0 18px;
}

.ab-hub-bullet-list li::marker{
  content:"";
  font-size:0;
}

.ab-hub-bullet-list li:before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:8px;
  height:8px;
  border-radius:999px;
  background:#0f172a;
  box-shadow:0 0 0 4px rgba(15,23,42,.06);
}

.ab-hub-bullet-list li + li{
  margin-top:10px;
}

.ab-hub-focus-card,
.ab-hub-insight-card,
.ab-hub-list-card,
.ab-hub-links-card{
  box-shadow:0 14px 28px rgba(17,24,39,.04);
}

.ab-hub-link-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.ab-hub-link-pills a,
.ab-hub-link-pills span{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.08);
  background:#fff;
  color:#334155;
  font-size:14px;
  font-weight:700;
  text-decoration:none !important;
}

.ab-hub-link-pills a:hover{
  transform:translateY(-1px);
  border-color:rgba(255,0,84,.18);
  box-shadow:0 12px 24px rgba(17,24,39,.08);
}

.ab-hub-orientation-card{
  padding:34px 32px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border:1px solid rgba(17,24,39,.08);
}

.ab-hub-actions{
  margin-top:18px;
}

.ab-hub-faq-card{
  padding:28px 28px 10px;
}

.ab-hub-faq-card .ab-faq-item{
  padding:20px 0;
  border-bottom:1px solid rgba(17,24,39,.08);
}

.ab-hub-faq-card .ab-faq-item:first-child{
  padding-top:0;
}

.ab-hub-faq-card .ab-faq-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.ab-hub-faq-card .ab-faq-item h3{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.32;
}

.ab-hub-faq-card .ab-faq-item p{
  margin:0;
  color:#475467;
  font-size:15px;
  line-height:1.72;
}

/* =========================================================
   PATCH COMPATIBILITÉ — HUB TAXONOMIE PHP
   ========================================================= */

.ab-metier-hero-v4.ab-hub-template-v1 .section_wrapper.mcb-section-inner{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(320px,1fr);
  gap:32px;
  align-items:start;
}

.ab-hub-template-v1.ab-section .section_wrapper.mcb-section-inner{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
}

.ab-hub-template-v1 .ab-wrap{
  min-width:0;
}

.ab-hub-shortcode-host .section_wrapper.mcb-section-inner{
  display:block;
}

/* =========================================================
   RESPONSIVE GLOBAL
   ========================================================= */

@media (max-width:1239px){
  .ab-metier-hero-v4.ab-metier-template-v21 h1{
    font-size:46px;
  }

  .ab-metier-template-v21 h2{
    font-size:32px;
  }

  .ab-hero-main-v4{
    padding-right:18px;
  }

  .ab-v22-panel h2{
    font-size:28px;
  }

  .ab-v22-campaign-grid .ab-step-card h3{
    font-size:22px;
  }

  .ab-v22-maillage-section .ab-maillage-title,
  .ab-v22-locations-section .ab-maillage-villes-title{
    font-size:28px;
  }

  .ab-v23-panel h2{
    font-size:30px;
  }

  .ab-v23-campaign-layout .ab-step-card h3{
    font-size:24px;
  }

  .ab-v25-shell-card h2{
    font-size:30px;
  }

  .ab-v25-shell-card h3{
    font-size:26px;
  }
}

@media (max-width:959px){
  .ab-metier-template-v21.ab-section,
  .ab-metier-template-v21.ab-metier-hero-v4,
  .ab-hub-template-v1.ab-section,
  .ab-hub-template-v1.ab-metier-hero-v4{
    padding:56px 0;
  }

  .ab-metier-hero-v4.ab-metier-template-v21{
    padding:56px 0 42px;
  }

  .ab-hero-main-v4{
    padding-right:0;
    margin-bottom:22px;
  }

  .ab-metier-hero-v4.ab-metier-template-v21 h1{
    font-size:40px;
    line-height:1.08;
  }

  .ab-metier-template-v21 h2{
    font-size:28px;
    line-height:1.18;
  }

  .ab-intro-v4 p,
  .ab-metier-template-v21 .ab-wysiwyg,
  .ab-metier-template-v21 .ab-wysiwyg p,
  .ab-metier-template-v21 .ab-wysiwyg li{
    font-size:16px;
    line-height:1.68;
  }

  .ab-side-panel-v4,
  .ab-side-card-v2,
  .ab-step-card{
    padding:22px 20px 20px;
  }

  .ab-side-panel-v4 h3,
  .ab-side-card-v2 h3{
    font-size:24px;
  }

  .ab-step-card h3{
    font-size:20px;
  }

  .ab-v22-split-grid,
  .ab-v22-campaign-grid,
  .ab-metier-hero-v4.ab-metier-template-v21 .section_wrapper.mcb-section-inner,
  .ab-metier-hero-v4.ab-hub-template-v1 .section_wrapper.mcb-section-inner,
  .ab-hub-template-v1.ab-section .section_wrapper.mcb-section-inner{
    grid-template-columns:1fr;
  }

  .ab-v22-panel,
  .ab-v22-campaign-grid .ab-step-card,
  .ab-v23-panel,
  .ab-v23-campaign-intro,
  .ab-v23-campaign-card,
  .ab-v25-shell-card{
    padding:24px 22px;
    border-radius:20px;
  }

  .ab-v22-panel h2{
    font-size:26px;
  }

  .ab-v22-campaign-grid .ab-step-card h3,
  .ab-v23-campaign-layout .ab-step-card h3{
    font-size:21px;
  }

  .ab-v22-maillage-section .ab-maillage-business,
  .ab-v22-locations-section .ab-maillage-villes,
  .ab-v26-locations-shell{
    padding:24px 22px 22px;
    border-radius:22px;
  }

  .ab-v22-cta-section .ab-metier-cta-band{
    margin-top:8px;
  }

  .ab-v23-panel h2,
  .ab-v25-shell-card h2{
    font-size:28px;
  }

  .ab-v23-campaign-duo{
    grid-template-columns:1fr;
  }

  .ab-v23-campaign-intro{
    max-width:none;
  }

  .ab-v25-shell-card h3{
    font-size:24px;
  }

  .ab-v25-obstacles .ab-v2-grid-2,
  .ab-v25-obstacles .ab-v2-grid-3,
  .ab-v25-priority-pages .ab-v2-grid-2,
  .ab-v25-priority-pages .ab-v2-grid-3{
    grid-template-columns:1fr;
  }

  .ab-v25-obstacles .ab-v2-grid-2 > *:last-child:nth-child(odd),
  .ab-v25-obstacles .ab-v2-grid-3 > *:last-child:nth-child(odd){
    grid-column:auto;
  }

  .ab-v22-locations-section .ab-v26-locations-shell .ab-maillage-villes-title{
    font-size:22px;
  }
}

@media (max-width:767px){
  .ab-metier-template-v21.ab-section,
  .ab-metier-template-v21.ab-metier-hero-v4{
    padding:42px 0;
  }

  .ab-metier-hero-v4.ab-metier-template-v21{
    padding:42px 0 28px;
  }

  .ab-hero-kicker-v4{
    font-size:11px;
    padding:7px 12px;
  }

  .ab-metier-hero-v4.ab-metier-template-v21 h1{
    font-size:32px;
    line-height:1.12;
  }

  .ab-metier-template-v21 h2{
    font-size:24px;
  }

  .ab-intro-v4 p,
  .ab-metier-template-v21 .ab-wysiwyg,
  .ab-metier-template-v21 .ab-wysiwyg p,
  .ab-metier-template-v21 .ab-wysiwyg li{
    font-size:15px;
    line-height:1.65;
  }

  .ab-proofbar-v4{
    margin:22px 0 24px;
    gap:8px;
  }

  .ab-proofbar-v4 span{
    width:100%;
    min-height:auto;
    font-size:13px;
    padding:10px 12px;
  }

  .ab-side-panel-v4,
  .ab-side-card-v2,
  .ab-step-card,
  .ab-faq-placeholder,
  .ab-v22-panel,
  .ab-v22-campaign-grid .ab-step-card,
  .ab-v23-panel,
  .ab-v23-campaign-intro,
  .ab-v23-campaign-card,
  .ab-v25-shell-card{
    padding:20px;
    border-radius:18px;
  }

  .ab-side-panel-v4 h3,
  .ab-side-card-v2 h3{
    font-size:22px;
  }

  .ab-step-card h3,
  .ab-v22-campaign-grid .ab-step-card h3,
  .ab-v23-campaign-layout .ab-step-card h3,
  .ab-v25-obstacles .ab-v2-card h3,
  .ab-v25-priority-pages .ab-v2-card h3,
  .ab-v25-steps .ab-v2-card h3,
  .ab-v25-livrables .ab-v2-card h3{
    font-size:18px;
  }

  .ab-side-value{
    font-size:14px;
  }

  .ab-hero-actions{
    grid-template-columns:1fr;
    gap:10px;
  }

  .ab-hero-link{
    min-height:50px;
    padding:0 16px;
    font-size:14px;
  }

  .ab-v22-panel__eyebrow,
  .ab-v25-eyebrow{
    font-size:11px;
  }

  .ab-v22-panel h2{
    font-size:22px;
    line-height:1.2;
  }

  .ab-v23-panel h2,
  .ab-v25-shell-card h2{
    font-size:24px;
    line-height:1.16;
  }

  .ab-v23-panel--benefits .ab-wysiwyg,
  .ab-v23-panel--benefits .ab-wysiwyg p,
  .ab-v23-panel--benefits .ab-wysiwyg li,
  .ab-v25-panel-intro,
  .ab-v25-impact-copy,
  .ab-v25-impact-copy p,
  .ab-v25-campaign-copy,
  .ab-v25-campaign-copy p,
  .ab-v27-helper-note{
    font-size:14px;
    line-height:1.65;
  }

  .ab-v25-obstacles .ab-v2-card,
  .ab-v25-priority-pages .ab-v2-card,
  .ab-v25-impact-card,
  .ab-v25-steps .ab-v2-card,
  .ab-v25-livrables .ab-v2-card{
    padding:18px 16px;
    border-radius:16px;
  }

  .ab-v26-locations-shell{
    padding:20px 18px 18px;
    border-radius:18px;
  }

  .ab-v26-locations-lead{
    font-size:15px;
    line-height:1.62;
  }

  .ab-v22-locations-section .ab-v26-locations-shell .ab-maillage-villes-title{
    font-size:20px;
  }

  .ab-v22-locations-section .ab-v26-locations-shell .ab-maillage-villes-grid{
    gap:10px;
  }

  .ab-v22-locations-section .ab-v26-locations-shell .ab-ville-chip{
    width:100%;
    justify-content:flex-start;
    font-size:13px;
  }
}
