/*********************** FOOTER ***********************/

/* Footer forme */

.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 50%;
  height: 40px;
  background-color: var(--jaune-principal);
  border-top-left-radius: 50px;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 1;
}

.footer > * {
  position: relative;
  z-index: 2;
}

.footer .brxe-social-icons li.has-link {
  padding: 0 0 0 clamp(15px, 2vw, 30px);
}

.footer .brxe-social-icons li.has-link:first-child {
  padding: 0 0 0 0;
}

/* Apparition trait blanc */

.trait-blanc-hover {
  display: inline-block;
  cursor: default;
}

.trait-blanc-hover .fondation {
  position: relative;
  display: inline-block;
}

.trait-blanc-hover .fondation::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  bottom: -8px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.trait-blanc-hover:hover .fondation::after {
  opacity: 1;
  transform: translateY(0);
  bottom: -5px;
}

/*********************** RESPONSIVE DESIGN ***********************/

@media (max-width: 1300px) {

  /* Footer */

  .footer {
    padding: 35px;
  }

  .footer-bas {
    padding: 0px 35px;
  }

  .footer .footer-txt-jaune {
    font-size: clamp(16px, 1.85vw, 30px) !important;
  }
}

@media (max-width: 1140px) {

  /* Footer */

  .footer .footer-txt-blanc {
    font-size: clamp(12px, 1.25vw, 20px) !important;
  }
}

@media (max-width: 1024px) {

  /* Footer */

  .footer::before {
    width: 40vw;
  }

  .footer .footer-txt-jaune {
    font-size: clamp(16px, 1.85vw, 30px) !important;
    text-align: center;
  }
}

@media (max-width: 900px) {

  /* Footer */

  .footer .brxe-social-icons li.has-link {
    padding: 0 0 0 8px;
  }
}

@media (max-width: 767px) {

  /* Footer */

  .footer {
    padding: 40px 15px;
  }

  .footer-bas {
    padding: 15px;
  }

  .footer .footer-txt-jaune {
    font-size: 20px !important;
  }

  .footer .txt-special {
    position: absolute;
    transform: translateY(-20px);
  }

  .footer .brxe-social-icons li.has-link {
    padding: 0 0 0 25px;
  }
}