/* ===== GLOBAL ===== */
body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  main {
    flex: 1;
  }
  
  a {
    text-decoration: none;
    transition: all 0.2s ease-in-out;
  }
  
  a:hover {
    color: #005f91;
  }
  
  .hero-banner {
    max-height: 500px;
    border-radius: 1rem;
    overflow: hidden;
  }
  
  .hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-text {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    max-width: 720px;
  }
  
  /* ===== NAVBAR ===== */
  .navbar {
    background-color: rgb(0, 110, 170); /* bleu Phone & Co */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 15.5px;
    z-index: 1000;
  }
  
  .navbar .navbar-brand {
    font-weight: 600;
    font-size: 19px;
    color: white !important;
    display: flex;
    align-items: center;
  }
  
  .navbar .navbar-brand img {
    height: 40px;
    margin-right: 10px;
  }
  
  .navbar-toggler {
    border: none;
  }
  
  .navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.55rem 1rem;
    border-radius: 4px;
  }
  
  .navbar .nav-link:hover {
    color: #dff6ff !important;
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Sous-menu (dropdown) */
  .navbar .dropdown-toggle span {
    font-size: 0.75em;
  }
  
  .dropdown-menu {
    background-color: #07577f;
    border: none;
    border-radius: 0.5rem;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .dropdown-item {
    color: white;
    font-size: 15px;
    padding: 10px 16px;
  }
  
  .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  /* Bouton déconnexion dans le dropdown */
  .dropdown-item.text-danger {
    color: #ff6666 !important;
  }
  
  .dropdown-item.text-danger:hover {
    background-color: rgba(255, 0, 0, 0.1);
  }
  
  
  /* ===== FOOTER ===== */
  footer {
    background-color: #343a40;
    color: #ffffff;
    padding: 2rem 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
  }
  
  footer h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
  }
  
  footer a {
    color: #dff6ff;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
    color: #ffffff;
  }
  
  footer img {
    background-color: transparent;
  }
footer .social-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px;
  align-items: center;
  justify-content: flex-start; /* aligne les icônes horizontalement */
}

footer .social-links li {
  display: inline-block;
}

footer .social-links img {
  max-width: 30px !important;
  max-height: 30px !important;
  width: auto !important;
  height: auto !important;
}

footer .social-links li a {
  display: block;
  width: 30px !important;  /* Taille forcée raisonnable */
  height: 30px !important; /* Taille forcée raisonnable */
  overflow: hidden;
}


.social-links li a:hover {
  transform: scale(1.1); /* Effet léger au survol */
}

  /* ===== RESPONSIVE ===== */
  @media (max-width: 992px) {
    .navbar .navbar-brand {
      font-size: 17px;
    }
  
    .navbar .nav-link {
      padding: 0.5rem 0.75rem;
      font-size: 15px;
    }
  
    .navbar .nav-item {
      text-align: center;
    }
  }
  
  @media (max-width: 576px) {
    .navbar .nav-link {
      padding: 0.4rem 0.6rem;
      font-size: 14px;
    }
  
    .navbar .navbar-brand {
      font-size: 15.5px;
    }
  }
  
  
  /* ===== ANIMATIONS ===== */
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }