/*
Theme Name: Melting Prod
Description: Inside Web 2025 - thème
Version: 2.0.0
Author: Inside Web
Author URI: https://www.insideweb.be
*/


/* ✅ Import de la police Butler ExtraBold */
@font-face {
  font-family: "Butler";
  src: url("fonts/Butler_ExtraBold.otf") format('opentype');
  font-weight: 800;
  font-style: normal;
}


:root {
    --white: #ffffff;
    --black: #282829;
    --primary: #282829;
    --secondary: #FFE443;
    --dm: "dm-sans", sans-serif;
    --barlow: "barlow", sans-serif;
    --butler: "Butler", serif;
    --marquee-width: 100%;
    --marquee-height: 120px;
    --marquee-elements-displayed: 8;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
}

body{
    font-family: 'Montserrat', sans-serif;	
    font-weight:400;
    margin: 0;
    overflow-y: scroll;
    /*14px-16px*/
    font-size: clamp(0.875rem, 0.831rem + 0.1878vw, 1rem);
    color:var(--primary);
}

/* Masquer la scrollbar du navigateur - Global */
* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::selection {
  background: var(--secondary);
  color: var(--black);
}

/* Progress bar fixe en bas */
.scroll-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #000;
    z-index: 9999;
    --scroll-percent: 0%;
}

.scroll-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--scroll-percent);
    height: 100%;
    background-color: var(--secondary);
    transition: width 0.1s ease-out;
}

/* Barba.js transition overlay */
.barba-transition {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary);
    z-index: 99999;
    pointer-events: none;
}

a {
    color: var(--secondary);
    text-decoration: none;
}

.color-white{
    color: var(--white);
}

a:hover {
    color: var(--primary);
}

img {
    width: 100%;
}

p:last-child {
    margin-bottom: 0;
}

button, .button{
    background: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 10px 20px;
    color: var(--primary);
    /*14px-16px*/
    font-size: clamp(0.875rem, 0.831rem + 0.1878vw, 1rem);
    transition: all 0.5s ease 0s;
}

