.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;
   
  background-color: white;
  
   /* TON PATTERN */
  background-image: url("pattern.png");
  background-repeat: repeat;
  background-size: auto;
  
  
  border: 3px solid #e5a8ca;

  box-sizing: border-box;
}


.Hero {
 width: 90%;
  max-width: 1200px;

  display: block;

  margin: 30px auto 0 auto;
  }
  
  
/* =========================
   BLOC A + B
========================= */

.bloc-A,
.bloc-A-video,
.bloc-B,
.bloc-B-video {
  width: 90%;
  max-width: 1200px;

  margin: 60px auto;
  padding: 30px;

  background-color: white;
  box-sizing: border-box;

  border: 3px solid #e5a8ca;
  border-radius: 15px;
}


/* Partie haute A + B */
.A,
.B {
  display: flex;
  gap: 30px;

  border: 3px solid #e5a8ca;
  border-radius: 15px;

  padding: 30px;
  box-sizing: border-box;

  background-color: white;
}


/* BLOC B : texte à gauche / image à droite */
.B {
  flex-direction: row-reverse;
}


/* Image principale */
.A > .image-principale,
.B > .image-principale {
  width: 50%;
}

.image-principale img {
  width: 100%;
  height: auto;
  display: block;
}


/* Texte */
.A > .texte,
.B > .texte {
  width: 50%;
  font-family: Arial, sans-serif;
}


/* Titres */
.A > .texte h1,
.B > .texte h1 {
  margin-top: 10px;
  margin-bottom: 35px;

  color: #b53862;
  font-size: 32px;
}


/* Paragraphes */
.A > .texte p,
.B > .texte p {
  color: #b53862;
  line-height: 1.6;
  font-size: 17px;

  margin-bottom: 25px;
}


/* Petit titre */
.A > .texte .mini-titre,
.B > .texte .mini-titre {
  font-size: 12px;
  margin-bottom: 0;
}


/* Images du bas A + B */
.bloc-A .bas,
.bloc-B .bas {
  display: flex;
  gap: 25px;

  margin-top: 20px;
}

.petite-image {
  width: 25%;
}

.petite-image img {
  width: 100%;
  height: auto;
  display: block;
}


.cta-mail {
  display: inline-block;
  margin-top: 20px;
  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;
}


.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 TELEPHONE
========================================================= */

@media screen and (max-width: 600px) {

  body {
    overflow-x: hidden;
  }


  /* =========================
     MENU
  ========================= */

  .Menu {
    width: 180px;

    top: 10px;
    right: -15px;
    left: auto;

    z-index: 40;
  }

  .menu-bouton {
    top: 0;
    right: 0;
    z-index: 40;
  }

  .menu-slide {
    width: 85vw;
    height: 110vh;

    top: -10px;
    right: 0;

    padding: 60px 25px;

    transform: translateX(110%);
  }

  #menu-toggle:checked ~ .menu-slide {
    transform: translateX(0%) rotate(3deg);
  }

  .menu-slide h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .menu-slide a {
    font-size: 20px;
    margin-bottom: 20px;
  }


  /* =========================
     HERO
  ========================= */

  .Hero {
    width: 92%;
    margin-top: 20px;
  }


  /* =========================
     GRAND BLOC
  ========================= */

  .grand-bloc {
    width: 92%;
  }


  /* =========================
     BLOCS A + B
  ========================= */

  .bloc-A,
  .bloc-A-video,
  .bloc-B,
  .bloc-B-video {
    width: 92%;

    margin: 30px auto;
    padding: 15px;
  }


  /* Image + texte passent l'un sous l'autre */
  .A,
  .B {
    flex-direction: column;

    gap: 20px;
    padding: 15px;
  }


  /* Annule l'inversion du bloc B sur téléphone */
  .B {
    flex-direction: column;
  }


  /* Image principale */
  .A > .image-principale,
  .B > .image-principale {
    width: 100%;
  }

  .image-principale img {
    width: 100%;
    height: auto;
  }


  /* Texte */
  .A > .texte,
  .B > .texte {
    width: 100%;
  }

  .A > .texte h1,
  .B > .texte h1 {
    font-size: 32px;

    margin-top: 0;
    margin-bottom: 20px;
  }

  .A > .texte p,
  .B > .texte p {
    font-size: 17px;
    line-height: 1.5;

    margin-bottom: 18px;
  }

  .A > .texte .mini-titre,
  .B > .texte .mini-titre {
    font-size: 12px;
  }


  /* =========================
     PETITES IMAGES
  ========================= */

  .bloc-A .bas,
  .bloc-B .bas {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 15px;
  }

  .petite-image {
    width: calc(50% - 5px);
  }

  .petite-image img {
    width: 100%;
    height: auto;
  }


  /* =========================
     CTA
  ========================= */

  .cta-mail {
    font-size: 16px;

    padding: 10px 18px;
    margin-top: 15px;
  }

/* =========================
   VIDEOS
========================= */

.bloc-A-video,
.bloc-B-video {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 20px;
}

/* Toutes les vidéos */
.bloc-A-video iframe,
.bloc-B-video iframe {
  width: 100%;
  max-width: 315px;

  height: auto;
  aspect-ratio: 9 / 16;

  display: block;
}

  /* =========================
     FOOTER
  ========================= */

  .footer {
    width: 92%;

    flex-direction: column;
    align-items: flex-start;

    gap: 30px;

    padding: 25px;

    margin-bottom: 25px;

    border-radius: 0 0 25px 25px;
  }

  .footer-logo {
    width: 80px;
    margin-bottom: 15px;
  }

  .footer-nom {
    font-size: 20px;
  }

  .footer-prenom {
    font-size: 16px;
  }

  .footer-droite {
    width: 100%;
    text-align: left;
  }

  .footer-droite h3 {
    font-size: 21px;
  }

  .footer-droite p {
    font-size: 14px;
  }

}

