/* ==========================
   VIDEO
   ========================== */

#slideshow-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#slideshow-container .video-container2 {
  position: relative;
  height: 850px; /* desktop */
  overflow: hidden;
}

#slideshow-container .video-container2 video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991px) {
  #slideshow-container .video-container2 {
    height: 520px; /* mobile */
  }
}

/* ==========================
   LOGOS
   ========================== */

/* Logo DANS la vidéo (desktop) */
.video-hero__logo {
  margin-top: 18px;
  max-height: 70px;
  width: auto;
}

/* Logo SOUS la vidéo (mobile uniquement) */
.hero-logo-below {
  display: none;
  padding: 14px 0 10px;
  text-align: center;
  background: #fff;
}

.hero-logo-below img {
  max-height: 56px;
  width: auto;
}

@media (max-width: 991.98px) {
  .rs-header .mobile-menu {
    display: block !important;
    z-index: 9999 !important;
  }
}
/*----------------------------------------------------------------------------------------------------------*/
.rs-footer .footer-top {
  padding: 35px 0 25px !important;
}
.rs-footer.home9-style .footer-top .widget-title {
  color: #ffffff;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  text-transform: none !important;
  margin-bottom: 35px;
  position: relative;
}
/*----------------------------------------------------------------------------------------------------------*/
/* ===============================
   FOOTER VIDEO BACKGROUND
================================ */

#rs-footer {
  position: relative;
  overflow: hidden;
}

/* Vidéo plein fond */
#rs-footer .footer-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

#rs-footer .footer-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Overlay pour gérer l’opacité */
#rs-footer .footer-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 97, 97, 0.9);
}

/* Contenu au-dessus de la vidéo */
#rs-footer .footer-top,
#rs-footer .footer-bottom {
  position: relative;
  z-index: 2;
}

/*------------------------------------logos dans site---------------------------------------------------------------------*/
.logos {
  text-align: center;
  width: 300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------generic--------------------------------------------------------------*/
p {
  text-align: justify;
  font-size: 16px !important;
}
.bo1 {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
  border-radius: 15px;
}
/*------------------------------------------------------bouton----------------------------------------------------*/
/* ============================
   BOUTON PRINCIPAL - SITE
============================ */

.btn-main {
  display: inline-block;
  padding: 14px 34px;
  background-color: #b6e8e7;
  color: #1d6161;
  border: 2px solid #1d6161;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.btn-main:hover {
  background-color: #64b4a0;
  color: #1d6161;
  transform: translateY(-2px);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 8px 18px;
}

/*----------------------------------------------------------------------------------------------------------*/
/* ===============================
   LOGOS PARTENAIRES
================================ */

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.partners-logos img {
  max-height: 55px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.partners-logos img:hover {
  filter: none;
  opacity: 1;
}

/*----------------------------------------------------------------------------------------------------------*/
/* ===============================
   QUALIOPI AVANT FOOTER
================================ */

.footer-qualiopi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 38px; /* espace exact avant le footer */
  padding: 0 15px; /* confort mobile */
}

.footer-qualiopi img {
  width: 100%;
  max-width: 936px; /* taille native */
  height: auto;
  display: block;
}

/*----------------------------------------------------cta------------------------------------------------------*/
/* CTA : image recadrée (centrée) au lieu d'être "resserrée" */
.rs-cta .cta-img {
  height: 600px; /* hauteur de référence (ajuste si besoin) */
  overflow: hidden; /* coupe ce qui dépasse */
}

.rs-cta .cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* garde proportions + crop */
  object-position: center; /* centre le cadrage */
  display: block;
}
.p1 {
  font-size: 36px !important;
  color: #fff !important;
  text-shadow: 1px 1px 0 #000 !important;
}
.p2 {
  font-size: 24px !important;
  line-height: 32px !important;
  color: #fff;
  font-weight: 400 !important;
  text-shadow: 1px 1px 0 #000 !important;
}
.rs-cta .cta-content {
  max-width: 800px !important;
}

