/* Reset de base */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: Arial, sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Conteneur principal */
#bloc_page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
}

/* Logo et textes */
#logo {
  max-width: 90%;
  text-align: center;
}

#logo img {
  max-width: 100%;
  height: auto;
}

/* Typographies */
.slogan {
  color: white;
  opacity: 0.8;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.sloganpetit {
  color: white;
  opacity: 0.5;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.entrer {
  color: white;
  opacity: 0.8;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* Slideshow de fond */
.cbp-bislideshow {
  list-style: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  padding: 0;
  margin: 0;
}

.cbp-bislideshow li {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Affichage par défaut : desktop */
.backgroundsize .cbp-bislideshow li {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Fallback si JS désactivé */
.backgroundsize .cbp-bislideshow li img {
  display: none;
}

/* Contrôles (optionnels) */
.cbp-bicontrols {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 100px;
  margin: -50px 0 0 -150px;
}

.cbp-bicontrols span {
  width: 100px;
  height: 100px;
  float: left;
  position: relative;
  cursor: pointer;
}

.cbp-bicontrols span:before {
  font-family: 'entypo';
  font-size: 80px;
  line-height: 100px;
  color: white;
  opacity: 0.7;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
}

.cbp-bicontrols span:hover:before {
  opacity: 1;
}

.cbp-bicontrols span:active:before {
  top: 2px;
}

span.cbp-biplay:before { content: "\e002"; }
span.cbp-bipause:before { content: "\e003"; }
span.cbp-binext:before { content: "\e000"; }
span.cbp-biprev:before { content: "\e001"; }

.cbp-bicontrols span.cbp-binext {
  float: right;
}

/* Fallbacks */
.no-js.no-backgroundsize .cbp-bislideshow li:first-child {
  opacity: 1;
}

.no-js.backgroundsize .cbp-bislideshow li:first-child img {
  display: block;
}