.fancybox {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 50rem;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-top: -8rem;
}

.fancybox:after {
  content: '\f04b';
  font-family: 'Font Awesome 6 Pro';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #ffffff;
  background: #5fc1d6;
  width: 5rem;
  height: 5rem;
  margin: auto;
  border-radius: 100%;
  font-size: 2rem;
  pointer-events: none;
  transition: .3s ease background;
}

.fancybox:hover:after {
  background: #FFDE00;
}

#groupe-btn-filtre-galerie {
  margin-top: -8rem;
}

.video .fancybox {
  margin-left: unset;
  margin-right: unset;
  width: unset;
  margin-top: 0;
  max-height: 20rem;
}

.video {
  margin-top: -8rem;
}



.modale-resa-attente {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.5);
  background: white;
  padding: 2rem;
  border-radius: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: .3s ease;
  text-align: center;
  z-index: 1001;
  box-sizing: border-box;
  width: 40rem;
  max-width: 90%;
}
@media screen and (min-width: $w1024) {
  .modale-resa-attente {
    width: initial;
    padding: 5rem;
  }
}
.modale-resa-attente .btn_resa {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.25rem;
  opacity: .5;
  cursor: pointer;
  transition: .3s ease;

}
.modale-resa-attente .btn_resa:hover {
  transform: scale(.75);
}
.modale-resa-attente + .fond {
  display: none;
  z-index: 1000;
  background: rgba(0,0,0,.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.modale-resa-attente p:first-child {
  font-size: 2rem;
  color: #97c026;
}
.modale-resa-attente.show {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.modale-resa-attente.show + .fond {
  display: block;
}