
*,
*::before,
*::after {
  box-sizing: border-box; // 1
}

:root {
    --color-white: #ffffff;
    --color-primary: #2a7f4b;
    --color-secondary: #ddefc8;
    --color-tertiary: #a6b793;
    --color-light: #ebe8e3;
}

html {
  font-family: sans-serif; // 2
  line-height: 1.15; // 3
  -webkit-text-size-adjust: 100%; // 4
  -ms-text-size-adjust: 100%; // 4
  -ms-overflow-style: scrollbar; // 5
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); // 6
}

body {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    color: #4a4a4a;
    text-align: left;
    background-color: #fff;
}

hr {
  box-sizing: content-box; 
  height: 0; 
  overflow: visible; 
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: $headings-margin-bottom;
}

h1 {
    color: #277646;
    font-size: 36px;
}
@media(max-width: 991px) {
    h1 {
        font-size: 28px;
    }
}
.text-item h2 {
    color: var(--color-primary);
}
p {
  margin-top: 0;
  margin-bottom: $paragraph-margin-bottom;
  line-height: 1.5;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    transition: all .2s ease;
}
a:hover {
    color: var(--color-primary);
    text-decoration: none;
}
b,
strong {
    font-weight: bold;
}

figure {
  margin: 0 0 1rem;
}

img {
    vertical-align: middle;
    border-style: none;
    transition: all .2s ease-in-out;
}

svg:not(:root) {
  overflow: hidden;
}

button {
  border-radius: 0;
  cursor: pointer;
}

button:not(.slick-arrow):focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0; 
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible; 
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; 
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0; 
}


input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

/* ========== Loader plein écran ========== */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* ou noir, ou une image */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Animation de spinner (cercle tournant) */
.loader-spinner {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    -khtml-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    width: 70px;
    text-align: center
}

.loader-spinner>div {
    width: 18px;
    height: 18px;
    background-color: var(--color-primary);
    -webkit-border-radius: 100%;
    -khtml-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: loaderbouncedelay 1.4s infinite ease-in-out both;
    animation: loaderbouncedelay 1.4s infinite ease-in-out both
}

.loader-spinner .loader-bounce1 {
    -webkit-animation-delay: -.32s;
    animation-delay: -.32s
}

.loader-spinner .loader-bounce2 {
    -webkit-animation-delay: -.16s;
    animation-delay: -.16s
}
@-webkit-keyframes pxl_bouncedelay {
    0%,80%,100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1)
    }
}

@keyframes loaderbouncedelay {
    0%,80%,100% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

/*
Container
*/

.container, .container-fluid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.btn {
    border: none;
    color: var(--color-light);
    background-color: var(--color-primary);
    box-shadow: inset 9px 0px 0px 0px #eca907;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    transition: all .3s ease-in-out;
    border-radius: 25px;
    letter-spacing: 0.1px;
    line-height: 1em;
    padding: 20px 30px;
    text-transform: uppercase;
}
.btn:hover, 
.btn:focus {
    color: var(--color-white);
    box-shadow: none;
}
.btn:hover {
    color: var(--color-light);
    background-color: #329d5c;
    border-color: #329d5c;
}
.btn i {
    margin-right: 10px;
}

/*
Style
*/
/* RESET & BASE */

.header {
    font-size: 14px;
    font-weight: bold;
    background-color: var(--color-secondary);
    position: fixed;
    width: 100%;
    z-index: 31;
}
.header .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 11;
}

