.Menu{
  position: fixed;
  width: 350px; /* taille au choix */
  top: 3%;
left: 85%;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}
.Menu:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* =========================
   MENU SLIDE
========================= */
/* Cache la checkbox */
#menu-toggle {
  display: none;
}
/* Bouton menu */
.menu-bouton {
  position: fixed;
  top: 0;
  right: 0;
  cursor: pointer;
}

/* Le menu rose */
.menu-slide {
  position: fixed;

  top: -25px;
  right: 0;
  left: auto;

  width: 450px;
  height: 200vh;

  background-color: #e5a8ca;

  padding: 50px 30px;
  box-sizing: border-box;

  z-index: 30;

  /* caché à droite */
  transform: translateX(100%);

  transition: transform 0.5s ease;

  box-shadow: -8px 0px 0px #c978aa;
}


/* Quand on clique → il revient à sa place */
#menu-toggle:checked ~ .menu-slide {
  transform: translateX(0%) rotate(10deg);
}


/* Fond invisible quand le menu est ouvert */
.menu-overlay {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.1);

  z-index: 25;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
}


/* Active le fond */
#menu-toggle:checked ~ .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}


/* Titre */
.menu-slide h2 {
  font-family: Arial, sans-serif;

  color: white;

  font-size: 35px;

  margin-bottom: 40px;
}


/* Liens */
.menu-slide a {
  display: block;

  color: white;

  font-family: Arial, sans-serif;

  font-size: 25px;

  text-decoration: none;

  margin-bottom: 25px;

  transition: 0.2s;
}


/* Hover liens */
.menu-slide a:hover {
  transform: translateX(10px);
  opacity: 0.7;
}





body {
  margin: 0;
  min-height: 100vh;

  background-color: #f7f7f7;

  background-image:
    linear-gradient(#d8d8d8 1px, transparent 1px),
    linear-gradient(90deg, #d8d8d8 1px, transparent 1px);

  background-size: 40px 40px;

  animation: moveGrid 3s linear infinite;
}

/* =========================
   ANIMATION DU FOND
========================= */

@keyframes moveGrid {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 40px 40px;
  }
}


.grand-bloc {
   width: 90%;
  max-width: 1200px;

  margin: 0 auto;
  padding: 30px;
   border: 3px solid #e5a8ca;
   
  background-color: white;

  box-sizing: border-box;
}
.grand-bloc .grand-bloc {
  border: none;
}


.Hero {
 width: 90%;
  max-width: 1200px;

  display: block;

  margin: 30px auto 0 auto;
  }


.cta-mail {
display: block;
width: fit-content;
margin: 20px auto 0 auto;
  padding: 12px 22px;

  background-color: #e5a8ca;
  color: white;

  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 18px;

  border-radius: 5px;

  transition: 0.2s;
}

.cta-mail:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.cta-centre {
  display: flex;
  justify-content: center;
}

.bloc-3d {
  position: relative;
  width: 80%;
  max-width: 1100px;
  margin: auto;
}

/* Diorama */
.bloc-3d img[alt="Img01"] {
  width: 70%;
  display: block;
}

/* Bulle */
.bloc-3d img[alt="Img02"] {
  position: absolute;
  width: 32%;
  top: -20px;
  right: 0;
  z-index: 3;
}

/* Mascotte */
.bloc-3d img[alt="Img03"] {
  position: absolute;
  width: 43%;
  top: 120px;
  right: 0;
  z-index: 2;
}

/* Image du dessous */
.bloc-3d img[alt="Img04"] {
  width: 100%;
  display: block;
  margin-top: 15px;
}



.footer {
  width: 90%;
  max-width: 1200px;

  margin: 0 auto 40px auto;
  padding: 40px;

  background-color: #e5a8ca;

  display: flex;
  justify-content: space-between;
  align-items: center;
border-radius: 0 0 40px 40px;
  box-sizing: border-box;
}


/* Partie gauche */
.footer-gauche {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.footer-logo {
  width: 100px;
  margin-bottom: 20px;
}


.footer-nom,
.footer-prenom {
  margin: 0;

  color: white;
  font-family: Arial, sans-serif;
}


.footer-nom {
  font-size: 22px;
  font-weight: bold;
}


.footer-prenom {
  font-size: 18px;
}


/* Partie droite */
.footer-droite {
  text-align: right;

  color: white;
  font-family: Arial, sans-serif;
}


.footer-droite h3 {
  margin-top: 0;
  font-size: 24px;
}


.footer-droite p {
  margin: 8px 0;
  font-size: 16px;
}



/* =========================
   RESPONSIVE TÉLÉPHONE
========================= */

@media screen and (max-width: 600px) {

  body {
    overflow-x: hidden;
  }


  /* MENU */
  .Menu {
    width: 150px;
    top: 15px;
    left: auto;
    right: -20px;
  }

  .menu-bouton {
    top: 0;
    right: 0;
    z-index: 40;
  }

  .menu-slide {
    width: 280px;
    height: 120vh;

    padding: 60px 25px;

    top: -20px;
    right: 0;
  }

  #menu-toggle:checked ~ .menu-slide {
    transform: translateX(0%) rotate(5deg);
  }

  .menu-slide h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .menu-slide a {
    font-size: 20px;
    margin-bottom: 20px;
  }


  /* HERO */
  .Hero {
    width: 95%;
    margin-top: 20px;
  }


  /* GRAND BLOC */
  .grand-bloc {
    width: 95%;
    padding: 12px;

    border-width: 2px;
  }

  .grand-bloc .grand-bloc {
    border: none;
    padding: 0;
  }


  /* BLOC 3D */
  .bloc-3d {
    width: 100%;
  }

  /* Diorama */
  .bloc-3d img[alt="Img01"] {
    width: 75%;
  }

  /* Bulle */
  .bloc-3d img[alt="Img02"] {
    width: 38%;

    top: -5px;
    right: 0;
  }

  /* Mascotte */
  .bloc-3d img[alt="Img03"] {
    width: 45%;

    top: 60px;
    right: 0;
  }

  /* Image violette */
  .bloc-3d img[alt="Img04"] {
    width: 100%;
    margin-top: 10px;
  }


  /* CTA */
  .cta-centre {
    width: 100%;
    justify-content: center;
  }

  .cta-mail {
    font-size: 15px;

    padding: 10px 18px;

    margin: 20px auto;
  }


  /* FOOTER */
  .footer {
    width: 95%;

    padding: 25px 20px;

    flex-direction: column;
    align-items: center;

    gap: 30px;

    border-radius: 0 0 25px 25px;
  }

  .footer-gauche {
    align-items: center;
    text-align: center;
  }

  .footer-droite {
    text-align: center;
  }

  .footer-logo {
    width: 80px;
    margin-bottom: 15px;
  }

  .footer-nom {
    font-size: 19px;
  }

  .footer-prenom {
    font-size: 16px;
  }

  .footer-droite h3 {
    font-size: 20px;
  }

  .footer-droite p {
    font-size: 14px;
  }

}

