 :root {
      --fond: #f5f6fa;
      --primaire: #0063B2;
      --secondaire: #9CC3D5;
      --texte: #333;
      --blanc: #fff;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: "Inter", sans-serif;
    }

    body {
      background-color: var(--fond);
      color: var(--texte);
      line-height: 1.6;
      position: relative;
      overflow-x: hidden;
      font-family: "Inter", sans-serif;	 	  
    }

    /* --- HEADER FLOTTANT --- */
    header {
      position: sticky;
      top: 1rem;
      max-width: 1100px;
      margin: 0 auto;
      background: var(--blanc);
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0,99,178,0.1);
      padding: 1.5rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 10;
	  transition: transform 0.3s ease;	  
    }

	header.hidden {
		transform: translateY(-150%);
	}	

	header .logo {
	  height: 20px;         /* Ajuste selon la hauteur souhaitée */
	  width: auto;          /* Garde les proportions de l'image */
      display: block;
	}

    header h1 {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--primaire);
    }

	@media (max-width: 768px) {
	  header {
        margin: 10px;  /* 2px de séparation à gauche et à droite */
      }
    }

    /* --- MENU BURGER --- */
    .burger {
      cursor: pointer;
      width: 28px;
      height: 22px;
      position: relative;
    }

    .burger span {
      background: var(--primaire);
      position: absolute;
      width: 100%;
      height: 3px;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .burger span:nth-child(1) {
      top: 0;
    }

    .burger span:nth-child(2) {
      top: 9px;
    }

    .burger span:nth-child(3) {
      top: 18px;
    }

    .burger.active span:nth-child(1) {
      transform: rotate(45deg);
      top: 9px;
    }

    .burger.active span:nth-child(2) {
      opacity: 0;
    }

    .burger.active span:nth-child(3) {
      transform: rotate(-45deg);
      top: 9px;
    }

    /* --- MENU LATÉRAL --- */
    nav {
      position: fixed;
      top: 0;
      right: -300px;
      width: 250px;
      height: 100vh;
      background: var(--blanc);
      box-shadow: -4px 0 12px rgba(0,99,178,0.1);
      padding-top: 4rem;
      transition: right 0.3s ease;
      z-index: 9;
    }

    nav.active {
      right: 0;
    }

    nav ul {
      list-style: none;
      padding: 0;
    }

    nav ul li {
      margin: 1.5rem 0;
      text-align: center;
    }

    nav ul li a {
      text-decoration: none;
      color: var(--primaire);
      font-size: 1.1rem;
      transition: color 0.2s ease;
    }

    nav ul li a:hover {
      color: var(--secondaire);
    }

    /* --- CONTENU PRINCIPAL --- */
    main {
      max-width: 1200px;
      margin: 5rem auto;
      padding: 0 1rem;
    }

    .intro {
      text-align: center;
      margin-bottom: 3rem;
    }

    .intro h2 {
      font-size: 1.8rem;
      color: var(--primaire);
      margin-bottom: 0.5rem;
    }

    .intro p {
      max-width: 700px;
      margin: 0 auto;
      opacity: 0.8;
    }

    /* --- SECTIONS PAR ANNÉE --- */
    .year-section {
      margin-bottom: 3rem;
    }

    .year-title {
      text-align: center;
      font-size: 2rem;
      font-weight: 600;
      color: var(--primaire);
      margin-bottom: 0.5rem;
    }

    .year-divider {
      width: 80px;
      height: 4px;
      background: var(--secondaire);
      margin: 0 auto 2rem auto;
      border-radius: 4px;
    }

    /* --- CARTES --- */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .card {
      background: var(--blanc);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,99,178,0.1);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    }

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

    .card-content {
      padding: 1.2rem;
    }

    .card-content h3 {
      color: var(--primaire);
      font-size: 1.3rem;
    }

.card h3 a {
  color: inherit;       /* Garde la couleur du h3 */
  text-decoration: none; /* Supprime le soulignement par défaut */
  transition: color 0.2s; /* Animation douce pour le hover */
}

.card h3 a:hover {
  color: #3B82F6;       /* Couleur d’accent au survol */
}

    .card-content p {
      font-size: 0.95rem;
      margin-bottom: 0.8rem;
    }

    .card-content .date {
      display: inline-block;
      background: var(--secondaire);
      color: var(--blanc);
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      font-size: 0.85rem;
	  margin-bottom: 0.2rem;
    }

.contact-bar {
  position: fixed;
  bottom: -250px; /* Cachée par défaut */
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1100px;
  background: var(--blanc);
  border-radius: 20px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.1);
  padding: 1.5rem 2rem;
  z-index: 11;
  transition: bottom 0.3s ease;
}

.contact-bar.active {
  bottom: 1rem; /* Apparition */
}

.contact-bar .contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.contact-bar .contact-content p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-bar .contact-content a {
  color: var(--primaire);
  text-decoration: none;
}

.contact-bar .contact-content .social-icons a {
  margin-left: 0.5rem;
  font-size: 1.1rem;
  color: var(--primaire);
  transition: color 0.2s ease;
}

.contact-bar .contact-content .social-icons a:hover {
  color: var(--secondaire);
}

/* Pour mobile : colonne au lieu de ligne */
@media (max-width: 600px) {
  .contact-bar .contact-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-bar .contact-content .social-icons {
    margin-top: 0.5rem;
  }
}

/* --- CONTENU --- */
main {
  margin: 4rem auto 3rem auto;
  padding: 0 1rem;
}

.content-area {
  background: var(--blanc);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.content-area h2 {
  font-size: 2rem;
  color: var(--primaire);
  margin-bottom: 1rem;
}

.content-area p {
  margin-bottom: 1rem;
  opacity: 0.85;
}

.content-area img {
  width: 100%;
  border-radius: 10px;
  margin-top: 1.5rem;
}

    footer {
      text-align: center;
      padding: 2rem;
      background: var(--primaire);
      color: var(--blanc);
      margin-top: 3rem;
      border-top-left-radius: 40px;
      border-top-right-radius: 40px;
    }

    footer p {
      font-size: 0.9rem;
      opacity: 0.9;
    }