.realisations-banner {
  /* La couleur bleu marine correspondant à vos images */
  background-color: #1a2b4b;

  /* Ajustement de la hauteur (padding pour plus de flexibilité) */
  padding: 80px 20px;

  /* Centrage parfait du contenu */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Typographie */
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.banner-content p {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
  /* Légère transparence pour le sous-titre */
  letter-spacing: 0.3px;
}

/*---------------*/

:root {
  --primary-blue: #1a2b4b;
  --accent-yellow: #f9d423;
}

.portfolio-section {
  padding: 40px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

/* --- Boutons de filtrage --- */
.filter-buttons {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  border: 1px solid #ddd;
  padding: 10px 20px;
  background: white;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
  color: #666;
}

.btn.active,
.btn:hover {
  background: #f1f1f1;
  color: var(--primary-blue);
  font-weight: bold;
}

/* --- Grille et Cartes --- */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.project-card {
  width: 350px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.4s ease;
  display: block;
    
}

/* Nécessaire pour le filtrage JS */
/* --- Effet 1 : Zoom Image --- */
.img-wrapper {
  height: 200px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .img-wrapper img {
  transform: scale(1.15);
}

/* --- Effet 2 : Titre en Jaune --- */
.card-details {
  padding: 20px;
}

.category-label {
  color: var(--accent-yellow);
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: block;
}

.project-title {
  color: var(--primary-blue);
  transition: color 0.3s ease;
  margin-bottom: 10px;
}

.project-card:hover .project-title {
  color: var(--accent-yellow);
  /* Inversion en jaune au survol de la case */
}

/* Classe utilitaire pour cacher les éléments */
.hide {
  display: none;
}


@media(max-width: 830px) {

  /* --- Boutons de filtrage --- */
  .filter-buttons {
    margin-bottom: 40px;
    display: auto;
    justify-content: center;
    
  }

  .btn {
    border: 1px solid #ddd;
    padding: 10px 20px;
    background: white;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    color: #666;
  }

  .btn.active,
  .btn:hover {
    background: #f1f1f1;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1rem;
  }

  /* --- Grille et Cartes --- */
  .projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    ;
  }

  .project-card {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: 0.4s ease;
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    /* Nécessaire pour le filtrage JS */
  }
  /* --- Effet 1 : Zoom Image --- */
.img-wrapper {
  height: 200px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .img-wrapper img {
  transform: scale(1.15);
}

/* --- Effet 2 : Titre en Jaune --- */
.card-details {
  padding: 20px;
}

.category-label {
  color: var(--accent-yellow);
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: block;
}

.project-title {
  color: var(--primary-blue);
  transition: color 0.3s ease;
  margin-bottom: 10px;
}

.project-card:hover .project-title {
  color: var(--accent-yellow);
  /* Inversion en jaune au survol de la case */
}

/* Classe utilitaire pour cacher les éléments */
.hide {
  display: none;
}

  /* Version mobile */


}