/* Logo centré */
@media(min-width: 992px) {
    .header .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    .tel-top {
        display: flex ;
        align-items: center;
    }
    .tel-top > span {
        display: flex;
        align-items: center;
        margin-right: 0px;
        width: 30px;
        flex: 0 0 30px;
        height: 30px;
        border-radius: 50%;
        background-color: var(--color-primary);
        justify-content: center;
        color: white;
    }
    .tel-top > div a {
        display: block;
        font-size: 18px;
    }
}
.header .logo img {
    width: 223px;
}
@media(min-width: 1200px) {
    .header .logo {
        top: 75px;
        background: #deefc8;
    }
    .header .logo img {
        width: 280px;
    }
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Menu gauche et droite */
.nav .menu,
.infos-topRight .menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav .menu {
  margin-right: auto; /* à gauche */
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.infos-topRight .menu {
  margin-left: auto; /* à droite */
}

.menu-item {
    transition: background-color .3s ease, color .3s ease ;
}
.menu-item:has(ul) > a::after,
.menu-item:has(ul) > span::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* Menu Links */
.menu-link {
  text-decoration: none;
  color: #333;
  padding: 0.5rem;
  display: block;
}

.menu-item > a, .menu-item > span {
    padding: 30px 15px;
    transition: background-color .3s ease, color .3s ease ;
    cursor: pointer;
    font-size: 12px;
}
.menu-item:hover > a, 
.menu-item:hover > span {
    background-color: var(--color-primary);
    color: #f9f6f1;
}
#open-contact.active,
.menu-item.active > a, 
.menu-item.active > span {
    background-color: #ecaa07;
    color: #10301c;
}

/* Sous-menu simple */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: var(--color-primary);
  width: 100%;
  border-radius: 10px;
  padding: 0.5rem 0;

  /* Animation */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .3s ease;
}

.menu-item:hover > .submenu {
  max-height: 500px; 
  opacity: 1;
  transition: all 1s ease;
}

.submenu-item a {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  color: #333;
}
.menu-item:not(#mega-menu) {
    position: relative;
}
.submenu .submenu-item a {
    padding: .5rem 2rem;
    color: var(--color-white);
    justify-content: center;
    font-weight: 700;
    text-align: center;
}
.submenu .submenu-item:hover a {
    background-color: var(--color-secondary);
    color: black;
}

/* Menu droite (infos-topRight) */
.infos-topRight {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.infos-topRight .menu {
  display: flex;
  gap: 1rem;
}

.tel-top a {
  margin-left: 0.5rem;
  text-decoration: none;
  color: #333;
}

.tel-topMobile {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    top: 100%;
    padding-top: 16px;
}
.tel-topMobile > a {
    margin: 0 10px;
    background-color: var(--color-primary);
    border-radius: 15px;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    display: block;
    white-space: nowrap;
}

/*
Menga menu
*/
/* Mega-menu */
.megaM-container {
  width: 100%;
  background-color: var(--color-primary);
  padding: 0;
  justify-content: space-between;
  position: absolute;
  top: 100%;
  left: 0;
  align-items: center;
  border-radius: 10px;

  /* Animation */
  display: flex;            
  flex-wrap: wrap;
  max-height: 0;          
  opacity: 0;
  overflow: hidden;
  transition: all .3s ease;
}

.menu-item:hover > .megaM-container {
  max-height: 800px;        
  opacity: 1;
  transition: all 1s ease;
}

.encart-menu {
    min-height: 450px;
    max-width: 400px;
    flex: 0 0 400px;
    position: relative;
}
.encart-menu::after {
    content: "";
    background-image: url(../images/p/nav-elagage-31.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.encart-menu::before {
    content: "";
    background-color: rgb(0 0 0 / 51%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.encart-item {
    color: var(--color-light);
    text-shadow: 0 0 10px black;
    font-size: 24px;
    text-align: center;
    z-index: 4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}
.encart-item strong {
    color: #eca907;
    text-shadow: 0 0 10px black;
    display: block;
    font-size: 1.6rem;
    text-shadow: 0 0 10px black;
}
.btn-devis {
    text-shadow: none;
}
.mm-menu {
    list-style: none;
    list-style: none;
    flex: 0 0 68%;
    max-width: 68%;
    display: flex;
    flex-wrap: wrap;
}
.mm-menu .submenu-item {
    max-width: calc(33.3333% - 7px);
    flex: 0 0 calc(33.3333% - 7px);
    padding: 0 7px;
}
.mm-menu .submenu-item:nth-child(4),
.mm-menu .submenu-item:nth-child(5) {
    max-width: calc(50% - 7px);
    flex: 0 0 calc(50% - 7px);
}
.mm-menu .submenu-item a {
    height: 100%;
    color: var(--color-light);
    font-size: 18px;
    flex-direction: column;
    cursor: pointer;
}
.mm-menu .submenu-item a > span {
    height: 150px;
    overflow: hidden;
    display: block;
    background-color: var(--color-secondary);
    border-radius: 9px;
    margin-bottom: 15px;
}
.mm-menu .submenu-item a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    transition: opacity 0.7s, transform 2.5s;
}
.mm-menu .submenu-item a:hover img {
    transform: scale3d(1.2, 1.2, 1) rotate(7deg);
}
.mm-menu .submenu-item a strong {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    ransition: color .2s ease;
}
.mm-menu .submenu-item a strong i {
    margin-left: 10px;
    height: 1.4rem;
    transform: translateX(-2rem);
    transition: all .2s ease;
    opacity: 0;
}
.mm-menu .submenu-item a:hover strong i {
    opacity: 1;
    transform: translateX(0);
}

/* Overlay plein écran */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgb(218 214 176 / 44%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 99;
}

/* Quand actif */
.contact-overlay.active {
  transform: translateY(0);
  opacity: 1;
}


@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.contact-infos {
  position: absolute;
  padding-left: 0;
  list-style: none;
  top: 100%;
  width: 300px;

  transform: translateY(-20px); /* caché au départ */
  opacity: 0;
  pointer-events: none; /* désactive les clics quand caché */
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 100;
}

.contact-infos.show {
  transform: translateY(30px); /* visible */
  opacity: 1;
  pointer-events: auto;
}

.infos-item > a {
    background-color: var(--color-primary);
    margin: 8px 0;
    text-align: center;
    color: var(--color-white);
    border-radius: 20px;
    padding: 15px;
    transition: all .3s ease;
}
.rappel {
    border: 2px dashed var(--color-primary);
    padding: 15px;
    border-radius: 7px;
    background-color: var(--color-white);
}
.rappel > strong {
    display: block;
    text-align: center;
    margin-bottom: 15px;
}
form .input-form {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
    font-size: 12px;
    text-align: center;
    border-radius: 20px;
    background-color: var(--color-secondary);
    border: 0;
    color: black;
}
.btn.btn-rappel {
    width: 100%;
    padding: 15px;
    box-shadow: none;
    margin-top: 10px;
}

/*
Formulaire
*/
#mail, #mail2 { display:none; }

/*
Hero page
*/
.page-hero-container {
    overflow: hidden;
    position: relative;
    cursor: all-scroll;
}
.section-slider-home {
    height: 500px;
    background-color: var(--color-light);
}
@media(min-width: 992px) {
    .ville .section-slider-home {
        height: 700px;
    }
}
.item-slider-img {
    overflow: hidden;
    display: flex;
}
@media(max-width: 991px) {
    .item-slider-img {
        height: 500px;
    }
    .mentions .section-slider-home,
    .temoignages .section-slider-home,
    .realisations .section-slider-home,
    .contact .section-slider-home,
    .devis .section-slider-home,
    .mentions .item-slider-img ,
    .temoignages .item-slider-img ,
    .realisations .item-slider-img ,
    .contact .item-slider-img ,
    .devis .item-slider-img  {
        height: 350px;
    }
    .text-hero {
        padding-top: 10rem;
    }
}
.item-slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(min-width: 1699px) {
    .ville .section-slider-home {
        height: 880px;
    }   
}
.text-hero {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    height: 100%;
    z-index: 3;
}
@media(max-width: 991px) {
    .text-hero {
        justify-content: center;
    }
}
@media(min-width: 992px) {
    .text-hero {
        padding-left: 8rem;
        padding-right: 3rem;
        width: 750px;
        text-align: left;
    }
    .text-hero::before {
        content: "";
        background-image: url(../images/slider-leaf-bg.png);
        background-repeat: no-repeat;
        background-position: -156px center;
        filter: drop-shadow(2px 4px 6px black);
        background-size: cover;
        position: absolute;
        left: 0;
        top: 0;
        width: 900px;
        height: 700px;
    }
}
@media(min-width: 1699px) {
    .text-hero::before {
        background-position: -212px center;
        width: 1200px;
        height: 100%;
    }
    .text-hero {
        padding-left: 20rem;
        width: 950px;
    }
}
.text-hero-item {
    position: relative;
}
.Desktop.ville .text-hero-item .h1::first-line {
    font-size: 50px;
    font-style: normal;
    font-weight: 900;
}

.ville .text-hero-item .h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 15px;
    font-style: italic;
    color: var(--color-primary);
    text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px 2px 0 #ffffff;
}
.prestations .text-hero-item .h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 70px;
    margin-bottom: 15px;
    font-style: normal;
    color: var(--color-primary);
    text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px 2px 0 #ffffff;
}
@media(max-width: 991px) {
    .text-hero-item .h1 {
        font-size: 36px;
        line-height: 150%;
    }
}
@media(max-width: 767px) {
    .text-hero-item .h1 {
        font-size: 24px;
    }
}
#curveUp {
    margin-top: -99px;
    z-index: 10;
    position: absolute;
}
.encart-slider {
    position: absolute;
    right: 5rem;
    bottom: 6rem;
    z-index: 3;
}
@media(min-width: 1600px) {
    .encart-slider {
        right: 20rem;
        bottom: 10rem;
    }
}
.encart-block {
    max-width: 450px;
    margin: 9px 0;
    border-radius: 25px;
    border: 2px solid;
}
#intervention {
    color: var(--color-light);
    background-color: rgb(42 127 75 / 73%);
    border-color:var(--color-primary);
}
#qualite {
    background-color: rgb(236 169 7 / 73%);
    border-color: #ecaa07;
    color: black;
}
.encart-block > div {
    display: flex;
    align-items: center;
    padding: 15px;
}
.encart-block > div > span {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100px;
    margin-right: 15px;
}
.encart-block img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
#intervention.encart-block img {
    filter: invert(1);
}
.encart-block div strong {
    display: block;
}

