
/* ============================================================
   ABPE Component CSS Framework
   GP Elements Hook #18371 — wp_head — Entire Site

   Sections:
   1. Design Tokens (colors, radii)
   2. Table of Contents (EZ-TOC)
   3. Typography & Content
   4. Tables
   5. Two-Column Layout
   6. Badges
   7. Info Boxes
   8. Highlight Card
   9. Numbered Steps
   10. Stats Grid
   11. Blockquote
   12. Feature Grid
   13. Checklist
   14. CTA Variants
   15. Buttons
   16. Divider & Service Links
   17. Villes Section
   18. External CSS Overrides
   19. Responsive — Tablet (≤992px)
   20. Responsive — Mobile (≤768px)
   21. Responsive — Small (≤480px)
   ============================================================ */


/* ----------------------------------------------------------
   1. Design Tokens
   ---------------------------------------------------------- */
/* Primary: #D32F2F  |  Dark: #1A2335  |  Radius: 4px  */


/* ----------------------------------------------------------
   2. Table of Contents (EZ-TOC)
   ---------------------------------------------------------- */
#ez-toc-container{background:#fff!important;border:1px solid #e2e2e2!important;border-left:4px solid #D32F2F!important;border-radius:4px!important;padding:28px 32px!important;margin:30px 0 44px!important;box-shadow:0 4px 20px rgba(0,0,0,0.06)!important;position:relative;overflow:hidden;}
#ez-toc-container::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#D32F2F,#ff6659,#D32F2F);}
#ez-toc-container .ez-toc-title{font-size:20px!important;font-weight:700!important;color:#1A2335!important;letter-spacing:0.3px;display:flex;align-items:center;gap:10px;margin-bottom:16px!important;}
#ez-toc-container .ez-toc-title::before{content:"\1F4CB";font-size:22px;}
#ez-toc-container .ez-toc-title-toggle{margin-left:auto!important;}
#ez-toc-container ul{padding-left:0!important;}
#ez-toc-container ul li{list-style:none!important;margin:0!important;padding:0!important;}
#ez-toc-container ul.ez-toc-list > li{border-bottom:1px solid #f0f0f0;}
#ez-toc-container ul.ez-toc-list > li:last-child{border-bottom:none;}
#ez-toc-container a.ez-toc-link{display:block;padding:10px 14px 10px 28px;color:#2c3e50!important;text-decoration:none!important;font-size:15px;font-weight:500;border-radius:6px;transition:all 0.2s ease;position:relative;}
#ez-toc-container a.ez-toc-link::before{content:"\25B8";position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#D32F2F;font-size:12px;transition:transform 0.2s;}
#ez-toc-container a.ez-toc-link:hover{background:rgba(211,47,47,0.06)!important;color:#D32F2F!important;padding-left:32px;}
#ez-toc-container a.ez-toc-link:hover::before{transform:translateY(-50%) translateX(3px);}
#ez-toc-container ul ul{margin-left:12px!important;border-left:2px solid #f0f0f0;}
#ez-toc-container ul ul a.ez-toc-link{font-size:13.5px;font-weight:400;color:#5a6a7a!important;padding:7px 14px 7px 24px;}
#ez-toc-container ul ul a.ez-toc-link::before{content:"\2013";font-size:11px;}
#ez-toc-container ul ul a.ez-toc-link:hover{color:#D32F2F!important;background:rgba(211,47,47,0.04)!important;}


/* ----------------------------------------------------------
   3. Typography & Content
   ---------------------------------------------------------- */
