/*
 Theme Name:   Twenty Twenty Five Child
 Template:     twentytwentyfive
*/
/* ========================================
   TOP-BAR FULL WIDTH
======================================== */
.top-bar {
  width: 100vw;
  max-width: 100vw !important;
  margin: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #567f1d; /* vert */
  padding: 8px 180px;
  box-sizing: border-box;
  font-size: 0.85rem;
  color: #fff;
}

/* Blocs gauche, centre, droite */
.top-bar .left,
.top-bar .center,
.top-bar .right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar .left { justify-content: flex-start; margin-left: 10px; }
.top-bar .center { justify-content: center; flex: 1; padding: 0 10px; }
.top-bar .right { justify-content: flex-end; margin-right: 10px; }

.top-bar a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  white-space: nowrap; /* évite que ça casse sur 2 lignes */
}

.top-bar svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.top-bar .icon-envelope {
  width: 16px;
  height: 16px;
  fill: #fff;
}
.icon-phone {
  width: 16px;
  height: 16px;
  fill: #fff; /* blanc */
}
/* Responsive Top-Bar */
@media (max-width: 992px) {
  .top-bar {
    padding: 6px 40px;   /* moins d’espace */
    font-size: 0.8rem;   /* texte légèrement réduit */
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
    padding: 6px 10px;
    gap: 4px;
    font-size: 0.75rem;  /* encore plus petit sur mobile */
  }

  /* Option : masquer le slogan au centre sur petit écran */
  .top-bar .center {
    display: none;
  }

  .top-bar .left,
  .top-bar .right {
    justify-content: center;
    margin: 0;
  }
}


/* ========================================
   HEADER
======================================== */
.custom-header {
  width: 100vw;
  max-width: 100vw !important;
  margin: 0 !important;
  box-sizing: border-box;
  background: #fff;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  overflow-x: hidden;
  z-index: 9999;
}

/* Conteneur interne */
.custom-header .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* nav - logo - contact */
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
}

/* Menu gauche */
.custom-header .nav-left {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo centre */
.custom-header .brand {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-header .brand img {
  height: 100px;
  max-height: 70px;
  width: auto;
  display: block;
}

/* Contact à droite */
.custom-header .contact-right {
  display: flex;
  gap: 20px;
  align-items: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  justify-self: end;
  margin-right: 20px;
}
.custom-header .contact-right a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #567f1d;
  font-weight: 600;
  font-size: 0.95rem;
}
.custom-header .contact-right a:hover {
  color: #3f641f;
}
.custom-header .contact-right svg {
  width: 18px;
  height: 18px;
  fill: #567f1d;
}

/* Navigation */
.custom-header nav a {
  text-decoration: none;
  color: #567f1d;
  font-weight: 600;
  transition: color 0.3s ease;
}
.custom-header nav a:hover {
  color: #3f641f;
}

/* Sticky header desktop */
.custom-header {
  position: relative;
  transition: top 0.3s ease;
  z-index: 9999;
}
.custom-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  background: #fff;
  z-index: 9998;
}

/* --------------------------
   Header mobile (burger)
-------------------------- */
.custom-header-mobile {
  display: none; /* masqué par défaut */
  flex-direction: column;
  width: 100%;
  position: relative;
  z-index: 9999;
}

/* Burger menu hidden desktop */
.burger-menu {
  display: none;
}
/* --- Menu Services --- */
.menu-services {
  position: relative;
}
.menu-services > a::after {
  content: " ▼"; /* flèche unique */
  font-size: 0.7em;
  color: #567f1d;
  margin-left: 3px;
}
.menu-services .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10000; /* plus élevé que le hero */
}
.menu-services .submenu a {
  display: block;
  padding: 8px 20px;
  color: #567f1d;
  font-weight: 600;
  text-decoration: none;
}
.menu-services .submenu a:hover {
  color: #3f641f;
}

/* Affiche le sous-menu au survol desktop */
.menu-services:hover .submenu {
  display: block;
}

/* --- Header Desktop / Mobile déjà existants --- */
/* (ton CSS actuel pour .custom-header et .custom-header-mobile reste identique) */

/* S'assurer que le z-index du header mobile et sticky est au-dessus du hero */
.custom-header-mobile, 
.custom-header-mobile.sticky {
  z-index: 99999;
}

