/**************** ACCUEIL ***************/

.swiper,
.swiper-wrapper,
.swiper-slide {
  height: 100vh;
}

.mySwiper .swiper-pagination {
  bottom: 80px !important;
  position: absolute;
  z-index: 10;
}

.home {
  position: relative;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  padding: 60px 40px;

  height: 100vh;
  text-align: left;

}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  /* Hérite du background-image défini en ligne */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1);
  transition: transform 1s ease;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide-active::before {
  animation: zoomBg 8s ease-in-out infinite;
}

@keyframes zoomBg {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1700px;

  padding: 0 20px;
  padding-top: 30px;
}

.text-content {
  width: 100%;
}

h1 {
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
}

h1 .highlights {
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 span {
  display: block;
}

.underline {
  height: 6px;
  width: 360px;
  background: var(--clr-orange);
  /* Secondary color */
  margin: 30px 0;
}

p.text {
  font-size: 16px;
  margin: 0 0 50px;
  line-height: 1.6;
  width: 42%;
  font-weight: 400;

  /* margin: 0 auto 30px; */
}

.hero-content {
  padding-bottom: 100px;
  /* espace pour éviter le chevauchement avec les bullets */
}

.badge {
  display: flex;
  height: 40px;
  color: white;
  justify-content: start;
  width: 100%;
}

.badge-text {
  height: 100%;
  width: 155px;
  background: var(--clr-orange);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 600;
  font-family: var(--ff-secondary);

  box-shadow: 0px 4px 4px 0px #c89a4b;
}



p.badge-text {
  font-weight: 600;
}

.tertiary a {
  color: black !important;
}

.badge-cir {
  width: 40px;
  height: 100%;
  clip-path: polygon(97% 46%, 0 0, 0 100%);
  background: var(--clr-orange);
  box-shadow: 0px 4px 4px 0px #c89a4b;
}

/* Empêche les conflits quand l'écran est petit en réduisant un peu le padding et gérant les débordements */
@media (max-height: 700px) {
  .home {
    height: auto;
    min-height: 700px;
    padding-top: 40px;
    padding-bottom: 120px;
    /* pour la pagination */
  }

  .hero-content {
    gap: 20px;
    padding-bottom: 300px;
    /* un peu plus d’espace pour les bullets */
  }

  h1 {
    font-size: 42px;
    /* réducteur mais lisible */
  }

  p {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 1200px) {
  h1 {
    font-size: 45px;
  }

  p.text {
    font-size: 16px;
    margin: 0 0 50px;
    line-height: 1.4;
    width: 70%;
    font-weight: 400;

    /* margin: 0 auto 30px; */
  }
}

@media (max-width: 768px) {
  .text-content h1 span {
    display: inline;
  }
}

/* Responsivité */

@media (max-width: 1096px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 10px;
  }

  .underline {
    display: none;
  }

  /* .swiper, */
  /* .swiper-wrapper,
.swiper-slide {
  height: 60vh;
} */
  h1 {
    font-size: 36px;
    /* Ajustement pour mobile */
  }

  h1 span {
    display: inline;
  }

  p.text {
    font-size: 16px;
    /* Ajustement pour mobile */
    width: 90%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 30px;
    /* Encore plus petit sur téléphone */
  }

  p.text {
    font-size: 14px;
    /* Réduction du texte */
    width: 100%;
    text-align: left;
  }
}

/* Sur petits écrans (mobile portrait) */
@media (max-width: 550px) {
  .hero-content {
    gap: 20px;
    padding: 0px;
    width: 100%;
  }

  h1 {
    font-size: 30px;
    /* Taille encore plus petite sur très petit écran */
    text-align: justify;
  }

  h1 span {
    display: inline;
  }

  p {
    font-size: 14px;
    margin: 0 0 20px;
  }



  .text-content {
    width: 100%;
    text-align: center;
  }
}

@media (max-height: 700px) {
  .home {
    height: 700px;
    padding-top: 40px;
    padding-bottom: 40px;
    /* pour la pagination */
  }

  .swiper-pagination {
    padding-top: 80px;
    bottom: 20px !important;
    /* ou 0 si tu veux qu'elle touche vraiment le bas */
  }

  .swiper,
  .swiper-wrapper,
  .swiper-slide {
    height: 900px;
  }
}



@media (max-width: 1116px) {
  h1 {
    font-size: 45px;
  }
}

@media (max-width: 600px) {

  h1 {
    font-size: 26px;
    text-align: left;
  }

  .home {
    padding-left: 18px;
    padding-right: 18px;
  }

}

/**************** INFO DETAIL ***************/

.info-event {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 60px auto;
  gap: 40px;
  padding: 0 30px;
}

.info-detail,
.ficia {

  height: 216px;
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px #c89a4b;
}

.info-detail {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 20px;
}

.ficia img {
  width: 78%;
  margin: 0 auto;
  display: block;
  height: 100%;
}

.info-detail .image {
  width: 84px;
  height: 84px;
  background: var(--clr-orange);
  text-align: center;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;


}

.info-detail .image img {
  width: 58px;
}

.info-detail .info-text {
  width: 62%;
}

.info-detail p {
  font-weight: 400;
  width: 100%;
  font-size: 20px;
  text-align: left;
}

@media (max-width: 1300px) {
  .info-detail p {
    font-size: 18px;
  }

  .info-detail .image {
    width: 60px;
    height: 60px;
  }

  .info-detail .image img {
    width: 40px;
  }
}

@media (max-width: 1024px) {

  .info-event {
    display: grid;
    max-width: 800px;
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 768px) {

  .info-event {
    display: grid;
    max-width: 400px;
    grid-template-columns: repeat(1, 1fr);
  }

}

@media (max-width: 450px) {
  .info-detail {
    flex-direction: column;
    justify-content: center;
  }

  .info-detail .info-text {
    width: 100%;
    text-align: center;
  }

  .info-detail p {
    text-align: center;
  }
}

/******************* ABOUT   *********************/

.underline-2 {
  height: 3px;
  width: 220px;
  background: var(--clr-orange);
  /* Secondary color */
  margin-bottom: 50px;
}

.underline-3 {
  height: 3px;
  width: 160px;
  background: var(--clr-orange);
  /* Secondary color */
  margin-bottom: 40px;
}

.about-section {
  display: flex;
  background-image: url("../images/img02 REDUIT.jpg");

  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 60px 80px 120px;
  align-items: center;
  justify-content: end;

  margin-top: 30px;
  position: relative;
  z-index: 5;


}

.about-content {
  width: 50%;
  text-align: left;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.about-content h3 {
  font-size: 40px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;

}

.about-content .detail {
  font-size: 18px;
  font-weight: 300;
  /* line-height: 1.6; */
  padding-bottom: 30px;
  /* text-transform: capitalize; */
  text-align: justify;
}

.about-desc {
  margin-bottom: 60px;
}

.about-desc h4 {
  font-size: 20px;
  font-weight: 500;
  font-family: var(--ff-primary);
}

.about-content .desc {
  font-size: 16px;
  padding-bottom: 15px;
  gap: 15px;
  font-weight: 300;
  display: flex;
  align-items: start;
  justify-content: start;
  width: 90%;

  /* text-transform: capitalize; */
}



.desc  img{

  padding-top: 5px;
}



.contact-btn,
.about-btn {
  padding: 10px 20px;
  margin-right: 12px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.contact-btn {
  background-color: #ffa500;
  color: white;
}

.about-btn {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.about-image img {
  max-width: 300px;
  border-radius: 10px;
}

/* Responsive pour tablettes */
@media (max-width: 992px) {
  .about-section {
    flex-direction: column;

    text-align: center;
  }

  .about-content {
    width: 100%;
  }

  .about-content h3 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: left;
  }

  .about-content .desc {
    width: 100%;
    font-size: 15px;
    line-height: 2.2;
  }


}

@media (max-width: 600px) {
  .about-section {
    padding-left: 20px;
    padding-right: 20px;

  }

  .about-content h3 {
    font-size: 26px;

  }

  .about-content .detail {
    font-size: 16px;

  }
}

/******************* why   *********************/

/* Container swiper : assure qu’il laisse de l’espace en bas */
.why-swiper {
  display: flex;
  align-items: center;
  /* centre verticalement */
  justify-content: center;
  /* optionnel si besoin horizontalement */
/* background-color: red; */
  height: 550px;
  padding-bottom: 10px;
  /* background-color: #013572; */
  position: relative;
}

.why-swiper-container{
  /* background-color: red; */
  max-width: 1700px;
  margin: 0 auto;
padding: 0 40px;
}

@media (max-height: 700px) {
  .why-swiper {
    height: 600px;

  }
}

/* Pagination bien en dessous, centrée */

.swiper-pagination {
  /* display: none !important; */
}

/* Flèches */
.swiper-nav {
  position: absolute;
  top: 50%;
  left: 0px;
  right: 0px;
  transform: translateY(50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  /* important pour ne pas gêner le swiper */
  background-color: #013572;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 24px; /* Change ici selon la taille souhaitée */
  color: #c68006;  /* Tu peux aussi redéfinir la couleur ici */
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}
.swiper-button-prev,
.swiper-button-next {
  pointer-events: auto;
  /* remet l'interaction sur les flèches */
  width: 60px;
  height: 60px;
  background: #01357233;
  border-radius: 50%;
  color: #c68006;

  font-size: 40px;
}

@media screen and (max-width: 900px) {

  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
    font-size: 14px !important;
  }
}

.why {
  padding: 60px 40px;
  text-align: center;

  background-color: #fff;
}

.why-title {
  font-size: 40px;
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  padding-bottom: 10px;
}

.why-subtitle {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding-bottom: 10px;

  font-size: 18px;
  font-weight: 400;

  line-height: 1.6;

  text-align: center;
}


.why-grid {
  /* position: relative; */
  display: flex;

  max-width: 1500px;
  justify-content: center;
  align-items: center;

  gap: 30px;
  margin-top: 10px;
  padding: 0 30px;
  margin: 80px auto;
}

.why-grid,
.why-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.why-card {
  padding: 30px 20px 20px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 4px 1px 0px #013572;
  text-align: center;
  height: 430px;
}

.why-card.color {
  background: #0954e61a;
}

.why-img {
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  border: 2px dashed #c68006;

  margin: 0 auto;
  margin-bottom: 20px;
}

.why-img img {
  width: 70%;
  height: 60%;
}

.why-name {
  font-size: 18px;
  font-weight: 600;

  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--ff-primary);
  padding-bottom: 10px;
}

.underline-4 {
  height: 2px;
  width: 65px;
  background: var(--clr-blue-2);
  /* Secondary color */
  margin: 0 auto;
  margin-bottom: 20px;
}

.why-text {
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  line-height: 1.6;
}

@media screen and (max-width: 1370px) {
  .why-card {
    height: 480px;
  }
}

@media screen and (max-width: 1070px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1024px) {
  .why-title {
    font-size: 32px;
  }

  .why-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .why-card {
    padding: 20px 15px;
  }

  .why-img {
    width: 120px;
    height: 120px;

  }

  .why-name {
    font-size: 16px;
  }

  .why-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .why-stars {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .why-grid {
    max-width: 500px;
    grid-template-columns: repeat(1, 1fr);
    padding: 0 10px;
  }

  .why-title {
    font-size: 28px;
  }

  .why-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }


  .why-card p {
    text-align: left;
  }
}

@media screen and (max-width: 500px) {
  .why-card {
    height: 600px;
  }

  .why-grid,
  .why-swiper .swiper-slide {
    height: 620px;

  }
}

/******************* VIDEOS   *********************/

.video {
  background-image: url("../images/Background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  padding: 60px 40px;
  height: 800px;
  overflow: hidden;


  text-align: left;
}

.container-video {
  max-width: 1600px;
  height: 100%;
  margin: 0 auto;
}

.videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
  width: 100%;
  height: 100%;
}

.video-top {
  display: grid;
  grid-template-rows: repeat(2, 1fr);

  gap: 20px;
}

.video-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.video-card {


  overflow: hidden;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;


  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;




}

.video-card .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(0deg, #000000 72.03%, rgba(102, 102, 102, 0) 100%);
opacity: 0.7;
}

.video-1 {
  background-image: url('../images/video-1.png');

}

.video-2 {
  background-image: url('../images/video-2.png');
}

.video-3 {
  background-image: url('../images/video-3.png');
}

.video-4 {
  background-image: url('../images/video-4.png');
}


.video-center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 60%;
  position: relative;
  z-index: 10;
  margin: auto 0;
  align-items: center;

}

.video-card .col p {
  color: white;
  position: relative;
  padding: 10px 10px;
  background-color: #C77F05;
  width: fit-content;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 12px;
  z-index: 5;
  font-family: var(--ff-secondary);
}

.video-detail p {

  font-weight: 600;
  font-size: 16px;

  text-align: center;
  padding-bottom: 10px;

}

p.scd {

  font-weight: 400;
  font-size: 12px;
  max-width: 400px;
  text-align: center;
  margin: 0 auto;

}


.video-card button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 1200px) {
  .videos {
    grid-template-columns: 1fr;
  }

  .video-bottom {
    grid-template-columns: 1fr;
  }

  .video-top {
    grid-template-rows: auto;
    grid-template-columns: 1fr;
  }

  .video-card {
    height: 100%;
    padding-bottom: 40px;
  }

  .video {
    height: 100%;
  }
}

@media screen and (max-width: 768px) {
  .video {
    padding: 40px 20px;
    height: auto;
  }

  .video-detail p {
    font-size: 16px;
  }

  p.scd {
    font-size: 13px;
    max-width: 100%;
  }

  .video-card h3 {
    font-size: 14px;
    padding: 4px 8px;
  }

  .video-flex {
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .video-detail p {
    font-size: 15px;
  }

  p.scd {
    font-size: 12px;
  }

  .video-card button img {
    width: 50px;
    height: 50px;
  }
}



/******************* HERO   *********************/

.heros {
  background-image: url("../images/Background2.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}

.hero-contents h3 {
  font-size: 36px;
  max-width: 1300px;
  line-height: 1.6;
  
  font-weight: 500;
  /* text-transform: ; */

  margin: 0 auto 60px;
  font-family: var(--ff-tertiary);
  text-align: center;
  justify-content: center;
 position: relative;
 z-index: 5;
  
}

.overlays {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-contents .buttons {

justify-content: center;
position: relative;
z-index: 5;
}


@media screen and (max-width: 1024px) {
  .hero-contents h3 {
    font-size: 32px;
  }

 
}

@media screen and (max-width: 768px) {

 
  .hero-contents h3  {
    font-size: 28px;
  font-weight: 500;

  }


}
/******************* EXPERTS   *********************/


.experts {
  background: white;
  margin: -60px 80px 0;
  padding: 60px 20px;

  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px #013572;
  position: relative;
  z-index: 10;
  text-align: center;
}

.experts h2 {
  margin-bottom: 20px;
  font-size: 40px;
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  padding-bottom: 20px;
}

.intro-text {
  max-width: 1300px;
  margin: 0 auto 50px;
  padding-bottom: 30px;

  font-size: 18px;
  font-weight: 500;

  line-height: 1.6;

  text-align: center;
}


/* Pagination bullets plus grandes */
.cards-swiper .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: white;
  opacity: 0.6;
  margin: 0 6px;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid #C77F05;
}

.cards-swiper .swiper-pagination-bullet-active {
  background-color: #C68006;
  width: 16px;
  height: 16px;
  opacity: 1;
  transform: scale(1.2);
}


/* Container swiper : assure qu’il laisse de l’espace en bas */
.cards-swiper {
  height: 580px;
  position: relative;
  padding-bottom: 40px;
  /* espace pour pagination */
  overflow: hidden;
  max-width: 1500px;


}

@media (max-height: 700px) {
  .cards-swiper {
    height: 540px;
  }
}

.cards {
  display: flex;

  gap: 20px;

  max-width: 1300px;
  padding: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px auto;
}

.card {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;

  display: flex;
  justify-content: space-between;
  flex-direction: column;

  text-align: center;
  box-shadow: 0px 4px 4px 0px #013572;
  height: 420px;

  position: relative;
}

.expert-card {
  background: #d9d9d9;
  color: black;
  padding: 8px 40px;
  text-align: center;
  position: relative;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  margin-bottom: 20px;
}

.highlight {
  background: var(--clr-orange);
  color: white;
}

.expert-card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;

  border-top: 10px solid #d9d9d9;
  /* Couleur du triangle */
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #e3890a;
  /* Couleur du triangle */
}

.text-image {
  padding: 20px;
}

.card h4 {
  font-size: 22px;
  font-family: var(--ff-primary);
  font-weight: 500;
}

.subtitle {
  font-size: 14px;

  font-weight: 400;

  padding: 8px 0;
}

.description {
  font-size: 12px;
  font-weight: 400;

  padding: 0  8px ;
  padding-bottom: 14px;

}

.expert-img {
  width: 94px;
  height: 94px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;

  border: 1px solid #e3890a;
  border-color: #e3890a;

  margin: 0 auto;

  padding: 8px;
}

.expert-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
@media screen and (max-width: 1100px) {
.card h4 {
  font-size: 18px;

}
}

@media screen and (max-width: 1024px) {

  .experts {
    margin-left: 0;
    margin-right: 0;
  }

  .experts h2 {
    font-size: 32px;
  }

  .intro-text {
    font-size: 16px;
    padding: 0 10px;
  }

  .cards {
    max-width: 900px;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px;
    gap: 30px;
  }


}


@media screen and (max-width: 768px) {
  .cards {
    max-width: 500px;
    grid-template-columns: repeat(1, 1fr);
    padding: 0 10px;
  }

  .experts h2 {
    font-size: 28px;
  }

  .intro-text {
    font-size: 16px;
    padding: 0 10px;
  }


}

@media screen and (max-width: 500px) {
  .card {
    height: 60%;
  }
}


/******************* PARTENAIRES   *********************/

.partenaires {
  padding: 60px 20px;
  text-align: center;

  background-color: #fff;
}

.partenaires-title {
  font-size: 40px;
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  padding-bottom: 20px;
  text-transform: uppercase;
}

.partenaires-subtitle {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding-bottom: 30px;

  font-size: 18px;
  font-weight: 400;

  line-height: 1.6;

  text-align: center;
}

.carousel-container {
  width: 100%;
  max-width: 1500px;
  overflow: hidden;
  position: relative;
  padding: 50px 0;
  background: white;

  border-radius: 10px;
  margin: 0 auto;
  cursor: grab;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-out;
  gap: 40px;
  padding: 0 20px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.carousel-item {
  min-width: 244px;
  height: 244px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s ease;

  box-shadow: 0px 4px 4px 0px #00000040;
}

.carousel-item:hover {
  transform: scale(1.05);
}

.carousel-item img {
  width: 60%;
  height: 60%;
  object-fit: cover;
  transition: filter 0.3s ease;
  pointer-events: none;
}

.carousel-item:hover img {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .carousel-container {
    max-width: 100%;
    padding: 10px 0;
  }

  .carousel-item {
    min-width: 150px;
    height: 75px;
  }

  .partenaires-title {
    font-size: 28px;
  }

  .partenaires-subtitle {
    font-size: 15px;
  }

  .carousel-item img {
    width: 80%;
    height: 80%;
  }
}
@media (max-width: 640px) {
.carousel-item img {
  width: 100%;
  height: 100%;
}}
/****************** ALERT  **********************/


.enco-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000000b9;


  z-index: 1000;
  height: 26px;
  color: #e0e0e0;
}



.footer-contents {

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-contents .logo {
  background-color: white;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
  width: 200px;
  display: flex;
  justify-content: start;
  padding-left: 10px;
  align-items: center;
  color: #000;
}


.scrolling-text-wrapper {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  position: relative;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
}

.scrolling-text p {
  display: inline;
  margin: 0 2rem;
  font-size: 14px;
  color: #e0e0e0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}


/************** videos **************/


/******************* TESTIMONIAL   *********************/

/* Pagination bullets plus grandes */
.testimonial-swiper .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: white;
  opacity: 0.6;
  margin: 0 6px;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid #C77F05;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  background-color: #C68006;
  width: 16px;
  height: 16px;
  opacity: 1;
  transform: scale(1.2);
}


/* Container swiper : assure qu’il laisse de l’espace en bas */
.testimonial-swiper {
  height: 70vh;
  position: relative;
  padding-bottom: 40px;
  /* espace pour pagination */

  max-width: 1500px;


}

@media (max-height: 700px) {
  .testimonial-swiper {
    height: 800px;
  }
}



/* Pagination bien en dessous, centrée */
.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
}




.testimonial {
  padding: 60px 40px;
  text-align: center;

  background-color: #fff;
}

.testimonial-title {
  font-size: 40px;
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  padding-bottom: 20px;
  text-transform: uppercase;
}

.testimonial-subtitle {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding-bottom: 30px;

  font-size: 18px;
  font-weight: 400;

  line-height: 1.6;

  text-align: center;
}

.testimonial-grid,
.testimonial-swiper {
  display: flex;

  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 10px;

  margin: 30px auto;



}



.testimonial-grid .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

}

.testimonial-card {



  margin: 80px auto;
  padding: 30px 20px 20px;
  background-color: #fff1e6;
  border-radius: 12px;
  box-shadow: 0px 4px 4px 0px #00000080;
  background: #F88E201A;
  text-align: center;
  width: 100%;

  position: relative;
  height: 386px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card.color {
  background: #0954E61A;

}

.testimonial-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: -100px auto 15px;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  background-color: #fff;

}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name, .testi {
  font-family: var(--ff-primary);
  font-size: 16px;
  font-weight: 600;

  text-transform: uppercase;
}

.testi{
font-weight: 500;
  text-transform: capitalize;

}

.testimonial-text {
  font-size: 14px;
  font-weight: 400;
  display: flex;


  text-align: justify;
 
  

}

.testimonial-stars {
  color: #f57c00;
  font-size: 1.2rem;
  margin-top: 15px;
  text-align: center;

}

.testimonial-stars img {
  opacity: 0.8;

}

@media screen and (max-width: 1370px) {
  .testimonial-card {
    height: 400px;
  }
}

@media screen and (max-width: 1070px) {

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);

  }

}

