/*
 * Sandrine Gluck
 * Footer
 */


/* =========================================================
   FOOTER
   ========================================================= */

.sg-footer {
  width: 100%;
  padding: 82px 0 34px;

  background: #000;
  color: #fff;

  font-family: "Raleway", sans-serif;
}


.sg-footer__inner {
  width: calc(100% - 48px) !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* =========================================================
   PARTIE HAUTE
   ========================================================= */

.sg-footer__top {
  display: grid;

  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(180px, .7fr)
    auto;

  gap: 64px;

  align-items: start;

  padding-bottom: 58px;
}


/* =========================================================
   MARQUE
   ========================================================= */

.sg-footer__name {
  margin: 0 0 16px;

  font-family: "Raleway", sans-serif;
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;

  color: #fff;
}


.sg-footer__description {
  margin: 0;

  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;

  color: rgba(255, 255, 255, .68);
}


/* =========================================================
   LOCALISATION
   ========================================================= */

.sg-footer__location-label {
  margin: 4px 0 12px;

  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;

  text-transform: uppercase;

  color: #b3a18a;
}


.sg-footer__location-text {
  margin: 0;

  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;

  color: rgba(255, 255, 255, .78);
}


/* =========================================================
   RÉSEAUX SOCIAUX
   ========================================================= */

.sg-footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 12px;

  padding-top: 3px;
}


.sg-footer__social a {
  position: relative;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;

  color: #fff;

  text-decoration: none;
}


.sg-footer__social a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0;
  height: 1px;

  background: #b3a18a;

  transition: width .25s ease;
}


.sg-footer__social a:hover::after,
.sg-footer__social a:focus-visible::after {
  width: 100%;
}


/* =========================================================
   NAVIGATION PRINCIPALE
   ========================================================= */

.sg-footer__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px 32px;

  padding: 28px 0;

  border-top: 1px solid rgba(255, 255, 255, .17);
  border-bottom: 1px solid rgba(255, 255, 255, .17);
}


.sg-footer__nav a {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;

  color: rgba(255, 255, 255, .88);

  text-decoration: none;

  transition: color .2s ease;
}


.sg-footer__nav a:hover,
.sg-footer__nav a:focus-visible {
  color: #b3a18a;
}


/* =========================================================
   PARTIE BASSE
   ========================================================= */

.sg-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 48px;

  padding-top: 30px;
}


/* =========================================================
   LIENS LÉGAUX
   ========================================================= */

.sg-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px 24px;
}


.sg-footer__legal a {
  margin: 0;
  padding: 0;

  border: 0;

  background: transparent;

  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;

  color: rgba(255, 255, 255, .55);

  text-decoration: none;

  cursor: pointer;

  transition: color .2s ease;
}


.sg-footer__legal a:hover,
.sg-footer__legal a:focus-visible {
  color: #fff;
}


/* =========================================================
   CRÉDITS
   ========================================================= */

.sg-footer__credits {
  flex-shrink: 0;

  text-align: right;
}


.sg-footer__credits p {
  margin: 0;

  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;

  color: rgba(255, 255, 255, .55);
}


.sg-footer__credits p + p {
  margin-top: 3px;
}


.sg-footer__credits a {
  color: #b3a18a;

  font-weight: 400;

  text-decoration: none;

  transition: color .2s ease;
}


.sg-footer__credits a:hover,
.sg-footer__credits a:focus-visible {
  color: #fff;
}


/* =========================================================
   ACCESSIBILITÉ FOCUS
   ========================================================= */

.sg-footer a:focus-visible,
.sg-footer button:focus-visible {
  outline: 1px solid #b3a18a;
  outline-offset: 5px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

  .sg-footer {
    padding-top: 68px;
  }


  .sg-footer__top {
    grid-template-columns: 1fr 1fr;

    gap: 48px 56px;

    padding-bottom: 48px;
  }


  .sg-footer__brand {
    grid-column: 1 / -1;
  }


  .sg-footer__bottom {
    align-items: flex-start;

    flex-direction: column;

    gap: 24px;
  }


  .sg-footer__credits {
    text-align: left;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .sg-footer {
    padding: 58px 0 28px;
  }


  .sg-footer__inner {
    padding-left: 20px;
    padding-right: 20px;

    box-sizing: border-box;
  }


  .sg-footer__top {
    grid-template-columns: 1fr;

    gap: 34px;

    padding-bottom: 42px;
  }


  .sg-footer__brand {
    grid-column: auto;
  }


  .sg-footer__name {
    font-size: 40px;
  }


  .sg-footer__description {
    font-size: 14px;
  }


  .sg-footer__social {
    flex-direction: row;
    flex-wrap: wrap;

    gap: 12px 24px;
  }


  .sg-footer__nav {
    align-items: flex-start;
    flex-direction: column;

    gap: 15px;

    padding: 26px 0;
  }


  .sg-footer__nav a {
    font-size: 15px;
  }


  .sg-footer__bottom {
    padding-top: 26px;
  }


  .sg-footer__legal {
    align-items: flex-start;
    flex-direction: column;

    gap: 10px;
  }


  .sg-footer__credits {
    margin-top: 6px;
  }

}