/* ===========================
   Responsive ≤992px : Mobile header
=========================== */
@media (max-width: 992px) {

  /* Masque header desktop, affiche mobile */
  .custom-header { display: none; }
  .custom-header-mobile { display: flex !important; }

  .custom-header-mobile .header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    margin: 0 !important;
  }

  /* Burger visible */
  .custom-header-mobile .burger-menu {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #567f1d;
    cursor: pointer;
    z-index: 10001;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Logo centré */
  .custom-header-mobile .brand {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
  }
  .custom-header-mobile .brand img {
    height: 50px;
  }

  /* Contact à droite */
  .custom-header-mobile .contact-right {
    display: flex;
    gap: 20px;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #567f1d;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
  }

  /* Menu vertical caché */
  .custom-header-mobile .nav-left {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 9999;
  }

  /* Menu ouvert */
  .custom-header-mobile .nav-left.open {
    display: flex;
  }

  /* Liens menu */
  .custom-header-mobile .nav-left a {
    text-decoration: none;
    color: #567f1d;
    font-weight: 600;
    padding: 8px 0;
  }
  .custom-header-mobile .nav-left a:hover {
    color: #3f641f;
  }

  /* Sticky mobile */
  .custom-header-mobile.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 9999;
  }

  /* Supprimer tout espace au-dessus */
  html, body {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.mobile-sticky-active main,
  body.mobile-sticky-active .wp-site-blocks,
  #wp--skip-link--target,
  .top-bar,
  .mobile-sticky-active .wrap,
  .mobile-sticky-active #content,
  .mobile-sticky-active .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ===========================
   Desktop ≥993px : Desktop header
=========================== */
@media (min-width: 993px) {
  .custom-header { display: flex !important; }
  .custom-header-mobile { display: none !important; }
}
/* Forcer le header mobile sticky à occuper toute la largeur */
.custom-header-mobile,
.custom-header-mobile.sticky {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Corrige le bug de largeur sur tablette en sticky */
.custom-header-mobile.sticky {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
/* Supprime tout espace ajouté par WP autour */
body.mobile-sticky-active main,
body.mobile-sticky-active .wp-site-blocks,
body.mobile-sticky-active #content,
body.mobile-sticky-active .site-content,
body.mobile-sticky-active .wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Header mobile : layout en 3 colonnes fixes */
.custom-header-mobile .header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto; /* burger - logo - téléphone */
  align-items: center;
  width: 100%;
  padding: 10px 15px;      /* espace intérieur */
  box-sizing: border-box;   /* padding inclus dans la largeur */
}

/* Burger à gauche */
.custom-header-mobile .burger-menu {
  justify-self: start;
}

/* Logo centré */
.custom-header-mobile .brand {
  justify-self: center;
  display: flex;
  align-items: center;
}

/* Téléphone à droite */
.custom-header-mobile .contact-right {
  justify-self: end;
  display: flex;
  align-items: center;
}


body {
  padding-top: 0 !important;
}

.wp-site-blocks {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Masque le header natif du thème */
.wp-site-blocks > header,
header.wp-block-template-part,
header#site-header,
header#masthead {
  display: none !important;
}

/* Empêche tout scroll horizontal */
html, body {
  overflow-x: hidden;
}
/* Masque le header natif du thème */
.wp-site-blocks > header,
header.wp-block-template-part,
header#site-header,
header#masthead {
  display: none !important;
}
body {
  background-color: #3f641f; /* vert très clair */
  margin: 0;
  padding: 0;
}

body,
.site,
.site-content,
.entry-content {
  background-color: #f6fbf3 !important;
}

/* ✅ Nos sections en largeur 1400px centrée */
.section-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Supprime les limites de largeur imposées par WordPress */
.entry-content, 
.wp-block-group, 
.wp-block-html {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Force le hero à occuper toute la largeur */
.entry-content > .hero,
.wp-block-group > .hero,
.wp-block-html > .hero {
  width: 100% !important;
  max-width: 100% !important;
}

/* HERO STYLES */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* ✅ hauteur adaptative */
  margin: 0;
  background: url('http://pompeachaleur-anjou.fr/wp-content/uploads/2025/09/028420c5-f7f4-43bd-a94c-acc844b96426.png') center/cover no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 100px 8% 60px; /* ✅ marges pour éviter que le bouton sorte de l’écran */
  box-sizing: border-box;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45); /* voile assombri */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Boîte qui englobe tout le texte */
.hero-box {
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 40px;
  border-radius: 12px;
  display: inline-block;
  color: #fff;
}


.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: #fff;
  white-space: nowrap;
}

.hero-typing .typing-text {
  display: inline-block;
  min-height: 2.5rem;
  line-height: 2.5rem;
  font-size: 4.5rem;
  font-weight: bold;
  color: #7aa319;
  margin-bottom: 3rem;
  text-align: left;
}

.hero-typing .typing-text::after {
  content: "\00a0";
  visibility: hidden;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #3f641f;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.hero-btn:hover {
  background: #2d4816;
}

.hero-btn .icon-envelope {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #f1f1f1;
}

.hero-lieux {
  font-size: 1.2rem;
  font-weight: 400;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  .hero-typing .typing-text {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 5% 40px; /* ✅ marges plus petites */
    justify-content: center;
    text-align: center;
  }
  .hero-content {
    max-width: 90%;
  }
  .hero-box {
    padding: 20px;
  }
  .hero-content h1 {
    font-size: 2rem;
    white-space: normal; /* ✅ permet le retour à la ligne */
  }
  .hero-typing .typing-text {
    font-size: 1.2rem !important;
  }
  .hero-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .hero-lieux {
    font-size: 0.9rem;
  }
}

/* Supprime le curseur animé */
.typing-text::after {
  content: '';
}

.typed-cursor {
  display: none !important;
}




/* Conteneur global pour toutes les sections sauf hero */
.section-wrapper,
.section-container,
.services-container,
.block-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Titre des sections */
.section-title,
.services-title {
  font-weight: bold;
  text-align: center;
  color: #3f641f;
}

.section-title { font-size: 2.5rem; margin-bottom: 40px; }
.services-title { font-size: 2.2rem; margin-bottom: 50px; }

/* === Section services - Theme Anjou === */
.full-width {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.services-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #3f641f !important; /* vert PCA */
}

.services-grid {
  display: flex;
  flex-wrap: wrap;             /* passage sur la ligne si espace trop petit */
  justify-content: center;     /* centrer les cartes */
  gap: 30px;                   /* espace entre les cartes */
}

.service-card {
  flex: 1 1 300px;             /* min 300px, peut s'étendre */
  max-width: 320px;            /* limite la largeur */
  background: #fff;
  border-radius: 12px;
	border: 2px solid #3f641f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #3f641f !important; 
  font-weight: 700;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid { gap: 20px; }
}