.contenuDivers {
    padding-top: 60px;
}

/*
Devis block
*/
.bloc-devis-formulaire {
    padding-bottom: 60px;
    overflow: hidden;
}
.devis .bloc-devis-formulaire,
.contenuDivers {
    padding-bottom: 160px;
}
.devis-container {
    max-width: 60%;
    margin: 0 auto;
    position: relative;
}
@media(max-width: 991px) {
    .bloc-devis-formulaire .devis-container {
        max-width: 100%;
    }
}

.devis-container::before {
    content: "";
    position: absolute;
    background-image: url(../images/p/arbre-elagage-31.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    left: -16rem;
    bottom: -5rem;
    width: 530px;
    height: 120%;
    opacity: .2;
}
.devis-container > div {
    position: relative;
}
.heading-title {
    font-size: 19px;
    margin-bottom: 30px;
    text-align: center;
}
.heading-title .h2 {
    margin-top: 5px;
    font-weight: bold;
    font-size: 40px;
    display:block;
    color: var(--color-primary);
}
@media(min-width: 992px) {
    .heading-title .h2::before, 
    .heading-title .h2::after {
        position: relative;
        background-color: var(--color-primary);
        content: '';
        width: 97px;
        opacity: 0.2;
        height: 2px;
        display: inline-block;
        vertical-align: middle;
        margin: 20px;
    }
}
.heading-title strong {
    display: block;
    margin-bottom: 15px;
    font-size: 23px;
    color: #0f602d;
}
#Devis_form {
    display: flex;
    flex-wrap: wrap;
}
.text-center {
    text-align: center;
    flex-basis: 100%;
}
@media(max-width: 767px) {
    #Devis_form {
        flex-direction: column;
    }
}
#Devis_form .input-form {
    background-color: var(--color-light);
    font-size: 16px;
    text-align: left;
    margin: 7px 0;
    transition: all .3S ease;
}
#Devis_form .input-form:focus,
#Devis_form .input-form:focus-visible,
#Devis_form .input-form:focus-within {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
}
@media(min-width: 992px) {
    #Devis_form input.input-form:not(:nth-child(2)) {
        max-width: calc(33.333% - 14px);
        flex: 0 0 calc(33.333% - 14px);
        margin-right: 14px;
    }
    #Devis_form input.input-form:nth-child(5) {
        max-width: 33.333%;
        flex: 0 0 33.333%;
        margin-right: 0 !important;
    }
}
#Devis_form textarea.input-form {
    resize: vertical;
    max-height: 125px;
    height: 120px;
    border-radius: 15px;
}
#Devis_form .btn {
    margin-top: 20px;
}

