/* ===== IMAGE DE FOND ===== */
body {
  background-image: url('https://s2.qwant.com/thumbr/474x534/4/d/f50c07e71c7cf2d4e48989f7400893205891e276db3af5d4520f570eef08ae/OIP.DwSAAwmmr9I-VhQOIS3y3wHaIW.jpg?u=https%3A%2F%2Ftse.mm.bing.net%2Fth%2Fid%2FOIP.DwSAAwmmr9I-VhQOIS3y3wHaIW%3Fcb%3Ducfimg2%26pid%3DApi%26ucfimg%3D1&q=0&b=1&p=0&a=0');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  font-family: Verdana, sans-serif;
  color: white;
}

/* ===== MENU ===== */
nav {
  background-color: rgba(0, 255, 255, 0.8);
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav button {
  background-color: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  padding: 5px 10px;
  transition: 0.3s;
}

nav button.active, nav button:hover {
  background-color: #5B42F3;
  color: white;
  border-radius: 5px;
}

/* ===== TITRE ===== */
.titre {
  background-color: rgba(0, 255, 255, 0.7);
  color: white;
  padding: 10px;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
}

/* ===== BOUTON STYLE "64" ===== */
.button-64 {
  align-items: center;
  background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: white;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 20px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  margin-top: 20px;
  white-space: nowrap;
}

.button-64:active,
.button-64:hover {
  outline: 0;
}

.button-64 span {
  background-color: rgb(5, 6, 45);
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  font-weight: bold;
  text-align: center;
}

.button-64:hover span {
  background: none;
}

@media (min-width: 768px) {
  .button-64 {
    font-size: 24px;
    min-width: 196px;
  }
}

/* ===== PAGE 1 ===== */
.page1-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: calc(100vh - 50px);
}

.page1-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 20;
}

.image {
  width: 300px;
  border-radius: 10px;
  display: none; /* cachée au départ */
}

/* ===== PAGE 2 ===== */
.encadre {
  background-color: rgba(0, 255, 255, 0.7);
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  margin: 20px auto;
  color: #000;
  line-height: 1.6em;
}

/* ===== PAGES ===== */
.page {
  display: none;
}

.page.active {
  display: block;
}