@media (max-width: 640px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
/* ============================
   ZONE D'INTERVENTION
============================ */
.section-zone-intervention {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%); /* recentrage */
  
  background: linear-gradient(135deg, #3f641f, #7aa319);
  padding: 200px 20px;
  box-sizing: border-box;
  color: #fff;
  min-height: 800px;     /* ✅ garde une grande zone sans forcer la hauteur fixe */
  overflow: hidden;
  position: relative;
}

.section-zone-intervention .content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Colonnes */
.section-zone-intervention .text-column,
.section-zone-intervention .map-column {
  flex: 1;
  min-width: 300px;
}

/* Texte */
.section-zone-intervention .text-column h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 40px;
  margin-top: -10px;
}
.section-zone-intervention .text-column p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #f9f9f9;
}

/* Liste des villes en colonnes */
.cities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 25px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  max-height: 120px; /* limité par défaut */
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.cities-list li {
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
  font-weight: 700;
}
.cities-list.expanded {
  max-height: 400px;
}

/* Bouton Voir plus */
.toggle-cities {
  background: #fff;
  color: #3f641f;
  font-weight: 600;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.toggle-cities:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Carte Google Maps responsive */
.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* ✅ ratio 16:9 (9 / 16 = 0.5625) */
  height: 0;
  overflow: hidden;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 3px solid #3f641f;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.map-wrapper iframe:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}


/* Logo PCA sur la map */
.map-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 80px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.map-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

/* Responsive */
@media (max-width: 992px) {
  .section-zone-intervention .content-wrapper {
    flex-direction: column;
  }
  .map-logo {
    top: 10px;
    right: 10px;
    width: 60px;
  }
}
@media (max-width: 768px) {
  .cities-list {
    grid-template-columns: 1fr; /* une seule colonne sur mobile */
  }
}



/* Bloc moderne */
.modern-block {
  position: relative;
  padding: 80px 20px;
  background: #fff;
  overflow: hidden;
}

/* Séparateur diagonal subtil */
.modern-block::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to right, #7aa31933, transparent);
  transform: skewY(-3deg);
  z-index: 0;
}
.modern-block.alt::before {
  background: linear-gradient(to left, #7aa31933, transparent);
}

.block-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px; !important;
	width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}
.wp-site-blocks > * {
  max-width: none !important;
}

.block-content.reverse {
  flex-direction: row-reverse;
}

/* Texte */
.block-text {
  flex: 1;
  min-width: 320px;
}

.section-block-title {
  font-size: 2rem;
  font-weight: 700;
  color: #3f641f;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.section-block-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #7aa319;
  border-radius: 2px;
}

.block-text p, .block-text ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
.block-text ul {
  padding-left: 20px;
}
.block-text li {
  margin-bottom: 8px;
}

/* Image simple */
.block-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}
.block-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}
.block-image img:hover {
  transform: scale(1.03);
}

.block-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 3px solid #3f641f; /* ✅ cadre vert */
  transition: transform 0.3s ease;
}

.block-image img:hover {
  transform: scale(1.03);
}
.highlight {
  color: #3f641f;
  font-weight: 800;
}
/* Base animation */
.reveal {
  opacity: 0;
  transition: all 0.9s ease;
}

/* Texte : slide depuis la gauche */
.reveal-left {
  transform: translateX(-60px);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Image : slide depuis la droite */
.reveal-right {
  transform: translateX(60px);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Quand l’élément est visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive */
@media (max-width: 992px) {
  .block-content, .block-content.reverse {
    flex-direction: column;
    text-align: center;
  }
  .section-block-title {
    text-align: center;
  }
  .section-block-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .block-gallery {
    flex-direction: row;
    justify-content: center;
  }
  .block-gallery img {
    width: 28%;
  }
  .block-image img {
    max-width: 80%;
  }
}



.faq {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: #f6fbf3;
}

.faq .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #3f641f;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid rgba(63,100,31,0.2);
  margin-bottom: 10px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #3f641f;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: rgba(63, 100, 31, 0.1);
}

.faq-question span {
  font-size: 1.5rem;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 10px 20px 20px 20px;
  max-height: 500px; /* assez grand pour le contenu */
}

/* Responsive */
@media (max-width: 768px) {
  .faq .section-title { font-size: 2rem; margin-bottom: 30px; }
  .faq-question { font-size: 1rem; padding: 12px 15px; }
  .faq-answer { font-size: 0.95rem; padding: 8px 15px 15px 15px; }
  .faq-question span { font-size: 1.3rem; }
}
/* ============================
   AVIS CLIENTS - Slider centré
============================ */
.avis-clients {
  max-width: 1250px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  background-color: #f6fbf3;
  overflow: hidden;
  position: relative;
}

.avis-clients .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3f641f;
  margin-bottom: 40px;
}

.avis-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.avis-track {
  display: flex;
  gap: 20px; /* espace entre les cartes */
  transition: transform 0.6s ease;
}

.avis-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 cartes visibles avec gap inclus */
  background: #fff;
  border: 2px solid #3f641f;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-sizing: border-box;
}

.avis-card p {
  margin: 8px 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.4;
}

.avis-card .stars {
  color: #3f641f; /* jaune Google */
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .avis-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
  .avis-card { flex: 0 0 100%; }
}

