/* ===================== */
/* FOOTER GLOBAL         */
/* ===================== */
.site-footer {
  display: flex;
  flex-direction: column; /* empile top et bottom */
  width: 100%;
  background-color: #FEFCE8;
  color: #2B1A10;
  box-sizing: border-box;
  padding: 0 40px;
}

/* ===================== */
/* PREMIER ÉTAGE (TOP)   */
/* ===================== */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 110px;
}

.footer-top a {
  color: #2B1A10;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 20px;
}

.footer-top a:last-child {
  margin-right: 0; /* pas de marge sur le dernier lien */
}

.footer-logo img {
  max-width: 140px;
}

/* ===================== */
/* DEUXIÈME ÉTAGE (BOTTOM) */
/* ===================== */
.footer-bottom {
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  display: inline-flex; /* centré et aligné */
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.footer-bottom span {
  display: inline-block;
  text-align: center;
}

.footer-bottom a {
  margin-right: 0; /* aucune marge inutile ici */
  font-size: 1rem;
  text-decoration: inherit;
  color: #FF8904;
}

/* ===================== */
/* RESPONSIVE MOBILE     */
/* ===================== */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    gap: 16px;
    padding: 20px 0;
  }

  .footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  /* Réorganisation mobile */
  .footer-logo {
    order: 1; /* logo en premier */
  }
  .footer-left {
    order: 2; /* liens après le logo */
  }
  .footer-right {
    order: 3; /* réseaux sociaux en dernier */
  }
  .footer-left a, .footer-right a {
    margin: 0; /* plus de marges horizontales sur mobile */
  }

  .footer-logo img {
    max-width: 200px; /* logo réduit */
  }

  .footer-bottom p {
    display: flex;
    flex-direction: column; /* bascule en 3 lignes */
    gap: 5px;
  }

  .footer-bottom span {
    width: 100%;
    display: block;
    text-align: center;
  }
}