/*
Categories
*/
.categories-container {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.cat-item {
    margin: 0 15px;
}
@media(max-width: 991px) {
    .categories-container {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    .cat-item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}
.cat-item > a {
    display: block;
    text-align: center;
}
.cat-item > a span {
    display: flex;
    margin-bottom: 35px;
    border: 3px solid;
    width: 150px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out 0s;
}
.cat-item img {
    width: 80px;
}
.cat-item > a:hover span {
    transform: scale(1.2);
    -webkit-backface-visibility: hidden;
}
.cat-item > a.active span {
    background-color: #eaf2ed;
    transform: scale(1.2);
    -webkit-backface-visibility: hidden;
}

/*
Content
*/
.text1-container {
    background-color: var(--color-secondary);
    padding: 60px 0;
    border-radius: 50px 50px 0 0;
}
.flex-content {
    display: flex;
    flex-wrap: wrap;
}
.bloc-text-slider {
    padding: 60px 0 180px;
}
@media(min-width: 992px) {
    .text-item {
        max-width: 45%;
        flex: 0 0 45%;
    }
    .img-item {
        max-width: 55%;
        flex: 0 0 55%;
        position: relative;
    }
}
@media(max-width: 991px) {
    img {
        max-width: 100%;
    }
    .flex-content {
        flex-direction: column;
    }
}
.bloc-text-slider {
    padding: 60px 0;
    max-width: 650px;
    margin-left: auto;
}
.item-text-slide {
    padding: 25px 20px;
}
.item-text-slide > div {
    box-shadow: 2px 0px 20px #000000;
    background-color: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
}
.item-text-slide figure {
    height: 250px;
    background-color: white;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}
.item-text-slide .description_ {
    padding: 20px;
}
@media(min-width: 992px) {
    .categoriesBlock .heading-title {
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}
.content-text-3 .flex-content {
    justify-content: space-between;
    padding-top: 60px;
}
@media(max-width: 991px) {
    .content-text-3 .flex-content {
        padding-top: 15px;
    }
}
.content-text-3 {
    position: relative;
    background-color: #deefc8;
    padding-bottom: 140px;
}
.content-text-3 h3 {
    color: black;
}
.imgLeft {
    position: relative;
}
@media(max-width: 991px) {
    .content-text-3 {
        padding-bottom: 20px;
    }
    .imgLeft > span {
        display: block;
        height: 250px;
        overflow: hidden;
    }
    .content-text-3 .imgLeft > span.btn-absolute {
        margin-bottom: 25px;
        height: auto;
    }
    #bigCircle {
        margin-bottom: 25px;
        overflow: hidden;
        height: 250px;
        display: block;
    }
    .slick-slide .item-text-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media(min-width: 992px) {
    .imgLeft #bigCircle {
        right: 0;
        left: 0;
        z-index: 23;
        width: 600px;
        height: 600px;
        top: -13rem;
    }
    .imgLeft .btn-absolute {
        width: 450px;
        bottom: -24px;
        z-index: 50;
    }
    .imgLeft .btn-absolute a {
        margin: 0 7px;
    }
}


/* Responsive */
@media screen and (max-width: 991px) {
    nav.nav-header {
        background: var(--color-white);
    }
    #burger-menu {
        display: flex;
        margin-right: 15px;
        z-index: 1199;
    }

    .nav-header {
        justify-content: space-between;
    }

    .nav {
        position: fixed;
        margin-top: 0;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 20px 60px;
        transform: translateX(100%);
        gap: 0;
        z-index: 1000;
    }

    .nav .menu {
        display: block;
        height: 100%;
        overflow: scroll;
    }

    .nav .menu li {
        font-size: 18px;
        margin-bottom: 25px;
        color: var(--color-primary);
    }
    .nav .menu li a {
        font-size: 16px;
        font-weight: none;
        display: block;
        padding: 7px 0;
        color: black;
    }

    .nav.open {
        transform: translateX(0%);
    }
    .nav .menu li {
        padding-left: 0;
    }
    .menu-item > a {
        color: black;
    }

    .info-top {
        margin-top: auto;
    }
}
.content-text-bg {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    border-bottom: 50px solid #deefc8;
    border-radius: 0 0 50px 50px;
}

.parallax-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/p/elagueur-pro-dans-le-69.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: translateY(0);
  z-index: -1;
}