/* ---------- Footer Premium ---------- */
.custom-footer-premium {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important; /* corrige l’alignement */
  background: linear-gradient(135deg, #567f1d, #3f6412);
  color: #fff;
  padding: 60px 20px 20px;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', sans-serif;
}
.footer-inner-premium {
  max-width: 1200px; /* largeur max centrée */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 40px;
}

/* Colonnes avec séparation */
.footer-col {
  flex: 1;
  min-width: 220px;
  padding: 0 20px;
  position: relative;
}
.footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

/* Logo + slogan */
.footer-logo-section img {
  height: 60px;
  margin-bottom: 10px;
}
.footer-slogan {
  font-size: 0.95rem;
  color: #dcecd1;
  margin: 0;
}

/* Titres */
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #e0f0c8;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
}

/* Navigation */
.footer-nav-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-section a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}
.footer-nav-section a:hover {
  color: #b1d28b;
  transform: translateX(4px);
}

/* Contact */
.footer-contact-section div {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
/* Section horaires */
.footer-hours p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #f1f8eb;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  padding-top: 20px;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-inner-premium {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  .footer-col {
    border: none !important; /* on enlève les traits sur mobile */
    padding: 0;
  }
  .footer-social-section .social-icons {
    justify-content: center;
  }
}


.footer-inner-premium {
  max-width: 1200px; /* largeur max centrée */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 40px;
}

/* Colonnes avec séparation */
.footer-col {
  flex: 1;
  min-width: 220px;
  padding: 0 20px;
  position: relative;
}
.footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

/* Logo + slogan */
.footer-logo-section img {
  height: 60px;
  margin-bottom: 10px;
}
.footer-slogan {
  font-size: 0.95rem;
  color: #dcecd1;
  margin: 0;
}

/* Titres */
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #e0f0c8;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
}

/* Navigation */
.footer-nav-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-section a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}
.footer-nav-section a:hover {
  color: #b1d28b;
  transform: translateX(4px);
}

/* Contact */
.footer-contact-section div {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Réseaux sociaux */
.footer-social-section .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
.footer-social-section .social-icons a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s, transform 0.3s;
}
.footer-social-section .social-icons a:hover img {
  filter: brightness(0) invert(0.6);
  transform: scale(1.2) rotate(5deg);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  padding-top: 20px;
  letter-spacing: 0.5px;
}
.footer-legal-link {
  color: #fff;
  text-decoration: underline;
  font-size: 0.85rem;
  margin-top: 5px;
  display: inline-block;
  transition: color 0.3s;
}

.footer-legal-link:hover {
  color: #b1d28b;
}
/* Responsive */
@media (max-width: 992px) {
  .footer-inner-premium {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  .footer-col {
    border: none !important; /* on enlève les traits sur mobile */
    padding: 0;
  }
  .footer-social-section .social-icons {
    justify-content: center;
  }
}


/* ============================
   RESPONSIVE GLOBAL
============================ */
@media (max-width: 992px) {
  .services-container { flex-direction: column; align-items: center; }
  .service-card { max-width: 90%; }
  .footer-content { flex-direction: column; text-align: center; }

  .block-container, .block-container.reverse,
  .content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .block-text ul { padding-left: 0; list-style-position: inside; }
  .section-zone-intervention .text-column,
  .section-zone-intervention .map-column,
  .text-column, .image-column {
    min-width: 100%;
  }
}
/* Masquer le footer du thème */
.wp-site-blocks > footer,
footer.wp-block-template-part,
footer#colophon,
footer#site-footer {
  display: none !important;
}
/* -------- FORMULAIRE CONTACT -------- */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  gap: 15px;
}

.form-col {
  flex: 1;
  min-width: 200px;
}

.two-columns .form-col {
  flex: 1 1 calc(50% - 10px); /* deux colonnes équilibrées */
}

.one-column .form-col {
  flex: 1 1 100%;
}

/* Champs du formulaire */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #567f1d; /* ton vert */
  outline: none;
}

/* Bouton envoyer */
.wpcf7 input[type="submit"] {
  background: #567f1d; /* vert */
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #3f641f; /* vert foncé au hover */
}

/* Responsive mobile */
@media (max-width: 768px) {
  .two-columns .form-col {
    flex: 1 1 100%; /* une seule colonne sur mobile */
  }
}
/* ===== SECTION CONTACT — FULL BLEED + CONTENU 1400PX ===== */

/* 1) On casse les limites du thème et on fait un fond full-width */
.contact-section {
  /* fond + espacement */
  background: #f6fbf3;
  padding: 40px 0;
  box-sizing: border-box;

  /* full-bleed, comme ton header */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;

  /* évite le micro-débordement à droite */
  overflow-x: clip;
}

/* Si WordPress tente encore de limiter la largeur, on neutralise */
.entry-content .contact-section,
.wp-block-group .contact-section,
.wp-block-html .contact-section {
  max-width: none !important;
  width: auto !important;
}
/* 2) Conteneur interne centré, limité à 1400px */
.contact-container {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* 2 colonnes flexibles */
  gap: 32px; /* espace entre colonnes (réduit) */
  align-items: start;
}

/* Bloc global */
.contact-section {
  background: #f6fbf3; /* même fond clair que la section Raisons */
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Container */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Colonne gauche */
.contact-left {
  color: #222;
  padding-top: 100px; /* ➝ descend légèrement logo + texte */
}

.contact-left h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #3f641f; /* vert principal */
  margin-bottom: 20px;
}

