/*
Theme Name: Divi-child
Description: Theme enfant de Divi. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: Divi
Version: 1.0
*/
/* =========================
   Futura Cyrillic - @font-face
========================= */

@font-face{
  font-family: "Montserrat";
  src:
    url("assets/fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Montserrat";
  src:
    url("assets/fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Montserrat";
  src:
    url("assets/fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Montserrat";
  src:
    url("assets/fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Global */
body{
  font-family: "Montserrat";
  font-weight: 500;
}

#page-container {
  padding-top: 0 !important;
}


/* =========================
   HEADER GLOBAL
========================= */

.site-header {
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.wrapp-header{
  position: relative;
  background: #fff;
  overflow: visible;
}

.site-header__inner{
  display:flex;
  gap: 50px;
  justify-content: space-evenly;
  align-items:center;
  width: 100%;
  max-width: none;     
  margin: 0;            
  padding: 60px 50px 20px 50px; 
  position: relative;
}

/* =========================
   WAVE HEADER
========================= */
.site-header__wave{
  position: absolute;
  width: 100%;
  z-index: 3;

}

.site-header__wave svg{
  display: block;
  width: 100%;
  height: auto;
}


/* =========================
   LOGO
========================= */

.site-header__logo {
  display: flex;
  align-items: center;
    & svg {
    height: auto;
    width: 450px;
    display: block;
    flex-shrink: 0;
  }
}


/* =========================
   MENU PRINCIPAL
========================= */

.site-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 3vw, 50px);
    row-gap: 10px;
    flex-wrap: wrap;
}

.site-menu > li {
    position: relative;
}

.site-menu > li > a {
  position: relative !important;
  display: inline-block !important;
  padding: 6px 0 12px !important;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 600;
  letter-spacing: 1.02px;
  color: #4D4D4D;
  white-space: nowrap;
}

/* état actif / hover */
.site-menu > li.current-menu-item > a,
.site-menu > li.active > a,
.site-menu > li.active > .menu-parent,
.site-menu > li > a:hover,
.site-menu > li > .menu-parent:hover {
  color: #F15924;
  font-weight: 700;

}



/* on neutralise seulement les pseudo-éléments inutiles des spans */
.site-menu > li > span:not(.menu-parent)::before,
.site-menu > li > span:not(.menu-parent)::after {
  content: none !important;
}

/* trait actif des liens normaux */
.site-menu > li.active > a::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  width: 30px !important;
  height: 3px !important;
  background: #F15924 !important;
  display: block !important;
  z-index: 5 !important;
}

/* parent Services */
.site-menu > li.menu-item-has-children > .menu-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
}

/* flèche */
.site-menu > li.menu-item-has-children > .menu-parent::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-left: 5px;
  position: relative;
  top: -3px;
}

/* chevron ouvert */
.site-menu > li.menu-item-has-children:hover > .menu-parent::after,
.site-menu > li.menu-item-has-children:focus-within > .menu-parent::after {
  transform: rotate(-135deg);
  top: 3px;
}

/* trait actif pour SERVICES */
.site-menu > li.active > .menu-parent::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 35px;
  height: 3px;
  background: #F15924 !important;
}


/* =========================
   SOUS-MENU (Services)
========================= */



.site-menu .sub-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    margin: 10px 0 0;
    padding: 15px 0 5px;
    list-style: none;
    display: none;
    z-index: 1000;
    isolation: isolate;
    background: transparent;
}

/* Fond blanc */
.site-menu .sub-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 0;
    pointer-events: none;
}

/* Ombre décalée */
.site-menu .sub-menu::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(12px, 9px);
    background: #4d4d4d;
    z-index: -1;
    pointer-events: none;
    clip-path: polygon(50% 0%, 95% 0%, 100% 100%, 5% 96%);
}

/* Contenu au-dessus du fond */
.site-menu .sub-menu > li,
.site-menu .sub-menu > li > a {
    position: relative;
    z-index: 1;
}

.menu-item-has-children span {
    cursor: pointer !important;
}

.site-menu li:hover > .sub-menu {
    display: block;
}

