/* ============================================
   NOUVEAU FOOTER - CONTACTS GAUCHE, MENU DROITE, COPYRIGHT CENTRE BAS
   ============================================ */

/* Supprimer les marges après le footer - FORCER pour surcharger landing2-brand.css */
/* Utiliser une spécificité très élevée pour surcharger le padding-bottom de 80px */
html body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Supprimer toute marge ou padding après le footer */
.new-footer + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* S'assurer que le footer est le dernier élément et n'a pas de marge */
body > footer.new-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body > footer.new-footer:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Surcharger spécifiquement le padding-bottom du body ajouté pour la sticky nav */
/* Cette règle doit être chargée après landing2-brand.css pour surcharger */
html body {
  padding-bottom: 0 !important;
}

@media (max-width: 768px) {
  html body {
    padding-bottom: 0 !important;
  }
  
  html body > footer.new-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Conteneur principal du footer */
.new-footer {
  background-color: #1d44a1 !important;
  color: #FFFFFF !important;
  padding: 3rem 0 1.5rem 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.new-footer-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  width: 100% !important;
}

/* Contenu principal - flex horizontal */
.new-footer-content {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 3rem !important;
  margin-bottom: 2rem !important;
  width: 100% !important;
}

/* Section gauche - Contacts */
.new-footer-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1.5rem !important;
  flex: 0 1 auto !important;
}

/* Email */
.new-footer-contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.new-footer-email {
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

.new-footer-email:hover {
  opacity: 0.8 !important;
}

.new-footer-email div {
  color: #FFFFFF !important;
  line-height: 1.5 !important;
}

.new-footer-email div:first-child {
  margin-bottom: 0.25rem !important;
}

.new-footer-email strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/* Réseaux sociaux */
.new-footer-social {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
  align-items: center !important;
}

.new-footer-social-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  padding: 0.5rem !important;
}

.new-footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

.new-footer-social-link img {
  filter: brightness(0) invert(1) !important;
  width: 20px !important;
  height: 20px !important;
  opacity: 1 !important;
}

/* Liens politiques */
.new-footer-policies {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  margin-top: 0.5rem !important;
}

.new-footer-policy-link {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  line-height: 1.5 !important;
}

.new-footer-policy-link:hover {
  color: #FFFFFF !important;
  text-decoration: underline !important;
}

/* Section droite - Politiques */
.new-footer-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  flex: 0 1 auto !important;
}

.new-footer-right .new-footer-policies {
  align-items: flex-end !important;
  text-align: right !important;
}

.new-footer-right .new-footer-policy-link {
  text-align: right !important;
}

/* Copyright - centré en bas */
.new-footer-copyright {
  width: 100% !important;
  text-align: center !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin-top: 1rem !important;
}

.new-footer-copyright div {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .new-footer {
    padding: 2rem 0 1rem 0 !important;
  }
  
  .new-footer-container {
    padding: 0 1.5rem !important;
  }
  
  .new-footer-content {
    flex-direction: column !important;
    gap: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .new-footer-left {
    align-items: center !important;
    width: 100% !important;
  }
  
  .new-footer-contact {
    align-items: center !important;
    text-align: center !important;
  }
  
  .new-footer-email {
    text-align: center !important;
  }
  
  .new-footer-social {
    justify-content: center !important;
  }
  
  .new-footer-policies {
    align-items: center !important;
    text-align: center !important;
  }
  
  .new-footer-right {
    align-items: center !important;
    width: 100% !important;
  }
  
  .new-footer-right .new-footer-policies {
    align-items: center !important;
    text-align: center !important;
  }
  
  .new-footer-right .new-footer-policy-link {
    text-align: center !important;
  }
  
  .new-footer-copyright {
    margin-top: 0.5rem !important;
    padding-top: 1rem !important;
  }
}
