body {
    margin: 0;
    font-family: 'Mulish', sans-serif;
    background-color: #f5f5f5;
}

  
  nav {
    background-color: #ffffff;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .logo img {
    height: 80px;
    width: auto;
    margin-bottom: 0.5rem;
  }
  
  ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
  }
  
  li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
  }
  
  li a:hover {
    color: #000000;
  }
  
  li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  .hero {
    width: 100%;
  }
  
  .hero img {
    width: 100%;
  }
  
  @media (max-width: 600px) {
    ul {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .logo img {
      height:80px;
    }
  }
  

  .intro {
    text-align: center;
    padding: 3rem 1rem;
  }
  
  .intro h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
  }
  
  .intro p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: #555;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background-color: #f5f5f5;
  }
  
  .gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
    cursor: pointer;
  }
  
  @media (max-width: 900px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .gallery {
      grid-template-columns: 1fr;
    }
  }
  

  









  .cards-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 0 5%; /* marge latérale de 5% */
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-img {
  width: 200px;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 1rem;
  font-size: 1.2rem;
  color: #1f2937;
}

.card p {
  margin: 0 1rem 1.2rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.icons {
  display: flex;
  justify-content: left;
  gap: 1.2rem;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

.icon {
  position: relative;
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon:hover {
  transform: scale(1.1);
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 600px) {
  .cards-section {
    padding: 1rem;
    gap: 1rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  .icons {
    gap: 1rem;
  }
}




.galerie-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* espace vertical entre les images */
  margin: 0 auto;
  padding: 0 5%; /* marge latérale de 5% */
  max-width: 1400px; /* limite la largeur totale */
}

.image-galerie {
  width: 100%; /* prend toute la largeur disponible */
  height: auto; /* s’adapte à la hauteur naturelle de l’image */
  border-radius: 12px; /* coins arrondis optionnels */
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