.contact-left p {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Logo */
.contact-logo-container {
  max-width: 260px;
  width: 100%;
  margin: 0 0 16px 0;
}
.contact-logo-container img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* ➝ Nouvelle image sous le texte */
.contact-extra-img img {
  margin-top: 25px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Colonne droite : formulaire */
.contact-right {
  background: #fff;
  border: 2px solid #3f641f;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Formulaire CF7 */
.contact-right .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-right input[type="text"],
.contact-right input[type="email"],
.contact-right input[type="tel"],
.contact-right textarea,
.contact-right select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border 0.3s ease;
}

.contact-right input[type="text"]:focus,
.contact-right input[type="email"]:focus,
.contact-right input[type="tel"]:focus,
.contact-right textarea:focus,
.contact-right select:focus {
  border: 1px solid #3f641f;
  outline: none;
}

/* Bouton envoyer */
.contact-right input[type="submit"] {
  background-color: #3f641f;
  color: #fff;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-right input[type="submit"]:hover {
  background-color: #567f1d;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-left, .contact-right {
    min-width: 100%;
  }
  .contact-logo-container {
    justify-content: center;
  }
  .contact-extra-img img {
    margin: 20px auto 0;
  }
}


.hero-contact {
  position: relative;
  height: 400px; /* hauteur du hero */
  display: flex;
  align-items: center;
  justify-content: center; /* centre horizontalement le contenu */
  background-image: url("http://pompeachaleur-anjou.fr/wp-content/uploads/2025/09/banniere-contact-V3-1.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero-contact .hero-overlay {
  background: rgba(0, 0, 0, 0.4); /* voile sombre */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* centre le titre horizontalement */
  text-align: center;
  padding: 0; /* plus besoin de padding gauche */
}

.hero-contact h1 {
  font-size: 4rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.6); /* fond noir transparent */
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
}

/* Largeur centrée limitée */
.max-1400 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =================================
   Responsive
=================================*/

/* Tablette */
@media (max-width: 1024px) {
  .hero-contact {
    height: 350px;
    padding-left: 8%;
  }
  .hero-contact .hero-overlay {
    padding-left: 8%;
  }
  .hero-contact h1 {
    font-size: 3rem;
    padding: 8px 16px;
  }
}

/* Petit tablette / grand mobile */
@media (max-width: 768px) {
  .hero-contact {
    height: 300px;
    padding-left: 6%;
  }
  .hero-contact .hero-overlay {
    padding-left: 6%;
  }
  .hero-contact h1 {
    font-size: 2.2rem;
    padding: 6px 12px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .hero-contact {
    height: 220px;
    justify-content: center;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-contact .hero-overlay {
    justify-content: center;
    padding: 0;
  }
  .hero-contact h1 {
    font-size: 1.8rem;
    padding: 5px 10px;
  }
}


.entreprise-section {
  max-width: 1400px;
  margin: 180px auto 60px auto; /* espace avec le header/top bar */
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0 20px;
}

.entreprise-left {
  flex: 1;
  text-align: center;
}

.entreprise-left .portrait img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.entreprise-left .texte {
  text-align: left;
}

.entreprise-right {
  flex: 1;
}

.entreprise-right img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
/* Responsive pour tablette / mobile */
@media (max-width: 992px) {
  .entreprise-section {
    flex-direction: column; /* empile les colonnes verticalement */
    gap: 20px; /* réduit l’espace entre les blocs */
    margin: 120px auto 40px auto; /* ajuste l’espace top/bottom pour mobile */
    padding: 0 15px; /* petit padding horizontal */
  }

  .entreprise-left,
  .entreprise-right {
    flex: 1; /* prend toute la largeur */
    text-align: center; /* centre le contenu */
  }

  .entreprise-left .texte {
    text-align: center; /* centre le texte pour mobile */
  }

  .entreprise-right img {
    width: 100%;
    height: auto; /* conserve les proportions */
    margin-top: 20px; /* petit espace au-dessus */
  }
}

/* ========================================
   Hero Entreprise
======================================== */
.hero-entreprise {
  position: relative;
  height: 400px; /* même hauteur que contact */
  display: flex;
  align-items: center;
  justify-content: center; /* centre horizontalement le contenu */
  background-image: url("http://pompeachaleur-anjou.fr/wp-content/uploads/2025/09/banniere-entreprise-1.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  margin-top: 0 !important;
  padding-top: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow-x: hidden;
}

.hero-entreprise .hero-overlay {
  background: rgba(0, 0, 0, 0.4); /* voile sombre */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* centre le titre horizontalement */
  text-align: center;
  padding: 0;
}

.hero-entreprise h1 {
  font-size: 4rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.6); /* fond noir transparent */
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
}

/* Largeur centrée limitée */
.max-1400 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =================================
   Responsive
=================================*/

/* Tablette */
@media (max-width: 1024px) {
  .hero-entreprise {
    height: 350px;
  }
  .hero-entreprise h1 {
    font-size: 3rem;
    padding: 8px 16px;
  }
}

/* Petit tablette / grand mobile */
@media (max-width: 768px) {
  .hero-entreprise {
    height: 300px;
  }
  .hero-entreprise h1 {
    font-size: 2.2rem;
    padding: 6px 12px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .hero-entreprise {
    height: 220px;
  }
  .hero-entreprise h1 {
    font-size: 1.8rem;
    padding: 5px 10px;
  }
}

/* Bloc fabricants FULL WIDTH */
.fabricants-section {
  position: relative;
  width: 100%;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important; /* force full-width */
  padding: 60px 20px;
  background-color: #f6fbf3;
  box-sizing: border-box;
}

.fabricants-section .section-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Titres et texte */
.fabricants-section .section-title {
  font-size: 2.5rem;
  color: #3f641d; /* vert PCA */
  margin-bottom: 20px;
}

.fabricants-section p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #333;
}

/* Grille des logos */
.fabricants-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 logos sur une ligne */
  gap: 30px;
  align-items: center;
  justify-items: center;
}

/* Logos avec cadre vert */
.fabricant-logo img {
  max-width: 120px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 2px solid #567f1d; /* cadre vert */
  padding: 10px; /* espace intérieur du cadre */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background-color: #fff; /* pour que le cadre ressorte */
}

/* Responsive */
@media (max-width: 1024px) {
  .fabricants-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 logos par ligne sur tablette */
  }
}

@media (max-width: 600px) {
  .fabricants-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 logos par ligne sur mobile */
  }
}
/* ---------- Bloc "6 Raisons" ---------- */
.reasons-section {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important; /* full-width */
  padding: 65px 20px; /* légèrement augmenté pour plus d'espace autour */
  background-color: #f6fbf3;
  box-sizing: border-box;
}

