/* -------------------------------- */
/* -----------  FOOTER  ----------- */
/* -------------------------------- */

.footer {
  background-color: var(--color-medium);
  background-image: url('../images/background-footer.svg');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}
.footer-top {
  padding: max(3rem, 7vh) 0 max(4rem, 9vh);
  color: var(--color-white);
}
.footer__logo__link {
  display: block;
  max-width: max-content;
  margin: auto;
}
.footer__logo img {
  margin: 0 auto 2rem;
  transition-duration: .3s;
}
.footer__logo__link:hover img {
  transform: scale(1.1);
}
.footer-top__titre {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.3;
}
.footer-top__soustitre {
  padding-bottom: 2.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 113px 1fr 113px;
  background-color: var(--color-white);
  color: var(--color-dark);
  font-size: .9rem;
}
.footer-bottom::before {
  content: "";
}
.footer-bottom .footer-bottom__legal {
  display: flex;
  justify-content: center;
  column-gap: .5rem;
  padding-top: .75rem;
}
.footer-bottom a {
  text-decoration: none;
}
.footer-bottom a:is(:hover,:active,:focus) {
  text-decoration: underline;
}
.footer-bottom__linkedin-link {
  display: grid;
  place-items: center;
  background-color: var(--color-light);
}
.footer-bottom__linkedin-link img {
  transition-duration: .3s;
}
.footer-bottom__linkedin-link:is(:hover,:active,:focus) img {
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .footer__logo img {
    max-width: 150px;
  }
  .footer-top__titre {
    font-size: 1.5rem;
  }
  .footer-top__soustitre {
    font-size: 1.25rem;
  }
  .footer-top .btn {
    font-size: 1.125rem;
  }
  .footer-bottom {
    grid-template-columns: 1fr 113px;
  }
  .footer-bottom::before {
    display: none;
  }
}
@media (max-width: 700px) {
  .footer-bottom__legal {
    flex-direction: column;
  }
  .footer-bottom__legal p {
    padding-bottom: .25rem;
  }
}
