body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  overflow-x: hidden;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
/*==============================
            intro 
 ==============================*/
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
}

.mla-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
}

.mla-hero-bg {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: left center;
  display: block;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}

.mla-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
}

.mla-hero-content {
  position: absolute;
  right: 3vw;
  top: 12vh;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 52vw;
  
  
}

.mla-hero-title {
  color: #fff;
  font-family: 'Bebas Neue', Arial, sans-serif;
  text-align: right;
  margin-bottom: 32px;
  text-shadow: 0 6px 100px rgba(20,30,60,0.45), 0 2px 0 #2e2e2e;
}

.mla-hero-title .light {
  font-size: 5vw;
  opacity: 0.95;
  font-family: 'Bebas Neue', Arial, sans-serif;
  text-shadow: 0 6px 100px rgba(20,30,60,0.45), 0 2px 0 #2e2e2e;
}

.mla-hero-title .bold {
  font-size: 8vw;
  letter-spacing: 2.5px;
  line-height: 1;
  margin-top: 0.5vw;
  display: inline-block;
}

.mla-hero-orange-box {
  background: #FFAD61;
  color: #fff;
  font-size: 1.6vw;
  padding: 15px 32px;
  border-radius: 10px;
  text-align: center;
  margin-top: 16px;
  margin-right: -3vw;
  box-shadow: 0 6px 20px  rgba(20,30,60,0.10), 0 2px 0 #2e2e2e;

}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(.6,0,.4,1), transform 0.7s cubic-bezier(.6,0,.4,1);
  will-change: opacity, transform;
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/*=======================
        caroussel
 ========================*/
.fiches-section {
  background: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
  line-height: 7vh;
}

.fiches-section h2 {
  color: #4D63AC;
  font-size: 4rem;
  text-align: center;
  margin-top: -2rem;
    font-family: 'Bebas Neue',arial, sans-serif;
  font-weight: 400;

}
.fiches-section h4 {
  color: #4D63AC;
  font-family: 'Bebas Neue',arial, sans-serif;
  font-weight: 400;
  font-size: 3rem;
  }
  .fiches-section h3 {
  color: #ffffff;
  font-family: arial, sans-serif;
  font-weight: bold;
  font-size: 2vw;
  line-height: 1;
  }
.swiper {
  width: 100%;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.swiper-slide {
  background: #4D63AC;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 400px;  /* réduit la largeur */
  height: 120px;      /* réduit la hauteur */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.swiper-slide h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  margin: 0;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: clamp(1rem, 1.8vw, 1.4rem); /* taille responsive mais réduite */
  text-align: center;
  line-height: 1.2;
}


.swiper-button-next,
.swiper-button-prev {
  color: black;
}

.swiper-pagination-bullet {
  background: #4D63AC;
}

.swiper-scrollbar {
  background: rgba(0,0,0,0.1);
}

.swiper-scrollbar-drag {
  background: #4D63AC;
}

/*==========================
        team section
==========================*/
/*j'aime pas trop... je prefere quand il n'y a pas la partie .team-wiper avec du recul je comprend pas */


/* ✅ Carrousel NOS ÉQUIPES */
.team-swiper {
  padding: 2rem 0;
  width: 100%;
  overflow: hidden;
}
.team-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.team-swiper .swiper-slide {
  width: auto;      /* ✅ max 200px mais s’adapte sur mobile */
  height: 50vh;    /* ✅ max 250px mais diminue si l’écran est petit */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  flex-shrink: 0;
  box-shadow: none 
}
.team-swiper .swiper-slide img {
  display: block;
  max-width: 100vw;
  max-height: 60vh;
  object-fit: cover; /* ou cover selon ton rendu préféré */
}

/*====================
        valeurs
====================*/
.valeurs-section {
  background-color: white;
  padding: 60px 20px;
  max-width: 100vw;
}

.valeurs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 6vh;
  max-width: 1200px;
  margin: auto;
}

.valeurs-content {
  max-width: 600px;
  text-align: center;
}

.valeurs-title {
  font-size: 4rem;
  color: #4D63AC;
  margin-bottom: 5px;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
}

.valeurs-text {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 50px;
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 100px;
  justify-content: center;
}

.valeur-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.valeur-item:hover {
  transform: scale(1.1);
}

.valeur-item img {
  display: block;
  margin: 0 auto 10px auto;
  width: 300px;
  height: 300px;
  object-fit: contain;
  border: 3px solid #F7B166;
  border-radius: 20px; 
}

