/* Pour petits écrans (mobiles) */
@media (max-width: 720px) {
  
  body, html {
    width: 100%;
    margin: 0;
  }
  @media (max-width: 900px) {

  /* Header et éléments internes */
  header {
    gap: 0;
  }

  /* Hamburger visible et style */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 150;
  }

  /* Menu latéral menu caché par défaut */
  .nav_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(to right, #f0e6ff, #eee0d5);
    flex-direction: column;
    padding: 72px 24px 24px 24px;
    box-shadow: -6px 0 28px rgba(139, 88, 187, 0.1);
    border-left: 3px solid #AF6BC5;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 140;
  }

  /* Menu ouvert */
  .nav_menu.open {
    transform: translateX(0);
  }

  /* Nav liste verticale */
  .nav_menu ul {
    flex-direction: column;
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav_menu ul li a {
    font-weight: 700;
    font-size: 1.2em;
    color: #6C5179;
    text-decoration: none;
  }

  .nav_menu ul li a:hover {
    color: #AE79A7;
  }

  /* Langue dans menu */
  .langue {
    margin-top: 32px;
    margin-left: 0;
    width: 100%;
  }

  .langue select {
    width: 100%;
    padding: 10px 16px;
    border-radius: 5px;
    border: 1.2px solid #D0C1E0;
    font-size: 1em;
    background-color: #F9F6FE;
    color: #6C5179;
  }
}

/* Animation hamburger au clic */
.hamburger span {
  height: 3px;
  background: #8b58bb;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

  /* Hero section adaptation */
  .hero_manuda {
    flex-direction: column;
    padding: 32px 20px 24px 20px;
    min-height: auto;
    gap: 24px;
  }

  .hero_left, .hero_right {
    flex: initial; /* pour pleine largeur */
    width: 100%;
    padding-right: 0;
    align-items: center;
    text-align: center;
  }

  .hero_left h1 {
    font-size: 1.9em;
  }
  .hero_left h2 {
    font-size: 1em;
  }

  .hero_right img {
    max-width: 300px;
    margin: 0 auto;
  }

  /* Process cards full width stack */
  .steps {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  .step {
    width: 90vw;
    max-width: none;
    min-width: auto;
  }

  /* Highlight side section */
  .highlight_side {
    flex-direction: column;
    max-width: 90vw;
    padding: 24px 12px;
    gap: 16px;
    text-align: center;
  }
  .highlight_text {
    text-align: center;
  }

  /* Offre section stack */
  .offer_cards {
    flex-direction: column;
    gap: 22px;
  }
  .offer_card {
    max-width: 95vw;
    min-width: auto;
  }

  /* Contact section stacking */
  .contact_content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .contact_info {
    max-width: 100%;
    text-align: center;
  }
  .contact_form {
    width: 100%;
  }

  /* Footer responsive */
  .footer_top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footernav ul {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .footer_contact {
    text-align: center;
    max-width: 100%;
  }
  .footer_bottom {
    flex-direction: column;
    gap: 8px;
  }
  .footer_legal_nav ul {
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
}