@media screen and (max-width: 1024px) {



  .testimonial-title {
    font-size: 32px;
  }

  .testimonial-subtitle {
    font-size: 18px;
    padding: 0 10px;
  }



  .testimonial-card {


    padding: 20px 15px;
  }

  .testimonial-img {
    width: 120px;
    height: 120px;
    margin-top: -80px;
  }

  .testimonial-name {
    font-size: 16px;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .testimonial-stars {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {

  .testimonial-grid {
    max-width: 500px;
    grid-template-columns: repeat(1, 1fr);
    padding: 0 10px;

  }



}

@media screen and (max-width: 480px) {
  .testimonial-grid {
    height: 100%;

  }

  .testimonial-card {
    height: 70%;
  }

  .testimonial-title {
    font-size: 26px;
  }

  .testimonial-subtitle {
    font-size: 16px;
    padding: 0 5px;
  }

  .testimonial-card {
    padding: 15px 10px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;

  }

  .testimonial-name {
    font-size: 15px;
  }

  .testimonial-stars {
    font-size: 0.9rem;
  }
}

/**** Modal ****/


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 900px;
  position: relative;
}

.modal-content h2 {
  margin-top: 50px;
  font-size: 24px;
  color: #C77F05;
}

.modal-content p {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

.modal-video-wrapper {
  position: relative;
  margin-top: 20px;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
}

.modal-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close-btn {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}


/* modal d'entree */

    .penja-modal {
      position: fixed;
      inset: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.85);
      z-index: 9999;
    }

    .penja-modal-content {
      position: relative;
      max-width: 90%;
      width: 800px;
    }

    .penja-close-icon {
      position: absolute;
      top: -60px;
      right: -30px;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 1000;
    }

    .penja-close-icon svg {
      width: 40px;
      height: 40px;
      fill: #000;
      transition: transform 0.2s ease;
    }

    .penja-close-icon:hover svg {
      transform: scale(1.1);
      fill: #ff4d4d;
    }

    .penja-video-wrapper {
      position: relative;
      padding-bottom: 56.25%; /* 16:9 */
      height: 0;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    }
    .penja-modal-content button{
      margin: 0 !important;
    }

    .penja-video-wrapper iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    @media (max-width: 768px) {
      .penja-close-icon {
        top: -40px;
          right: 0px;
      }

      .penja-close-icon svg {
        width: 30px;
        height: 30px;
      }
    }