button:hover, .button:hover{
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.hide{
    display: none;
}

.btnSite, .btnSiteYellow{
    font-family: var(--dm);
    font-weight: 700;
    color: var(--black);
    background-color: var(--white);
    padding: 10px 30px;
    transition: all 0.3s ease-in-out;
    font-size: 12px;
    letter-spacing: 1.2px;
    line-height: 14px;
    text-transform: uppercase;
    border-radius: 23px;
    display: block;
    max-width: max-content;
}

.btnSite:hover{
    background-color: var(--primary);
    color: var(--white);
}

.btnSite i, .btnSiteYellow i{
    font-weight: 700;
    font-size: 12px;
}

.btnSiteYellow{
    color: var(--black);
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btnSiteYellow:hover{
    background-color: var(--primary);
    color: var(--white);
}

.h1Title, .h2Title {
    font-family: var(--butler);
    font-size: 50px;
    letter-spacing: 1.25px;
    line-height: 60px;
    color: var(--black);
}

.h3Title{
    font-family: var(--barlow);
    font-weight: 600;
    font-size: 35px;
    line-height: 40px;
    letter-spacing: 1.75px;
    text-transform: uppercase;
}

.p-site{
    font-family: var(--dm);
    font-weight: 500;
    font-size: 25px;
    line-height: 30px;
    color: var(--black);
}

.p-site-2{
    font-family: var(--dm);
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: var(--black);
}

.p-site-3{
  font-family: var(--dm);
  font-weight: 500;
  font-size: 19px;
  line-height: 23px;
  color: var(--black);
}

.p-site-4{
  font-family: var(--dm);
    font-weight: 400;
    font-size: 25px;
    line-height: 35px;
    color: var(--black);
}

.h1Contact{
    font-family: var(--butler);
    font-weight: 900;
    font-size: 50px;
    line-height: 50px;
    color: var(--black);
}

.pScroll{
  font-family: var(--dm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 14px;
    text-transform: uppercase;
    color: var(--black);
}

.h4portFolio{
  font-family: var(--barlow);
  font-weight: 600;
  font-size: 25px;
  line-height: 40px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.space55{
  margin-bottom: 55px;
  margin-top: 55px;
}

.space40{
    margin-bottom: 40px;
    margin-top: 40px;
}

.space100{
    margin-bottom: 100px;
    margin-top: 100px;
}

.absoluteContainer{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.borderRadius{
  object-fit: cover;
  border-radius: 30px;
}

.video-wrapper video{
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 30px;
}

/* HEADER */

header .navbar-brand img{
    width: auto;
    max-width: 100px;
}

.noPaddingTop .card-body{
  padding-top: 0;
}

.offcanvas-header{
  height: 40vh;
  width: 100%;
}

.offcanvas-body{
  height: 50vh;
  width: 100%;
}

.offcanvas-footer{
  height: 10vh;
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
}

.offcanvas{
    background-color: #000000D0;
    width: 40% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
}

/* .offcanvas-body{
    display: flex;
    align-items: end;
    justify-content: center;
    flex-direction: column;
} */

/* Padding responsive pour aligner avec le container Bootstrap */

@media (min-width: 576px) {
  .offcanvas-body, .offcanvas-footer {
    padding-right: calc((100vw - 540px) / 2); /* container-sm */
  }
}

@media (min-width: 768px) {
  .offcanvas-body, .offcanvas-footer {
    padding-right: calc((100vw - 720px) / 2); /* container-md */
  }
}

@media (min-width: 992px) {
  .offcanvas-body, .offcanvas-footer {
    padding-right: calc((100vw - 960px) / 2); /* container-lg */
  }
}

@media (min-width: 1200px) {
  .offcanvas-body, .offcanvas-footer {
    padding-right: calc((100vw - 1140px) / 2); /* container-xl */
  }
}

@media (min-width: 1400px) {
  .offcanvas-body, .offcanvas-footer {
    padding-right: calc((100vw - 1320px) / 2); /* container-xxl */
  }
}

.firstSection{
    margin-top: 165px;
}

/* .fixed-top{
    padding-top: 20px;
} */

.nav-link{
    font-family: var(--dm);
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
    color: var(--secondary);
    text-align: end;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .nav-link:hover{
    color: var(--white);
}

.navbar-nav{
  display: flex;
  justify-content: center;
  align-items: end;
}

.navbar-nav li{
  max-width: max-content;
}

.burger{
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    height: 45px;
    width: 45px;
    padding: 0px;
    transition: all 250ms ease-out;
    cursor: pointer;
    z-index: 9999;
    background-color: var(--secondary) !important;
    border-radius: 50%;
    border: 1px solid var(--white) !important;
}

.burger:focus, .burger:hover{
    box-shadow: none;
}

.ligne{
    content: '';
    width: 24px;
    height: 2px;
    position: absolute;
    transition: all 250ms ease-out;
    will-change: transform;
}

.ligne-gauche{
    background-color: var(--primary);
    transform: translateY(6px) rotate(-10deg);
}

.ligne-center{
    background-color: var(--primary);
    transform: translateY(0px) rotate(-10deg);
}

.ligne-droite{
    background-color: var(--primary);
    transform: translateY(-6px) rotate(-10deg);
}

.ligne-gauche.active{
    transform: translateY(0) rotate(45deg);    
}

.ligne-center.active{
    opacity: 0;
}

.ligne-droite.active{
    transform: translateY(0) rotate(-45deg);
}

/* FIN HEADER */

/* MARQUEE */

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .marquee {
    width: var(--marquee-width);
    height: var(--marquee-height);
    background-color: #fff;
    overflow: hidden;
    position: relative;
  }
  
  .marquee::before,
  .marquee::after {
    position: absolute;
    top: 0;
    width: 10rem;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
  }
  
  .marquee::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
  }
  
  .marquee::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
  }
  
  .marquee-content {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    animation: scrolling var(--marquee-animation-duration) linear infinite;
    padding: 0;
    margin: 0;
  }
  
  .marquee.reverse .marquee-content {
    animation: scrolling-reverse var(--marquee-animation-duration) linear infinite;
  }
  
  @keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
    }
  }
  
  @keyframes scrolling-reverse {
    0% {
      transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
    }
    100% {
      transform: translateX(0);
    }
  }
  
  .marquee-content li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: var(--marquee-element-width);
    height: 100%;
    padding: 1rem;
  }
  
  .marquee-content li img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
  }
  
  @media (max-width: 768px) {
    :root {
      --marquee-elements-displayed: 3;
    }
  
    .marquee::before,
    .marquee::after {
      width: 5rem;
    }
  }

  .widthText{
    width: 90%;
  }

/* FIN MARQUEE */

/* FOOTER */

.logo-footer{
    max-width: 100px;
}

footer{
    position: relative;
    z-index: 10;
}

.footer{
    background-color: var(--secondary);
    padding: 35px 0;
    padding-bottom: 40px;
}

.copyright{
    background-color: var(--black);
    padding: 5px 0;
}

.copyright p, .copyright a{
    font-family: var(--dm);
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    color: var(--white);
    text-align: center;
}

.copyright a:hover{
    color: var(--secondary);
}

.divReseau{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.pointerYes{
  pointer-events: all !important;
}

.divReseau a, .divReseauHeader a{
    width: 30px;
    height: 30px;
    color: var(--secondary);
    background-color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    transition: all 0.3s ease-in-out;
}

.divReseauHeader a{
    color: var(--black);
    background-color: var(--secondary);
}

.divReseauHeader{
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 5px;
}

.divReseau a:hover{
    background-color: var(--secondary);
    border: 1px solid var(--primary);
    color: var(--black);
}


.heightFlexFooter{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1rem;
}

/* FIN FOOTER */

/* CONTACT */

/* FIN CONTACT */

/* PAGE 404 */

#page404{
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-self: center;
}

/* FIN PAGE 404 */

#portfolioSection {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.bgYellow{
    background-color: var(--secondary);
    height: 100vh;
    width: 66.6%; /* Sera ajusté dynamiquement par JS */
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.bgYellow2{
  background-color: var(--secondary);
  padding-top: 40px;
  padding-bottom: 20px;
}

.bgYellow3{
  background-color: var(--secondary);
  padding-top: 80px;
  padding-bottom: 80px;
}

.imgPortfolio{
  border-radius: 30px;
  height: 80vh;
}

img.horizontal {
    object-fit: contain !important;
    width: auto;
    height: 100%;
}

img.vertical {
    object-fit: contain;
    width: auto;
    /* height: 90vh; */
}

