/*LE BODY*/

body {
    font-family: Arial, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
}

/*LA BARRE DE NAVIGATION*/
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px 10px 40px;
    background: #fff;
}
.logo img {
    height: 48px;
}
.nav-list {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}
.nav-item {
    display: inline-block;
    background: #e5edfa;
    border: 1px solid #b3c2d6;
    border-radius: 20px;
    padding: 8px 24px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    color: #222;
    transition: background 0.2s;
    white-space: nowrap;
}
.nav-item:hover {
    color: white;
    background: #54729c;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.search-bar {
    background: #f7f7f7;
    border: 1px solid #b3c2d6;
    border-radius: 20px;
    padding: 6px 18px;
    display: flex;
    align-items: center;
}
.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 180px;
}


/* BANNIERE VIDEO */
.banniere {
    position: relative;
    width: 100%;
    height: 390px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banniere-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 16px;
}

.banniere-text {
    position: relative;
    z-index: 1;
    color: #fff;
    backdrop-filter: blur(10px);
    text-align: center;
    border-radius: 16%;
} 

.Mappy{
font-weight: bold;
font-style: normal;
}



/* INTRO */
.intro {
    margin: 36px auto 0 auto;
    text-align: center;
}
.intro h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 18px;
}
.intro-box {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 24px;
    background: #f7f7f7;
    border-radius: 24px;
    padding: 26px 36px;
    margin: 0 auto;
    max-width: 700px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.intro-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    max-height: 300px;
    display: block;
}



/* CAROUSEL */

.carousel {
    background-image: url(
    images/fondbleu.png
  );
  /*background: #236b8e;*/
  padding: 38px 0 34px 0;
  margin-top: 40px;
  color: white;
  text-align: center;
}

.carousel h3 /*, .ajoutsRecents h3 */{
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.carousel p /*, .ajoutsRecents p*/{
  margin-bottom: 24px;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  background: white;
  border: none;
  border-radius: 60px;
  color: black;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 20px;
  margin-right: 20px;
  padding: 0 18px;
  padding-top: 20px;
  padding-bottom: 20px;
  transition: color 0.2s;
  user-select: none;
}

.carousel-arrow:hover {
  color : #8dd7c3
}

.carousel-arrow:active {
  color: #d1eaff;
}

.carousel-cards /*, .ajouts-cards*/ {
  display: flex;
  gap: 32px;
  overflow: hidden;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 800px; /* Ajuste selon le nombre de cartes visibles */
  transition: transform 0.5s cubic-bezier(.4,1.4,.6,1);
}

.carousel-card , .ajout-card {
  background: white;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 2px 8px #0001;
  padding: 18px 22px;
  width: 250px;
  height: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  transition: transform 0.2s;
}

.carousel-card img , .ajout-card img{
  width: 200px;
  height: 170px;
  object-fit:contain;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}

.carousel-card span , .ajout-card span{
  font-size: 1rem;
  font-weight: bold;
}


.carousel-card:hover {
  transform: scale(1.050);
  box-shadow: 0 4px 16px #0002;
}
.carousel-card img {
  pointer-events: none; /* Pour que le clic sur l'image clique le lien */
}






/* BOUTONS AJOUTS */

.ajouts-btn {
    display: flex;
    justify-content: center;
    margin: 36px 0;
}
.ajouts-btn a {
    display: inline-block;
    background: #ffffff;
    color: black;
    border-radius: 28px;
    padding: 18px 48px;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.2s;
}
.ajouts-btn a:hover {
    background: #e5edfa;
    color: black;
}


/* SECTION*/
.ajoutsRecents {
    background: #26764a;
    padding: 38px 0 34px 0;
    /*margin-top: 40px;*/
    margin-bottom: 40px;
    color: white;
    text-align: center;
}

.ajoutsRecents h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.ajoutsRecents p {
    margin-bottom: 24px;
}

.ajouts-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
}
/*.ajout-card {
  background: white;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 2px 8px #0001;
  padding: 18px 22px;
  width: 250px;
  height: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  transition: transform 0.2s;
}
.ajout-card img {
  width: 200px;
  height: 170px;
  object-fit:contain;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}
.ajout-card span {
  font-size: 1rem;
  font-weight: bold;
}*/






/********** FOOTER / PIED DE PAGE **********/



footer h4 {
  bottom: 10px; 
  right: 10px;
  color: #121212;
  font-size: 12px;
}

.footer-item {
  cursor : pointer;
  border: black;
}


footer {
  background-color: #fff;
  padding: 2rem;
  position: relative;
  display: flex; 
  flex-direction: column; 
  align-items: center;
  gap: 1rem; 
}



#mentions-politique {
  display: flex;
  gap: 10px;
}


.footer-item {
  padding: 10px;
  background-color: #fff;
  color: black;
  border-radius: 7px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  overflow: hidden; 
  margin-left: 10px;
  margin-right: 10px;
}

.footer-item:hover {
    color: white;
    background: #54729c;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}


a {
    text-decoration: none;
    color: black;
}


/* Responsive */
@media (max-width: 900px) {
    .intro-box {
        flex-direction: column;
        gap: 12px;
        padding: 18px 14px;
    }
    .ajouts-cards {
        flex-direction: column;
        gap: 18px;
    }
}