.entry-content h2{margin-top:50px!important;margin-bottom:24px!important;border-bottom:2px solid #D32F2F;display:inline-block;padding-bottom:8px;}
.entry-content h2::after{display:none!important;}
.entry-content > p{line-height:1.8;color:#333;font-size:16px;max-width:780px;}
.entry-content > ul,.entry-content > ol{max-width:780px;}
.entry-content > ul > li,.entry-content > ol > li{line-height:1.7;margin-bottom:6px;}
.entry-content img{margin-top:0;}

/* H3 — section headers with accent underline */
.entry-content h3{position:relative;padding:16px 0 0;margin:32px 0 12px;font-size:19px;color:#1A2335;border-bottom:none;}
.entry-content h3::after{content:"";display:block;width:40px;height:2px;background:#1A2335;margin-top:6px;margin-bottom:16px;}

/* Links — subtle red underline */
.entry-content a:not(.abpe-btn):not(.ez-toc-link){text-decoration:underline;text-decoration-color:rgba(198,40,40,0.3);text-underline-offset:3px;transition:text-decoration-color 0.2s;}
.entry-content a:not(.abpe-btn):not(.ez-toc-link):hover{text-decoration-color:rgba(198,40,40,0.8);}


/* ----------------------------------------------------------
   4. Tables
   ---------------------------------------------------------- */
.entry-content table{width:100%;border-collapse:separate;border-spacing:0;border-radius:4px;overflow:hidden;border:1px solid #e2e2e2;margin:24px 0;box-shadow:0 2px 8px rgba(0,0,0,0.04);}
.entry-content table thead th,.entry-content table th{background:#1A2335;color:#fff;padding:14px 20px;text-align:left;font-weight:600;font-size:14px;border:none;}
.entry-content table tr:first-child td{background:#1A2335;color:#fff;font-weight:600;font-size:14px;border:none;}
.entry-content table td{padding:13px 20px;border-bottom:1px solid #f0f0f0;font-size:14.5px;color:#444;}
.entry-content table tr:hover td{background:#f8f9fa;}
.entry-content table tr:first-child:hover td{background:#1A2335;color:#fff;}
.entry-content table tr:last-child td{border-bottom:none;}


/* ----------------------------------------------------------
   5. Two-Column Layout
   ---------------------------------------------------------- */
.abpe-twocol{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin:40px 0;align-items:stretch;}
.abpe-twocol-img{position:relative;min-height:280px;overflow:hidden;border-radius:4px;box-shadow:none;}
.abpe-twocol-img img{position:absolute!important;top:0;left:0;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;box-shadow:none!important;margin:0!important;}
.abpe-twocol-reverse{direction:rtl;}.abpe-twocol-reverse > *{direction:ltr;}
.abpe-twocol img{width:100%;height:auto;border-radius:4px!important;box-shadow:0 8px 30px rgba(0,0,0,0.12);object-fit:cover;margin:0!important;}
.abpe-twocol-text h3{border:none!important;margin-top:4px!important;padding:0!important;}.abpe-twocol-text h3::after{display:none!important;}


/* ----------------------------------------------------------
   6. Badges
   ---------------------------------------------------------- */
.abpe-badge{display:inline-block;padding:6px 16px;border-radius:4px;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;}
.abpe-badge-red{background:#D32F2F;color:#fff;}
.abpe-badge-dark{background:#1A2335;color:#fff;}
.abpe-badge-outline{background:transparent;color:#D32F2F;border:2px solid #D32F2F;}
.abpe-badge-green{background:#2e7d32;color:#fff;}
.abpe-tag{border-radius:3px!important;}


/* ----------------------------------------------------------
   7. Info Boxes
   ---------------------------------------------------------- */
.abpe-infobox{padding:24px 28px;border-radius:4px!important;margin:32px 0;display:flex;gap:16px;align-items:flex-start;background:#f0f7ff;border-left:4px solid #1976D2;}
.abpe-infobox::before{content:"i";display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#1976d2;color:#fff;font-weight:700;font-size:14px;font-style:italic;font-family:Georgia,serif;margin-right:10px;flex-shrink:0;}
.abpe-infobox.abpe-infobox-warning::before{content:"!";background:#e65100;font-style:normal;font-size:15px;font-family:inherit;}
.abpe-infobox-icon{display:none!important;}
.abpe-infobox-content{flex:1;}
.abpe-infobox-content strong{display:block;margin-bottom:6px;color:#1A2335;font-size:16px;}
.abpe-infobox-content p,.abpe-infobox-content span{color:#444;font-size:14.5px;line-height:1.6;margin:0;}
.abpe-infobox-warning{background:#fff8e1;border-left-color:#f9a825;}
.abpe-infobox-success{background:#e8f5e9;border-left-color:#2e7d32;}
.abpe-infobox-danger{background:#ffeef0;border-left-color:#D32F2F;}


/* ----------------------------------------------------------
   8. Highlight Card
   ---------------------------------------------------------- */
.abpe-highlight{background:#fff;border:1px solid #e2e2e2;border-radius:4px!important;padding:32px;margin:36px 0;position:relative;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,0.05);}
.abpe-highlight::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#D32F2F,#ff6659);}
.abpe-highlight h3{border:none!important;padding:0!important;margin:0 0 20px!important;}.abpe-highlight h3::after{display:none!important;}


/* ----------------------------------------------------------
   9. Numbered Steps
   ---------------------------------------------------------- */
.abpe-steps{margin:24px 0 8px;counter-reset:step-counter;}
.abpe-step{display:flex;gap:18px;align-items:flex-start;margin-bottom:16px;padding:20px 24px;background:#fafafa;border-radius:4px;border:1px solid #eee;transition:all 0.25s;}
.abpe-step:hover{box-shadow:0 4px 16px rgba(0,0,0,0.07);transform:translateY(-1px);border-color:#ddd;}
.abpe-step-num{counter-increment:step-counter;width:40px;height:40px;min-width:40px;background:linear-gradient(135deg,#D32F2F,#b71c1c);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;box-shadow:0 3px 8px rgba(211,47,47,0.3);}
.abpe-step-num::before{content:counter(step-counter);}
.abpe-step-content h4{margin:0 0 4px;color:#1A2335;font-size:16px;font-weight:700;}
.abpe-step-content p{margin:0;color:#666;font-size:14.5px;line-height:1.6;}


/* ----------------------------------------------------------
   10. Stats Grid
   ---------------------------------------------------------- */
.abpe-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:32px 0;}
.abpe-stat{text-align:center;padding:28px 16px;background:#fff;border-radius:4px!important;border:1px solid #e0e0e0;transition:all 0.3s ease;position:relative;overflow:hidden;}
.abpe-stat:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,0.1);}
.abpe-stat-num{font-size:36px;font-weight:800;color:#D32F2F;line-height:1.1;}
.abpe-stat-label{font-size:12px;color:#777;margin-top:8px;text-transform:uppercase;letter-spacing:0.8px;font-weight:700;}


/* ----------------------------------------------------------
   11. Blockquote
   ---------------------------------------------------------- */
.abpe-quote{border-left:4px solid #D32F2F;padding:24px 32px;margin:36px 0;background:linear-gradient(135deg,#fafafa,#fff);border-radius:0 4px 4px 0!important;position:relative;box-shadow:0 2px 12px rgba(0,0,0,0.04);}
.abpe-quote::before{content:"\201C";font-size:72px;color:rgba(211,47,47,0.12);position:absolute;top:-12px;left:16px;font-family:Georgia,serif;line-height:1;}
.abpe-quote p{font-size:17px;font-style:italic;color:#333;line-height:1.7;margin:0;position:relative;z-index:1;}
.abpe-quote cite{display:block;margin-top:12px;font-size:13px;color:#999;font-style:normal;font-weight:600;}


/* ----------------------------------------------------------
   12. Feature Grid
   ---------------------------------------------------------- */
.abpe-features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:32px 0;}
.abpe-feature{padding:28px 24px;background:#fff;border-radius:4px!important;border:1px solid #e8e8e8;transition:all 0.3s ease;text-align:center;position:relative;overflow:hidden;}
.abpe-feature::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#D32F2F,#ff6659);transform:scaleX(0);transition:transform 0.3s;transform-origin:left;}
.abpe-feature:hover{border-color:#D32F2F;box-shadow:0 6px 24px rgba(211,47,47,0.12);transform:translateY(-3px);}
.abpe-feature-icon{display:none!important;}
.abpe-feature h4{margin:0 0 10px;color:#1A2335;font-size:17px;font-weight:700;}
.abpe-feature p{margin:0;color:#666;font-size:14px;line-height:1.6;}


/* ----------------------------------------------------------
   13. Checklist
   ---------------------------------------------------------- */
.abpe-checklist{list-style:none;padding:0;margin:16px 0;}
.abpe-checklist li{padding:10px 0 10px 32px;position:relative;color:#333;font-size:15px;line-height:1.5;border-bottom:1px solid #f5f5f5;}
.abpe-checklist li::before{content:"\2713";position:absolute;left:4px;top:10px;color:#2e7d32;font-weight:700;font-size:16px;}
.abpe-checklist li:last-child{border-bottom:none;}


/* ----------------------------------------------------------
   14. CTA Variants
   ---------------------------------------------------------- */
.abpe-icta{margin:40px 0;border-radius:4px;overflow:hidden;}

/* Compact — horizontal bar */
.abpe-icta-compact{background:#f8f9fa;padding:28px 36px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;border-left:4px solid #D32F2F%3B}
.abpe-icta-compact h4,.abpe-icta-compact strong{color:#1A2335;font-size:18px;margin:0;}
.abpe-icta-compact p{color:#666;font-size:14px;margin:4px 0 0;}

/* Dark — centered block */
.abpe-icta-dark{background:linear-gradient(135deg,#1A2335 0%,#2a3a5c 100%);padding:44px 40px;text-align:center;}
.abpe-icta-dark h3,.abpe-icta-dark h4{color:#fff!important;margin:0 0 10px;border:none!important;padding:0!important;}
.abpe-icta-dark h3::after,.abpe-icta-dark h4::after{display:none!important;}
.abpe-icta-dark p{color:rgba(255,255,255,0.85)!important;font-size:15px;margin:0 auto 22px;max-width:550px;line-height:1.6;}
.abpe-icta-dark .abpe-icta-icon{font-size:36px;margin-bottom:14px;display:block;opacity:0.9;}

/* Gradient — red CTA */
.abpe-icta-gradient{background:linear-gradient(135deg,#D32F2F 0%,#b71c1c 100%);padding:40px;text-align:center;}
.abpe-icta-gradient h4{color:#fff!important;margin:0 0 10px;font-size:22px;border:none!important;padding:0!important;}
.abpe-icta-gradient h4::after{display:none!important;}
.abpe-icta-gradient p{color:rgba(255,255,255,0.9)!important;font-size:15px;margin:0 0 22px;line-height:1.6;}

/* Minimal — dashed border */
.abpe-icta-minimal{background:transparent;border:2px dashed #D32F2F;padding:32px;text-align:center;}

/* Bottom CTA — outline btn on dark bg */
.abpe-bottom-cta .abpe-btn-outline,.abpe-cta-inline .abpe-btn-outline{border-color:rgba(255,255,255,0.6)!important;color:#fff!important;background:transparent!important;}
.abpe-bottom-cta .abpe-btn-outline:hover,.abpe-cta-inline .abpe-btn-outline:hover{border-color:#fff!important;background:rgba(255,255,255,0.1)!important;}


/* ----------------------------------------------------------
   15. Buttons
   ---------------------------------------------------------- */
.abpe-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 32px;border-radius:4px!important;font-weight:600;font-size:15px;text-decoration:none!important;text-align:center;transition:all 0.3s ease;cursor:pointer;border:none;line-height:1.4;}

.abpe-btn-red{background:linear-gradient(135deg,#D32F2F,#b71c1c);color:#fff!important;box-shadow:0 4px 14px rgba(211,47,47,0.3);}
.abpe-btn-red:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(211,47,47,0.4);color:#fff!important;}

.abpe-btn-dark{background:linear-gradient(135deg,#1A2335,#2a3a5c);color:#fff!important;}
.abpe-btn-dark:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(26,35,53,0.3);color:#fff!important;}

.abpe-btn-outline{background:transparent;color:#D32F2F!important;border:2px solid #D32F2F!important;border-bottom:2px solid #D32F2F!important;}
.abpe-btn-outline:hover{background:#D32F2F!important;color:#fff!important;transform:translateY(-1px);border:2px solid #D32F2F!important;}

.abpe-btn-white{background:#fff;color:#1A2335!important;box-shadow:0 2px 8px rgba(0,0,0,0.1);}
.abpe-btn-white:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,0.15);color:#1A2335!important;}

.abpe-btn-ghost{background:transparent;color:#fff!important;border:2px solid rgba(255,255,255,0.5)!important;border-bottom:2px solid rgba(255,255,255,0.5)!important;}
.abpe-btn-ghost:hover{background:rgba(255,255,255,0.12);border-color:#fff!important;color:#fff!important;}

.abpe-btn-sm{padding:10px 22px;font-size:14px;}
.abpe-btn-group{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}


/* ----------------------------------------------------------
   16. Divider & Service Links
   ---------------------------------------------------------- */
.abpe-divider{height:3px;background:linear-gradient(90deg,transparent,#D32F2F,transparent);margin:48px auto;max-width:200px;border:none;border-radius:2px;}

.abpe-service-links{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;}
.abpe-service-links a{display:inline-block;padding:10px 20px;background:#f8f9fa;border:1px solid #e2e2e2;border-radius:8px;color:#1A2335!important;text-decoration:none!important;font-size:14px;font-weight:500;transition:all 0.25s;}
.abpe-service-links a:hover{background:#D32F2F;color:#fff!important;border-color:#D32F2F;transform:translateY(-1px);box-shadow:0 3px 10px rgba(211,47,47,0.2);}

.abpe-section-alt{background:#f8f9fa;padding:36px 32px;border-radius:4px;margin:32px 0;}


/* ----------------------------------------------------------
   17. Villes Section
   ---------------------------------------------------------- */
.entry-content a[href*="exterminateur-"]:not(.abpe-btn){text-decoration:underline;text-decoration-color:rgba(198,40,40,0.25);text-underline-offset:3px;transition:text-decoration-color 0.2s,color 0.2s;}
.entry-content a[href*="exterminateur-"]:not(.abpe-btn):hover{text-decoration-color:rgba(198,40,40,0.7);color:#D32F2F;background:transparent;background-color:transparent;}
.inside-article > div[style*="f8f9fa"]{border-radius:6px!important;}


/* ----------------------------------------------------------
   18. External CSS Overrides (abpe-custom.css)
   ---------------------------------------------------------- */
.abpe-cta-inline{box-shadow:none;border:1px solid #e0e0e0;}


/* ----------------------------------------------------------
   19. Responsive — Tablet (max-width: 992px)
   ---------------------------------------------------------- */
@media(max-width:992px){
  .abpe-twocol{grid-template-columns:1fr;gap:24px;}
  .abpe-twocol-reverse{direction:ltr;}
  .abpe-stats{grid-template-columns:repeat(2,1fr);}
  .abpe-features{grid-template-columns:repeat(2,1fr);}
}


/* ----------------------------------------------------------
   20. Responsive — Mobile (max-width: 768px)
   ---------------------------------------------------------- */
@media(max-width:768px){
  /* TOC */
  #ez-toc-container{padding:20px 18px!important;margin:20px 0 30px!important;}
  #ez-toc-container .ez-toc-title{font-size:17px!important;}
  #ez-toc-container a.ez-toc-link{font-size:14px;padding:8px 10px 8px 24px;}
  #ez-toc-container ul ul a.ez-toc-link{font-size:13px;padding:6px 10px 6px 20px;}

  /* Typography */
  .entry-content h2{font-size:22px!important;margin-top:36px!important;}
  .entry-content h3{font-size:17px;padding:12px 0;}
  .entry-content > p{font-size:15px;line-height:1.7;}

  /* Tables */
  .entry-content table{font-size:13px;}
  .entry-content table th,.entry-content table td{padding:10px 12px;}

  /* Layout */
  .abpe-twocol{margin:28px 0;}
  .abpe-twocol img{border-radius:6px;}

  /* Stats */
  .abpe-stats{grid-template-columns:repeat(2,1fr);gap:10px;}
  .abpe-stat{padding:20px 12px;border-radius:6px;}
  .abpe-stat-num{font-size:28px;}
  .abpe-stat-label{font-size:11px;}

  /* Features */
  .abpe-features{grid-template-columns:1fr;gap:12px;}
  .abpe-feature{padding:20px 18px;}

  /* CTAs */
  .abpe-icta{margin:28px 0;border-radius:6px;}
  .abpe-icta-compact{flex-direction:column;text-align:center;padding:24px 20px;border-left:none;border-top:4px solid #D32F2F;}
  .abpe-icta-dark{padding:32px 20px;}
  .abpe-icta-dark h3,.abpe-icta-dark h4{font-size:20px!important;}
  .abpe-icta-dark p{font-size:14px!important;}
  .abpe-icta-gradient{padding:32px 20px;}
  .abpe-icta-gradient h4{font-size:19px!important;}

  /* Cards */
  .abpe-highlight{padding:24px 20px;margin:28px 0;}
  .abpe-highlight h3{font-size:18px!important;}
  .abpe-step{padding:16px 18px;gap:14px;}
  .abpe-step-num{width:36px;height:36px;min-width:36px;font-size:14px;}
  .abpe-step-content h4{font-size:15px;}
  .abpe-step-content p{font-size:13.5px;}
  .abpe-infobox{padding:18px 16px;gap:12px;margin:24px 0;}
  .abpe-infobox-content strong{font-size:15px;}

  /* Quote */
  .abpe-quote{padding:20px 24px;margin:28px 0;}
  .abpe-quote%3A:before{font-size:48px;}
  .abpe-quote p{font-size:15px;}

  /* Buttons */
  .abpe-btn{padding:12px 24px;font-size:14px;width:100%;box-sizing:border-box;}
  .abpe-btn-sm{padding:10px 20px;}
  .abpe-btn-group{flex-direction:column;gap:10px;}

  /* Service links */
  .abpe-service-links{gap:8px;}
  .abpe-service-links a{padding:8px 14px;font-size:13px;}

  /* Checklist */
  .abpe-checklist li{padding:8px 0 8px 28px;font-size:14px;}
}


/* ----------------------------------------------------------
   21. Responsive — Small (max-width: 480px)
   ---------------------------------------------------------- */
@media(max-width:480px){
  .abpe-stats{grid-template-columns:repeat(2,1fr);gap:8px;}
  .abpe-stat{padding:16px 10px;}
  .abpe-stat-num{font-size:24px;}
  .abpe-icta-dark{padding:28px 16px;}
  .abpe-icta-gradient{padding:28px 16px;}
  .entry-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
}



/* ----------------------------------------------------------
   Hero Banner — White-BG Image Adaptation
   ---------------------------------------------------------- */
/* Default: dark-photo theme — white text over dark images */
.abpe-hero-banner.has-bg-image h1{color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,0.3);}
.abpe-hero-banner.has-bg-image .abpe-breadcrumb a{color:rgba(255,255,255,0.85)!important;text-decoration:none;}
.abpe-hero-banner.has-bg-image .abpe-breadcrumb a:hover{color:#FF6B6B!important;}
.abpe-hero-banner.has-bg-image .abpe-breadcrumb span{color:rgba(255,255,255,0.5)!important;}
.abpe-hero-banner.has-bg-image .abpe-breadcrumb{color:rgba(255,255,255,0.7)!important;}
.abpe-hero-banner.has-bg-image::after{background:#D32F2F!important;}

/* White-BG theme override — dark text for light/designed images */
.abpe-hero-banner[data-hero-theme="white-bg"] h1{color:#1A2335!important;text-shadow:none;}
.abpe-hero-banner[data-hero-theme="white-bg"] .abpe-breadcrumb a{color:rgba(26,35,53,0.7)!important;}
.abpe-hero-banner[data-hero-theme="white-bg"] .abpe-breadcrumb span{color:rgba(26,35,53,0.4)!important;}
.abpe-hero-banner[data-hero-theme="white-bg"] .abpe-breadcrumb{color:rgba(26,35,53,0.8)!important;}

/* Hero text stays on left 55% — image on right */
.abpe-hero-banner.has-bg-image h1,
.abpe-hero-banner.has-bg-image .abpe-breadcrumb{max-width:55%;}

/* Hero background image fix — cover entire banner area */
.abpe-hero-bg-img img{object-fit:cover!important;width:100%!important;height:100%!important;}
.abpe-hero-bg-img{width:100%!important;height:100%!important;}

/* Mobile: full width text, image behind */
@media(max-width:768px){
  .abpe-hero-banner.has-bg-image h1,
  .abpe-hero-banner.has-bg-image .abpe-breadcrumb{max-width:100%;}
  .abpe-hero-banner.has-bg-image{min-height:280px;}
  .abpe-hero-banner .abpe-hero-bg-img{height:60%;max-width:45%;right:-5%;top:auto;bottom:0;transform:none;opacity:0.4;}
  .abpe-hero-banner.has-bg-image::before{background:linear-gradient(180deg,rgba(255,255,255,0.95) 0%,rgba(255,255,255,0.85) 60%,rgba(255,255,255,0.7) 100%)!important;}
}


/* ============================
   ENHANCED SECTION LAYOUTS
   ============================ */

/* Section row (image + text side by side) */
.abpe-section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
}
.abpe-section-row.abpe-row-reverse {
  direction: rtl;
}
.abpe-section-row.abpe-row-reverse > * {
  direction: ltr;
}
.abpe-section-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  object-fit: cover;
  max-height: 400px;
}
.abpe-section-text {
  line-height: 1.8;
}
/* Enhanced section wrappers */
.abpe-section-enhanced {
  margin: 40px 0;
  position: relative;
}

/* Split dark layout */
.abpe-split-accent {
  width: 80px;
  min-height: 100%;
  background: #1A2335;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.abpe-split-accent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.abpe-split-icon {
  font-size: 2em;
}
.abpe-split-label {
  color: #fff;
  font-size: 0.85em;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Full-width background sections */
.abpe-layout-full-width-bg {
  background: #1A2335;
  color: #fff;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 60px calc(50vw - 610px + 40px);
}
.abpe-layout-full-width-bg h2,
.abpe-layout-full-width-bg h3 {
  color: #fff;
}
.abpe-layout-full-width-bg a:not(.abpe-btn) {
  color: #FF6B6B;
}
.abpe-layout-full-width-bg p {
  color: rgba(255,255,255,0.85);
}

/* Card grid layout */
.abpe-layout-card-grid {
  background: #f8f9fa;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 60px calc(50vw - 610px + 40px);
  border-top: 3px solid #D32F2F;
}

/* Responsive - enhanced layouts */
@media (max-width: 768px) {
  .abpe-section-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .abpe-section-row.abpe-row-reverse {
    direction: ltr;
  }
  .abpe-layout-full-width-bg,
  .abpe-layout-card-grid {
    padding: 40px 20px;
  }
  .abpe-split-accent {
    width: 100%;
    min-height: auto;
    padding: 16px;
  }
  .abpe-split-accent-inner {
    writing-mode: horizontal-tb;
    flex-direction: row;
  }
  .abpe-layout-split-dark {
    flex-direction: column;
  }
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- TOC: remove red border & top bar, clean look --- */
#ez-toc-container{border:none!important;border-left:none!important;background:#fafbfc!important;border-radius:8px!important;box-shadow:0 1px 8px rgba(0,0,0,0.06)!important;}
#ez-toc-container::before{display:none!important;}
#ez-toc-container ul.ez-toc-list > li{border-bottom:1px solid #f0f0f0;}


/* ============================
   MINIMAL AND CLEAN OVERRIDES
   ============================ */
.abpe-highlight{border:none!important;box-shadow:0 1px 8px rgba(0,0,0,0.06);border-radius:8px!important;padding:36px 40px;background:#fafbfc;}
.abpe-highlight::before{display:none!important;}
.abpe-highlight h3{font-size:22px!important;font-weight:700!important;color:#1A2335!important;}
.abpe-step{border:none!important;background:#f8f9fa;border-radius:8px!important;padding:22px 26px;}
.abpe-step:hover{box-shadow:0 2px 10px rgba(0,0,0,0.05);transform:none!important;}
.abpe-stat{border:none!important;box-shadow:0 1px 6px rgba(0,0,0,0.05);border-radius:8px!important;background:#fff;}
.abpe-stat:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(0,0,0,0.08);}
.abpe-feature{border:none!important;box-shadow:0 1px 6px rgba(0,0,0,0.05);border-radius:8px!important;background:#fafbfc;}
.abpe-feature::before{display:none!important;}
.abpe-feature:hover{border:none!important;box-shadow:0 4px 16px rgba(0,0,0,0.08);transform:translateY(-2px);}
.abpe-quote{background:#fafbfc;box-shadow:none;border-radius:0 8px 8px 0!important;}
.abpe-infobox{border-radius:8px!important;}
.abpe-badge{border-radius:6px;letter-spacing:1px;}
.abpe-badge-outline{border-width:1.5px;}
.abpe-icta{border-radius:8px!important;}
.abpe-checklist li{border-bottom:none!important;padding:8px 0 8px 32px;}
.abpe-twocol img{border-radius:8px!important;}
.abpe-twocol-img{border-radius:8px!important;}
.abpe-section-image img{border-radius:8px;}
.abpe-btn{border-radius:8px!important;}
.abpe-layout-card-grid{border-top:none!important;background:#f8f9fa;border-radius:8px;}
.entry-content table{border-collapse:separate;border-spacing:0;border-radius:8px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,0.06);}
.entry-content table th{background:#1A2335;color:#fff;font-weight:600;padding:14px 20px;border:none!important;}
.entry-content table td{padding:14px 20px;border:none!important;border-bottom:1px solid #f0f0f0!important;}
.entry-content table tr:last-child td{border-bottom:none!important;}
.entry-content table tr:nth-child(even){background:#fafbfc;}



/* ==========================================================
   HOVER & INTERACTION POLISH
   Added: May 2026
   ========================================================== */

/* --- Global: Remove underline from ALL buttons on hover --- */
.abpe-btn:hover,
.abpe-btn:focus,
.abpe-btn:active,
a.abpe-btn:hover,
a.abpe-btn:focus {
  text-decoration: none !important;
}

/* --- Ville links grid — clean hover without underline --- */
.abpe-villes-grid a {
  text-decoration: none !important;
  color: #1A2335 !important;
  transition: color 0.25s ease, transform 0.2s ease;
  display: inline-block;
}
.abpe-villes-grid a:hover {
  text-decoration: none !important;
  color: #D32F2F !important;
  transform: translateX(3px);
}

/* --- Service links — no underline on hover --- */
.abpe-autres-services a {
  text-decoration: none !important;
  transition: color 0.25s ease;
}
.abpe-autres-services a:hover {
  text-decoration: none !important;
  color: #D32F2F !important;
}

/* --- CTA inline buttons — ensure no underline --- */
.abpe-cta-inline a:hover,
.abpe-icta a:hover,
.abpe-bottom-cta a:hover {
  text-decoration: none !important;
}

/* --- Smooth button transitions --- */
.abpe-btn {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.abpe-btn:hover {
  transform: translateY(-2px) !important;
}
.abpe-btn:active {
  transform: translateY(0) !important;
  transition-duration: 0.1s !important;
}

/* --- Red button glow on hover --- */
.abpe-btn-red:hover {
  box-shadow: 0 8px 25px rgba(211,47,47,0.35) !important;
}

/* --- Dark button glow on hover --- */
.abpe-btn-dark:hover {
  box-shadow: 0 8px 25px rgba(26,35,53,0.25) !important;
}

/* --- Entry content links — refine hover --- */
.entry-content a:not(.abpe-btn):not(.ez-toc-link):not(.abpe-villes-grid a):hover {
  color: #D32F2F !important;
  text-decoration-color: rgba(211,47,47,0.8);
}

/* --- Breadcrumb links --- */
.inside-article a[rel="home"]:hover,
.entry-content .breadcrumb a:hover {
  text-decoration: none !important;
  color: #D32F2F !important;
}

/* --- Navigation links — clean hover --- */
.main-navigation a:hover,
#site-navigation a:hover {
  text-decoration: none !important;
}

/* --- Footer links --- */
.site-footer a:hover,
footer a:hover {
  text-decoration: none !important;
  color: #D32F2F !important;
}

/* --- Phone number links — never underline --- */
a[href^="tel"]:hover {
  text-decoration: none !important;
}


/* ==========================================================
   CONTACT FORM COMPONENT
   ========================================================== */
.abpe-form-section {
  background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
  border-radius: 12px;
  padding: 48px 40px;
  margin: 48px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.abpe-form-section h3 {
  font-size: 24px !important;
  color: #1A2335 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: center;
}
.abpe-form-section h3::after {
  display: block !important;
  margin: 10px auto 0 !important;
  width: 50px !important;
}
.abpe-form-section .abpe-form-subtitle {
  text-align: center;
  color: #666;
  font-size: 15px;
  margin-bottom: 32px;
}
.abpe-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
}
.abpe-form-grid .abpe-form-full {
  grid-column: 1 / -1;
}
.abpe-form-grid label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1A2335;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.abpe-form-grid input,
.abpe-form-grid textarea,
.abpe-form-grid select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  font-family: inherit;
  box-sizing: border-box;
}
.abpe-form-grid input:focus,
.abpe-form-grid textarea:focus,
.abpe-form-grid select:focus {
  outline: none;
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}
.abpe-form-grid textarea {
  min-height: 110px;
  resize: vertical;
}
.abpe-form-actions {
  text-align: center;
  margin-top: 24px;
}
.abpe-form-actions .abpe-btn {
  min-width: 240px;
  padding: 16px 40px !important;
  font-size: 16px !important;
}
.abpe-form-msg {
  text-align: center;
  padding: 14px 20px;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 500;
  display: none;
}
.abpe-form-msg.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}
.abpe-form-msg.error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* Form responsive */
@media (max-width: 600px) {
  .abpe-form-section {
    padding: 32px 20px;
  }
  .abpe-form-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================
   CF7 FORM OVERRIDES
   ========================================================== */
/* Submit button — force red gradient over CF7 defaults */
.wpcf7-submit.abpe-btn-red,
input.wpcf7-submit.abpe-btn-red,
input[type="submit"].wpcf7-submit {
  background: linear-gradient(135deg, #D32F2F, #b71c1c) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  min-width: 280px;
  box-shadow: 0 4px 15px rgba(211,47,47,0.3) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  letter-spacing: 0.3px;
}
.wpcf7-submit.abpe-btn-red:hover,
input[type="submit"].wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(211,47,47,0.4) !important;
}

/* CF7 validation borders */
.wpcf7-not-valid {
  border-color: #D32F2F !important;
}
.wpcf7-response-output {
  border-radius: 8px !important;
  padding: 14px 20px !important;
  margin: 16px 0 0 !important;
  font-size: 14px;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e7d32 !important;
  background: #e8f5e9;
  color: #2e7d32;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #c62828 !important;
  background: #fce4ec;
  color: #c62828;
}

/* CF7 spinner */
.wpcf7-spinner {
  margin: 10px auto 0 !important;
  display: block;
}

/* Select dropdown fix */
.abpe-form-grid select.wpcf7-form-control {
  appearance: auto;
  -webkit-appearance: auto;
  padding: 12px 16px !important;
  height: auto;
  color: #333;
}


/* ============================================================
   VISUAL POLISH PASS
   Added: 2026-05-04
   ============================================================ */

/* --- Improved Content Typography & Readability --- */
.entry-content p {
  line-height: 1.8;
  color: #2c3e50;
  margin-bottom: 1.3em;
}
.entry-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.8em;
  letter-spacing: -0.01em;
}
.entry-content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

/* --- Smoother Section Transitions --- */
.abpe-form-section,
.abpe-cta-section,
.abpe-villes-section,
.abpe-two-col,
.abpe-highlight-card,
.abpe-info-box,
.abpe-steps {
  transition: opacity 0.3s ease;
}

/* --- Refined Info Box --- */
.abpe-info-box {
  border-left-width: 4px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.abpe-info-box strong,
.abpe-info-box b {
  color: #1A2335;
}

/* --- Better Image Treatments --- */
.entry-content img,
.abpe-two-col img {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}
.entry-content img:hover,
.abpe-two-col img:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
}

/* --- Polished Badge --- */
.abpe-badge {
  letter-spacing: 0.08em;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(211,47,47,0.2);
}

/* --- Improved Checkmark List Items --- */
.abpe-two-col li {
  padding: 6px 0;
  line-height: 1.7;
}

/* --- CTA Section Refinements --- */
.abpe-cta-section {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,35,53,0.15);
}
.abpe-cta-section h2,
.abpe-cta-section h3 {
  letter-spacing: -0.01em;
}

/* --- Villes Section Polish --- */
.abpe-villes-section {
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.abpe-villes-grid a {
  padding: 6px 2px;
  border-radius: 4px;
}
.abpe-villes-grid a:hover {
  background: rgba(211,47,47,0.04);
}

/* --- Sommaire / TOC Polish --- */
div#ez-toc-container {
  border-radius: 12px !important;
  border: 1px solid #e8ecf1 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  padding: 24px 28px !important;
  background: #fafbfc !important;
}
div#ez-toc-container p.ez-toc-title {
  font-weight: 700 !important;
  color: #1A2335 !important;
  font-size: 18px !important;
}

/* --- Highlight Card Polish --- */
.abpe-highlight-card {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.abpe-highlight-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* --- Focus Accessibility --- */
.abpe-btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #D32F2F;
  outline-offset: 2px;
}

/* --- Scroll Smooth --- */
html {
  scroll-behavior: smooth;
}

/* --- Selection Color --- */
::selection {
  background: rgba(211,47,47,0.15);
  color: #1A2335;
}

/* --- Footer Link Polish --- */
.site-footer a {
  transition: color 0.25s ease, opacity 0.25s ease;
}
.site-footer a:hover {
  opacity: 0.85;
}


/* ============================================================
   12. Inline Form (top of content - inherits .abpe-form-section styles)
   ============================================================ */
.abpe-inline-form-top {
  margin: 32px 0;
  border-radius: 12px;
}


/* ===== Fix: Remove underlines from buttons and navigation links ===== */
.abpe-btn,
.abpe-btn:hover,
.abpe-btn:focus,
.abpe-btn:active,
.abpe-btn:visited{text-decoration:none!important;text-decoration-line:none!important;}
.inside-article div[style*="f8f9fa"] a{text-decoration:none!important;}
.inside-article div[style*="f8f9fa"] a:hover{color:#D32F2F!important;text-decoration:none!important;}
