@charset "UTF-8";
@font-face {
  font-family: poppinsSemibold;
  src: url(../../font/Poppins-SemiBold.ttf);
}
@font-face {
  font-family: poppinsBold;
  src: url(../../font/Poppins-Bold.ttf);
}
@font-face {
  font-family: latoBold;
  src: url(../../font/Lato-Bold.ttf);
}
@font-face {
  font-family: latoLight;
  src: url(../../font/Lato-Light.ttf);
}
@font-face {
  font-family: latoRegular;
  src: url(../../font/Lato-Regular.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: whitesmoke;
  font-family: latoBold;
}

h2 {
  font-family: poppinsSemibold;
  padding-bottom: 20px;
  text-align: center;
  font-size: 1.6rem;
}

h3 {
  font-family: poppinsSemibold;
}

p {
  font-family: latoRegular;
}

body {
  margin: 0;
  background-color: #f8f9fb;
  color: #222;
}

h1 {
  font-family: poppinsSemibold;
}

/* === STYLE DU LOGO FIXÉ === */
nav {
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.logo {
  display: inline-block;
  text-decoration: none;
}

.logo img {
  width: 120px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
}

/* === Effet au survol === */
.logo img:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

/* === Apparition fluide au chargement === */
.logo img.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

header.header-actualites {
  text-align: center;
  background: linear-gradient(135deg, #004aad, #007bff);
  color: white;
  padding: 60px 20px;
}

header.header-actualites h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
@media screen and (max-width: 650px) {
  header.header-actualites h1 {
    font-size: 1.8rem;
  }
}

header.header-actualites p {
  font-size: 1.1rem;
}

.filtres-container {
  text-align: center;
  margin: 30px 0;
}

.filtre-btn {
  background: #fff;
  border: 2px solid #004aad;
  color: #004aad;
  padding: 10px 18px;
  border-radius: 30px;
  margin: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filtre-btn.active,
.filtre-btn:hover {
  background: #004aad;
  color: white;
}

.liste-actualites {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 25px;
  -ms-flex-pack: center;
      justify-content: center;
  padding: 20px;
}

.actualite-card:hover {
  transform: translateY(-5px);
}

.actualite-card img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

.actualite-card h3 {
  margin: 15px 0 8px;
  color: #004aad;
  font-size: 1.1rem;
}

.actualite-card .date {
  font-size: 0.9rem;
  color: #777;
}

.actualite-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-bottom: 40px;
}

.btn-section:hover {
  color: #007bff;
}

.btn-section i {
  margin-left: 8px;
  transition: transform 0.3s;
}

.btn-section:hover i {
  transform: translateX(4px);
}

liste-actualites {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 25px;
  max-width: 1200px;
  margin: 20px auto 40px auto; /* Centrer et ajuster les marges */
  padding: 20px;
}

.actualite-card {
  width: 30%;
  min-height: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  padding: 15px;
  transition: transform 0.3s ease;
}

.actualite-card img {
  width: 100%;
  border-radius: 5px;
  -o-object-fit: cover;
     object-fit: cover;
}

.btn-section {
  display: inline-block;
  margin: 10px 0;
  padding: 8px 20px;
  color: #002b80;
  border-radius: 5px;
  text-decoration: none;
  position: absolute;
  bottom: 0px;
}

.btn-section:hover {
  background: whitesmoke;
  border-radius: 20px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  border-radius: 10px;
  position: relative;
}

.modal-content img {
  width: 100%;
  margin-bottom: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.contacts-section {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: center;
      justify-content: center; /* centre les colonnes horizontalement */
  gap: 40px; /* espace entre les colonnes */
  padding: 40px 10px;
  background-color: #002b80; /* bleu Pigier */
  color: #fff;
  margin-top: 40px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.contacts-section > div {
  -ms-flex: 1 1 220px;
      flex: 1 1 220px; /* colonnes flexibles */
  margin: 0px auto;
  max-width: 250px; /* pour que les colonnes restent régulières */
}

/* Titres */
.contacts-section h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7333333333);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Paragraphes et listes */
.contacts-section p,
.contacts-section li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: whitesmoke;
}

/* Liens */
.contacts-section a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: rgba(245, 245, 245, 0.6);
}

.contacts-section a:hover {
  color: white;
}

/* Icones */
.contacts-section i {
  margin-right: 8px;
  color: #ffcc00;
}

/* Listes sans puces */
.footer-menu ul,
.formations ul,
.socials ul {
  list-style: none;
  padding: 0;
}

.footer-menu li,
.formations li,
.socials li {
  margin-bottom: 10px;
}

/* Responsive pour tablette / mobile */
@media (max-width: 992px) {
  .contacts-section > div {
    -ms-flex: 1 1 45%;
        flex: 1 1 45%;
  }
}
@media (max-width: 600px) {
  .contacts-section {
    -ms-flex-direction: column;
        flex-direction: column;
    text-align: center;
    padding: 40px 5%;
  }
  .contacts-section > div {
    -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    margin-bottom: 30px;
  }
}
/* Social icons hover */
.socials a {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
      align-items: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  color: white; /* accent doré */
  transform: scale(1.2) translateY(-3px); /* grossit et remonte légèrement */
}

.socials i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.footer {
  width: 100%;
  background: rgb(51, 53, 57); /* bleu Pigier */
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 0.95rem;
  box-sizing: border-box;
}

@media screen and (max-width: 500px) {
  .footer p {
    font-size: 0.9rem;
  }
}
/* Tablette (Max-width: 992px) */
@media screen and (max-width: 992px) {
  /* Cartes d'actualité: 2 par ligne */
  .actualite-card {
    width: 45%; /* 2 cartes par ligne avec le gap de 25px */
    min-height: 420px;
  }
}
/* Mobile (Max-width: 650px) */
@media screen and (max-width: 650px) {
  /* Header de la page */
  header.header-actualites h1 {
    font-size: 1.8rem;
  }
  header.header-actualites p {
    font-size: 1rem;
  }
  /* Filtres: Pour que les boutons ne soient pas trop serrés */
  .filtres-container {
    text-align: center;
    margin: 30px 0;
    display: -ms-flexbox;
    display: flex; /* Utiliser Flexbox */
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; /* Permettre le passage à la ligne */
    -ms-flex-pack: center;
        justify-content: center; /* Centrer les boutons */
  }
  .filtre-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
    -ms-flex-negative: 0;
        flex-shrink: 0; /* Empêche les boutons de rétrécir */
  }
  /* Cartes d'actualité: 1 par ligne */
  .actualite-card {
    width: 90%; /* Occupe la majeure partie de l'écran */
    max-width: 350px; /* Limite la taille sur les très grands mobiles/petites tablettes */
    min-height: 380px;
    margin: 0 auto; /* Centrer si width < 100% */
  }
  /* Ajuster le contenu des cartes */
  .actualite-card h3 {
    font-size: 1.05rem;
  }
  .actualite-card .date,
  .actualite-card p {
    font-size: 0.9rem;
  }
}
/* Mieux gérer l'espacement sur mobile (Max-width: 600px) */
@media screen and (max-width: 600px) {
  .filtre-btn {
    margin: 5px 8px; /* Augmenter légèrement les marges pour la lisibilité tactile */
  }
}
/* --- MEDIA QUERIES pour la Modale (ajoutez-le à vos Media Queries existantes) --- */
@media screen and (max-width: 600px) {
  /* ... (Autres styles pour 600px) ... */
  .modal-content {
    width: 95%; /* Légèrement plus large sur mobile */
    padding: 15px; /* Moins de padding */
    margin: 10% auto; /* Déplacer un peu vers le haut pour laisser de l'espace */
    max-height: 90vh; /* Limiter la hauteur de la modale à 90% de la fenêtre */
    overflow-y: auto; /* Permettre le défilement si le contenu est trop long */
  }
  .close {
    top: 5px;
    right: 10px;
    font-size: 20px;
  }
}/*# sourceMappingURL=actu.css.map */