/* -------------------------------
   RESET DE BASE
---------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -------------------------------
   STRUCTURE PRINCIPALE
---------------------------------- */

main {
  padding: 20px;
}

section {
  margin-bottom: 40px;
}

footer {
  background-color: #111;
  color: white; /* corrigé : avant c'était noir sur noir */
  text-align: center;
  padding: 15px;
}

/* -------------------------------
   NAVIGATION
---------------------------------- */

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

/* -------------------------------
   BANNIÈRE HAUT DE PAGE (Image PNG)
---------------------------------- */

.banniere-haut {
  width: 100%;
  background-color: #111; /* optionnel : couleur de fond si image a transparence */
  text-align: center;
  margin: 0;
}

.banniere-haut img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------
   IMAGE D'ACCUEIL
---------------------------------- */
/* Conteneur en position relative pour que le bouton se positionne par-dessus */
.accueil-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.accueil-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 0;
}

@media screen and (max-width: 600px) {
  .accueil-img {
    max-width: 100%;
    border-radius: 5px;
  }
}

/* -------------------------------
   LOGO FIXE EN HAUT À GAUCHE
---------------------------------- */

/* Conteneur du logo + popup */
.logo-fixe-wrapper {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
}

/* Le bouton logo reste pareil */
.logo-fixe img {
  width: 170px;
  height: auto;
  cursor: pointer;
}

/* Conteneur du popup (initialement masqué) */
.popup-image {
  width: 150px;                    /* même largeur que le logo */
  position: absolute;
  top: 160px;
  left: 0;
  display: flex;                   /* on force flex ici */
  flex-direction: column;         /* colonne verticale */
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Images dans le popup */
.popup-image img {
  width: 100px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.popup-image img:hover {
  transform: scale(1.05); /* petit effet au survol */
}

/* Affiche le popup au survol */
.logo-fixe-wrapper:hover .popup-image {
  opacity: 1;
  pointer-events: auto;
}

/* -------------------------------
   BASE PAGE OTHER
---------------------------------- */

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #111;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 20px auto;
}

.btn:hover {
  background-color: #333;
}

/* -------------------------------
 BOUTTON GO NEXT PAGE
---------------------------------- */

.bouton-superpose {
  position: absolute;
  z-index: 10;
}

.bouton-superpose img {
  width: 40vw;   /* largeur = 10% de la largeur de la fenêtre */
  max-width: 200px; /* ne pas dépasser 150px sur grand écran */
  height: auto;
  cursor: pointer;
}

/* Position individuelle de chaque bouton */
.bouton-superpose.panik {
  top: 51%;
  left: 46.1%;
  transform: translate(-50%, -50%);
}

.bouton-superpose.oryn {
  top: 51%;
  left: 66.5%;
  transform: translate(-50%, -50%);
}

.bouton-superpose.tekichi {
  top: 51%;
  left: 88%;
  transform: translate(-50%, -50%);
}

.bouton-superpose.cv {
  top: 56%;              /* plus bas sur la page */
  left: 23%;             /* centré */
  transform: translate(-50%, -50%);
  width: 8%;             /* plus petit bouton */
}

.bouton-superpose.cv img {
  width: 100%;
  height: auto;
}

/* Ajustement pour petits écrans */
@media (max-width: 600px) {
  .bouton-superpose img {
    width: 20vw;   /* plus grand sur petits écrans */
    max-width: none;
  }

  /* Optionnel : ajuster positions si besoin */
  .bouton-superpose.panik {
    left: 40%;
  }
  .bouton-superpose.oryn {
    left: 60%;
  }
  .bouton-superpose.tekichi {
    left: 80%;
  }
}

/* -------------------------------
   BASE PAGE PANIK
---------------------------------- */

/* Style des images de la page Panik */
.page-panik img {
  display: block;
   width: 100%;
  height: auto;           /* Garde les proportions */
  margin: 0;              /* Supprime l’écart entre les images */
  padding: 0;             /* Assure qu’il n’y ait pas de marge interne */
  border: none;           /* Juste au cas où */
}
body {
  margin: 0;
  padding: 0;
}

/* -------------------------------
   BASE PAGE ORYN
---------------------------------- */
.page-oryn img {
  display: block;
   width: 100%;
  height: auto;           /* Garde les proportions */
  margin: 0;              /* Supprime l’écart entre les images */
  padding: 0;             /* Assure qu’il n’y ait pas de marge interne */
  border: none;           /* Juste au cas où */
}
body {
  margin: 0;
  padding: 0;
}
/* -------------------------------
   BASE PAGE TEKICHI
---------------------------------- */
.page-tekichi img {
  display: block;
   width: 100%;
  height: auto;           /* Garde les proportions */
  margin: 0;              /* Supprime l’écart entre les images */
  padding: 0;             /* Assure qu’il n’y ait pas de marge interne */
  border: none;           /* Juste au cas où */
}
body {
  margin: 0;
  padding: 0;
}


