.footer {
  background-color: #000000;
  color: #f9f9f9;
  font-family: "Inter", "Poppins", sans-serif;
  width: 100%;
  min-height: 169px;
  padding: 20px;
  border-top: 1px solid #e5e5e5;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;

  /* Fix du positionnement */
  position: relative;
  bottom: 0;
  left: 0;
  margin-top: auto;
}

/* Retrait de la règle globale sur body pour éviter les effets de layout en responsive */
main {
  flex: 1 0 auto;
}

  /* background-color: #131313;
    width: 100%;
    height: 291px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    padding: 20px;  Ajuste le padding pour les petits écrans 
    margin-top:10%; 
    flex-shrink: 0;  Empêche le footer de rétrécir 
    box-sizing: border-box;  Inclure le padding dans la largeur totale 
    flex-wrap: wrap; /* Permet au contenu de se réorganiser sur plusieurs lignes si nécessaire 
    text-align: center; /* Centre le texte sur les petits écrans 
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    overflow: hidden; /* Empêche tout dépassement des lignes décoratives */



/* ===== Bannière ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  background-color: #ffffff;
  color: #333333;
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  padding: 20px 25px;
  text-align: center;
  z-index: 9999;
  display: none;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.cookie-buttons button {
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  transition: 0.2s ease;
}

.btn-accept {
  background-color: #0d9488;
  color: white;
}
.btn-accept:hover { background-color: #0b7e74; }

.btn-decline {
  background-color: #eeeeee;
  color: #333;
}
.btn-decline:hover { background-color: #dddddd; }

.btn-customize {
  background-color: #f1f5f9;
  color: #0d9488;
  border: 1px solid #0d9488;
}
.btn-customize:hover {
  background-color: #0d9488;
  color: white;
}

/* ===== Fenêtre de personnalisation ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  max-width: 500px;
  width: 90%;
  text-align: left;
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.cookie-modal-content h2 {
  color: #0d9488;
  margin-bottom: 15px;
}

.cookie-option {
  margin: 10px 0;
}

.cookie-modal-buttons {
  text-align: right;
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}




.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-section p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 0.7;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.center {
  text-align: center;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin: 8px 0;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
      justify-content: center;
}

.social-icons img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.social-icons img:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    min-width: unset;
  }
}

/* PWA install button */
.pwa-install {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 12px auto 0;
  max-width: 260px;
  width: 100%;
}

.pwa-install[hidden] {
  display: none !important;
}

.pwa-install-btn {
  background-color: #0d9488;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pwa-install-btn:hover {
  background-color: #0b7e74;
}

.pwa-install-btn:active {
  transform: translateY(1px);
}

.pwa-install-ios {
  width: 100%;
  background-color: #111111;
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.pwa-install-ios[hidden] {
  display: none !important;
}

.pwa-install-ios-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.pwa-install-ios-text {
  margin-bottom: 10px;
}

.pwa-install-ios-close {
  background-color: #ffffff;
  color: #111111;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 480px) {
  .pwa-install {
    max-width: 100%;
  }
}