.reasons-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.7rem; /* légèrement plus grand */
  color: #3f6412; /* vert sombre */
  margin-bottom: 45px; /* un peu plus d'espace sous le titre */
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 cartes par ligne */
  gap: -145px; /* un peu plus d'espace entre les cartes */
  justify-items: center; /* centre les cartes dans chaque colonne */
  align-items: start;
}

.reason-item {
  background-color: #fff;
  border: 2px solid #3f6412;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  min-height: 280px;
  height: 300px;
}

.reason-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.reason-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.reason-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3f6412;
  margin-bottom: 10px;
}

.reason-item p {
  font-size: 1rem;
  color: #222;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}



/* Hero Services */
.hero-services {
  position: relative;
  height: 400px; /* même hauteur que contact */
  display: flex;
  align-items: center;
  justify-content: center; /* centre horizontalement le contenu */
  background-image: url("http://pompeachaleur-anjou.fr/wp-content/uploads/2025/09/banniere-service-1.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero-services .hero-overlay {
  background: rgba(0, 0, 0, 0.4); /* voile sombre */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* centre le titre horizontalement */
  text-align: center;
  padding: 0; /* pas de padding gauche */
}

.hero-services h1 {
  font-size: 4rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.6); /* fond noir transparent */
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
}

/* Largeur centrée limitée */
.max-1400 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =================================
   Responsive
=================================*/

/* Tablette */
@media (max-width: 1024px) {
  .hero-services {
    height: 350px;
    padding-left: 8%;
  }
  .hero-services .hero-overlay {
    padding-left: 8%;
  }
  .hero-services h1 {
    font-size: 3rem;
    padding: 8px 16px;
  }
}

/* Petit tablette / grand mobile */
@media (max-width: 768px) {
  .hero-services {
    height: 300px;
    padding-left: 6%;
  }
  .hero-services .hero-overlay {
    padding-left: 6%;
  }
  .hero-services h1 {
    font-size: 2.2rem;
    padding: 6px 12px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .hero-services {
    height: 220px;
    justify-content: center;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-services .hero-overlay {
    justify-content: center;
    padding: 0;
  }
  .hero-services h1 {
    font-size: 1.8rem;
    padding: 5px 10px;
  }
}


/* === Section services === */
.full-width {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.services-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #2e7d32; /* vert PCA */
}

.services-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2e7d32;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
/* Règle universelle pour obtenir 1400px de largeur utile */
.full-width {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* Largeur pleine et centrage à 1400px */
.full-width {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
/* Section globale */
/* Section globale */
.tarifs-section {
  background: #f9f9f9;
  padding: 60px 20px;
  width: 100%;
}

.tarifs-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Titre section */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #3f641f;
  font-weight: 700;
}

/* Grille des cartes */
.tarifs-grid {
  display: flex;              /* utilise flexbox */
  flex-wrap: wrap;            /* permet le retour à la ligne */
  justify-content: center;    /* centre les cartes horizontalement */
  gap: 120px;                  /* espace entre les cartes */
}

/* Carte tarifs */
.tarif-card {
  background: #fff;
  border: 2px solid #3f641f;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;           /* largeur max d’une carte */
  flex: 1 1 280px;            /* largeur flexible : mini 280px, max 1fr */
  height: 100%;               /* hauteur auto selon contenu */
}

.tarif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.tarifs-section + .tarifs-section .section-title {
  margin-top: -80px; /* espace réduit avant le titre */
}

/* Titre de carte */
.tarif-title {
  background: rgba(15, 81, 50, 0.1);
  color: #3f641f;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 15px;
  margin: 0;
}
.tarif-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3f641f;
  margin-bottom: 5px; /* petit espace avant le sous-titre */
}

.tarif-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
	font-weight: bold;
  color: #567f1d; /* nuance de vert plus claire */
  display: block;
  margin-bottom: 15px; /* espace avant la liste */
}

.tarif-price {
  background: #3f641f;
  color: #fff;
  padding: 12px 15px;
  display: flex;
  justify-content: center;    /* centre tout le contenu */
  align-items: center;
  position: relative;
}

.tarif-price-main {
  font-size: 1.6rem;
  font-weight: bold;
}

.tarif-price-small {
  font-size: 0.85rem;
  font-weight: normal;
  opacity: 0.9;
  position: absolute;
  right: 15px;   /* colle à droite dans le bandeau */
}

/* Liste */
.tarif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.tarif-list li {
  padding: 12px;
  font-size: 1rem;
}

.tarif-list li:nth-child(odd) {
  background: rgba(15, 81, 50, 0.05);
}

.tarif-list li:nth-child(even) {
  background: #fff;
}

/* Bouton */
.tarif-btn {
  display: block;
  background: #3f641f;
  color: #fff;
  text-decoration: none;
  padding: 14px;
  font-weight: bold;
  border-radius: 0 0 14px 14px;
  transition: background 0.3s ease;
}

.tarif-btn:hover {
  background: #0c3d26;
}

/* Responsive */
@media (max-width: 1024px) {
  .tarifs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tarifs-grid {
    grid-template-columns: 1fr;
  }
}



/* Débloquer la largeur forcée par le thème */
.tarifs-section,
.contact-section,
.hero-contact,
.hero-entreprise,
.hero-services,
.marques-section,
.raisons-section {
  max-width: 100% !important;   /* prend toute la largeur de l'écran */
  width: 100% !important;
  margin: 0 auto !important;
}

.tarifs-container,
.contact-container,
.marques-container,
.raisons-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px; /* petit padding interne pour respirer */
}
.cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #3f641f, #7aa319);
  color: #fff;
  border-radius: 16px;
  margin: 60px auto;
  max-width: 1000px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #3f641f;
  background: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background: #f1f1f1;
  transform: scale(1.05);
}

/* ----------------------------
   Forcer largeur 1200px pour .modern-block
   sans casser les règles globales du thème
   ---------------------------- */

/* On neutralise les limites que le thème applique parfois aux groupes parents
   mais on limite la portée aux .modern-block seulement (évite de casser tout le site) */
.wp-block-group .modern-block,
.wp-block .modern-block,
.group .modern-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Conteneur interne "narrow" qui sert de colonne centrée */
.modern-block .block-content {
  max-width: 1200px !important;  /* la largeur désirée */
  width: calc(100% - 40px) !important; /* laisse un petit padding lateral */
  margin: 0 auto !important;
  padding: 0 20px !important; /* padding interne */
  box-sizing: border-box !important;
}

/* Si .modern-block est placé dans un alignfull, assure que l'alignfull ne bride pas */
.wp-block-group.alignfull .modern-block .block-content,
.alignfull .modern-block .block-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Sécurité : si un style inline (ou ID) vient encore restreindre, force le container direct */
.modern-block > .block-content,
.section-block .modern-block .block-content {
  max-width: 1200px !important;
}
/* Page Mentions légales */
.legal-page {
  max-width: 1920px; /* au lieu de 800px */
  width: 100%;
  padding: 60px 20px;
  background-color: #3f641f; /* fond général de la page */
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  box-sizing: border-box;
  background: linear-gradient(135deg, #3f641f, #2c4b14);
  margin-top: 0;
  padding-top: 40px;/* comme tes autres sections */
}

.legal-container {
  max-width: 800px;  /* largeur similaire au FAQ */
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #fdfeff;
  margin-bottom: 40px;
}

/* Chaque section devient un bloc individuel */
.legal-section {
  background-color: #ffffff;        /* fond blanc pour le bloc */
  padding: 20px 25px;               /* padding interne pour espacement */
  border-radius: 10px;              /* coins arrondis */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* légère ombre */
  margin-bottom: 30px;              /* espace entre les sections */
  border-left: 4px solid #567f1d;   /* accent vert à gauche */
}

.legal-section h2 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #3f641f;
  margin-bottom: 12px;
  border-bottom: 1px solid #dcecd1;
  padding-bottom: 6px;
}

.legal-section p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-section a {
  color: #3f641f;
  text-decoration: underline;
}

.legal-section a:hover {
  color: #567f1d;
}
.legal-page::before,
.legal-page::after {
  content: "";
  position: absolute;
  top: 280px;
  bottom: 480px;
  width: 320px; /* largeur du logo */
  background-image: url('http://pompeachaleur-anjou.fr/wp-content/uploads/2025/09/logo-point-sans-fond.png');
  background-repeat: repeat-y;
  background-position: center top;
  background-size: contain;
  opacity: 0.25;
  z-index: 0; /* derrière le contenu */
}

.legal-page::before { left: 60px; }
.legal-page::after  { right: 60px; }
/* Responsive */
@media (max-width: 768px) {
  .legal-page {
    padding: 40px 15px;
  }
  .legal-page h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .legal-section h2 {
    font-size: 1.1rem;
  }
  .legal-section p {
    font-size: 0.95rem;
  }
  .legal-page::before,
  .legal-page::after {
    display: none; /* ou width plus petit, ex: 100px */
  }
}
/* === Section Services Flip === */
.services-section {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  padding: 60px 20px;
  background-color: #f6fbf3;
  box-sizing: border-box;
  text-align: center;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #3f641f;
}

/* === Flip cards services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 80px;
  align-items: start;
  justify-items: center;
  width: 100%;
  box-sizing: border-box;
}

.flip-card {
  width: 100%;
  max-width: 360px;
  perspective: 1000px;
  position: relative;
  box-sizing: border-box;
}

.flip-card-inner {
  width: 100%;
  height: 600px; /* fixe sur desktop */
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 12px;
  border: 2px solid #3f641f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Image recto */
.flip-card-front img {
  max-width: 250px; /* limite taille */
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
  border-radius: 12px; /* arrondi doux */
}
.flip-card-back img {
  max-width: 60px;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
}
/* Titres et textes */
.flip-card h3 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: #3f641f;
  font-weight: 700;
  text-align: center;
   margin-top: -10px;
}
/* Badge "Tarifs au dos" sur le recto */
.tarif-note {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background-color: #3f641f; /* vert foncé */
  padding: 8px 15px;
  border-radius: 20px; /* arrondi type badge */
  margin-top: 15px;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.flip-card-front p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  text-align: center;
  margin: 0;
}

/* Sections tarifs verso */
.flip-card-back .tarif-section {
  margin: 15px 0;
  width: 100%;
}

/* H4 dans les sections tarifs */
.flip-card-back .tarif-section h4 {
  background-color: #3f641f;   /* vert sombre */
  color: #fff;                 /* texte blanc */
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 0;
  width: calc(100% + 40px);
  margin: 0 -20px 15px -20px;
  text-align: center;
  border-radius: 0;
  text-transform: uppercase;
}

/* Prix mis en valeur */
.flip-card-back .tarif-section .prix {
  font-size: 1.6rem;
  font-weight: 800;
  color: #6e971b;              /* vert plus clair pour contraste */
  margin-top: 10px;
  padding: 8px 15px;
  background-color: rgba(62,100,18,0.1); /* léger fond vert très clair */
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 1024px) {
  .flip-card-inner { height: 520px; }
  .services-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* une carte par ligne */
    gap: 30px;
  }

  .flip-card-inner {
    height: auto;       /* auto pour éviter débordement */
    min-height: 450px;  /* garde une base */
    transform: none !important; /* pas de flip */
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;  /* suivent le flux */
    transform: none !important;
    backface-visibility: visible;
    height: auto;
  }
}

@media (max-width: 480px) {
  .flip-card-inner {
    min-height: 380px;
  }
}
/* Services intro */
.services-intro {
  text-align: center;
  padding: 60px 20px 40px;
}

.services-intro h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.services-intro p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Service cards */
.services-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px 60px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px 20px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}

.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.service-card .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #567f1d;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.service-card .btn:hover {
  background-color: #3f641f;
}

/* Responsive */
@media (max-width: 768px) {
  .services-links {
    flex-direction: column;
    align-items: center;
  }
}
/* =================================
   HERO ENTRETIEN
=================================*/

.hero-entretien {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("http://pompeachaleur-anjou.fr/wp-content/uploads/2025/09/banniere-contact-V3-1.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero-entretien .hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-entretien h1 {
  font-size: 3rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 12px 24px;
  border-radius: 6px;
  display: inline-block;
}

/* ==========================
   Responsive
========================== */

/* Tablette */
@media (max-width: 1024px) {
  .hero-entretien {
    height: 350px;
  }

  .hero-entretien h1 {
    font-size: 3rem;
    padding: 10px 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-entretien {
    height: 280px;
  }

  .hero-entretien h1 {
    font-size: 2.2rem;
    padding: 8px 16px;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  .hero-entretien {
    height: 220px;
  }

  .hero-entretien h1 {
    font-size: 1.7rem;
    padding: 6px 12px;
  }
}
/* Hero full width - force largeur écran */
.hero-entretien {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* ==========================
   BLOC TARIFS MODERNE
========================== */

.tarifs-section {
  padding: 100px 20px;
  background: #f6fbf3;
}

.tarifs-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.tarifs-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #3f641f;
  margin-bottom: 60px;
}

/* Grille */
.tarifs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Carte */
.tarif-card {
  background: #fff;
  border-radius: 20px;
  padding: 45px 30px 40px;
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Bandeau haut */
.tarif-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(90deg, #3f641f, #7aa319);
}

/* Hover */
.tarif-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0,0,0,0.15);
}

/* Titre */
.tarif-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #3f641f;
  margin-bottom: 15px;
}

/* Prix */
.tarif-prix {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

.tarif-prix strong {
  font-size: 2rem;
  color: #3f641f;
}

/* Liste */
.tarif-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
}

.tarif-card ul li {
  font-size: 1rem;
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
  text-align: left;
}

/* Check vert */
.tarif-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #7aa319;
  font-weight: bold;
}

/* Bouton */
.tarif-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  background: linear-gradient(135deg, #3f641f, #7aa319);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tarif-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(63,100,31,0.4);
}

/* Carte mise en avant */
.tarif-card.highlight {
  transform: scale(1.08);
  border: 3px solid #7aa319;
}

.tarif-card.highlight::after {
  content: "Le plus choisi";
  position: absolute;
  top: 20px;
  right: -40px;
  background: #7aa319;
  color: #fff;
  padding: 6px 50px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ==========================
   Responsive
========================== */

@media (max-width: 1024px) {
  .tarifs-cards {
    grid-template-columns: 1fr;
  }

  .tarif-card.highlight {
    transform: none;
  }

  .tarif-card.highlight::after {
    display: none;
  }
}
.bloc-pourquoi {
  padding: 80px 20px;
  background: #fff;
}

.bloc-container {
  max-width: 1200px;
  margin: 0 auto;
}

.bloc-content {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.bloc-image {
  flex: 1;
  min-width: 300px;
}

.bloc-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.bloc-text {
  flex: 1;
  min-width: 300px;
}

.bloc-text h2 {
  font-size: 2.2rem;
  color: #3f641f;
  margin-bottom: 20px;
}

.bloc-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.bloc-text ul.avantages {
  list-style: none;
  padding: 0;
}

.bloc-text ul.avantages li {
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
  color: #333;
}

.bloc-text ul.avantages li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #7aa319; /* vert PCA */
  font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
  .bloc-content {
    flex-direction: column;
    text-align: center;
  }

  .bloc-text ul.avantages li {
    padding-left: 0;
  }

  .bloc-text ul.avantages li::before {
    left: -25px;
  }
}
