/* footer */

.site-footer {
  padding: 0px 20px 60px;
  overflow: hidden;
}

.footer-disclaimer {
  text-align: center;
  margin: 0 auto 70px;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 400;
  color: #999999;
}

.footer-divider {
  height: 3px;
  background: #242424;
  margin-bottom: 85px;
  opacity: 0.23;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 90px;
}

.footer-logo {
  font-size: 25px;
  margin-bottom: 16px;
}

.footer-logo-img {
  display: block;
  height: 31px;
  width: auto;
  margin-bottom: 30px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 45px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  color: #0e0b0b;
}

.footer-col h4 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 30px;
}

.footer-brand ul,
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 0;
  margin: 0;
}

.footer-brand ul a,
.footer-col ul a {
  font-weight: 400;
  color: #000000;
}

.footer-brand ul a:hover,
.footer-col ul a:hover {
  text-decoration: underline;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  border-radius: 9px;
  padding: 34px 20px;
  background-color: #fff;
  border: 1px solid #fff;
  gap: 16px;
  position: relative;
}

.footer-newsletter-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  color: #a0a0a0;
  background: transparent;
  padding: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  outline: none;
}

.footer-newsletter-form input:focus {
  background: transparent;
  outline: none;
}

.footer-newsletter-form.error {
  border-color: red;
}

.footer-newsletter-form .msg-form {
  font-size: 12px;
  line-height: 13px;
  position: absolute;
  bottom: -20px;
  color: red;
}

.footer-newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.footer-newsletter-form button svg {
  width: 100%;
  height: 100%;
  transition: transform 0.2s ease;
}

.footer-newsletter-form button:hover svg {
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #726d6a;
  gap: 24px;
}

.footer-bottom .lang-switch-toggle {
  font-weight: 400;
  font-weight: 18px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-left .footer-copyright {
  color: #000;
  font-weight: 400;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #696969;
}

.footer-legal a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .site-footer {
    padding-bottom: 60px;
  }

  .footer-disclaimer {
    text-align: left;
    font-size: 10px;
    line-height: 13px;
    margin-bottom: 40px;
  }

  .footer-divider {
    height: 1px;
    opacity: 0.3;
    margin-bottom: 77px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 60px 20px;
    padding-bottom: 75px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-newsletter {
    margin-top: 15px;
  }

  .footer-logo-img {
    height: 30px;
    margin-bottom: 30px;
  }

  .footer-col h4 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .footer-brand ul,
  .footer-col ul {
    gap: 18px;
  }

  .footer-newsletter-form {
    padding: 17px 20px 17px 10px;
    border-radius: 4px;
  }

  .footer-newsletter-form input {
    font-size: 14px;
  }

  /* Glyphes : f haut de 30px, in haut de 27px, alignés en bas (les viewBox ont des marges différentes). */
  .footer-social {
    align-items: flex-end;
    gap: 22px;
    margin-top: 35px;
  }

  .footer-social a {
    width: auto;
    height: auto;
  }

  .footer-social svg {
    display: block;
    height: 37px;
    width: auto;
  }

  .footer-social a + a svg {
    height: 31px;
    margin-bottom: -3px;
  }

  .footer-bottom,
  .footer-bottom-left,
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-bottom .lang-switch-toggle {
    padding: 0;
  }
}

.footer-newsletter .msg-form {
  display: block;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #1a7f37;
}
.footer-newsletter .msg-form:empty {
  display: none;
}
.footer-newsletter .msg-form.is-error {
  color: #c62828;
}
.footer-newsletter .msg-form strong,
.footer-newsletter .msg-form span {
  display: block;
}
.footer-newsletter .msg-form strong {
  margin-bottom: 4px;
}
.footer-newsletter .msg-form span {
  font-size: 13px;
  opacity: 0.85;
}
