/* FOOTER */

.site-footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: none;
  padding: 2.4rem 1.5rem 2.5rem;
}

/* Conteneur principal : grille 3 colonnes */

.footer-container {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Sections du footer */

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-section-title {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 600;
}

/* Navigation standard du footer */

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  display: flex;
  align-items: center;
}

.footer-nav li + li::before {
  display: none;
}

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #b2b5bc;
  transition: color 0.18s ease-out;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* Navigation réseaux sociaux */

.footer-social ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #b2b5bc;
  transition: color 0.18s ease-out;
}

.footer-social a:hover {
  color: #ffffff;
}

/* Bas du footer : copyright */

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.footer-copyright {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f737c;
}

.footer-rights {
  display: block;
  margin-top: 0.4rem;
}

/* RESPONSIVE FOOTER */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-section {
    align-items: center;
    text-align: center;
  }

  .footer-section-title {
    font-size: 0.75rem;
  }

  .footer-nav a,
  .footer-social a {
    font-size: 0.7rem;
  }

  .footer-nav ul,
  .footer-social ul {
    align-items: center;
    justify-content: center;
  }

  .footer-bottom {
    padding-top: 1.2rem;
  }

  .footer-copyright {
    font-size: 0.65rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-logo {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid var(--color-text);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.footer-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand-text {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b2b5bc;
}

.footer-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}


/* En mobile : centrage pour éviter un bloc collé à droite */
@media (max-width: 768px) {
  .footer-brand {
    align-items: center;
    text-align: center;
  }
}

