/* === FOOTER === */
footer {
  width: 100%;
  background-color: var(--color-light-beige);
  padding: 3rem 1rem;
  text-align: center;
  font-family: var(--main-font-family);
  color: var(--main-color-black);
  font-size: var(--font-size-base);
  box-shadow: var(--main-shadow);
  border-top: var(--main-border);
}

footer p {
  margin: 0 0 1rem;
  font-weight: var(--font-weight-normal);
}

footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  text-decoration: none;
  color: var(--main-color-black);
  font-weight: var(--font-weight-light);
  transition: var(--basic-transition);
}

footer nav ul li a:hover {
  color: var(--main-color-green);
}

/* === BOUTONS FLOTTANTS === */
.floating-buttons {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

/* Styles communs à tous les boutons */
.floating-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-max);
  text-decoration: none;
  color: var(--main-color-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: var(--basic-transition);
  cursor: pointer;
}

.floating-buttons a:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

/* Icônes SVG */
.floating-buttons svg {
  width: 24px;
  height: 24px;
  height: 24px;
}

/* --- WhatsApp : toujours visible --- */
.floating-buttons .btn-whatsapp {
  background-color: #25d366; /* Couleur officielle WhatsApp */
}

/* --- Retour haut : caché au départ --- */
.floating-buttons .back-to-top {
  background-color: var(--main-color-green);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-buttons .back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
