/* Styles modernisés pour le footer */

.modern-footer {
  background-color: #f8f8f8; /* Fond clair pour que le logo se fonde bien */
  color: #555;
  padding: 40px 0 10px;
  margin-top: 40px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-container {
  position: relative;
  padding-left: 5px;
  padding-right: 5px;
}

/* Section branding */
.footer-branding {
  text-align: center;
  margin-bottom: 25px;
}

.footer-sponsor {
  max-width: 80%;
  height: auto;
}

/* Sections du footer */
.footer-section {
  margin-bottom: 30px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
}

.footer-icon {
  margin-right: 10px;
  background-color: rgba(0,0,0,0.05);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.footer-list-item {
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-address-name {
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-address {
  opacity: 0.8;
}

/* Liens de contact */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-contact-icon {
  margin-right: 10px;
  opacity: 0.8;
  color: #337ab7;
  min-width: 14px;
  padding-top: 3px;
}

.footer-link {
  color: #337ab7;
  transition: color 0.2s ease;
  text-decoration: none;
  word-break: break-word; /* Permet de casser les liens trop longs sur mobile */
  overflow-wrap: break-word;
  max-width: 100%;
  display: inline-block;
  font-size: 15px; /* Taille de police légèrement plus grande */
}

.footer-link:hover {
  color: #23527c;
  text-decoration: underline;
}

/* Style spécifique pour la colonne des liens */
.col-sm-3 .footer-contact-item {
  margin-bottom: 15px; /* Plus d'espace entre les éléments */
}

.email-link, .website-link {
  padding: 4px 0;
}

/* Contacts */
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.footer-contact:last-child {
  border-bottom: none;
}

.contact-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-number {
  color: #337ab7;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.contact-number:hover {
  color: #23527c;
  text-decoration: underline;
}

.contact-number i {
  margin-right: 6px;
  font-size: 14px;
  color: #337ab7;
}

/* Ligne de séparation */
.footer-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 10px 0 20px;
}

/* Bas du footer */
.footer-bottom {
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
  .footer-section {
    margin-bottom: 20px;
  }
  
  .footer-heading {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .modern-footer {
    padding: 30px 0 5px;
  }
  
  .footer-section {
    margin-bottom: 25px;
  }
  
  .footer-branding {
    margin-bottom: 20px;
  }
  
  .footer-logo {
    max-width: 60%;
  }
  
  .footer-sponsor {
    max-width: 50%;
  }
  
  .footer-list-item {
    font-size: 14px;
  }
  
  .contact-number {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer-contact {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .footer-list-item {
    font-size: 13px;
  }
  
  .footer-copyright {
    font-size: 12px;
  }
}