.site-menu .sub-menu li a {
    display: block;
    padding: 8px 16px;
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 600;
    color: #4d4d4d;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-menu .sub-menu li a:hover {
    background: #f5f5f5;
    color: #f15924 !important;
}

.site-menu .sub-menu li.active > a {
    color: #f15924 !important;
    font-weight: 700;
}
/* =========================
   TÉLÉPHONE  HEADER (PASTILLE)
========================= */

.site-header__phone {
  position: fixed;
  top: -3px;
  right: 100px;
  line-height: 1;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  gap: 5px;
  z-index: 10;


  .phone-link {
    color: white;
    background-color: #F15924;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 0 0 15px 15px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .phone-link__text {
    display: inline;
  }

  .phone-link__icon {
    display: none;
    line-height: 0;
  }

  .phone-link__icon img {
    display: block;
    width: 30px;
    height: 30px;
  }

  .picto-fb-link {
    background-color: #3b5998;
    padding: 10px;
    text-decoration: none;
    border-radius: 0 0 15px 15px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .picto-fb-link img {
    width: 30px;
    height:30px;
    margin-top: 0;
  }
}

/*Téléphone étiquette corps*/
.box-tel-white {
  display: flex;
  justify-content: center;
}
.contain-tel {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 2px solid white;
  padding: 5px;
  width: fit-content;
}
.contain-tel a {
  font-size: 22px;
  color: white;
  font-family: "Montserrat" ;
  font-weight: 600;

}

/* =========================
   CORPS
========================= */
.btn-contact {
  position: relative !important;
  background-color: #6B7831;
  border: none;
  padding: 0;
  display: inline-block;
  padding: 10px;
  text-decoration: none;
  color: white;
  font-size: 18px;
  text-decoration: none;
  font-family: "Montserrat";
  font-weight: 600;
	text-align:center;
  cursor: pointer;
}
.btn-contact.am {
  background-color: white;
  color: #6B7831;
}
.btn-contact::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(10px, 10px);
    background: #F15924;
    z-index: -1;
    pointer-events: none;
    clip-path: polygon(40% 0%, 95% 0%, 97% 90%, 0% 80%);
}

.list-style-home {
  list-style-position: inside;
  margin-top: 20px !important;
  width: fit-content;      /* AJOUT */
  margin: 0 auto;          /* AJOUT (centre le bloc) */
  text-align: left; 
}


/*Logo Certif Homepage*/
.wrapp-certification {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:20px;
  flex-wrap: wrap;
  & svg {
    width:150px;
    height:auto;
  }
  & img {
    width:100px;
  }
}
.wrapp-certification.entretien {
	display:flex;
	justify-content:flex-start;
}
@media (max-width: 980px){
  .wrapp-certification {
    justify-content: center;
    & img {
      width: 100px;
    }
    & svg {
      width:150px;
    }

  }
}

/*Colonne H3 Page home*/
.column-h3-home {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  width: 100%;
  height: 250px;
  box-sizing: border-box;
  isolation: isolate;
}
.column-h3-home.espvert {
  background: url("/wp-content/uploads/2026/01/entretien-espaces-verts.webp")
    center / cover
    no-repeat;
}

.column-h3-home.trforestiers {
  background: url("/wp-content/uploads/2026/01/travaux-forestiers.webp")
    center / cover
    no-repeat;
}

.column-h3-home.amext {
  background: url("/wp-content/uploads/2026/01/amenagement-exterieur.webp")
    center / cover
    no-repeat;
}

.column-h3-home.densal {
  background: url("/wp-content/uploads/2026/01/deneigement.webp")
    center / cover
    no-repeat;
}

.picto-h3-home {
  margin-bottom: 15px;
}
.column-h3-home h3 {
  color:white;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4em;
  text-align: center;
}

.column-h3-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #6B7831;
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 0;
}

.column-h3-home > * {
  position: relative;
  z-index: 1; /* AJOUT */
}


.contain-txt-column-h3 {
  padding: 20px;
  box-shadow: 3px 7px 10px #00000029;
}
.contain-txt-column-h3 p {
  font-size: 18px;
  color: #4D4D4D;
  text-align: center;
  line-height: 1.6em;
}

.box-btn-column {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* la colonne doit pouvoir étirer son unique module */
.row-home-services .et_pb_column {
  display: flex;
}

/* le module code et son inner doivent prendre toute la hauteur */
.row-home-services .et_pb_code,
.row-home-services .et_pb_code_inner {
  width: 100%;
  height: 100%;
}

/* ton wrapper devient la "card" pleine hauteur */
.row-home-services .wrapp-column-h3 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* le bloc texte prend l’espace restant */
.row-home-services .contain-txt-column-h3 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* bouton collé en bas */
.row-home-services .box-btn-column {
  margin-top: auto;
  padding-top: 20px;
}


/* Desktop / tablette : ok */
.row-home-services .et_pb_column {
  display: flex;
}

/*Page ESP Verts*/
.contain-h3-picto-green {
  display:flex;
  align-items: center;
  gap:15px;
}
.contain-h3-picto-green h3 {
  color: #6B7831;
  font-weight: 600;
  padding: 0;
}

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

/* =====================================
FOOTER 
====================================== */

.footer-custom{
  background: #ffffff;
  border-top: 1px solid #ffff;
  color: #333;
  padding: 50px 50px 0px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-custom .container{
  /* max-width: 1000px;
  margin: 0 auto; */
  margin: 0 !important;
  padding: 0 20px;
  width: 100%;
}

.footer-main{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 0;
}
/* Logo footer gauche : support IMG ou SVG inline */
.footer-left svg{
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}
.footer-col{
  min-width: 0;
}

/* Colonne gauche (logo) */
.footer-left {
  display: block;
  width: 350px;
  height: auto;
}

/* Colonne centre (adresse) */
.footer-center{

  max-width: 360px;
}

.footer-addr{
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}

.footer-addr a{
  color: #333;
  text-decoration: none;
}
.footer-bottom a[href="/sitemap_index.xml"] {
  text-transform: uppercase;
}

.footer-addr .link-hover:hover {
  color: #4c6b2f;
}

/* Colonne droite (badges) */
.footer-right{
  display: flex;
  justify-content: flex-end;
  margin-left: 0;
}

/* Bandeau bottom */
.footer-bottom{
  border-top: 1px solid #fff;
  background: #fff;
  text-transform: uppercase;
}

.footer-bottom .container{
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-bottom .sep {
  margin: 0 5px;
}

.footer-bottom a{
  color: #333;
  text-decoration: none;
  font-size: 13px;
}


.footer-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
  align-items: center;
}

/* 1er logo prend toute la largeur */
.footer-badges img:first-child {
  grid-column: 1 / -1;
}

/* tailles */
.footer-badges .ets-paysage-logo {
  width: 200px;
}

.footer-badges img:not(.ets-paysage-logo) {
  width: 100px;
}

/* Force uniquement ce bouton */

.site-menu > li > .menu-parent{
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-family: "Montserrat";
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #4D4D4D;
  padding: 6px 0;
  display: block;
  cursor: default;
}


/*Picto fb*/
.picto-fb-link img {
  margin-top:20px;
}

.wave-mobile {
  display: none;
}
/* =====================================
Mobile
====================================== */
.mobile-overlay {
  display:none;
}
.btn-burger {
  display:none;
}
.logo-mobile img {
  width: 300px;
}




/* Mobile uniquement */
@media (max-width:980px){
  .site-header{
    position: relative;
    z-index: 99999;
  }

  /* 3) Les sections Divi sous la vague header */
  .et_pb_section{
    position: relative;
    z-index: 1;
  }
  .btn-burger {
    display: block;
  }
  body.menu-open{
  overflow: hidden;
}
  #mobile-menu.mobile-overlay{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    background: #fff;
    transform: translateY(-120%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease,
      visibility 0s linear 0.35s;
  }

  #mobile-menu.mobile-overlay.is-open{
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition:
      transform 0.35s ease,
      opacity 0.35s ease,
      visibility 0s linear 0s;
  }
  .btn-burger {
    border: none;
    background: transparent;
    & span {
      display: block;
      width: 35px;
      height: 5px;
      background-color: #6B7831;
      margin: 5px 0;
      transition: all 0.3s ease;
      border-radius: 5px;
    }
  }
  .dropdown-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    box-shadow: 0 3px 6px #00000029;
  }
  .logo-mobile {
    display: flex;
    justify-content: center;
  }
  .logo-mobile img {
    width:80%;
  }
  .ul-mobile-menu {
    text-align: center;
    & li {
      margin: 20px 0;
      & a {
        font-size: 16px;
        color: #4D4D4D;
        text-decoration: none;
        text-transform: uppercase;
        font-family: "Montserrat";
        font-weight: 600;
      }
    }
  }

  .btn-close{
    border: none;
    background: transparent;
    position: relative;
    width: 35px;
    height: 35px;
    margin: 40px 0 20px 0;
  }

  .btn-close span{
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 5px;
    background-color: #6B7831;
    transition: all 0.3s ease;
    border-radius: 5px;
  }

  /* barre 1 */
  .btn-close span:first-child{
    transform: translateY(-50%) rotate(45deg);
  }

  /* barre 2 */
  .btn-close span:last-child{
    transform: translateY(-50%) rotate(-45deg);
  }
  .wave-mobile{
    display:block;
    width:100%;
    line-height:0;
    position: absolute;
  }

  .wave-mobile svg{
    display:block;
    width:100% !important;
  }
}


.svg-trait-point.big {
	width:250px;
	height:100px;
}


/* BG Mix blend mode */
.bg-mix-blend{
  position: relative;
  overflow: visible !important;
  z-index: 1;
}

/* Overlay dégradé avec mode multiply */
.bg-mix-blend::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    closest-side at 50% 50%,
    #ffffff 0%,
    #acacac 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

/* Seule la row directe passe au-dessus de l’overlay */
.bg-mix-blend > .et_pb_row{
  position: relative;
  z-index: 1;
}

/* La row qui déborde */
.section-verte-salage{
  position: relative;
  z-index: 2 !important;
}

.picto-trait-point-salage {
  width: 250px;
  height:auto;
}
.picto-trait-point-salage.mob {
  width: 120px;
}


.box-h3-txt-picto{
  display:flex;
  align-items:center;
  gap:20px;
}

.box-h3-txt-picto h3{
  color:#6B7831;
  font-weight:700;
  font-size:20px;
  line-height:1.5em;
}
.picto-h3 {
	width:60px;
	height:auto;
	flex-shrink:0;
}


@media (max-width: 980px){

    .site-header__inner{
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 0;
  }


  /* cache le menu desktop en mobile/tablet */
  .site-header__nav{
    display:none;
  }
  .site-header{
    position: relative;
  }

  .footer-main{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px !important;
  }

  .footer-custom {
    padding-top: 20px !important;
  }
  .footer-right{
    justify-content: center;
  }

  .footer-left {
    width: 280px !important;
  }




  .svg-trait-point {
      width: 150px !important;
    }
	.bg-mix-blend::before{
    display: none;
  }
	.box-h3-txt-picto {
		flex-direction:column !important;
		& h3 {
			text-align:center !important;
	  }
  }

  /* =========================
   LOGO
  ========================= */

  .site-header__logo svg {
    height: auto;
    width: 280px !important;
    display: block;
    flex-shrink: 0;
    margin-top: 30px;
  }
  .site-header__wave {
    display: none;
  }


  /* ✅ Numéro centré UNIQUEMENT en mobile/tablet */
  .site-header__phone{
    position: fixed;
    margin: 0;
    display: flex;
    order: -1;
    right: auto;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

  }

  .site-header__phone .phone-link {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 0 0 12px 12px;
  }

  .site-header__phone .phone-link__text {
    display: none;
  }

  .site-header__phone .phone-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

.wrapp-certification.entretien {
	display:flex;
	justify-content:center;
}
}