.content-text-bg .container {
  position: relative;
  z-index: 1;
}
.slick-prev, 
.slick-next {
    position: absolute;
    top: 50%;
    display: block;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: var(--color-primary);
    width: 50px;
    height: 50px;
    z-index: 9;
    padding: 15px;
    font-size: 20px;
    line-height: 1;
    opacity: 1;
    font-weight: 900;
}
.slick-prev:before, 
.slick-next:before {
    font-family: 'icomoon';
    font-size: 20px;
    line-height: 1;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-prev {
    border-radius: 20px 0px 0px 20px;
    left: -20px;
}
.slick-next {
    border-radius: 0px 20px 20px 0px;
    right: -20px;
}
.slick-prev:before {
    content: "\e900" !important;
}
.slick-next:before {
    content: "\e901" !important;
}

@media(max-width: 991px) {
    .content-text {
        position: relative;
        margin-top: -5rem;
    }
    #mediumCircle {
        display: none;
    }
}

.content-text-2 {
    padding: 60px 0 180px;
    position: relative;
}
@media(max-width: 991px) {
    .content-text-2 {
        padding-bottom: 60px;
        display: flex;
        flex-direction: column-reverse;
    }
}
@media(min-width: 992px) {
    .img-cirle {
        background-color: white;
        display: block;
        position: absolute;
        border-radius: 100%;
        overflow: hidden;
    }
    .img-cirle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #bigCircle {
        width: 450px;
        height: 450px;
        top: -8rem;
        right: 15rem;
    }
    .prestations #bigCircle {
        margin-top: 40px;
    }
}
#mediumCircle {
    width: 250px;
    height: 250px;
    right: 0;
    bottom: 0;
}
.categoriesBlock {
    padding: 60px 0;
}
@media(min-width: 992px) {
    .btn-absolute {
        position: absolute;
        bottom: 0;
        left: 7rem;
        text-align: center;
        width: 280px;
    }
}
.btn-absolute .h3 {
    display: block;
    margin-bottom: 6px;
    color: #1c5633;
    font-size: 20px;
}
.btn-absolute .btn {
    margin-top: 12px;
}
@media(max-width: 767px) {
    .btn-absolute {
        height: absolute;
    }
    .btn-absolute .btn {
        margin-top: 12px;
        width: 100%;
        text-align: center;
        font-size: 24px;
    }
}
.contenuDivers .flex-content {
    gap: 30px;
}
.contenuDivers .input-form {
    margin: 10px 0;
    text-align: left;
}
.contenuDivers.contactContainer b {
    display: block;
    margin-bottom: 25px;
    font-size: 18px;
    color: black;
}
.contenuDivers.contactContainer a {
    color: black;
}
.contenuDivers textarea.input-form {
    height: 150px;
}
@media(min-width: 992px) {
    .col-left, .col-right {
        flex: 0 0 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

/*
Footer
*/
#footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 50px 0;
    position: relative;
}
#footer #curveUp {
    margin-top: -150px;
}
#footer .container {
    display: flex;
    flex-wrap: wrap;
}
@media(max-width: 767px) {
    #footer #curveUp {
        display: none;
    }
    #footer .container {
        flex-direction: column;
    }
    .footer-col {
        margin-bottom: 15px;
    }
}
@media(min-width: 992px) {
    .footer-col {
        flex: 0 0 calc(20% - 25px);
        max-width: calc(20% - 25px);
    }
    .footer-col:nth-child(3) {
        flex: 0 0 calc(30% - 25px);
        max-width: calc(30% - 25px);
    }
    .footer-col:nth-child(1),
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        margin-right: 25px;
    }
    .footer-col:nth-child(4) {
        flex: 0 0 30%;
        max-width: 30%;
    }
}
.footer-nav {
    padding-left: 0;
    list-style: none;
}
.footer-nav > li:not(:last-child) {
    margin-bottom: 15px;
}
.info-D a,
.footer-nav-link {
    color: var(--color-light);
    font-size: 14px;
    display: block;
}
.footer-nav-link:hover,
.footer-nav-link.active {
    color: #ecaa07;
}
.info-D a:hover {
    font-weight: bold;
    color: var(--color-light);
}
.info-D p {
    display: flex;
}
.info-D i {
    margin-right: 7px;
}
.logo-footer {
    text-align: center;
}
.logo-footer img {
    width: 200px;
}
@media(max-width: 767px) {
    .logo-footer {
        display: none;
    }
    .devis-button {
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        z-index: 101;
    }
    .btn.btn-devis {
        text-shadow: none;
        box-shadow: none;
        background-color: #ecaa07;
        color: #10301c;
        border-radius: 0;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .btn.btn-devis::after {
        margin-left: 10px;
        font-family: 'icomoon';
        content: "\e902";
    }
}

.logo-divers {
    text-align: center;
    margin-top: 25px;
}

@media(max-width: 991px) {
    .logo-divers {
        display: flex;
    }
    .mask-image {
        height: 250px;
        overflow: hidden;
    }
}
@media(min-width: 992px) {
    .text-hero-item .logo-divers {
        text-align: left;
        margin-bottom: 25px;
    }
    .text-hero-item .logo-divers span {
        width: 150px;
    }
    .mask-image {
        position: absolute;
        right: 0;
        width: 50%;
        height: 100%;
        top: 0;
    }
    .mask-image img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;

      -webkit-mask-image: url("../images/mask-image.webp"); /* applique le masque */
      -webkit-mask-size: cover;
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: center;

      mask-image: url("../images/mask-image.webp");
      mask-size: cover;
      mask-repeat: no-repeat;
      mask-position: center;
    }
}

