/**
 * Bandeau « bottom-wrap » (2 colonnes) — adapté de themes/somef/custom.css.
 * Ciblage : body page index + #wrapper + .page-home (contenu accueil somefchild).
 */
.bottom-wrap {
  position: relative;
}

.bottom-wrap::before {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 60%;
  height: 1000px;
  background: #f3f4f7;
}

#index #wrapper .page-home .bloc-bottom.row {
  position: relative;
  margin: 0;
}

.bloc-bottom.row .col-lg-8.col-md-12,
.bloc-bottom.row .col-lg-4.col-md-12 {
  padding: 0;
}

#index #wrapper .page-home .bloc-b {
  position: relative;
  margin: auto;
  display: table;
}

#index #wrapper .page-home .bloc-b a {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
}

#index #wrapper .page-home .bloc-b h2 {
  position: absolute;
  top: 153px;
  left: 90px;
  padding: 10px 0 0 43px;
  font-size: 40px;
  z-index: 2;
  text-transform: uppercase;
  transition: 0.3s all;
}

#index #wrapper .page-home .bloc-b.b1::before {
  position: absolute;
  content: "";
  background: #000;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  transition: 0.3s all;
}

#index #wrapper .page-home .bloc-b.b1:hover::before {
  opacity: 0.5;
}

#index #wrapper .page-home .bloc-b.b1 h2 {
  left: 158px;
}

#index #wrapper .page-home .bloc-b.b1:hover h2 {
  color: #fff;
  letter-spacing: 0.5px;
}

#index #wrapper .page-home .bloc-b.b2 h2 {
  left: 80px;
  color: #fff;
}

#index #wrapper .page-home .bloc-b.b2:hover h2 {
  color: #252122;
  letter-spacing: 0.5px;
}

#index #wrapper .page-home .bloc-b.b2 img {
  border-top-right-radius: 130px;
}

#index #wrapper .page-home .bloc-b.b2::after {
  position: absolute;
  content: "";
  border-top-right-radius: 130px;
  background: rgb(12 14 18 / 0.7);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.5s all;
}

#index #wrapper .page-home .bloc-b.b2:hover::after {
  background: rgb(12 14 18 / 0.2);
}

/* Évite le chevauchement avec le pied de page PrestaShop */
.bottom-wrap {
  margin-bottom: var(--spacing-xl, 32px);
  z-index: 0;
  overflow: hidden;
}

.bottom-wrap::before {
  z-index: -1;
}

@media screen and (max-width: 991px) {
  #index #wrapper .page-home .bloc-b h2 {
    font-size: 25px;
    top: 58px;
    left: 40px;
  }

  #index #wrapper .page-home .bloc-b.b1 h2 {
    left: 40px;
  }

  #index #wrapper .page-home .bloc-b.b2 h2 {
    left: 30px;
  }
}

@media screen and (max-width: 575px) {
  #index #wrapper .page-home .bloc-b h2 {
    font-size: 19px;
    top: 26px;
    left: 9px;
  }
}
