/* ════════════════════════════════════════════════════════════════════
   CONFIGURATION GÉNÉRALE DU SITE - Image de fond
═══════════════════════════════════════════════════════════════════════ */
* {
    box-sizing: border-box; /* → Les bordures et marges sont incluses dans la taille totale */
    margin: 0;
    padding: 0;
}
body {
    background: url(images/fondusite01.jpg) no-repeat center/cover fixed;
    /* ↑ Propriétés importantes :
       - no-repeat : empêche la répétition du fond
       - center/cover : garde le centrage et couvre toute la fenêtre
       - fixed : le fond reste fixe au défilement */
    background-color: #fcfbfb; /* couleur de secours si l’image ne charge pas */
    font-family: "Lora", serif;
    text-align: center;
    color: #070707;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
/* ════════════════════════════════════════════════════════════════════
   BARRE DE NAVIGATION PRINCIPALE
   - Apparition / disparition au scroll (contrôlée par JS)
═══════════════════════════════════════════════════════════════════════ */
.barrenav1structure {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 4px; /* Réduit la marge interne horizontale (20px → 10px) */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}
.barrenav1structure.visible { /* Classe ajoutée dynamiquement en JS → rend la barre visible */
    transform: translateY(0);
    opacity: 1;
}
.barrenav1 { /* CONTENEUR PRINCIPAL DE LA BARRE */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px; /* Limite la largeur maximale (réglable) */
}
.nav-left, .nav-right { /* SECTIONS : GAUCHE, CENTRE, DROITE */
    display: flex;
    align-items: center;
    gap: 2.1em; /* ↔ Espace entre les icônes */
}
.nav-center {
    flex: 1;
    text-align: center;
}
.barrenav1 a { /* LIENS ET TITRES */
    color: #e0f806;                     /* Couleur du texte (modifiable) */
    font-size: clamp(16px, 3vw, 40px);  /* Taille responsive entre 16px et 40px */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.barrenav1logo { /* ICÔNES DE NAVIGATION */
    height: 1em; /* Proportionnelle à la taille du texte */
    width: auto;
    vertical-align: middle;
}
.change-on-hover { /* EFFET DE SURVOL */
    cursor: pointer;
    transition: opacity 0.12s linear;
}
/* ════════════════════════════════════════════════════════════════════
   CONTENU PRINCIPAL
═══════════════════════════════════════════════════════════════════════ */
main {
    margin-top: 10px; /* ✅ espace sous la barre (fixe, évite le chevauchement) */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  /* ════════════════════════════════════════════════════════════════════
     MENU DE BOUTONS (sous la barre)
  ═══════════════════════════════════════════════════════════════════════ */
  .menunav1 {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 1vw, 30px);
    padding: 0.5em 1em;
    margin-bottom: 15px; /* augmente la marge en bas */
  }
  /* Style pour tous les liens à l'intérieur des boutons */
  .menubouton1 a, .menubouton1fix a {
    text-decoration: none;          /* supprime toute barre sous le lien */
    color: #000000;                 /* texte noir */
    font-weight: bold;              /* texte en gras */
    font-family: 'Lora', serif;     /* jolie écriture */
    display: inline-block;
    padding: 4px 12px;   /* ← anciennement 8px 18px */
    border-radius: 8px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
  }
  /* Survol : effet de soulèvement 3D */
  .menubouton1 a:hover, .menubouton1fix a:hover {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  }
  /* Boutons normaux */
  .menubouton1 {
    background: rgba(253, 252, 252, 0.5);
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); /* ombre portée pour profondeur */
  }
  .menubouton1:hover {
    background: #FFFF00; /* vert au survol */
    transform: scale(1.05);
  }
  /* Bouton actif (section active) */
  .menubouton1fix {
    background: #FFFF00;
    transform: scale(1.05);
    border: 1px solid #000000; 
    border-radius: 8px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); /* ombre portée pour profondeur */
  }
  /* ════════════════════════════════════════════════════════════════════
      TITRE de la page centré
  ═══════════════════════════════════════════════════════════════════════ */
  .pagepresentation {
    margin: 100px auto 30px auto; /* ← auto à gauche et à droite = centrage */
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    width: 80%;               /* ← ajuste la largeur comme tes autres blocs */
    max-width: 800px;         /* ← optionnel: évite qu’elle devienne trop large */
    font-family: 'Lora', serif;
    color: #070707;
    border: 1px solid #000000;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
}
  /* ════════════════════════════════════════════════════════════════════
     CONTENU PRINCIPAL (message de bienvenue)
  ═══════════════════════════════════════════════════════════════════════ */
/* ──  bloc titre + article  ──── */
.blocarticle1 {
    margin: 20px auto;          /* ✅ centre la section horizontalement */
    padding: 2px;
    width: 80%;                 /* ✅ même largeur que tes autres blocs */
    display: flex;
    flex-direction: column;
    align-items: flex-start;    /* garde le contenu aligné à gauche */
    text-align: left;
}
.blocarticle1titre {
    background: rgba(255, 255, 255, 0.5);
    margin: 10px;
    padding: 1em;
    width: fit-content; /* La largeur s'ajuste au texte */
    box-sizing: border-box;
    line-height: 1;
    font-weight: bold;
    display: inline-block; /* ✅ rend le fond ajusté au contenu */
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 10px;
    border: 1px solid #000000;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.blocarticle1texte {
    background: rgba(255, 255, 255, 0.5);
    margin: 5px;
    margin-bottom: 20px;   /* Espacement entre chaque article */
    padding: 1em;
    width: 100%;           /* Remplit toute la largeur de son parent */
    box-sizing: border-box; /* prend en compte le padding dans la largeur */
    line-height: 1.4;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start; /* Aligne le texte et les éléments à gauche */
    border: 1px solid #000000;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

    border-radius: 10px;
    /* Empêche le texte de dépasser */
    overflow-wrap: break-word; /* coupe les mots trop longs */
    word-wrap: break-word; /* compatibilité ancienne */
    word-break: break-word;
}
  /* ════════════════════════════════════════════════════════════════════
     BLOC README
  ═══════════════════════════════════════════════════════════════════════ */
.blocreadme {
  margin: 30px auto;
  padding: 20px 25px;
  width: 80%;
  background: rgba(255, 255, 255, 0.6); /* fond blanc légèrement adouci */
  border: 1px solid #000000;
  border-radius: 12px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  font-family: 'Lora', serif;
  color: #070707;
  text-align: left;
  line-height: 1.5;
}
.blocreadme h2, 
.blocreadme h3 {
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
}
.blocreadme ul {
  margin: 10px 0 20px 20px;
}
.blocreadme li {
  margin-bottom: 6px;
}
    /* ─────── FOOTER ─────── */
.bandofinstructure {
  margin: 20px;	padding: 2px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.bandofin {
  background: rgba(10, 10, 10, 0.8);
  width: 60%;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 10px 5px 20px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  color: rgb(247, 243, 243);
}
    