.logo-divers span {
    width: 100px;
    overflow: hidden;
    display: inline-block;
    height: 100px;
    margin: 0 7px;
}
@media(max-width: 767px) {
    .logo-divers span {
        height: 80px;
    }
}
.logo-divers span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.last-block {
    padding: 60px 0 120px;
    position: relative;
}


/*
Accordeon
*/
.accordion {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

/* header wrapper */
.accordion-header {
  background: #eca907;
  color: #000000;
  margin: 0;
}

/* bouton accessible qui sert de titre */
.accordion-trigger {
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

/* flèche via pseudo-élément */
.accordion-trigger::after {
  content: "▼";
  font-size: 14px;
  margin-left: 12px;
  transition: transform 0.25s ease;
}

/* rotation quand ouvert */
.accordion-trigger[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

/* contenu caché */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

/* padding quand ouvert */
.accordion-content.open {
  padding: 15px;
}

#realisations {
    padding-bottom: 120px;
}
h2.titre-album {
    text-align: center;
    font-size: 36px;
    color: var(--color-primary);
}
a.swipebox {
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 15px;
    max-width: calc(25% - 30px);
    flex: 0 0 calc(25% - 30px);
    border: 1px solid;
    border-radius: 15px;
    height: 250px;
}
a.swipebox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(max-width: 767px) {
    #realisations {
        padding-bottom: 50px;
    }
    a.swipebox {
        max-width: calc(50% - 30px);
        flex: 0 0 calc(50% - 30px);
    }
}
@media(max-width: 576px) {
    a.swipebox {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

.cat-activeSlider {
    width: 250px;
    height: 250px;
    margin: auto;
}
.cat-activeSlider .cat-item {
    padding-top: 50px;
}
.cat-activeSlider .cat-item > a span {
        margin-bottom: 17px;
    background-color: #eaf2ed;
    transform: scale(1.2);
    -webkit-backface-visibility: hidden;
}
.cat-activeSlider .cat-item strong.h3 {
    color: white;
    text-shadow: 0 0 10px black;
}
.cat-activeSlider .slick-prev {
    left: 10px;
}

/*
404
*/
.blog_pageIntrouvable {
      height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
}

.blog_pageIntrouvable .d-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog_pageIntrouvable h1 {
  font-size: 8rem;
  margin: 0;
  font-weight: 700;
  color: var(--color-primary);
}

.blog_pageIntrouvable p {
    color: black;
  font-size: 2rem;
  margin: 10px 0 20px;
  font-weight: 600;
}

.blog_pageIntrouvable span {
    color: black;
  font-size: 1.1rem;
}

.blog_pageIntrouvable a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog_pageIntrouvable a:hover,
.blog_pageIntrouvable a:focus {
  text-decoration: underline;
  outline: none;
}

.cont_ {
    background-color: #2a7f4b;
}

.Tablet .cat-item {
    max-width: 20%;
    flex: 0 0 20%;
}

.Mobile .categories-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.Mobile .cat-item {
    flex: 100%;
    max-width: 100%;
}

.Mobile .cat-item > a span {
    width: 100px;
    height: 100px;
}

.Tablet .content-text-bg,
.Mobile .content-text-bg {
    min-height: 100%;
}

.Tablet .bloc-text-slider {
    margin: auto;
}

.Tablet .content-text,
.Mobile .content-text {
    margin-top: 3rem;
}

.Tablet #footer .container {
    gap: 20px;
}

._btn {
    display: flex;
    align-items: center;
    gap: 20px;
}

.Mobile ._btn {
    flex-direction: column;
}

.logo-footer img {
    width: 200px;
    height: 108px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.Tablet .header .logo img,
.Mobile .header .logo img {
    width: 200px !important;
    height: 108px;
    object-fit: contain;
}

.Desktop.prestations .text-hero-item .h1 {
    width: 80%;
}