.portfolio-footer {
  background: #111;
  color: #fff;
  padding: 3rem 0 1rem;
  font-family: 'Open Sans', sans-serif;
  position: relative;
  z-index: 10;
  margin-top: 5rem;
  width: 100%; 
  box-sizing: border-box;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem; /* Modifié: padding horizontal constant */
}
  
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    /* Transition pour hover */
    transition: opacity 0.3s;
  }
  
  .footer-brand .logo:hover {
    opacity: 0.8;
  }
  
  .footer-brand p {
    opacity: 0.7;
    margin-top: 0.5rem;
    line-height: 1.5; /* Meilleure lisibilité */
  }
  
  .footer-links h3,
  .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    /* Petite ligne décorative sous les titres */
    padding-bottom: 0.5rem;
  }
  
  .footer-links h3::after,
  .footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #4e9af1;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0; /* Reset des marges par défaut */
  }
  
  .footer-links li {
    margin-bottom: 0.8rem; /* Espacement accru */
  }
  
  .footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block; /* Pour les transformations */
  }
  
  .footer-links a:hover {
    color: #4e9af1;
    transform: translateX(5px); /* Effet de déplacement */
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; /* Pour les petits écrans */
  }
  
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    background: #4e9af1;
    transform: translateY(-3px);
  }

  .social-icons img {
    width: 40px;
    height: 40px;
    -webkit-mask-image: radial-gradient(circle, white 100%, black 100%);
    mask-image: radial-gradient(circle, white 100%, black 100%);
  }

  .circle-icon {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2); /* Optionnel */
  }
  
  .circle-icon:hover {
    transform: scale(1.1);
    border-color: #4e9af1; /* Couleur d'accent au survol */
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-bottom p, 
  .footer-bottom a {
    opacity: 0.6;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  
  .footer-bottom a:hover {
    opacity: 1;
    text-decoration: underline;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 2.5rem; /* Espacement accru */
    }
  
    .footer-links h3::after,
    .footer-social h3::after {
      left: 50%;
      transform: translateX(-50%); /* Centrage des lignes décoratives */
    }
  
    .social-icons {
      justify-content: center;
    }
  }
  
  /* Pour les très petits écrans */
  @media (max-width: 480px) {
    .portfolio-footer {
      padding: 2rem 1rem;
    }
  }