.lienRetour{
  display: block;
  margin-bottom: 2rem;
  color: var(--black);
  font-family: var(--dm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  max-width: max-content;
}

.lienRetour:hover{
  color: var(--secondary);
}

.lienRetour i{
  margin-right: 0.5rem;
}


/* Lazy loading styles */
img.lazy-load {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

img.lazy-loaded {
  opacity: 1;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.imgPortfolioRef{
  border-radius: 30px;
}

.imgBehindTheFrame{
  border-radius: 30px;
  /* max-height: 600px; */
}

.ulListe{
    list-style: none;
    padding: 0;
    overflow: hidden;
}

.ulListe li a {
    transform: translateX(100%);
    opacity: 1;
    color: var(--black);
}

@media (max-width: 991px) {
    .ulListe li a {
        transform: translateX(0);
        opacity: 1;
    }
}

.barre-verticale {
    width: 1px;
    height: 35px;
    background-color: var(--black);
    margin: 0 auto;
}

.arrondYellow, .arrondWhite{
    background-color: var(--secondary);
    border-radius: 30px;
    padding: 150px 35px;
    height: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.btnPortfolio{
  position: absolute;
  bottom: 5%;
}

.arrondWhite{
    background-color: var(--white);
    border: 1px solid var(--black);
}

.imgHeightPortfolio{
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    max-height: 620px;
}

/* Animation reveal image */
.js-img-reveal {
    position: relative;
    overflow: hidden;
    display: block;
    --overlay-opacity: 1;
    border-radius: 30px;
}

.js-img-reveal img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* Variante pour le portfolio avec height 100% */
.js-img-reveal.portfolio-height {
    max-height: 780px;
    height: 100%;
}

.js-img-reveal.portfolio-height img {
    height: 100%;
    max-height: none;
}

.js-img-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 2;
    opacity: var(--overlay-opacity);
    transition: opacity 1s ease-in-out;
}

.row-gutter-y{
    --bs-gutter-y: 1.5rem;
}

.imgBehind{
    border-radius: 30px;
    max-height: 450px;
    object-fit: contain;
    object-position: left;
}

.mt-120{
    margin-top: 120px;
}

.h4Behind{
    font-family: var(--barlow);
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    line-height: 40px;
    color: var(--black);
}

.h4Service{
  font-family: var(--dm);
  font-weight: 500;
  font-size: 25px;
  line-height: 35px;
  color: var(--black);
}

.bgYellowContact{
    background-color: var(--secondary);
    height: 100vh;
}

.absoluteScroll{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.h2Contact{
    font-family: var(--barlow);
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 1.25px;
    text-decoration: uppercase;
    line-height: 40px;
    color: var(--black);
}

.h4Contact{
    font-family: var(--dm);
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: var(--black);
}

.lienContact{
    font-family: var(--dm);
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: var(--black);
    display: block;
}

.lienContact:hover{
    color: var(--secondary);
}

.tva{
    font-family: var(--dm);
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: var(--black);
}

.formulaireContact{
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 4%;
    align-items: start;
}

.divInput{
    width: 48%;
}

.divInput2{
    width: 100%;
}

.divInput3{
    width: 100%;
}

.divInput input, .divInput2 textarea, .divInput3 input{
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--black);
    font-family: var(--dm);
    font-weight: 700;
    font-size: 15px;
    line-height: 25px;
    color: var(--black);
    padding-top: 10px;
    padding-bottom: 10px;
}

.divInput input::placeholder, .divInput2 textarea::placeholder, .divInput3 input::placeholder{
    color: var(--black);
}

.divInput input:focus, .divInput2 textarea:focus, .divInput3 input:focus{
  outline: none;
}

.invalidInput, #successInscription, #successInscription{
  margin-top: 5px;
  font-family: var(--dm);
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: var(--black);
}

.reseauxAbout{
  background-color: var(--secondary);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--black);
}

.reseauxAbout:hover{
  background-color: var(--black);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

 /* Masquer le contenu par défaut quand l'option n'est pas active */
    .option:not(.active) .option-content {
        display: none !important;
        opacity: 0;
        visibility: hidden;
    }
    
    /* Afficher le contenu quand l'option est active */
    .option.active .option-content {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .heightAbout{
        display: flex !important;
        opacity: 1;
        visibility: visible;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
        height: 50%;
    }

body .options {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    height: 500px;
  }
  @media screen and (max-width: 718px) {
    body .options {
      min-width: 520px;
    }
    body .options .option:nth-child(5) {
      display: none;
    }
  }
  @media screen and (max-width: 638px) {
    body .options {
      min-width: 440px;
    }
    body .options .option:nth-child(4) {
      display: none;
    }
  }
  @media screen and (max-width: 558px) {
    body .options {
      min-width: 360px;
    }
    body .options .option:nth-child(3) {
      display: none;
    }
  }
  @media screen and (max-width: 478px) {
    body .options {
      min-width: 280px;
    }
    body .options .option:nth-child(2) {
      display: none;
    }
  }
  body .options .option {
    position: relative;
    overflow: hidden;
    min-width: 13%;
    margin-left: 10px;
    margin-right: 10px;
    background: var(--optionBackground, var(--defaultBackground, #e6e9ed));
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: 0.7s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  }
  body .options .option.active {
    flex-grow: 10000;
    transform: scale(1);
    max-width: 60%;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 30px;
    height: 500px;
    background-size: cover;
  }
  .options > *:first-child {
    margin-left: 0 !important;
}

.options > *:last-child {
    margin-right: 0 !important;
}
  .shadow{
    box-shadow: none !important;
  }
  
  body .options .option.active .label {
    bottom: 40px;
    left: 30px;
    display: block;
  }
  body .options .option.active .label .info > div {
    opacity: 1;
  }
  body .options .option:not(.active) {
    flex-grow: 1;
    border-radius: 30px;
  }
  body .options .option:not(.active) .shadow {
    bottom: -40px;
  }
  body .options .option:not(.active) .label {
    bottom: 40px;
    left: 30px;
  }
  body .options .option:not(.active) .label .info > div {
    left: 20px;
    opacity: 0;
  }
  body .options .option .shadow {
    position: absolute;
    top: 0px;
    left: 30px;
    right: 0px;
    height: 100%;
  }
  .top40{
    padding-top: 40px;
    display: block;
  }
  body .options .option .label {
    display: none;
    position: absolute;
    right: 0px;
    height: 40px;
  }
  body .options .option .label .icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: white;
    color: var(--green2);
  }
  body .options .option .label .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
    color: white;
    white-space: pre;
  }
  body .options .option .label .info > div {
    position: relative;
    transition: 0.7s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  }
  body .options .option .label .info .main {
    font-weight: bold;
    font-size: 1.2rem;
  }
  @media (max-width: 500px) {
    body .options {
      flex-direction: column;
    }
  }

.spanExpand{
    font-family: var(--barlow);
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 1.25px;
    line-height: 25px;
    color: var(--white);
    text-transform: uppercase;
}

.shadow h5, .p-portfolio{
    font-family: var(--dm);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    color: var(--white);
}

.p-portfolio{
  line-height: 18px;
  color: var(--black);
  text-transform: none;
}

.fixedPres{
  position: sticky;
  top: 140px;
}

.btnArrow, .rondReseaux, .btnArrowBlack{
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--black);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.rondReseaux{
  background-color: var(--black);
  color: var(--secondary);
  width: 30px;
  height: 30px;
}

.rondReseaux i{
  font-size: 18px;
}

.btnArrow:hover{
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--secondary);
}

.btnArrowBlack{
  background: var(--black);
  color: var(--secondary);
}

.btnArrowBlack:hover{
  background: var(--secondary);
  color: var(--black);
  border: 1px solid var(--black);
}


.rondReseaux:hover{
  background-color: var(--secondary);
  border: 1px solid var(--black);
}

.btnSiteSoft{
  font-family: var(--dm);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}


/* Fin Element card expand */

.first-section {
  height: 100vh;
  position: relative;
}

.img100vh {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  /* filter: brightness(0.6); */
}

.absoluteScrollHome {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  transform-origin: bottom center; /* ✅ Ajoute ceci */
  text-align: center;
  background-color: var(--secondary, #ff6600);
  width: 200px;
  height: 100px;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* transition: all 0.3s ease-in; */
}


.absoluteScrollHome-inner {
  transform: scale(calc(1 / var(--scale, 1))); /* inverser le scale du parent */
  transform-origin: bottom center;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 9999;
}

.overflowHidden{
    overflow: hidden;
}
.titreHome-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
}

/* Padding responsive pour aligner avec le container Bootstrap */
@media (min-width: 576px) {
  .titreHome-wrapper {
    padding-left: calc((100vw - 540px) / 2); /* container-sm */
  }
}

@media (min-width: 768px) {
  .titreHome-wrapper {
    padding-left: calc((100vw - 720px) / 2); /* container-md */
  }
}

@media (min-width: 992px) {
  .titreHome-wrapper {
    padding-left: calc((100vw - 960px) / 2); /* container-lg */
  }
}

@media (min-width: 1200px) {
  .titreHome-wrapper {
    padding-left: calc((100vw - 1140px) / 2); /* container-xl */
  }
}

@media (min-width: 1400px) {
  .titreHome-wrapper {
    padding-left: calc((100vw - 1320px) / 2); /* container-xxl */
  }
}

.titreHomeAnim{
    font-family: var(--barlow);
    font-weight: 600;
    font-size: 100px;
    line-height: 90px;
    letter-spacing: 2.5px;
    color: var(--white);
    color: var(--secondary);
}

.logoCentered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(calc(1 / var(--scale, 1)));
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.logoCentered img {
  width: 150px;
  height: auto;
}

.offcanvas-backdrop.show{
    opacity: 0;
}

@media (max-width: 768px) {
  .logoCentered img {
    width: 100px;
  }
}

.textSection {
  width: 100%;
  height: 100vh;
}
.blue {
  background: blue;
}
.green {
  background: green;
}

.flexTextLight {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0;
}

/* ✅ Cacher les éléments de base avant que le JS ne les transforme */
.js-split-animate,
.js-split-animate-instant,
.js-split-animate-all {
  visibility: hidden;
}


.word {
  margin-bottom: 0;
  transform-origin: bottom;
}

.js-split-animate br,
.js-split-animate-instant br,
.js-split-animate-all br{
    /* display: none; */
}

/* ✅ Styles pour l'animation ligne par ligne (SplitText avec type: "lines") */
.js-split-animate > div,
.js-split-animate-instant > div,
.js-split-animate-all > div {
  display: block;
}

.width20{
  max-width: 150px;
}

.height100Front{
  height: 100%;
}

.mb-15Rem{
  margin-bottom: 1.5rem;
}

.mb-20{
  margin-bottom: 20px;
}

.mb-30{
  margin-bottom: 30px;
}

.mb-40{
  margin-bottom: 40px;
}

.mt-40{
  margin-top: 40px;
}

.h2Valeurs{
  font-family: var(--barlow);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 1.25px;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--black);
}

.h3Valeurs{
  font-family: var(--dm);
  font-weight: 500;
  font-size: 25px;
  line-height: 35px;
  color: var(--black);
}

.flexContactAdress{
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 3rem;
}




/* Animation Wagon */

.gallery {
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  position: relative;
  padding: 0;
  margin-top: 40px;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.colNous {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  align-self: flex-start;
  justify-self: flex-start;
  position: relative;
}

.colNous:nth-child(2),
.colNous:nth-child(4) {
  align-self: flex-end;
  justify-self: flex-end;
}

.image {
  width: 100%;
  padding: 1rem;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

.image:hover {
  z-index: 99999999999 !important;
}

.image img{
  overflow: hidden;
  width: 100%;
  opacity: 0;
}

.image img.loaded {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.card{
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--black);
  border-bottom: 0;
  border-radius: 0 ;
}

  .swiperServices .swiper-button-prev {
    color: var(--secondary) !important;
}
.swiperServices .swiper-button-next i,
.swiperServices .swiper-button-prev i {
   color: var(--secondary) !important;
   transition: color 0.2s;
}
.swiperServices .swiper-button-next:hover i,
.swiperServices .swiper-button-prev:hover i {
    color: #000 !important;
}

.card-header{
  width: 100%;
  background-color: var(--secondary);
  border-radius: 0 !important;
  border: 0;
  padding: 0;
}

.card-header a{
  width: 100%;
  display: block;
  background-color: var(--secondary);
  color: var(--black);
  font-family: var(--barlow);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.7px;
  line-height: 32px;
  text-transform: uppercase;
  padding-top: 35px;
  padding-bottom: 35px;
}

.card-body{
  padding: 60px 0;
}

.tailleBloc{
  background-color: var(--secondary);
  width: 100%;
}

.card-header a, .tailleBloc{
  padding-left: 11vw;
  padding-right: 11vw;
  /* max-width: 1920px; */
}

.colorHover:hover{
  color: var(--white) !important;
}

.flexAbout{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 40px;
}

#MentionsLegales h2, #MentionsLegales h3{
  font-family: var(--barlow);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  color: var(--black);
  line-height: 40px;
  margin-bottom: 1em;
}

#MentionsLegales h3{
  font-size: 21px;
  letter-spacing: 1px;
  line-height: 35px;
}

#MentionsLegales p, #MentionsLegales ul li{
  font-family: var(--dm);
  font-weight: 400;
  font-size: 19px;
  line-height: 23px;
  color: var(--black);
  margin-bottom: 1em;
}

