
/* =========================
   HERO PAGE À PROPOS
========================= */

.hero-about {
  min-height: 70vh;
  background:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.75),
      rgba(15, 23, 42, 0.85)
    ),
    url("../images/about-hero.jpg") center/cover no-repeat;
}

/* Ajustements texte */
.hero-about .hero-content {
  max-width: 900px;
  text-align: center;
  color: white;
}

.hero-about h1 {
  font-size: 48px;
}

.hero-about p {
  font-size: 18px;
  color: #e5e7eb;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-about {
    min-height: 60vh;
  }

  .hero-about h1 {
    font-size: 34px;
  }

  .hero-about p {
    font-size: 16px;
  }
}


.about-modern {
  padding: 100px 0;
  background: #ffffff;
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 90px;
}

.about-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.about-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

/* TITRES */
.about-label {
  display: inline-block;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.about-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-underline {
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 4px;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 18px;
}

/* CARTES */
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 22px;
}

.about-card i {
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 10px;
}

.about-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-row,
  .about-row.reverse {
    grid-template-columns: 1fr;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}



/* =========================
   NAVIGATION MOBILE    
========================= */


.nav-mobile-cta {
  display: none;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.35s ease;
}
.navbar,
.nav-content {
  overflow: visible;
}
@media (max-width: 900px) {

  /* MENU LATÉRAL MOBILE */
  body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;

    background: var(--white); /* fond blanc professionnel */
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 120px 40px;
    gap: 24px;

    transition: right 0.4s ease;
    z-index: 1001;
    transform: translateX(30px);
    opacity: 0;
    transition:
      right 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease;

  }

  /* LIENS DU MENU */
  .nav-menu a {
    display: block;
    width: 100%;

    margin: 0;
    padding: 12px 0;

    color: #ffffff;          /* 🔥 texte lisible */
    font-size: 18px;
    font-weight: 600;
    text-align: left;

    transition: color 0.3s ease;
    background:0.3s ease;
  }

  /* HOVER MOBILE */
  .nav-menu a:hover {
    background: rgba(242, 101, 34, 0.12);
    color: var(--orange);
  }

  /* LIEN ACTIF */
  .nav-menu a.active {
    color: var(--orange);
  }

  /* MENU OUVERT */
  .nav-menu.is-open {
    right: 0;
    transform: translateX(0);
    opacity: 1;
  }

  /* OVERLAY */
   .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;

    width: calc(100% - 320px); /* 🔥 CLÉ */
    background: rgba(15, 23, 42, 0.65);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;

    z-index: 1000;
  }

  .menu-overlay.is-open {
    opacity: 1;
    pointer-events: all;
  }

  /* BURGER */
  .burger {
    display: flex;
    z-index: 1100;
  }

  /* CACHE BOUTON DESKTOP */
  .desktop-only {
    display: none;
  }
}

@media (max-width: 900px) {

  .nav-mobile-cta {
    display: block;
    margin-top: 10px; /* 🔥 pousse en bas */
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .nav-mobile-cta .btn-primary {
    width: 100%;
    color: white;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
  }

}



.burger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}