
/* ========================= */
/*   DEROULEMENT       */
/* ========================= */

.section-header-with-image {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.header-deco-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 30px; /* 👉 décale l'ensemble image + barre */
}

.bar-vertical {
  width: 4px;
  height: 60px;
  background-color: #8cc63f;
  border-radius: 2px;
}

.header-image img {
  max-width: 320px;
  height: auto;
}

.header-text {
  flex: 1;
  min-width: 250px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #3a5230;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
}

.etapes-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.etape-card {
   width: 100%;
  max-width: 700px;
  background: #fff;
  border-left: 5px solid #f8943d;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.arrow-thin {
  font-size: 2rem;
  color: #8cc63f;
}

.etape-icone-inline {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 4px;
  object-fit: contain;
}

.etape-card:hover {
  transform: translateY(-5px);
}

.etape-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #666;
}

.etape-card h4 {
  font-size: 1.3rem;
  margin: 10px 0;
  color: #2e2e2e;
}

.etape-card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.etape-card li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #444;
}




/* Color variants */
.etape-card.yellow { border-left-color: #f4b63e; }
.etape-card.orange { border-left-color: #e5d349; }
.etape-card.blue   { border-left-color: #b4d655; }
.etape-card.purple { border-left-color: #8cc63f; }

/* Responsive padding */
@media (max-width: 600px) {
  .etape-card {
    padding: 20px 15px;
  }
}

.objectif {
  font-style: italic;
  color: #5c5c5c;
  font-size: 1rem;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .etapes-flex {
    flex-direction: column;
  }

  .arrow-thin {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .etape-card {
    flex: 1 1 100%;
  }
}

/* ==================== ----------------------MENU NAVIGATION ------------------------------==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(161, 158, 158, 0.95);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease;
}

/* MENU PRINCIPAL */
.menu {
    display: flex;
    gap: 20px;
}

/* Liens du menu */
.menu a {
    color: white;
    font-size: 16px;
    padding: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ==================== MENU MOBILE ==================== */
.menu-toggle {
    display: none; /* Caché en version desktop */
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* Masquer le menu principal en mode mobile par défaut */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(161, 158, 158, 0.95); /* Même couleur que la navbar */
        text-align: center;
        padding: 10px 0;
    }

    /* Afficher le menu mobile lorsqu'il est actif */
    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block; /* Rendre visible l'icône hamburger */
    }
}

}
