/* --------------------------------------------- */
/* FONT + RESET                                  */
/* --------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #bdaf3b;
  color: #333;
}
a {
  color: #dde597 !important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* --------------------------------------------- */
/* WRAPPER PRINCIPAL                             */
/* --------------------------------------------- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------- */
/* STRUCTURE GLOBALE                             */
/* --------------------------------------------- */
main {
  flex: 1;
  padding: 1rem;
}

/* ============================================= */
/* HEADER / NAVBAR                               */
/* ============================================= */
.main-header {
  background-color: #177a20 !important;
}

.main-header .container-fluid {
  min-height: 90px;
  display: flex;
  align-items: center;
}

.header-logo,
.partner-logo {
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Mobile logos */
@media screen and (max-width: 767px) {
  .header-logo {
    max-height: 50px;
  }

  .partner-logo {
    max-height: 45px;
  }
}

.navbar {
  background-color: transparent !important;
  margin-right: 3rem;
}

.nav-link {
  color: #180b0b !important;
}

.nav-link:hover {
  color: #fff4a3 !important;
}

/* ============================================= */
/* CARROUSEL SLDD – STYLE GLOBAL & UNIFIÉ        */
/* ============================================= */

.sldd-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 0 60px;
}

.sldd-carousel .carousel-inner {
  border-radius: 10px;
  overflow: hidden;
}

/* On supprime la hauteur fixe */

.sldd-carousel .carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
/* Fade doux */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 2s ease-in-out !important;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 2;
}

/* Flèches */

.sldd-carousel .carousel-control-prev,
.sldd-carousel .carousel-control-next {
  width: 55px;
  height: 55px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.sldd-carousel .carousel-control-prev {
  left: -30px;
}

.sldd-carousel .carousel-control-next {
  right: -30px;
}

.sldd-carousel .carousel-control-prev-icon,
.sldd-carousel .carousel-control-next-icon {
  background-image: none;
  background-color: #2e9d3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sldd-carousel .carousel-control-prev-icon::after {
  content: "‹";
  font-size: 28px;
  color: #f4f1e6;
  font-weight: 500;
}

.sldd-carousel .carousel-control-next-icon::after {
  content: "›";
  font-size: 28px;
  color: #f4f1e6;
  font-weight: 500;
}

.sldd-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.sldd-carousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: #248332;
}

/* Responsive */

@media screen and (max-width: 1023px) {
  .sldd-carousel {
    padding: 0 50px;
  }
}

@media screen and (max-width: 767px) {
  .sldd-carousel {
    padding: 0 40px;
  }

  .sldd-carousel .carousel-control-prev {
    left: -15px;
  }

  .sldd-carousel .carousel-control-next {
    right: -15px;
  }
}
/* ============================================= */
/* PARTENAIRES - LOGOS                           */
/* ============================================= */

.partenaires-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: nowrap;
}

.logo-box {
  width: 180px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 992px) {
  .partenaires-logos {
    flex-wrap: wrap;
    gap: 30px;
  }

  .logo-box {
    width: 140px;
    height: 100px;
  }
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */

footer,
.main-footer {
  background-color: #177a20;
  color: #170f0f !important;
  padding: 12px 0;
  width: 100%;
  text-align: center;
}

footer a,
.main-footer a {
  color: #180b0b !important;
  text-decoration: none;
}

footer a:hover,
.main-footer a:hover {
  color: #fff4a3 !important;
}

/* Footer responsive */

@media screen and (max-width: 1023px) {
  footer,
  .main-footer {
    padding: 10px 0;
  }

  footer a,
  .main-footer a {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 767px) {
  footer,
  .main-footer {
    padding: 8px 0;
  }

  footer a,
  .main-footer a {
    font-size: 0.8rem;
  }
}
