.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;
}


.contact-cta {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.cta {
  background-color: white;
  color: #e36eae;

  font-family: Arial, sans-serif;
  font-size: 15px;

  text-decoration: none;

  padding: 12px 15px;

  border-radius: 5px;
}

.cta:hover {
  transform: scale(1.05);
}

/* Image centrée */
.grande {
  position: fixed;
  width: 900px; /* taille au choix */
  top: 40%;
left: 50%;
transform: translate(-50%, -50%);
 filter: drop-shadow(0 5px 6px rgba(0,0,0,0.2));
   z-index: 1;
}

.date {
  position: fixed;
 width: 350px; /* taille au choix */
 top: 60%;
 left: 55%;
   z-index: 2;
}
 
.gif {
  position: fixed;
 width: 1000px; /* taille au choix */
 top: -5%;
 left: -5%;
   animation: float 3s ease-in-out infinite;
     z-index: 3;
}
@keyframes float {
  0%   { transform: translateY(-5px); }
  50%  { transform: translateY(5px); }
  100% { transform: translateY(-5px); }
}


/* etoile qui tourne */
.etoile{
 position: fixed;
 width: 540px; /* taille au choix */
   top: 50%;
left: -3%;
z-index: 4;

 animation: rotationEtoile 25s linear infinite;
}

@keyframes rotationEtoile {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body {
  margin: 0;
  overflow: hidden;
  background: #00000;
}

/* Fond quadrillé animé */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    repeating-linear-gradient(0deg, #226 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, #226 0 1px, transparent 1px 40px);
    background-size: 40px 40px;


  animation: moveGrid 3s linear infinite;
}

/* Animation diagonale */
@keyframes moveGrid {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 40px 40px, 40px 40px;
  }
}


.fenetre {
  width: 350px;
  background-color: #e5a8ca;

  border: 2px solid #f7d6e8;

  box-shadow: 8px 8px 0px #c978aa;
  position: absolute;
top: 410px;
left: 60%;
transform: rotate(-5deg);
z-index: 4;
}


/* Barre du haut */
.barre {
  height: 45px;
  background-color: #f3c6df;

  border-bottom: 2px solid white;

  display: flex;
  justify-content: flex-end;
  align-items: center;
}


/* Groupe des boutons */
.boutons {
  display: flex;
  gap: 5px;

  margin-right: 8px;
}


/* Chaque bouton */
.boutons span {
  width: 25px;
  height: 25px;

  border: 2px solid #e795c2;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #e36eae;
  font-family: Arial;
  font-size: 18px;
}


/* Intérieur de la fenêtre */
.contenu {
  height: 120px;
 justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}


/* Texte */
.contenu h2 {
  color: white;

  font-family: Arial, sans-serif;
  font-size: 25px;
 justify-content: center;
  align-items: center;
  margin: 0;
   padding: 1px 5px;
}

/* Texte */
.contenu h4 {
  color: white;
 justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 15px;
 padding: 1px 5px;
  margin: 0;
}

/* logo qui défile */
.bande-logos {
  position: fixed;
  bottom: 0;
  left: 0;
justify-content: center;
  width: 100%;
  height: 100px;

  background: white;

  overflow: hidden;

  display: flex;
  align-items: center;

  z-index: 10;
}


.logos-defilement {
  display: flex;
  align-items: center;

  gap: 80px;

  width: max-content;
}


.logos-defilement img {
  width: 100px;
  height: auto;
  object-fit: contain;
}





/* =========================
   RESPONSIVE TELEPHONE 320PX
========================= */

@media screen and (max-width: 480px) {

  /* Bouton menu */
  .Menu {
    width: 250px;
    top: 10px;
    right: -15px;
    left: auto;
  }

  /* Menu rose */
  .menu-slide {
    width: 250px;
    height: 120vh;
    top: -20px;

    padding: 50px 25px;
  }

  #menu-toggle:checked ~ .menu-slide {
    transform: translateX(0%) rotate(6deg);
  }

  .menu-slide h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .menu-slide a {
    font-size: 18px;
    margin-bottom: 18px;
  }


  /* Grande fenêtre centrale */
  .grande {
    width: 400px;
    top: 35%;
    left: 50%;

    transform: translate(-50%, -50%);
  }


  /* Date */
  .date {
    width: 150px;

    top: 56%;
    left: 52%;
  }


  /* GIF principal */
  .gif {
    width: 380px;

    top: 50%;
    left: -50px;
  }


  /* Etoile */
  .etoile {
    width: 280px;

    top: 70%;
    left: -35%;
  }


  /* Petite fenêtre rose */
  .fenetre {
    width: 200px;

    top: 55%;
    left: 60%;

    transform: translate(-50%, -50%) rotate(-5deg);
  }


  .barre {
    height: 30px;
  }


  .boutons span {
    width: 18px;
    height: 18px;

    font-size: 12px;
  }


  .contenu {
    height: 80px;
  }


  .contenu h2 {
    font-size: 16px;
  }

.contact-cta {
  gap: 5px;
  margin-top: 8px;
}

.cta {
  font-size: 9px;
  padding: 5px 7px;
  border-radius: 4px;
}


  .contenu h4 {
    font-size: 8px;
  }


  /* Bande des logos */
  .bande-logos {
    height: 45px;
  }


  .logos-defilement {
    gap: 25px;
  }


  .logos-defilement img {
    width: 20px;
  }


  /* Grille plus petite sur téléphone */
  .grid-bg {
    background-image:
      repeating-linear-gradient(0deg, #226 0 1px, transparent 1px 25px),
      repeating-linear-gradient(90deg, #226 0 1px, transparent 1px 25px);

    background-size: 25px 25px;
  }

}




/* =========================
   RESPONSIVE GRAND ECRAN
   1600PX ET +
========================= */

@media screen and (min-width: 1600px) {

  /* Bouton menu */
  .Menu {
    width: 250px;
    top: 3%;
    right: -20px;
    left: auto;
  }


  /* Menu rose */
  .menu-slide {
    width: 550px;
    padding: 70px 45px;
  }

  .menu-slide h2 {
    font-size: 42px;
  }

  .menu-slide a {
    font-size: 30px;
    margin-bottom: 30px;
  }


  /* Grande fenêtre centrale */
  .grande {
    width: 1100px;
    top: 45%;
    left: 50%;
  }


  /* Date */
  .date {
    width: 430px;
    top: 60%;
    left: 55%;
  }


  /* GIF */
  .gif {
    width: 1250px;
    top: -5%;
    left: -3%;
  }


  /* Etoile */
  .etoile {
    width: 650px;
    top: 50%;
    left: -2%;
  }


  /* Petite fenêtre rose */
  .fenetre {
    width: 430px;
    top: 55%;
    left: 62%;
  }

  .barre {
    height: 55px;
  }

  .boutons span {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .contenu {
    height: 150px;
  }

  .contenu h2 {
    font-size: 30px;
  }

  .contenu h4 {
    font-size: 18px;
  }


  /* Bande logos */
  .bande-logos {
    height: 120px;
  }

  .logos-defilement {
    gap: 100px;
  }

  .logos-defilement img {
    width: 120px;
  }
}

