body {
  background-color: #FFF9E1;
  color: #333;
  margin: 0;
  padding: 0;
  font-family: 'Charis SIL', sans-serif;
}

.bandeau {
  display: flex;
  align-items: center; /* aligne le logo et le titre au centre verticalement */
  justify-content: space-between; /* centre l'ensemble horizontalement */
  position: relative;
  padding: 20px;
  background-color: #FFF9E1; /* fond blanc */
  color: #61A127; /* couleur du texte (noir sur fond blanc) */
}

.menu {
  background-color: #F2C94C; /* couleur de fond du bandeau */
  display: flex;
  justify-content: center; /* centre les liens */
  gap: 100px; /* espace entre les liens */
  padding: 15px 0;
  font-size: 1.2em;
  font-family: "Charis SIL", serif;
  font-weight: 800; /* rend les liens plus gras */
}

.menu a {
  text-decoration: none;
  color: #333; /* couleur du texte */
  transition: color 0.3s;
}

.menu a:hover {
  color: #61A127; /* couleur au survol (ex. bleu canard) */
}

/* Conteneur du menu déroulant */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Contenu du menu déroulant (caché par défaut) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  text-align: left;
  font-weight: normal;
  font-size: 0.8em;
}

/* Style des liens dans le menu déroulant */
.dropdown-content a {
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 1.2rem !important;  /* Force la taille pour que TOUTES les années soient identiques */
  font-weight: bold !important;
  text-align: center; /* Force le gras pour que TOUTES les années soient identiques */
}

/* Hover sur les liens du menu déroulant */
.dropdown-content a:hover {
  background-color: #f0f0f0;
  color: #61A127;
}

/* Affiche le menu déroulant au survol */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Style du lien principal au survol */
.dropdown:hover > a {
  color: #61A127;
}

.dropdown-content ul, 
.dropdown-content li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}


.lien-accueil {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit; /* garde les couleurs du texte */
}

.logo {
  height: 170px;
  width: auto; /* conserve les proportions naturelles */
  margin-left: 130px;
}

.titre-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titre {
  margin: 0;
  font-size: 4em;
  font-weight: normal; /* <- ça enlève le gras du h1 */
  text-align: center;
}

.sous-titre {
  margin: 0;
  font-size: 2em;
  color: #61A127;
}

.bandeau img {
  margin-right: 20px;
}

.charis-sil-regular {
  font-family: "Charis SIL", serif;
  font-weight: 400;
  font-style: normal;
}



.page-title {
    text-align: center;
    font-size: 2.2em;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-contact {
  background-color: #FFF9E1;
  border-top: 1px solid #ccc;
  font-size: 0.9em;
  color: #333;
  padding: 20px;
}

.footer-haut {
  display: flex;
  justify-content: center; /* centre le groupe global */
  gap: 100px; /* espace entre les deux blocs */
  flex-wrap: wrap; /* pour que ça passe sur petits écrans */
}

.footer-gauche,
.footer-droite {
  width: 300px; /* largeur fixe pour aligner */
}

.footer-gauche {
  text-align: left;
}

.footer-droite {
  text-align: right;
}

.footer-bas {
  text-align: center;
  margin-top: 15px;
}

.footer-contact a {
  color: #61A127;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.conteneur {
  max-width: 1200px;
  margin:  auto;
  padding:  10px; /* ajoute un peu d’espace à gauche et à droite */
  box-sizing: border-box;
}


.annees-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.annee-carte {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 1.3em;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none; /* enlève le soulignement */
  color: #333;
}

.annee-carte:hover {
  background-color: #61A127;
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.photo-accueil-container {
    text-align: center; /* Centre l'image horizontalement */
    margin: 30px 0;    /* Ajoute de l'espace en haut et en bas */
}

.photo-accueil {
    max-width: 100%;    /* L'image ne dépasse jamais la largeur de l'écran */
    height: auto;       /* Garde les proportions de l'image */
    border-radius: 8px; /* Optionnel : arrondit légèrement les coins */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Optionnel : ajoute une ombre légère */
}

/* Centrer le bouton sur la page */
.bouton-centre {
    text-align: center;
    margin: 40px 0;
}

/* Le style du bouton */
.bouton-ancien-site {
    background-color: #61A127; /* Votre beau vert */
    color: white;              /* Texte en blanc */
    padding: 15px 40px;        /* Un bouton bien large */
    text-decoration: none;     /* Pas de ligne sous le texte */
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 8px;        /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Petite ombre légère */
    transition: all 0.3s ease; /* Animation fluide */
}

/* L'effet quand on passe la souris dessus */
.bouton-ancien-site:hover {
    background-color: #F2C94C; /* Il devient jaune au survol ! */
    color: #333;               /* Texte foncé au survol */
}
