body {
  margin: 0;
  font-family: Arial, cursive;
  background-color: #f4f4f4;
}

p {
  font-family: Arial, Open Sans, cursive; /* Police du texte */
  font-size: 18px;                          /* Taille de la police */
  line-height: 1.6;                         /* Hauteur de ligne pour lisibilité */
  color: #333;                              /* Couleur du texte */
  text-align: justify;                      /* Justifier le texte */
  margin: 0 0 1em 0;                        /* Espacement entre paragraphes */
  padding: 0;                               /* Pas de padding interne */
}

h1 {
text-decoration: none;
}

/* En-tête personnalisé */
.custom-header {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.header-left {
  flex: 1;
  text-align: left;
}


.header-left h1 {
  font-family: 'Schoolbell', cursive;
  font-size: 4rem;
  margin-bottom: 10px;
  color: #333;
}



.header-left p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.header-right img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ddd;
}

/* Responsive design */
@media (max-width: 768px) {
  .custom-header {
    flex-direction: column;
    text-align: center;
  }

  .header-left {
    text-align: center;
  }

  .header-right img {
    margin-top: 10px;
  }
}

.section-title h2 span {
  font-family: 'Schoolbell', cursive;
  font-size: 6rem;
  line-height: 1;
}

.section-title h3 span {
  font-family: 'Schoolbell', cursive;
  font-size: 5rem;
  line-height: 1;
}

  .content-wrapper {
  background-color: white;
  padding: 10px 20px;
  max-width: 1200px;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);

  /* Ajout important : */
  min-height: 100vh; /* toute la hauteur visible */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ou center si tu veux centrer verticalement */
}



/* Section grille index*/
.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
  background-color: #f9f9f9;
}

.grid-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  height: 300px;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0px 0px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.grid-item:hover {
  transform: scale(1.02);
}

.item-content {
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  padding: 20px;
}

.grid-item h3 {
  font-family: 'Schoolbell', cursive;
  font-size: 3rem;
  line-height: 1;
}

.grid-item h3 span {
  display: block;
}

/* Titre de section */
.section-title {
  font-family: 'Schoolbell', cursive;
  font-size: 3rem;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  color: #333;
}

/* Section associatif */
.asso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  justify-items: center;
  text-align: center;
}

.asso-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  background-color: #fafafa;
  padding: 20px;
  border-radius: 10px;
  min-height: 300px; /* fixe la hauteur pour l’alignement */
  width: 100%;
  max-width: 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.asso-item:hover {
  transform: translateY(-5px);
}

.asso-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #eee;
  margin-bottom: 15px;
}

.asso-item h3 {
  font-family: 'Schoolbell', cursive;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #444;
}

.asso-item p {
  font-size: 0.9rem;
  color: #666;
}

.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  padding: 20px;
  margin-top: 40px;
  background-color: #ffffff; /* même fond que le contenu */
  border-top: 1px solid #eee;
}

.image-slider-section {
  margin-top: 50px;
  overflow: hidden;
  max-width: 100%;
}

/* images portfolios */
.scroll-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  padding-top: 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  text-align: center;
}

.gallery-item img {
  height: 400px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
}

/* bouquins */
.livre {
      display: flex;
      align-items: flex-start;
      background: white;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      margin-bottom: 20px;
      padding: 15px;
      max-width: 100%;
    }

    .livre img {
      width: 20%;
      height: auto;
      border-radius: 5px;
      margin-right: 20px;
    }

    .livre .description {
      flex: 1;
    }

    .livre .description h2 {
      margin-top: 0;
      font-size: 1.4em;
      color: #333;
    }

    .livre .description p {
      color: #555;
      line-height: 1.5;
    }

ul {
  list-style: none;        /* Supprime les puces */
  padding: 0;              /* Retire la marge interne */
  margin: 0;               /* Retire la marge externe */
}

/* listes */
li {
  padding: 8px 12px;       /* Espacement interne */
  margin-bottom: 10 px;      /* Espace entre les éléments */
font-size: 20px; 
  background-color: #f4f4f4;
  border-radius: 6px;      /* Coins arrondis */
}



/* Style de base des liens */
a {
  font-weight: bold;          /* texte en gras */
  color: #000;                /* couleur par défaut (noir) */
  text-decoration: none;      /* supprime le soulignement */
  position: relative;         /* pour placer le symbole */
  transition: color 0.3s ease;
}

/* Petit symbole après chaque lien */
a::after {
  content: " ↗";              /* petit symbole cliquable */
  font-size: 0.8em;           /* plus petit que le texte */
  opacity: 0.6;               /* discret */
  transition: opacity 0.3s ease;
}

/* Effet au survol */
a:hover {
  color: #666;                /* gris au passage de la souris */
}

/* Rendre le symbole plus visible au survol */
a:hover::after {
  opacity: 1;
}
