.elementor-165 .elementor-element.elementor-element-592b004{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:5%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-165 .elementor-element.elementor-element-592b004:not(.elementor-motion-effects-element-type-background), .elementor-165 .elementor-element.elementor-element-592b004 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-secondary );}.elementor-165 .elementor-element.elementor-element-65ebb05{text-align:center;}.elementor-165 .elementor-element.elementor-element-65ebb05 .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-165 .elementor-element.elementor-element-9b8cd92{margin:-25px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;z-index:1;text-align:center;color:var( --e-global-color-primary );}.elementor-165 .elementor-element.elementor-element-30827be{margin:-25px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;z-index:1;text-align:center;color:var( --e-global-color-primary );}.elementor-165 .elementor-element.elementor-element-1c9313f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:-2px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-165 .elementor-element.elementor-element-5a66a72{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-165 .elementor-element.elementor-element-327ff56{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-165 .elementor-element.elementor-element-7f1d4eb{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-165 .elementor-element.elementor-element-368e1d4{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:2%;--padding-bottom:4%;--padding-left:5%;--padding-right:5%;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-165 .elementor-element.elementor-element-592b004{--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:5%;--padding-bottom:0%;--padding-left:5%;--padding-right:5%;}}@media(max-width:767px){.elementor-165 .elementor-element.elementor-element-592b004{--padding-top:15%;--padding-bottom:0%;--padding-left:5%;--padding-right:5%;}}/* Start custom CSS for text-editor, class: .elementor-element-9b8cd92 */.elementor-165 .elementor-element.elementor-element-9b8cd92 {
    position: relative;
    top: 50px
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-30827be */.elementor-165 .elementor-element.elementor-element-30827be {
    position: relative;
    top: 50px
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5a66a72 */.headerTitre {
    background: var(--e-global-color-secondary);
    min-height: 130px;
    height: 130px;
    padding: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.headerTitre.animate {
    animation: morph 2s forwards ease-in-out;
}

.headerTitre:before {
    position: absolute;
    content: "";
    top: 40px;
    height: 0;
    width: 4px;
    background: var(--e-global-color-primary);
    transition: height 2s cubic-bezier(.68, -0.55, .27, 1.55);
}

.headerTitre.animate:before {
    height: 90px;
}

@keyframes morph {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7f1d4eb */.headerSection {
    min-height: 110px;
    height: 110px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.headerSection:before {
    position: absolute;
    content: "";
    top: 0;
    height: 0;
    width: 4px;
    background: var(--e-global-color-secondary);
    transition: height 2s cubic-bezier(.68, -0.55, .27, 1.55);
}

.headerSection.animate:before {
    height: 110px;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-479af08 */.realisations-list {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: flex-start; /* ✅ évite les étirements verticaux */

}

.realisation-item {
  position: relative;
  min-width: 0;
  width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #fff;
  flex: 0 0 32%;
    overflow: hidden; /* ✅ évite les débordements */
  min-height: 200px; /* ✅ sécurité pour les cas de calcul flex bizarre */
}

.realisation-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.div-degrade {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background:
    linear-gradient(120deg, rgba(255,152,0,0.7) 0%, rgba(229,57,53,0.7) 110%),
    radial-gradient(ellipse 100% 100% at 40% 100%, rgba(0,0,0,1) 0%, transparent 100%);
}

.realisation-item:hover .div-degrade {
  opacity: 1;
}

.div-degrade::before,
.div-degrade::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.div-degrade::before {
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #ff5722 60%, transparent 100%);
  filter: blur(40px);
  opacity: 0.7;
  animation: tache1 6s ease-in-out infinite alternate;
}

.div-degrade::after {
  top: 10%;
  right: 15%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #fbc02d 10%, transparent 100%);
  filter: blur(30px);
  opacity: 0.6;
  animation: tache2 7s ease-in-out infinite alternate;
}

.realisation-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centre verticalement */
  color: #fff;
  text-align: center;
  padding: 0 10%;
}

.realisation-content h3 {
    margin: 0 0 10px 0;
    font-size: clamp(32px, 4.2vw, 41px);
    font-family: 'Onest', Sans-Serif;
    letter-spacing: 3px;
    font-weight: 500;
     white-space: nowrap;
}


.realisation-categorie {
    display: block;
    width: fit-content;
    margin: auto;
    border-radius: 40px;
    height: 50px;
    margin-top: 4%;
    text-transform: uppercase;
}

.realisation-extrait {
  margin: 5% 0 0 0;
  color: #fff;
  opacity: 1;
  font-size: 18px
}

.realisation-content .btn-decouvrir {
  display: inline-block;
  margin-top: 13%;
  padding: 15px 65px;
  background: var(--e-global-color-primary);
  color: var(--e-global-color-secondary);
  font-size: 0.7em;
  border-radius: 40px;
  cursor: pointer;
  transition: font-size 0.3s;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  
}

.realisation-content .btn-decouvrir:hover {
  font-size: 0.9em;
}

@keyframes tache1 {
  0%   { top: 20%; left: 10%; opacity: 0.7; }
  50%  { top: 30%; left: 20%; opacity: 0.9; }
  100% { top: 15%; left: 5%;  opacity: 0.6; }
}

@keyframes tache2 {
  0%   { top: 15%; right: 15%; opacity: 0.6; }
  50%  { top: 10%; right: 5%;  opacity: 0.8; }
  100% { top: 5%;  right: 25%; opacity: 0.5; }
}

.realisations-filtres-bar {
  text-align: center;
  justify-content: center;
  margin-bottom: 30px;
}

.filtres-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filtre-li {

    display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.filtre-btn {
  display: inline-block;
  width: 110%;
  text-transform: uppercase;
  background: none;
  border: none;
  font-weight: 300;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  transition: background .3s ease
}

.filtre-btn::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%; /* Largeur 0 par défaut */
  height: 4px;
  background-color: #000;
  border-radius: 1px;
  transition: width 0.3s ease; /* Animation de la largeur */
}

/* État hover */
.filtre-btn:hover {
    color: #000;
    font-weight: bold;
}

.filtre-btn:hover::before {
    width: 80%; /* La barre s'étend à 80% */
}

/* État actif */
.filtre-btn.active {
    color: #000;
    font-weight: bold;
}

.filtre-btn.active::before {
    width: 80%; /* Même largeur que hover */
    height: 4px; /* Plus épaisse pour l'état actif */
}

@media screen and (max-width: 1024px) {
  .realisation-item {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centre verticalement le contenu */
  }

  .realisation-img,
  .div-degrade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  /* 🧩 On libère le contenu du absolute pour qu’il puisse respirer */
  .realisation-content {
    position: relative;
    z-index: 3;
    padding: 8% 10%; /* plus d’air */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .realisation-content h3 {
    margin-bottom: 12px;
  }

  .realisation-content .btn-decouvrir {
    margin-top: 10%;
  }


  .filtres-list {
    flex-direction: column;
    gap: 0;
  }

  .filtre-btn.active::before {
    width: 20%;
    height: 4px;
  }
}/* End custom CSS */