h1 {font-size: clamp(22px, 5vw, 45px) !important;line-height: clamp(32px, 5vw, 55px);}
h2 {font-size: clamp(22px, 4vw, 33px) !important;line-height: clamp(32px, 4vw, 43px) !important;}
h3 {font-size: clamp(20px, 2.5vw, 30px);line-height: clamp(30px, 2.5vw, 40px);}
.et_pb_toggle.et_pb_module.et_pb_accordion_item {border-bottom: 1px solid #7d6329 !important;}
.et_pb_toggle_content {font-size: 14px;line-height: 24px;}

.galComm img {
    object-fit: cover !important;
    height: 450px;
    border-radius: 30px !important;
}


.carousselGal .project {transition: transform 300ms ease 0ms;}
.carousselGal .project:hover {transform: scaleX(1.05) scaleY(1.05)!important;}
.inlineSec {
    margin-bottom: 15px !important;
}
.egalRow > .et_pb_row {
    display: flex;
}
.egalCol1 {
   /* border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;*/
    padding: 2%;
}
.egalCol2 .et_pb_image_wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
.egalCol2 .et_pb_image, .egalCol2 .et_pb_image_wrap  {
  height: 100%;
  overflow: hidden;
}

.et-pb-arrow-next, .et-pb-arrow-prev {
    opacity: 1;
    visibility: visible;
    background-color: #000;
  border:2px solid #fff;
    border-radius: 50px;
  top:85%;
      width: 50px;
    height: 50px;
    text-align: center;
  line-height:25px;
}

a.et-pb-arrow-prev {left: 15px !important;}
a.et-pb-arrow-next { right: auto !important;left:70px !important;}
.et-pb-arrow-prev:before {content: "←";font-size: 20px;color:#fff;}
.et-pb-arrow-next:before {content: "→";font-size: 20px;color:#fff;}

a.et-pb-arrow-prev:hover {background-color:#fff;color:#000 !important;}
a.et-pb-arrow-next:hover {background-color:#fff;color:#000 !important;}
.et-pb-arrow-prev:hover:before {color:#000;}
.et-pb-arrow-next:hover:before {color:#000;}

.inlineSec{display: inline-block !important;width: fit-content !important;}

.et_pb_portfolio_item {
  position: relative;
  overflow: hidden;
}

.et_pb_portfolio_item {
  position: relative;
  overflow: hidden;
}

/* Le cercle avec flèche */
.et_pb_portfolio_item::after {
 content: "↗";
    font-size: 32px;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border: 2px solid #B8BF0D;
    background-color: #000;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease-out, transform 0.4s cubic-bezier(0.25,1.5,0.5,1), clip-path 0.4s ease-out;
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0% 100%);
    z-index: 10;
    line-height: 10px;
    pointer-events: none;
}

/* Au survol : le cercle prend forme */
.et_pb_portfolio_item:hover::after {
  opacity: 1;
  transform: scale(1);
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0% 100%);
}



.infoscta {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 1400px) {
    .infoscta {grid-template-columns: repeat(2, 1fr);}
  .infoscta .et_pb_blurb_container {margin-right: 35px;}
  .infoscta .et_pb_main_blurb_image a {top: 0px;}
  .infoscta .et_pb_main_blurb_image .et_pb_image_wrap .et-waypoint{padding:6px !important;}
}
@media (max-width: 992px) {
.infoCta {
    background-size: cover !important;
    background-position: top center !important;
    background-image: linear-gradient(180deg, #000000 0%, #000000 100%, rgba(131, 0, 233, 0) 100%, rgba(237, 240, 0, 0) 100%), url(/wp-content/uploads/2025/03/solarium-espacedevie-4saisons-landry-13x14-st-marc-sur-richelieu-2022-16.webp) !important;
}
	.galComm img {
		object-fit: cover !important;
    	height: 350px !important;
   		border-radius: 30px !important;
	}
}
@media (max-width: 768px) {
	.galComm img {
		object-fit: cover !important;
    height: 275px !important;
    border-radius: 30px !important;
	}
  .infoscta {
    grid-template-columns: 1fr;
  }
  .infoCta h3 {
    margin-bottom: 15px;
    margin-top: 16px;
    margin-right: 35px;
}
  .infoscta>.et_pb_column {
    padding: 3%;
}
    .infoscta .et_pb_blurb_container {
        margin-right: 0px;
    }
  .scrollable.infoscta,.scrollable.rowProd {
    display: flex !important; /* Remplace le grid bloqué */
    flex-wrap: nowrap !important;
    align-items: stretch !important; /* Étire les colonnes à même hauteur */
  }

  .scrollable {
    display: flex !important;
	flex-wrap: nowrap !important;
    align-items: stretch !important; /* Étire les colonnes à même hauteur */
    overflow-x: scroll !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 5px;
    padding: 20px 30px !important;
    position: relative;
    width: 100% !important;

    /* Masquer la barre de scroll */
    -ms-overflow-style: none; /* IE */
    scrollbar-width: none; /* Firefox */
  }

  .scrollable::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  /* Espacement pour "centrer" première et dernière colonne */
  .scrollable::before,
  .scrollable::after {
    display: none !important;
    content: none !important;
  }

  /* Colonnes */
  .scrollable > .et_pb_column {
    flex: 0 0 95%;
    max-width: 500px;
    scroll-snap-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    transform: scale(0.9);
    height: auto !important;
    display: flex !important;
    flex-direction: column;

    float: none !important;
    clear: none !important;
    margin: 0 !important;
    width: auto !important;
  }

  /* Colonne active (facultatif, si gérée en JS plus tard) */
  .scrollable > .et_pb_column.active {
    opacity: 1;
    transform: scale(1);
  }

  /* Clearfix Divi inutile */
  .scrollable::after {
    display: none !important;
    content: none !important;
  }

  /* Bullets navigation si tu veux en ajouter */
  .navigation-bullets {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 10;
    margin-top: 10px;
  }

  .navigation-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .navigation-bullet.active {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
  }
}

.infoscta > .et_pb_column {
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  width: 100% !important;
  display: block !important;
}

/* Supprimer le clearfix de Divi uniquement pour infoscta */
.infoscta::after {
  display: none !important;
  content: none !important;
}




/* Ajouter du texte mais le cacher visuellement */
.et-pb-arrow-prev::after, 
.et-pb-arrow-next::after {
    content: "Précédent"; /* Le texte que tu veux ajouter */
    font-size: 0px; /* Masquer la taille du texte */
    visibility: hidden; /* Masque l'élément sans supprimer sa présence */
    position: absolute;
    width: 1px; /* L'élément reste très petit */
    height: 1px;
}