/* =========================================================
   ACM FOOTER
   Version autonome pour Yii2
   Ne dépend pas de Bootstrap / Drupal
   ========================================================= */

/* =========================================================
   FOOTER GLOBAL
   ========================================================= */

#d_footer {
  margin: 0;
  padding: 0;

  font-family: "SchibstedGrotesk", Arial, sans-serif;

  color: #333333;
  background: #ffffff;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

#d_footer .acm-footer__newsletter {
  width: 100%;

  padding: 18px 20px;

  background: var(--acm-primary);
}

#d_footer .acm-footer__newsletter-inner {
  width: 100%;
  max-width: 1320px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

#d_footer .acm-footer__newsletter-text {
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 30px;

  color: #ffffff;

  font-size: 16px;
  line-height: 1.3;
}

/* =========================================================
   BOUTON NEWSLETTER
   ========================================================= */

#d_footer .acm-footer__button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;

  padding: 8px 20px;

  color: #ffffff;

  border: 1px solid #ffffff;

  background: transparent;

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;

  line-height: 1;

  text-decoration: none;

  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

#d_footer .acm-footer__button:hover {
  color: var(--acm-primary);

  background: #ffffff;

  text-decoration: none;
}

/* =========================================================
   RESEAUX SOCIAUX
   ========================================================= */

#d_footer .acm-footer__social {
  width: 100%;

  padding: 25px 20px;
}

#d_footer .acm-footer__social-list {
  margin: 0 auto;
  padding: 0;

  list-style: none;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 25px;
}

#d_footer .acm-footer__social-item {
  margin: 0;
  padding: 0;
}

#d_footer .acm-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  text-decoration: none;
}

#d_footer .acm-footer__social-icon {
  display: block;

  width: 28px;
  height: 28px;

  background-color: #333333;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  transition: background-color 0.15s ease;
}

#d_footer .acm-footer__social-link:hover .acm-footer__social-icon {
  background-color: var(--acm-primary-pale);
}

#d_footer .acm-footer__social-icon--instagram {
  -webkit-mask-image: url("/catalogue/images/svg/logo_instagram.svg");
  mask-image: url("/catalogue/images/svg/logo_instagram.svg");
}

#d_footer .acm-footer__social-icon--linkedin {
  -webkit-mask-image: url("/catalogue/images/svg/logo_linkedin.svg");
  mask-image: url("/catalogue/images/svg/logo_linkedin.svg");
}

#d_footer .acm-footer__social-icon--facebook {
  -webkit-mask-image: url("/catalogue/images/svg/logo_facebook.svg");
  mask-image: url("/catalogue/images/svg/logo_facebook.svg");
}

#d_footer .acm-footer__social-icon--youtube {
  -webkit-mask-image: url("/catalogue/images/svg/logo_youtube.svg");
  mask-image: url("/catalogue/images/svg/logo_youtube.svg");
}

/* =========================================================
   CONTENU
   ========================================================= */

#d_footer .acm-footer__content {
  width: 100%;
  max-width: 1320px;

  margin: 0 auto;

  padding: 50px 20px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 40px;
}

/* =========================================================
   MENU
   ========================================================= */

#d_footer .acm-footer__menu {
  flex: 1;
}

#d_footer .acm-footer__menu h2 {
  margin: 0 0 20px;

  font-family: inherit;
  font-size: 18px;
  font-weight: 700;

  line-height: 1.3;
}

#d_footer .acm-footer__menu-list {
  margin: 0;
  padding: 0;

  list-style: none;

  display: flex;
  flex-direction: column;

  gap: 8px;
}

#d_footer .acm-footer__menu-item {
  margin: 0;
  padding: 0;
}

#d_footer .acm-footer__menu-item a {
  color: #333333;

  font-family: inherit;
  font-size: 15px;
  font-weight: 400;

  line-height: 1.4;

  text-decoration: none;

  transition: color 0.15s ease;
}

#d_footer .acm-footer__menu-item a:hover {
  color: var(--acm-primary-pale);

  text-decoration: none;
}

/* =========================================================
   CNC
   ========================================================= */

#d_footer .acm-footer__credits {
  flex-shrink: 0;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

#d_footer .acm-footer__cnc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 5px;
}

#d_footer .acm-footer__cnc-text {
  font-size: 14px;
  line-height: 1.3;
}

#d_footer .acm-footer__cnc img {
  display: block;

  width: auto;
  height: 28px;

  max-width: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
  #d_footer .acm-footer__newsletter {
    padding: 20px 15px;
  }

  #d_footer .acm-footer__newsletter-text {
    flex-direction: column;

    gap: 15px;

    text-align: center;
  }

  #d_footer .acm-footer__social {
    padding: 20px 15px;
  }

  #d_footer .acm-footer__content {
    padding: 40px 20px;

    flex-direction: column;

    align-items: flex-start;

    gap: 40px;
  }

  #d_footer .acm-footer__credits {
    width: 100%;

    justify-content: flex-start;
  }
}
