/* ============================================================
   TFE — Footer styles
   Inspiré de la structure footer du site de référence :
   logo en background-image (var(--tfe-logo) injectée en inline
   par class-tfe-footer.php), séparateur "•" géré en CSS pur,
   layout colonne -> ligne à partir de 760px.

   Tokens TFE : primary #6D2929 | text #282828 | radius 0
   Headlines: Georgia | Body/labels: Arial
   ============================================================ */

.tfe-footer {
  align-content: center;
  align-items: center;
  background-color: #6d2929;
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.08) inset;
  column-gap: 40px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  justify-content: center;
  line-height: 1.5;
  padding: 2.4rem 1.6rem;
  text-align: center;
}

@media screen and (min-width: 760px) {
  .tfe-footer {
    flex-direction: row;
  }
}

/* ---------------------------------------------------------------
   Logo — affiché via background-image. La variable --tfe-logo
   est injectée en style inline par class-tfe-footer.php et pointe
   vers assets/img/logo.svg.
--------------------------------------------------------------- */

.tfe-footer__logo {
  display: block;
  margin: 0 0 12px;
  max-width: 150px;
}

@media screen and (min-width: 760px) {
  .tfe-footer__logo {
    margin: 0;
  }
}

.tfe-footer__logo a {
  background-image: var(--tfe-logo);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 40px;
  width: 160px;
}

/* ---------------------------------------------------------------
   Liens légaux — séparateur "•" en CSS pur entre chaque lien
   (pas de balise séparatrice dans le HTML).
--------------------------------------------------------------- */

.tfe-footer__wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tfe-footer__link {
  color: #e0e0e0;
  display: flex;
  position: relative;
  text-decoration: none;
}

.tfe-footer__link:not(:last-child):after {
  content: "\00a0\00a0\2022\00a0\00a0";
  display: block;
}

.tfe-footer__link:hover {
  color: #6D2929;
}

.tfe-footer__link:hover span {
  text-decoration: underline;
}

@media screen and (min-width: 1000px) {
  .tfe-footer__link {
    margin: 0 8px;
  }

  .tfe-footer__link:not(:last-child):after {
    content: "\00a0\00a0\2022\00a0\00a0";
    display: block;
    position: absolute;
    right: -20px;
  }
}