/* Carousel Partenaires */
.carousel-partenaires {
    width: 100%;
    overflow: hidden;
}

.carousel-partenaires .carte-partenaire {
    width: 100%;
    height: 218px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 21px 0 rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-partenaires .carte-partenaire img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Onglets Utilisation */
.onglets-utilisation {
    width: 100%;
    position: relative;
}

.onglets-nav {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 32px;
}

.onglet-btn {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 0 12px 0;
    cursor: pointer;
    color: #000;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 23px;
    margin-bottom: -1px;
    transition: border-color 0.2s ease;
    text-decoration: none;
    outline: none;
}

.onglet-btn:hover {
    background-color: transparent !important;
    border-bottom: 2px solid transparent !important;
    box-shadow: none !important;
    color: #000 !important;
}

.onglet-btn.active {
    border-bottom: 1px solid #2260FF !important;
}

.onglet-contenu {
    position: relative;
    visibility: hidden;
    width: 100%;
}

.onglet-contenu.active {
    visibility: visible;
}

.onglet-titre {
    color: #0D0D1B;
    font-family: "Gilda Display", serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 16px;
}

.onglet-texte {
    color: #000;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 23px;
    margin-bottom: 8px;
}

.onglet-liste {
    color: #000;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 23px;
    padding-left: 20px;
    margin-bottom: 16px;
    list-style-type: disc !important;
}
.onglet-liste li {
    display: list-item !important;
}
.onglet-texte {
    padding-right: 50px;
}
.onglets-wrapper {
    position: relative;
}
.onglet-grand {
    position: relative;
}

.onglet-petit {
    position: absolute;
    top: 0;
}
@media (max-width: 768px) {
    .onglets-nav {
        gap: 16px;
        flex-direction: column;
    }

    .onglet-btn {
        font-size: 13px;
        padding-bottom: 8px;
    }

    .onglet-titre {
        font-size: 20px;
    }

    .onglet-texte,
    .onglet-liste {
        font-size: 13px;
    }

    .onglet-contenu.active {
        padding-top: 24px;
    }
}

/* Screen Flottant */
.screen-flottant {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.screen-fond {
    width: 100%;
    display: block;
}

.screen-element {
    position: absolute;
}

/* Positionnement des éléments */
.screen-flottant img:nth-child(2) {
    top: 15%;
    left: -5%;
    width: 30%;
}

.screen-flottant img:nth-child(3) {
    top: 30%;
    right: -3%;
    width: 30%;
}

.screen-flottant img:nth-child(4) {
    top: 5%;
    right: -3%;
    width: 30%;
}

/* Animation horizontale */
@keyframes floater-x {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}

.floating-x {
    animation: floater-x 4s ease-in-out infinite;
}

.floating-x.delay-1 {
    animation-delay: 0.5s;
}

.floating-x.delay-2 {
    animation-delay: 1s;
}

@media (max-width: 768px) {
    .screen-flottant {
        max-width: 100% !important;
        width: 100% !important;
    }

    .screen-fond {
        width: 100% !important;
        height: auto !important;
    }

    .screen-flottant img:nth-child(2),
    .screen-flottant img:nth-child(3),
    .screen-flottant img:nth-child(4) {
        width: 28%;
    }
}

/* Correction FAQ */
.custom-search input {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .custom-search input::placeholder {
    color: transparent;
  }
}

/* 1. État de base du Wrap — transition fluide aller ET retour */
.wrap-hover-balance {
  transform: rotate(0deg);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 2. Au survol : inclinaison à gauche */
.wrap-hover-balance:hover {
  transform: rotate(-2.5deg);
  z-index: 99;
}

/* 3. Au survol du Wrap */
.wrap-hover-balance:hover {
  animation: balance-soft 0.6s ease-out forwards; /* une seule fois, reste en position finale */
  z-index: 99;
}

/* 4. Le fond bleu avec transition très douce (0.5s) */
.wrap-hover-balance:hover .mcb-wrap-inner {
  background-color: #2260FF !important;
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  padding: 15px 10px;
}

/* 5. Le texte qui passe au blanc en douceur */
.wrap-hover-balance:hover .title, 
.wrap-hover-balance:hover .title span, 
.wrap-hover-balance:hover .column_attr, 
.wrap-hover-balance:hover p,
.wrap-hover-balance:hover i {
  color: #FFFFFF !important;
  transition: color 0.5s ease-in-out;
}

/* Retour doux du texte au mouse-out */
.wrap-hover-balance .title, 
.wrap-hover-balance .title span, 
.wrap-hover-balance .column_attr, 
.wrap-hover-balance p {
  transition: color 0.4s ease-in-out;
}
/* =============================================
   XPR STEPPER VERTICAL
   ============================================= */

/* Conteneur principal avec scroll interne */
.xpr-stepper-wrapper {
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Scrollbar personnalisée - Webkit (Chrome, Safari, Edge) */
.xpr-stepper-wrapper::-webkit-scrollbar {
  width: 6px;
}

.xpr-stepper-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.xpr-stepper-wrapper::-webkit-scrollbar-thumb {
  background-color: #0049ff;
  border-radius: 3px;
}

/* Scrollbar personnalisée - Firefox */
.xpr-stepper-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #0049ff transparent;
}

/* Reset liste */
.xpr-stepper-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Chaque étape : icône à gauche, texte à droite */
.xpr-stepper-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Colonne indicateur (icône + ligne) */
.xpr-stepper-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

/* Icône numérotée */
.xpr-stepper-indicator > img:first-child {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Ligne bleue entre les étapes */
.xpr-stepper-line {
  display: block;
  width: auto;
  height: 28px;
  object-fit: contain;
  margin: 6px 0;
}

/* Texte de l'étape — centré verticalement sur l'icône */
.xpr-stepper-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 30px;
  color: #0D0D1B;
  padding-top: 5px; /* ajustement pour aligner sur le centre de l'icône 40px */
}

/* Couleur accent pour l'étape 9 */
.xpr-stepper-text--accent {
  color: #2260FF;
}

/* Dernière étape : pas de marge en bas */
.xpr-stepper-item--last {
  padding-bottom: 0;
}