
@font-face {
    font-family: 'Maytra';
    src: url('fonts/Maytra.woff2') format('woff2'),
        url('fonts/Maytra.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



body {
  font-family: "Montserrat", sans-serif;
  margin-bottom:50px;
}

.container-main {
  box-shadow: 0px 0px 7px 0px #9b9898;
  border-radius: 0px 0px 10px 10px;
  padding: 0;
}

.navbar .nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: white !important;
  display: flex;
  gap: 10px;
  align-items: center;
}
.navbar .nav-link.active {
  font-size: 1rem;
  font-weight: 500;
  color: #a3cbc6 !important;
}

section h1 {
  color: #025f75;
  font-size: 3rem;
  font-family: 'Maytra';
}

.header {
  background: url('img/header.jpg');
  height: 287px;
  background-size: cover;
  background-position: 19%;
}

nav {
  background-color: #025f75;
  margin-top: 3px;
}

.nav-link img {
  height: 22px;
}

footer {
  border-radius: 0px 0px 10px 10px;
  background-color: #000000;
}

footer a {
  color:#FFF;
  text-decoration: none;
}

footer a:hover {
  color:#FFF;
  text-decoration: none;
}

.image-hover {
  position: relative;
  overflow: hidden;
}

.image-hover img {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
}

.image-hover:hover img {
  filter: grayscale(0%);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #dedad7;
  color: #000000;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-hover:hover .image-caption {
  opacity: 1;
}

.image-hover img {
  transition: all 0.3s ease;
}
.image-hover:hover img {
  transform: scale(1.05);
}

/* Personnalise la boîte */
.lightbox .lb-image {
  border: 3px solid #FFF;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  border-radius: 3px;
}

/* Personnalise le fond sombre */
#lightboxOverlay {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

/* Légende centrée, police améliorée */
.lightbox .lb-caption {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #444;
  text-align: center;
}

.lb-data .lb-number {
  display: none !important;
}

.lb-dataContainer {
  background-color: #d7d2cf;
  bottom: -23px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 48px;
  z-index: 999999;
  border-left: 3px solid #FFF;
  border-right: 3px solid #FFF;
  border-bottom: 1px solid #FFF;
}

.lb-nav a.lb-next {
  height: calc(100% - 50px);
}
.lb-nav a.lb-prev {
  height: calc(100% - 50px);
}

.lb-data .lb-details {
  line-height: 2.5em;
  width: 97%;
  text-align: center !important;
}

.concept {
  background: url('img/concept1.png');
  background-color: #e7edef;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  display: flex;
  justify-content: end;
  padding-bottom: 35px;
}

.maxw-auto {
  max-width: 90%;
}

.concept .concept-row {
  background-color: #FFF;
  width: 90%;
  margin-top: 200px;
  border-radius: 20px 0px 0px 20px;
  padding: 25px 10px 35px 30px;
  box-shadow: -5px 0px 17px -4px #9b9898;
  margin-right: 0px;
}

.concept h2 {
  color:#14a5c6;
  font-weight: bold;
  font-size: 20pt;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.concept p {
  font-size: 14pt;
  color:#221f20;
}

.px-10 {
  padding-right: 6rem !important;
  padding-left: 6rem !important;
}

.c1 {
  color:#14a5c6;
}

.w-60 {
  width: 60%;
}

.w-40 {
  width: 40%;
}

.rse {
  background: url('img/rse.png');
  background-color: #e7edef;
  background-repeat: no-repeat;
  background-position: right 0px;
  display: flex;
  justify-content: start;
  padding-bottom: 35px;
}

.rse .rse-row {
  background-color: #FFF;
  width: 90%;
  margin-top: 200px;
  border-radius: 0px 20px 20px 0px;
  padding: 25px 10px 35px 30px;
  box-shadow: 5px 0px 17px -4px #9b9898;
  margin-left: 0px;
}


.rse h2 {
  color:#14a5c6;
  font-weight: bold;
  font-size: 20pt;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.rse p {
  font-size: 14pt;
  color:#221f20;
}


.accessoires {
  background: url('img/accessoires.png');
  background-color: #e7edef;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  display: flex;
  justify-content: end;
  padding-bottom: 35px;
}


.accessoires .accessoires-row {
  background-color: #FFF;
  width: 90%;
  margin-top: 200px;
  border-radius: 20px 0px 0px 20px;
  padding: 25px 10px 35px 30px;
  box-shadow: -5px 0px 17px -4px #9b9898;
  margin-right: 0px;
}

.accessoires h2 {
  color:#14a5c6;
  font-weight: bold;
  font-size: 20pt;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.accessoires h3 {
  color:#221f20;
  font-weight: bold;
  font-size: 14pt;
  margin-bottom: 25px;
}

.accessoires p {
  font-size: 14pt;
  color:#221f20;
}

.prime {
  background: url('img/prime.png');
  background-color: #e7edef;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  display: flex;
  justify-content: end;
  padding-bottom: 35px;
}


.prime .prime-row {
  background-color: #FFF;
  width: 90%;
  margin-top: 200px;
  border-radius: 20px 0px 0px 20px;
  padding: 25px 10px 35px 30px;
  box-shadow: -5px 0px 17px -4px #9b9898;
  margin-right: 0px;
}

.prime h2 {
  color:#14a5c6;
  font-weight: bold;
  font-size: 20pt;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.prime h3 {
  color:#221f20;
  font-weight: bold;
  font-size: 14pt;
  margin-bottom: 25px;
}

.prime p {
  font-size: 14pt;
  color:#221f20;
}

.prime img {
  width:fit-content
}

.prime-border {
  border: 2px solid #c4dedb;
  padding: 0px;
  border-radius: 10px;

}

.prime .caption {
  color:#515151;
  font-size: 12pt;
  background-color: #c4dedb;
  width: 100%;
  text-align: center;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0px 0px 10px 10px;
}

.img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1; /* carré, ajuste si besoin */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caption-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  width: 100%;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color:#515151;
  font-size: 12pt;
  background-color: #c4dedb;
  width: 100%;
  text-align: center;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0px 0px 9px 9px;
}

.img-wrapper:hover .caption-overlay {
  opacity: 1;
}

.img-fluid {
  width: fit-content;
}

.contact {
  background-color: #e7edef;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  display: flex;
  justify-content: end;
  padding-bottom: 35px;
}

.contactme {
  background-color: #FFF;
  width: 95%;
  border-radius: 0px 0px 20px 20px;
  padding: 30px;
  box-shadow: -5px 16px 17px -4px #9b9898;
  margin-right: 0px;
  color:#808080;

}

.contactme hr {
 color:#14a5c6;
 width: 80%;
 border-top: 2px solid #14a5c6;
}

.contactme .demande {
  color:#14a5c6;
  text-align: justify;
}

.form {
  background-color: #FFF;
}

.form p {
  color:#808080;
  font-weight: 600;
  font-size: 20pt;
}

.form label {
  color:#808080;
  font-size: 14pt;
  margin-bottom: 5px;
  margin-top: 10px;
}

.form input, .form textarea {
  box-shadow: inset 0px 0px 4px 0px #d4d4d4;
  border-radius: 0px;
}

.form button {
  margin-top: 20px;
  border:0px;
  background-color: transparent;
}

.is-invalid {
  border-color: red;
}

.mentions {
  border: 3px solid #025f75;
  border-radius: 20px;
  height: 400px;
  overflow: scroll;
}

@media (max-width: 767.98px) {
  .maxw-auto {
    max-width: 100%;
  }

  .concept .concept-row {
    width: 100%;
  }

  .px-10 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .w-60 {
    width: 100%;
  }

  .rse .rse-row, .accessoires .accessoires-row,.concept .concept-row, .prime .prime-row {
    width: 100% !important;
    padding:15px !important;
  }

  .accessoires-row .d-flex {
    flex-wrap: wrap;
  }
  .accessoires-row .d-flex img {
    margin-bottom: 25px;
    width: 100%;
  }

  .img-wrapper .caption-overlay {
  opacity: 1;
}

.image-caption {
  opacity: 1 !important;
}

.image-hover img {
  transform: scale(1.05);
}
.image-hover img {
  filter: grayscale(0%);
}

}
