/**======= Animation des Boutons =========**/
/* Désactive le déplacement du texte */
.anim-button span,
.anim-button:hover span {
  top: 0 !important;
  position: relative !important;
}

/* Masque Font Awesome */
.btn.anim-button .fa-long-arrow-right {
  display: none;
}

/* Base bouton */
.btn.anim-button.fl-l {
  position: relative;
  display: inline-block;
  font-weight: bold;
  border: 1px solid #000;
  background-color: transparent;
  color: #000;
  padding: 12px 25px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  text-align: center;
  /* min-width: 240px; */
}

/* Fond noir par opacité  */
.btn.anim-button.fl-l::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* Flèche à gauche */
.btn.anim-button.fl-l::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  width: 20px;
  height: 15px;
  background-image: url('https://sedri.akdigital.fr/wp-content/uploads/2025/04/immo-pro_theop_btn-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: left 0.3s ease;
  z-index: 2;
}

/* Texte */
.btn.anim-button.fl-l * {
  position: relative;
  z-index: 2;
  color: #000;
  transition: color 0.3s ease;
}

/* Hover : padding + opacité du fond + flèche + texte blanc */
.btn.anim-button.fl-l:hover {
  padding-left: 55px;
  color: #fff;
}

.btn.anim-button.fl-l:hover::before {
  opacity: 1;
}

.btn.anim-button.fl-l:hover::after {
  left: 20px;
}

.btn.anim-button.fl-l:hover * {
  color: #fff !important;
  fill: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* //================= */
.btn.anim-button.flat-btn.transition.fl-l {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.btn .no-rep {
  white-space: nowrap;
  width: auto;
}

.btn .fa-eye {
  width: auto;
}
