/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.highlighted-infos b,
.highlighted-infos strong {
  color: #2f2923 !important;
  font-family: Poppins !important;
}

.highlighted-infos b,
.highlighted-infos strong,
strong,
b {
  font-weight: 500 !important;
}

.highlighted-text {
  color: var(--e-global-color-primary) !important;
}

.surtitle-ico-deco-left,
.surtitle-ico-deco-right {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.surtitle-ico-deco-left::before {
  content: "";
  display: inline-block !important;
  width: 20px;
  height: 20px;
  background-image: url(https://ciram.fr/wp-content/uploads/2025/11/deco-lef.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.surtitle-ico-deco-right::after {
  content: "";
  display: inline-block !important;
  width: 20px;
  height: 20px;
  background-image: url(https://ciram.fr/wp-content/uploads/2025/11/deco-right.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.surtitle-deco {
  position: relative;
  display: flex;
  align-items: center;
}

.surtitle-deco.left::before {
  content: "";
  display: inline-block !important;
  width: 20px;
  height: 2px;
  background-color: var(--e-global-color-primary);
}

@media all and (max-width: 1024px) {
  .surtitle-deco.left::before {
    width: 20px;
  }
}

@media all and (max-width: 767px) {
  .surtitle-deco.left::before {
    margin-right:10px;
  }
}



.carousel-realisation img.swiper-slide-image {
    min-height:458px;
    max-height:458px;
    object-fit:cover;
    width: 100%;
}


@media all and (max-width: 767px){ 
.carousel-realisation img.swiper-slide-image {
    min-height:258px;
    max-height:258px;
    object-fit:cover;
    width: 100%;
}



}

.carousel-realisation .swiper::before{
    
    pointer-events: none;
    transform: translateX(-50%);
    z-index: 2;
    backdrop-filter: blur(105px);
    content: "";
    position: absolute;
    width: 10px;
    height: 100%;
    top: 0;
    left: -5px;
    opacity: 1;
    background: #F7F5F1;
    filter: blur(7px);
}




/* MULTI GALLERY */
.content-mg-tabs {
  display: flex;
  gap: 50px;
  align-items: center;
}

.mg-tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.prefix {
  color: #2f2923;
  text-align: center;
  font-family: Aldo;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.all {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.all.active::after,
.all::after {
  content: "";
  display: inline-block !important;
  width: 15px;
  height: 15px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}
.all::after {
  background-image: url("https://ciram.fr/wp-content/uploads/2025/11/Arrow-orange-d.svg");
}

.all.active::after {
  background-image: url("https://ciram.fr/wp-content/uploads/2025/11/Arrow-blanc-d.svg");
}

.mg-tab-nav li {
  cursor: pointer;
  padding: 0.5em 1em;
  border-radius: 12px;
  border: 1px solid rgba(112, 99, 84, 0.08);
  background: #fcfbfa;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  color: rgba(47, 41, 35, 0.4);
  --space-between: -5px;
}

.mg-tab-nav li.active {
  border-radius: 12px;
  border: 1px solid rgba(112, 99, 84, 0.18) !important;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  background: #ee6f12;
  color: #fff !important;
}

.mg-tab-content {
  display: none;
}
.mg-tab-content.active {
  display: block;
  margin-top: 50px !important;
}
.mg-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mg-gallery a {
  display: block;
  overflow: hidden;
}
.mg-gallery img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.mg-item.hidden {
  display: none;
}
.mg-load-more {    
  display:flex;
  gap: 15px;
  align-items:center;
  font-family: "Aldo", Sans-serif!important;
  font-size: 1.2rem!important;
  margin: 5rem auto 0 auto;
  border-radius: 8px !important;	
  padding: 10px 20px 10px 20px!important;
  border: 1px solid rgba(112, 99, 84, 0.18) !important;
  background: #fff !important;
  color: var(--e-global-color-primary) !important;
  cursor: pointer;
}



.mg-load-more:hover {
    background-color: #d85f1e;
}

.mg-load-more .mg-btn-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}


[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
  background: #fff;
  color: var(--e-global-color-primary);
  text-decoration: none;
}

.mg-load-more:hover {
  background-color: #f9f9f9 !important;
}

a.mg-item {
  animation: animate 0.3s ease-in-out;
}

@keyframes animate {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media all and (max-width: 1024px) {
  .mg-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
	
		
	.prefix {
		width: 50%;
	}
  .mg-tab-nav {
	  width:50%:
  }
	
}

@media all and (max-width: 767px) {
  .mg-gallery {
    grid-template-columns: repeat(1, 1fr);
	padding-right:20px;
  }
	
	.content-mg-tabs {
		gap: 0px;
	}

	.content-mg-tabs{
    gap: 30px !important;
    flex-direction: column;
}
	  .mg-tab-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
       width:100%!important;
  }
}

@media all and (max-width: 550px) {
  .mg-tab-nav {
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding: 0px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .mg-tab-nav li {
    text-wrap: nowrap;
  }

  .mg-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .mg-tab-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
       width:100%!important;
  }
}

.pseudo-timeline {
  position: relative;
}

/* Ligne verticale */
.pseudo-timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 0;
  height: 0; /* commence à 0 */
  width: 2px;
  border-left: 4px dashed #c8b9a6;
  z-index: 0;

  /* Animation */
  animation: growLine 2s ease-out 0.3s forwards;
}

/* Contenu par-dessus */
.pseudo-timeline .elementor-icon-box-wrapper {
  position: relative;
  z-index: 1;
}

/* Animation "growLine" */
@keyframes growLine {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 100%;
    opacity: 1;
  }
}

/* Ajustement mobile */
@media all and (max-width: 767px) {
  .pseudo-timeline::before {
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    animation: growLineMobile 2s ease-out 1s forwards;
  }

  @keyframes growLineMobile {
    from {
      height: 0;
      opacity: 0;
    }
    to {
      height: calc(100% - 75px);
      opacity: 1;
    }
  }
}