.valeur-item p {
  font-weight: bold;
  color: #4D63AC;
  font-size: 2rem;
  margin: 0;
}
.carte-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 16px 0 0 0;
  flex-wrap: wrap;
}

.carte-logos img {
  height: 42px;      /* ajuste selon tes logos */
  width: auto;
  object-fit: contain;
  background: none;
  border-radius: 4px;
}


/*==========================
    carrousselle bis 
==========================*/
.carte-section {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
}
.carte-title {
  font-size: 6rem;
  color: #4D63AC;
  margin-bottom: 40px;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
}

.carte-header {
  width: 120%;
  min-height: 10vh;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-top:-10% ;
}


.carte-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.carte-logo {
  max-width: 400px;
  height: auto;
}

.carte-listes {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  flex-wrap: wrap;
}

.carte-listes ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 1.2rem;
  text-align: center;
}
.carte-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
}
.swiper-cartes .swiper-slide {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  width: clamp(300px, 90%, 600px);     /* ⬅ s’adapte à la taille de l’écran ou au zoom */
  max-width: 600px;   /* ⬅ limite sur écran large */
  height: auto;
  margin: auto;       /* ⬅ centre la carte */
}
/* =========================
   MEDIA QUERIES PAR SECTION
   ========================= */

@media screen and (max-width: 768px) {
  /* ===== GLOBAL ===== */
  html, body {
    overflow-x: hidden;
  }

  /* ===== INTRO / HERO ===== */
  .mla-hero-content {
    right: 0;
    left: 0;
    width: 100vw;
    align-items: center;
    bottom: 20vw;
    top: auto;
    position: absolute;
  }
  .mla-hero-title, .mla-hero-title .bold, .mla-hero-title .light {
    text-align: center !important;
  }
  .mla-hero-title .bold {
    font-size: 14vw;
  }
  .mla-hero-title .light {
    font-size: 10vw;
  }
  .mla-hero-orange-box {
    font-size: 4vw;
    padding: 11px 8vw;
    max-width: 95vw;
    margin: 1rem auto 0;
  }

  /* ===== FICHES DE POSTE ===== */
  .fiches-section {
  padding: none;
  margin-bottom: -10vh;
}
  .fiches-section h2 {
    font-size: 2.2rem;
    line-height: 0.7;
  }
  .fiches-section h4 {
    font-size: 1.6rem;
    line-height: 1.2;

  }
  .swiper-slide {
    min-width: 260px;
    height: auto;
    padding: 1rem;
    
  }
  .swiper-slide h3 {
    font-size: 1rem;
  }
   .swiper-button-next,
  .swiper-button-prev {
    font-size: 1rem;
    transform: scale(0.6); /* ✅ réduit visuellement la taille */
    width: 20px;
    height: 20px;
    top: 60%; /* ✅ centre verticalement */
  }
.swiper-button-next {
  right: -3px; /* ↘ plus près du bord droit */
}

.swiper-button-prev {
  left: -3px; /* ↖ plus près du bord gauche */
}

  /* ===== TEAM / ÉQUIPES ===== */
  .team-swiper .swiper-slide {
    height: auto;
    max-height: 40vh;
    
  }
  .team-swiper .swiper-slide img {
    width: 100%;
    height: auto;
  }

  /* ===== VALEURS ===== */
  .valeurs-container {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    overflow-x: hidden;
  }
  .valeurs-title {
    font-size: 2.2rem;
  }
  .valeurs-text {
    font-size: 1rem;
  }
  .valeurs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    max-width: 100%;
  }
  .valeur-item {
    max-width: 180px;
  }
  .valeur-item img {
    width: 100%;
    height: auto;
    max-width: 160px;
  }
  .valeur-item p {
    font-size: 1rem;
    word-wrap: break-word;
    text-align: center;
  }
  /* ===== CARTE SECTION / AGENCES ===== */
  .carte-title {
    font-size: 3.5rem;
  }
  .carte-header {
    width: 100%;
    margin-top: 0;
  }
  .carte-listes ul {
    font-size: 1rem;
    padding: 0;
  }
  .carte-logos {
    gap: 10px;
  }
  .carte-logos img {
    height: 32px;
  }
  .swiper-cartes .swiper-slide {
    width: 90%;
    padding: 1rem;
  }
  .carte-logo {
    max-width: 80%;
  }
}
.team-swiper {
  cursor: grab;
}
.team-swiper:active {
  cursor: grabbing;
}
