:root {
  --green :rgb(37, 172, 51);
}

section > p > strong {
  color: var(--green);
}

.header-background-elagage-redon {
  height:60vh;
  min-height: 60svh;
  /* fallback */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  background-image: 
    linear-gradient(to bottom, rgba(13, 113, 24, 0) 60%, black 100%),
    url('../images/tree-6002957_1920.jpg');
  
  background-color: black;
  background-size: cover;
  background-position: top;
  background-attachment: scroll;
  background-repeat: no-repeat;

}

@media(min-width:1024px) {
  .header-background-elagage-redon{
    height: 80vh;
  }
}



.elagage_redon {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 60%, black 100%), url('../images/black-370118_1920.png');
  padding: clamp(4rem, 10vh, 10rem) clamp(2rem, 5vw, 6rem);
}

.elagage_redon p, ul {
  color: white;
  text-align: justify;
}
.elagage_redon  h2 {
  color: white;
  text-align: center;
}
.elagage_redon  h3 {
  color: var(--green);
  text-align: center;
  text-transform: uppercase;

}
.container_carousel {
  margin: 10rem 0;
  display: flex;
  flex-direction: column;
  gap: clamp(5.2rem, 6vh, 6rem);
}

.carousel-wrapper {
  overflow: hidden;
  display: flex;
  width: 100%;
  max-width: 95%;
  margin:0 auto;
  height: clamp(10rem, 18vh,25rem);
  text-align: center;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: 1rem solid rgb(21, 101, 29);
  border-radius: 0.5rem;
  background-image: url('../images/28.jpg');
  background-color: black;
  background-size: cover;
  background-position: top;
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {

  /* flex: 0 0 100%; */
  min-width: 100%;
  text-align: center;
  font-size: clamp(1.8rem, 4vw,3rem);
  font-weight: bold;
  color: rgb(89, 45, 45);
text-shadow: 
  1px 1px 0 #fff, 
  -1px -1px 1px #00000044;

  padding: 0 2rem;
  text-transform: uppercase;

  word-break: break-word;     
  /* coupe un mot s’il est trop long */
  white-space: normal;        
  /* autorise les retours à la ligne */
  overflow-wrap: break-word;  
  /* assure le retour à la ligne pour certains navigateurs */
  display: flex;
  justify-content: center;
  align-items: center;

}
.carousel-item strong {
  margin-right: 1rem;
}

.presentation_elagage > p:nth-of-type(1),
.presentation_elagage > p:nth-of-type(2){
  padding-bottom: 2rem;
}
.photo_equipe {
  height: 20rem;
  width: 100%;

  background-image: url('../images/ChatGPT\ Image\ 3\ juin\ 2025\,\ 12_08_42.png');
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;

}

@media(min-width:450px) {
  .photo_equipe {
    height: 45rem;
  width: 100%;
}
}

@media (min-width: 1280px) {

  .container_carousel {
    margin: 12rem 0;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Aligne les hauteurs */
    justify-content: center;
    gap: 3rem;
  }

  .presentation_elagage,
  .carousel-section, .photo_equipe {
    width: 100%;
    max-width: 48%;
    height: auto;
    background-size: cover;

  }

  .photo_equipe{
    border-bottom: 1rem solid rgb(21, 101, 29);
  border-radius: 0.5rem;
  }

  .presentation_elagage {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* ✅ Fait que le carrousel prenne toute la hauteur de la section voisine */
  .carousel-section {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-wrapper {
    height: 100%;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
  }
}

/* ========== CONTACT ELAGAGE ========== */
.container_contact_elagage h2{
  padding-top: clamp(4rem, 6vh,8rem);
}

.container_contact_elagage h3{
  padding-bottom: 10rem;
  display: flex;
  justify-content: center;
}

.contact_elagage {
  text-align: center;
  text-align: justify;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;

}
.btn-contact {
  margin: 5rem auto;
  
}

/* ========== AUTRES SERVICES ========== */

.autres_services_elagage h3 {
  padding-bottom: 10rem;
}

.autres_services_elagage h2{
  padding-top: clamp(4rem, 6vh,8rem);
}

.btn_services ul{

  display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.btn_services li a {

  padding: 1rem 1rem;
  border-radius: 4px;
}

@media(min-width:768px) {
  .btn_services ul{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    justify-content: center;
  }
}


.btnfos-5 {
  border: 0 solid;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 0px;
  text-shadow: none;
  -webkit-transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
          transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
  outline-color: rgba(255, 255, 255, 0.5);
  outline-offset: 0px;
}

.btnfos-5:hover {
  border: 1px solid;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
  outline-offset: 15px;
  outline-color: rgba(255, 255, 255, 0);
  text-shadow: 1px 1px 2px #427388;
}