@media (max-width: 991px) {
  .dn {
    display: none !important;
  }
  .ce {
    text-align: center;
  }
  .p1 {
    font-size: 24px !important;
    color: #fff !important;
    text-shadow: 1px 1px 0 #000 !important;
  }
  .p2 {
    font-size: 16px !important;
    line-height: 20px !important;
    color: #b6e8e7;
    font-weight: 400 !important;
  }
}

/*----------------------------------------------------------------------------------------------------------*/
.link-disabled {
  pointer-events: none;
  cursor: default;
}
/*----------------------------------reglage menu------------------------------------------------------------------------*/
.full-width-header.home8-style4.main-home .menu-area {
  background-color: rgba(0, 0, 0, 0.45) !important;
  color: #fff !important;
}

.full-width-header.home8-style4.main-home
  .menu-area.menu-sticky.sticky
  .rs-menu-area
  .main-menu
  .rs-menu
  ul.nav-menu
  li
  a {
  color: #111111 !important;
  padding-right: 0px !important;
  text-transform: none !important;
  font-size: 18px !important;
}
.full-width-header.home8-style4.main-home .menu-area .rs-menu-area .main-menu .rs-menu ul.nav-menu li {
  margin-right: 30px !important;
}
/*----------------------------------------------------------------------------------------------------------*/
/* MOBILE */
@media (max-width: 991px) {
  .breadcrumbs-img {
    height: 280px;
    overflow: hidden;
  }

  .breadcrumbs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/* DESKTOP */
@media (min-width: 992px) {
  .breadcrumbs-img {
    height: 400px;
    overflow: hidden;
  }

  .breadcrumbs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/*----------------------------------------------------------------------------------------------------------*/
h2 {
  color: #1d6161 !important;
}
/*----------------------------------------------------------------------------------------------------------*/
.rs-partners .bo1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-partners .bo1 img {
  max-width: 50%;
  height: auto;
}

/*----------------------------------------------------------------------------------------------------------*/
/* ===== Section Valeurs avec image + voile blanc ===== */
.rs-values {
  position: relative;
  background: url("assets/back.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* Voile blanc réglable */
.rs-values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82); /* ← règle l’opacité ici */
  z-index: 0;
}

/* Remet le contenu au-dessus du voile */
.rs-values .container {
  position: relative;
  z-index: 1;
}

/* Bandeau titre */
.rs-values-head-bar {
  background: rgba(29, 97, 97, 0.9);
  color: #fff !important;
  border-radius: 999px;
  padding: 14px 22px;
  display: inline-block;
}

.rs-values-title {
  margin: 0;
  color: #fff !important;
  text-transform: none;
  letter-spacing: 1px;
  font-weight: 400; /* pas gras */
}

/* Intro */
.rs-values-sub {
  margin: 14px 0 0;
  color: #2f2f2f;
  max-width: 900px;
}

/* Items */
.rs-value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.rs-check {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: rgba(29, 97, 97, 0.22);
  position: relative;
  margin-top: 3px;
}

.rs-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: rgba(29, 97, 97, 0.95);
}

/* Titres grands, non gras */
.rs-value-h {
  margin: 0 0 8px;
  color: rgba(29, 97, 97, 0.95);
  font-size: 36px;
  line-height: 1.05;
  font-weight: 300; /* ← effet “grand sans gras” */
}

.rs-value-p {
  margin: 0;
  color: #2f2f2f;
  line-height: 1.65;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 991px) {
  .rs-value-h {
    font-size: 30px;
  }
  .rs-value-p {
    font-size: 16px;
  }
}

/*----------------------------------------------------------------------------------------------------------*/
/* Réduction globale cadre + photo */

/*----------------------------------------------------------------------------------------------------------*/
.intro-nexus strong {
  display: block;
  text-align: left;
  font-size: 1.6rem;
  color: #1d6161; /* vert */
  margin-bottom: 0px;
  margin: 0 !important;
}
/*----------------------------------------------------------------------------------------------------------*/
#rs-footer .footer_social li a span i {
  font-size: 22px; /* taille des icônes */
}

#rs-footer .footer_social li a {
  width: 44px; /* zone cliquable plus grande */
  height: 44px;
  line-height: 44px;
}

/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
