/* === BASE === */
body {
  background-color: black;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

html, body {
    overflow-x: hidden;
    touch-action: pan-y;
}

.btn-primary
{

   background: linear-gradient(90deg, 
    rgba(0, 0, 0, 1) 0%, 
     #0081b1 25%, 
    #0081b1 75%, 
    rgba(0, 0, 0, 1) 100%) !important;
  border: none;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}


a
{
  color: inherit;
  text-decoration: none;

}
h1 {
  color: white;
  text-align: center;
  margin-top: 1em;
}
/* 
h2 {
  padding: 1em;
  margin-top: 1em;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  color: white;
  border-radius: 0.2em;
  display: inline-block;
  transform: translateX(calc((100vw - 100%) / 2));
}

h2 a {
  color: #f5b916;
} */

.visuallyhidden {
  position: absolute;
  z-index: -1;
  right: 0;
  opacity: 0;
}

/* === LOGO === */
.logo {
  position: relative;
  top: 25px;
  z-index: 99;
}

/* === HR animé === */
.lcoprod-hr {
  height: 6px;
  border: none;
  opacity: 1;
  margin: 0;
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 133, 182, 1) 50%, 
    rgba(0, 0, 0, 1) 100%);
  background-size: 200% 100%;
  animation: waveGradient 6s ease-in-out infinite;
}

@keyframes waveGradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* === NAVBAR === */
.navbar-brand img {
  width: 80px;
}

.navbar-nav {
  align-items: center;
}

.navbar .navbar-nav .nav-link {
  color: #fff;
  font-size: 1.1em;
  padding: 0.5em 1em;
}

.navbar .navbar-nav .nav-link:hover {
  background: linear-gradient(90deg, #000000, #0085b6, #0085b6, #000000);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: waveGradient 6s ease-in-out infinite;
}

/* === SLIDER === */
.slider {
  height: 300px;
  background-size: cover;
  position: relative;
  top: 0;
  transition: opacity 1s ease-in-out;

}
  .card-controller button {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    line-height: 1;
    top: 50%;
    margin: 15px;
}
/* === CONTAINER === */
.container-slider {
  overflow: hidden;
  padding: 20px;
  margin-top: 2em;
  background: rgba(0, 0, 0, 0.1);
}

/* === CARD CAROUSEL === */
.card-carousel {
  --card-width: 80%;
  --card-max-width: 280px;
  --card-height: 500px;
  --carousel-min-width: 600px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: var(--card-height);
  min-width: var(--carousel-min-width);
  transition: filter 0.3s ease;
}

.card-carousel.smooth-return {
  transition: all 0.2s ease;
}

.card-carousel .card {
  background: rgba(255, 255, 255, 0);
  width: var(--card-width);
  max-width: var(--card-max-width);
  text-align: center;
  min-width: 250px;
  height: var(--card-height);
  position: absolute;
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.5);
  transition: inherit;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
  filter: brightness(0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

.card.highlight {
  filter: brightness(1);
}


.image-container {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}


footer { 
  background: linear-gradient(90deg, #000000, #0085b6, #000000);
  box-shadow: 5px 5px 5px 0px #000000, inset 4px 4px 15px 0px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  padding: 30px 0;
  width: 100%;
  position: relative;
  z-index: 10;
}
.border-footer
{
  border-right: 2px solid white;
  border-left: 2px solid white;

}


.background-video {
  
    object-position: center center;
    width: 100%;
    position: relative;
    height: 400px;
    object-fit: cover;
    display: block;

}


.contact input, .contact textarea, .contact select
{
  background-color: #0086b66b;
  border: 2px solid #0085b6;
  color: #0085b6;
}


.contact input:hover
{
  border: 2px solid #0085b6;
   color: #0085b6;
}

  .gallery-img {
  aspect-ratio: 4 / 3; /* ou 1 / 1 pour carré */
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* === RESPONSIVE MOBILE FIRST === */

/* Pour petits écrans */
@media screen and (max-width: 640px) {
  .card-carousel {
    margin-left: calc((100vw - var(--carousel-min-width) - 40px) / 2);
  }
}

/* Pour tablettes / desktops */
@media screen and (min-width: 768px) {



.container-slider {
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    position: relative;
    top: -200px;
  }

  .card-carousel {
    --card-width: 80%;
    --card-max-width: 500px;
    --card-height: 800px;
    --carousel-min-width: 600px;
  }

  .slider {
    height: 700px;
    background-position: center;
    top: -35px;
  }

  .lcoprod-hr {
    top: -35px;
    position: relative;
  }

  .navbar-brand img {
    width: 100px;
  }

  .navbar-brand {
    margin-right: 0;
    padding: 0 1em;
  }

  .background-video{

  
    object-position: center center;
    width: 100%;
    position: relative;
    top: -35px;
    height: 800px;
    object-fit: cover;
    display: block;

  }

}



