/* =========================================================
   Footer
   ========================================================= */

.rd-site-footer {
  margin-top: 0;

  padding: 64px 0 34px;

  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.76);
}


/* Conteneur principal : équivalent exact du .container
   de la maquette */
.rd-site-footer__inner {
  width: min(1180px, calc(100% - 44px));
  max-width: none !important;

  margin-inline: auto !important;

  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, 1fr)
    minmax(0, 0.9fr)
    minmax(0, 0.9fr);

  column-gap: 48px;
  row-gap: 0;

  align-items: start;
}


.rd-site-footer__brand,
.rd-site-footer__column {
  margin: 0 !important;
}


.rd-site-footer__column {
  --wp--style--block-gap: 0;
}


.rd-site-footer__column > * {
  margin-block-start: 0;
}


/* Logo
   ========================================================= */

.rd-footer-brand {
  display: block;

  width: fit-content;

  margin: 0 0 22px !important;
}


.rd-footer-brand img {
  display: block;

  width: 220px;
  max-width: 100%;
  height: auto;

  filter: brightness(0) invert(1);
}


.rd-site-footer__brand p {
  max-width: 360px;

  margin: 0 !important;

  color: rgba(255, 255, 255, 0.72);

  font-size: 16px;
  line-height: 1.6;
}


/* Titres
   ========================================================= */

.rd-site-footer__title {
  margin: 0 0 16px !important;

  color: #fff;

  font-family: var(--wp--preset--font-family--title);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
}


/* Navigation
   ========================================================= */

.rd-footer-navigation {
  width: 100%;
}


.rd-footer-navigation
.wp-block-navigation__container {
  display: flex;

  width: 100%;

  flex-direction: column;
  align-items: flex-start;

  gap: 0;
}


.rd-footer-navigation
.wp-block-navigation-item + .wp-block-navigation-item {
  margin-top: 6px;
}


.rd-footer-navigation
.wp-block-navigation-item__content,
.rd-site-footer__column p a {
  display: inline-block;

  padding: 2px 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 16px;
  line-height: 1.5;

  text-decoration: none;

  transition:
    color var(--wp--custom--transition--standard);
}


.rd-footer-navigation
.wp-block-navigation-item__content:hover,
.rd-footer-navigation
.wp-block-navigation-item__content:focus-visible,
.rd-site-footer__column p a:hover,
.rd-site-footer__column p a:focus-visible {
  color: var(--wp--preset--color--cyan);
}


/* Colonnes de liens
   ========================================================= */




.rd-site-footer__column p + p {
  margin-top: 6px !important;
}


/* Contact suit immédiatement le menu */
.rd-footer-navigation + p {
  margin-top: 6px !important;
}


/* Barre basse
   ========================================================= */

.rd-site-footer__bottom {
  width: min(1180px, calc(100% - 44px));
  max-width: none !important;

  margin:
    46px
    auto
    0 !important;

  padding-top: 24px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 24px;

  flex-wrap: wrap;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.rd-site-footer__bottom p {
  margin: 0 !important;

  color: rgba(255, 255, 255, 0.56);

  font-size: 14px;
  line-height: 1.45;
}


/* =========================================================
   Responsive Footer
   ========================================================= */

@media (max-width: 980px) {

  .rd-site-footer__inner {
    grid-template-columns: 1fr;

    row-gap: 34px;
  }

}


@media (max-width: 560px) {

  .rd-site-footer {
    padding:
      52px
      0
      28px;
  }


  .rd-site-footer__inner,
  .rd-site-footer__bottom {
    width: calc(100% - 28px);
  }


  .rd-footer-brand img {
    width: 205px;
  }


  .rd-site-footer__bottom {
    margin-top: 38px !important;

    flex-direction: column;
    align-items: flex-start;

    gap: 8px;
  }

}