@charset "UTF-8";

:root {
  --bs-primary: #bdbfff !important;
  /* Your new primary color (e.g., red) */
  --bs-primary-rgb: 189, 191, 255 !important;
  /* Corresponding RGB values for compatibility */
  --bs-primary-hover: #fadfad !important;
  --bs-primary-hover-rgb: 250, 223, 170 !important;
}

* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400 !important;
  font-style: normal;
  color: #5d5471;
  /*overflow-x: hidden;*/
  box-sizing: border-box;
  line-height: 1.6em;
}

.overflow {
  overflow: hidden !important;
}

.overflow-x * {
  overflow-x: hidden !important;
}

.bg-def-gradient {
  background: linear-gradient(90deg,
      rgba(253, 241, 220, 1) 0%,
      rgba(236, 237, 255, 1) 100%);
}

.logo {
  max-width: 200px;
}

.content {
  margin-top: 75px;
  background-color: #fffdf9;
}

section {
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 70px;
  padding-bottom: 70px;
}

p {
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none;
}

nav.navbar-scroll {
  transition: background-color 0.2s ease-in-out;
}

nav li>a {
  font-weight: 500 !important;
  color: #5d5471 !important;
}

.fs-p22 {
  font-size: 22px;
}

.title {
  font-family: "Playfair Display", serif;
  color: #170c36;
  font-size: 55px;
  overflow-y: hidden;
  word-wrap: break-word;
}

.text-def-color {
  color: #5d5471;
}

.text-bleu {
  color: #170c36 !important;
}

.text-doux {
  color: #fffdf9 !important;
}

.text-shadow {
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

.bg-bleu {
  background-color: #170c36 !important;
}

.bg-doux {
  background-color: #fffdf9 !important;
}

.bg-dropdown {
  background-color: #f5f5ff !important;
}

.italic {
  font-style: italic !important;
}

@media (max-width: 1024px) {
  .title {
    font-size: 45px;
  }
}

@media (max-width: 800px) {
  .title {
    font-size: 40px;
  }
}

.ff-playD {
  font-family: "Playfair Display", serif;
  overflow-y: hidden;
}

.h550 {
  height: 550px;
}

.element {
  height: 368px;
}

.zoom-out {
  transition: transform 1.5s;
}

.zoom-out:hover {
  -ms-transform: scale(1.5);
  /* IE 9 */
  -webkit-transform: scale(1.5);
  /* Safari 3-8 */
  transform: scale(1.5);
}

@media screen and (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* Fixes a potential 1px jump */
  }
}

.bx-wrapper {
  margin-bottom: 0 !important;
  background-color: transparent !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none !important;
}

/*** Video youtube **/

.video-container {
  position: relative;
  width: 100%;
  height: 100%; /* ou hauteur personnalisée */
  overflow: hidden;
  /*background: #000;*/
}

/* Vidéo en arrière-plan */
.bg-video1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* CLÉ pour couvrir toute la div */
  z-index: 1;
}

/* Image de chargement */
.video-poster1 {
  position: absolute;
  inset: 0;
  /*width: 100%;
  height: 100%;*/
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.5s ease;
}

/*** second youtube video ****/

.video-bg {
  position: relative;
  width: 100%;
  height: 100%; /* ou une hauteur fixe */
  overflow: hidden;
  /*background: #000;*/
}

/* Vidéo en arrière-plan */
.video-bg__media {
  position: absolute;
  inset: 0;
  width: 100%;
  /*height: 100%;*/
  object-fit: cover; /* couvre toute la div */
  z-index: 1;
}

/* Contenu au-dessus */
.video-bg__content {
  position: relative;
  z-index: 2;
  /*color: #fff;*/
  /*text-align: center;*/
  /*padding: 2rem;*/
}

/** désactiver la vidéo sur mobile */
@media (max-width: 768px) {
  .video-bg__media {
    display: none;
  }

  .video-bg {
    background: url("/assets/images/sommet.jpg") center / cover no-repeat;
  }
}