
@media (max-width: 768px) {

  * {
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  /* =========================
     HERO
  ========================= */

  .container_hero { /* ✅ fixed selector */
    background-attachment: scroll;
    height: auto;
    padding: 120px 20px 60px;
  }

  .bloc_hero {
    width: 100%;         /* ✅ override 60% */
    padding: 25px;
  }

  .bloc_titre {
    font-size: 28px;
  }

  /* =========================
     NAVBAR 
  ========================= */

  .navbar .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px; /* ✅ reduced */
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 15px;
    padding: 20px 0;
    position: absolute;
    left: 0;
    background: white;
    z-index: 999;
	 justify-content: flex-start;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    border-bottom: 1px solid #eee;
	  
    top: var(--nav-top, 80px);

    transition: transform 0.4s ease, opacity 0.3s ease, top 0.3s ease;
  }

  .nav-right {
    top: calc(80px + 100%); 
  }

  .nav-left.active,
  .nav-right.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .burger {
    display: flex;
  }

  /* =========================
     QUOTE 
  ========================= */

  .bloc_quote {
    flex-direction: column;  
    width: 100%;
    padding: 80px 20px;
  }
	
.image_quote {
  order: 1; 
  max-width: 100%;
  transform: none;   
  margin: 0 0 20px 0;
}

  .quote_text {
  order: 2; /* ⭐ NEW */

  margin-left: 0;     
  transform: none !important;
  opacity: 1;  
  }
	
.quote_text.from-left,
.quote_text.from-right {
  transform: none !important; /* ⭐ NEW */
}

  .quote-box {
    padding: 20px;
  }

  /* =========================
     ABOUT 
  ========================= */

  #about::before,
  #about::after {
    display: none;            
  }

  #about {
    background: #f7f9fb;
  }

  .about-flex {
    flex-direction: column;
    gap: 0px;
  }

  .about-image,
  .about-text {
    width: 100%;
  }
	
  .about-image {
    padding: 15px 0;
  }
  .about-text {
    padding: 10px 0 30px; 
  }
	
  .about-text p {
  margin-top: 8px;  
  margin-bottom: 8px; 
  line-height: 1.5; 
}
	
/* =========================
   CONTACT 
========================= */
#contact .about-flex {
  flex-direction: column; /* stack items vertically */
  gap: 0; /* optional: same spacing as about section */
}

#contact .about-image {
  order: 1; /* ⭐ image comes first */
  padding: 15px 0; /* optional, same as about section */
}

#contact .about-text {
  order: 2; /* ⭐ text comes second */
  padding: 10px 0 30px; /* optional, same as about section */
}

#contact .about-text p {
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 1.5;
}

  /* =========================
     ANIMATION 
  ========================= */

  .quote_text,
  .card {
    transition: all 0.5s ease;
  }
	
.card:nth-child(1) { transition-delay: 0.2s; }
.card:nth-child(2) { transition-delay: 0.4s; }
.card:nth-child(3) { transition-delay: 0.6s; }
}