.mb-30Mobile{
  margin-bottom: 1.5rem;
}

.espacementService{
  margin-bottom: 0;
}

.espacementService br{
  display: none;
}

/* Fin Animation Wagon */

@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    max-width: min(calc(100vw - 20vw), 1920px) !important;
  }
}

@media (min-width: 992px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    max-width: min(calc(100vw - 20vw), 1920px) !important;
  }
}

@media (min-width: 768px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    max-width: min(calc(100vw - 20vw), 1920px) !important;
  }
}

@media (min-width: 576px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl{
    max-width: min(calc(100vw - 20vw), 1920px) !important;
  }
}

/* ==========================================
   Loader galerie - Page Nous
   ========================================== */
.gallery-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
  font-family: var(--dm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--black);
}

.gallery-container {
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

@supports (animation-timeline: works) {
	    .columns-nous {
	        overflow-y: hidden;
	    }

	    .column-reverse {
	        flex-direction: column-reverse;
	    }

	    @keyframes adjust-position {
	        from {
	            transform: translateY(calc(-100% + 100vh));
	        }
	        to {
	            transform: translateY(calc(100% - 100vh));
	        }
	    }

	    @scroll-timeline scroll-in-document {
	        source: auto;
	    }

	    .column-reverse {
	        animation: 1s adjust-position linear forwards;
	        animation-timeline: scroll-in-document;
	    }
}

@media only screen and (max-width: 1400px){ 

}
@media only screen and (max-width: 1200px){ 

}
@media only screen and (max-width: 992px){ 
  .divCarousel .carousel-content{
    height: 100%;
    justify-content: end;
    padding-left: 14% !important;
    padding-right: 14% !important;
  }
  header .navbar-brand img{
    max-width: 50px;
  }
  img.vertical{
    height: auto;
  }
  .divInput{
    width: 100%;
  }
  .flexContactAdress{
    flex-direction: column;
    gap: 1rem;
  }
  .h3Valeurs, .p-site-4{
    font-size: 18px;
    line-height: 25px;
  }
  .offcanvas{
    width: 100% !important;
  }
  .titreHomeAnim{
    font-size: 40px;
    line-height: 45px;
  }
  .flexTextLight{
    padding: 0;
    height: auto;
  }
  .borderRadius{
    border-radius: 30px;
  }
  .space100{
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .h1Title, .h2Title{
    font-size: 35px;
    line-height: 42px;
  }
  .p-site{
    font-size: 18px;
    line-height: 25px;
  }
  .height100Front{
    height: auto;
  }
  .textSection{
    height: auto;
  }
  .absoluteContainer{
    position: static;
    transform: none;
  }
  .bgYellow{
    display: none;
  }
  #portfolioSection{
    display: unset;
  }
  .container-fluid .container .row .col-lg-8{
    padding: 0;
  }
  #portfolioSection .container .row .col-lg-4{
    padding-right: calc(var(--bs-gutter-x) * 1);
    padding-left: calc(var(--bs-gutter-x) * 1);
  }
  #portfolioSection .container .row .col-lg-5{
    padding-right: calc(var(--bs-gutter-x) * 1);
    padding-left: calc(var(--bs-gutter-x) * 1);
  }
  .imgMobileSpace{
    margin-bottom: 50px;
  }
  .btnSite{
    /* background-color: var(--secondary); */
  }
  .titreHome-wrapper{
    padding-left: calc(var(--bs-gutter-x) * 1) !important;
  }
  .navbar-nav{
    align-items: center;
  }
  .offcanvas-footer{
    justify-content: center;
  }
  .row-reverse{
    flex-direction: column-reverse;
  }
  .row-reverse .col-lg-3{
    margin-bottom: 40px;
  }
  .mb-15Rem{
    margin-bottom: 0.5rem;
  }
  .mb-30Mobile{
    margin-bottom: 15px;
  }
  .barre-verticale{
    height: 20px;
  }
  .imgMarginBottom{
    margin-bottom: 40px;
  }
  .mt-120{
    margin-top: 50px;
  }
  .row-margin.row{
    --bs-gutter-x: 15px !important;
    border-radius: 0;
  }
  .h1Contact{
    font-size: 30px;
    line-height: 35px;
  }
  .bgYellowContact{
    height: 75vh;
  }
  #submitButton{
    margin-top: 40px;
  }
  .formulaireContact{
    margin-top: 40px;
  }
  .marginBtnTop{
    margin-top: 40px;
  }
  .heightFlexFooter{
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top: 20px;
    justify-content: start;
  }
  .footer{
    padding-bottom: 20px;
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
  }
  .btnYellowMobile{
    background-color: var(--secondary);
    color: var(--black);
  }
  .team-modal-content{
    max-width: 85vw !important;
  }
  .card-header a, .tailleBloc{
    padding-left: 5vw;
    padding-right: 5vw;
  }
}
@media only screen and (max-width: 768px) { 

}
@media only screen and (max-width: 576px) { 

}
/* ==========================================
   Modal Popup Team
   ========================================== */
.team-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.team-modal-content {
  background-color: var(--black);
  margin: 10% auto;
  padding: 40px;
  border: 2px solid var(--secondary);
  width: 90%;
  max-width: 60vw;
  border-radius: 10px;
  position: relative;
}

.team-modal-close {
  color: var(--black);
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  background-color: var(--secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--secondary);
}

.team-modal-close:hover,
.team-modal-close:focus {
  background-color: var(--black);
  color: var(--secondary);
}

.team-modal-content h2 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.team-modal-content p {
  color: var(--white);
  line-height: 1.6;
}

.modal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.modal-link {
  font-family: var(--dm);
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: var(--secondary);
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}

.modal-link:hover {
  color: var(--white);
}