html, body {
    overflow-x: hidden; /* Évite une scrollbar horizontale si possible */
}

.swiper-container {
    width: 100vw;
    height: calc(100vh - var(--header-height)); /* Hauteur ajustée */
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-container .slider-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2em;
}

.swiper-button-next, .swiper-button-prev {
  background: #fff5;
  color: #000a;
  text-decoration: none;
  border-radius: 50%;
  width: 4em;
  height: 4em;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #e68900;
    background: #ffffff;
}

.swiper-button-disabled {
  background: none;
}

/*
.slider-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.slider-btn:hover {
    background: #e68900;
}*/

.swiper-pagination-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: normal;
  align-content: normal;
}
.swiper-pagination-bullets.swiper-pagination-horizontal {
  left: auto;
  width: auto;
}

.swiper-pagination {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.swiper-pagination-bullet {
  border: solid 1px #fff;
}

.swiper-pagination-bullet-active {
  background-color: #ca8e20;
  border-color: #ca8e20;
}

