* { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: #f4f7fb;
      color: #0f2348;
    }
    .container {
      width: 1200px;
      margin: 0 auto;
    }
    header {
      background: #fff;
      box-shadow: 0 2px 8px rgba(15, 35, 72, 0.06);
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      font-size: 26px;
      color: #0b2f6b;
    }
    .logo-icon {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 2px solid #0b2f6b;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0b2f6b;
      font-size: 18px;
    }
    nav ul {
      list-style: none;
      display: flex;
      gap: 28px;
      margin: 0;
      padding: 0;
      font-size: 15px;
      color: #1f335b;
    }
    nav li {
      padding-bottom: 6px;
      cursor: default;
    }
    nav li.active {
      color: #0b2f6b;
      font-weight: 600;
      border-bottom: 3px solid #0b2f6b;
    }
    .mentor-btn {
      background: #0b2f6b;
      color: #fff;
      border: none;
      padding: 12px 22px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 6px 18px rgba(13, 38, 87, 0.2);
    }
    .hero {
      position: relative;
      background: url('img/background.png') center/cover no-repeat;
      padding: 70px 0 60px;
   ;
    }
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(244,247,251,0.9) 0%, rgba(244,247,251,0.65) 50%, rgba(244,247,251,0.1) 100%);
    }
    .hero .container {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 460px;
    }
    .hero-left {
      width: 58%;
    }
    .hero-title {
      font-size: 58px;
      line-height: 1.1;
      margin: 0 0 16px;
      font-weight: 700;
      color: #0b2350;
    }
    .hero-sub {
      font-size: 18px;
      color: #334463;
      max-width: 520px;
      margin-bottom: 28px;
    }
    .search-bar {
      display: flex;
      align-items: center;
      background: #fff;
      border: 1px solid #d6deea;
      padding: 8px 14px;
      border-radius: 12px;
      width: 620px;
      box-shadow: 0 8px 18px rgba(12, 33, 64, 0.08);
      gap: 10px;
    }
    .search-bar i {
      color: #7b8ca8;
    }
    .search-bar input {
      border: none;
      outline: none;
      font-size: 15px;
      flex: 1;
      color: #3b4b64;
      padding: 8px 6px;
    }
    .divider {
      width: 1px;
      height: 28px;
      background: #dbe2ef;
    }
    .search-bar select {
      border: none;
      outline: none;
      font-size: 14px;
      color: #2f3f5c;
      background: transparent;
      padding: 6px 10px;
      appearance: none;
    }
    .search-bar .caret {
      color: #2f3f5c;
      margin-right: 8px;
    }
    .search-btn {
      background: #0b2f6b;
      color: #fff;
      border: none;
      padding: 10px 22px;
      border-radius: 10px;
      font-weight: 600;
      font-size: 14px;
    }
    .popular {
      margin-top: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: #51627b;
    }
    .tags {
      display: flex;
      gap: 10px;
    }
    .tag {
      background: #eaf1fb;
      border: 1px solid #d5deee;
      color:  #0b2350;
      padding: 6px 12px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 500;
    }
    
    .mission {
      background: #fff;
      padding: 40px 0 60px;
    }
    .mission-title {
      text-align: center;
      font-size: 30px;
      font-weight: 700;
      color: #0b2f6b;
      margin-bottom: 24px;
      position: relative;
    }
    .mission-title::after {
      content: '';
      width: 40px;
      height: 4px;
      background: #0b2f6b;
      display: block;
      margin: 10px auto 0;
      border-radius: 4px;
    }
    .mission-items {
      display: flex;
      justify-content: space-between;
      gap: 40px;
    }
    .mission-item {
      display: flex;
      align-items: flex-start;
      gap: 18px;
      width: 33.3%;
      padding-right: 20px;
      position: relative;
    }
    .mission-item:not(:last-child)::after {
      content: '';
      position: absolute;
      right: -10px;
      top: 10px;
      width: 1px;
      height: 90px;
      background: #e0e6f0;
    }
    .icon-circle {
      width: 76px;
      height: 76px;
      background: #f0f5fc;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0b2f6b;
      font-size: 30px;
    }
    .mission-item h4 {
      margin: 0 0 8px;
      font-size: 20px;
      color: #0b2f6b;
    }
    .mission-item p {
      margin: 0;
      color: #4c5e78;
      font-size: 14px;
      line-height: 1.5;
    }
    .benefits {
      background: linear-gradient(90deg, #0b2f6b 0%, #06224f 100%);
      color: #fff;
      padding: 24px 0;
    }
    .benefits-row {
      display: flex;
      justify-content: space-between;
      gap: 30px;
    }
    .benefit {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 33.3%;
      position: relative;
    }
    .benefit:not(:last-child)::after {
      content: '';
      position: absolute;
      right: -15px;
      top: 5px;
      width: 1px;
      height: 40px;
      background: rgba(255,255,255,0.3);
    }
    .benefit i {
      font-size: 26px;
    }
    .benefit h5 {
      margin: 0;
      font-size: 15px;
      font-weight: 600;
    }
    .benefit p {
      margin: 2px 0 0;
      font-size: 12px;
      opacity: 0.85;
    }
    .footer {
    background: #0f2a5c;
    color: white;
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* COLONNES */
.footer-col h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p {
    margin-bottom: 8px;
    opacity: 0.85;
    font-size: 14px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: white;
    opacity: 0.8;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    opacity: 1;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
} * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: #f4f7fb;
      color: #0f2348;
    }

    .container {
      width: 1200px;
      margin: 0 auto;
    }

    header {
      background: #fff;
      box-shadow: 0 2px 8px rgba(15, 35, 72, 0.06);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
    }

    nav li {
      padding-bottom: 6px;
      cursor: default;
      transition: 0.3s;
    }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      background: url('img/background.png') center/cover no-repeat;
      padding: 70px 0 60px;
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(244,247,251,0.9) 0%, rgba(244,247,251,0.65) 50%, rgba(244,247,251,0.1) 100%);
    }

    .hero .container {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 460px;
    }

    .hero-left {
      width: 58%;
    }

    .hero-title {
      font-size: 58px;
      line-height: 1.1;
      margin: 0 0 16px;
      font-weight: 700;
      color: #0b2350;
    }

    /* SEARCH */
    .search-bar {
      opacity: 0;
      transform: translateY(40px);
      transition: 0.8s ease;
    }

    .search-bar.show {
      opacity: 1;
      transform: translateY(0);
    }

    .popular {
      opacity: 0;
      transform: translateY(30px);
      transition: 0.8s ease;
    }

    .popular.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* TAGS animation */
    .tag {
      transition: 0.3s;
      cursor: pointer;
    }

    .tag:hover {
      transform: scale(1.05);
      background: #dbe9ff;
    }

    /* ===== MISSION ANIMATION ===== */
    .mission {
      background: #fff;
      padding: 40px 0 60px;

      opacity: 0;
      transform: translateY(80px);
      transition: all 0.8s ease;
    }

    .mission.show {
      opacity: 1;
      transform: translateY(0);
    }

    .mission-item {
      opacity: 0;
      transform: translateY(60px);
      transition: all 0.6s ease;
    }

    .mission.show .mission-item {
      opacity: 1;
      transform: translateY(0);
    }

    .mission.show .mission-item:nth-child(1){ transition-delay: .1s; }
    .mission.show .mission-item:nth-child(2){ transition-delay: .2s; }
    .mission.show .mission-item:nth-child(3){ transition-delay: .3s; }

   /* ===== HAMBURGER BUTTON ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #0b2f6b;
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0b2f6b;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation hamburger → croix */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Éléments uniquement visibles sur mobile */
.mobile-search,
.mobile-mentor-btn {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {

  /* Afficher le hamburger, cacher le bouton desktop */
  .hamburger {
    display: flex;
  }

  .desktop-only {
    display: none !important;
  }

  /* Menu nav en dropdown */
  nav ul#nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(11, 47, 107, 0.12);
    padding: 16px 0;
    z-index: 999;
    gap: 0;
  }

  nav ul#nav-menu.open {
    display: flex;
  }

  nav ul#nav-menu li {
    padding: 12px 24px;
    border-bottom: 1px solid #eef1f8;
    font-size: 15px;
    font-weight: 500;
    color: #0b2f6b;
    list-style: none;
  }

  nav ul#nav-menu li:last-child {
    border-bottom: none;
  }

  nav li.active {
    border-bottom: 1px solid #eef1f8 !important;
    border-left: 4px solid #0b2f6b;
    padding-left: 20px;
    background: #f0f5fc;
  }

  /* Barre de recherche mobile dans le menu */
  .mobile-search {
    display: block !important;
    padding: 16px 24px !important;
    background: #f4f7fb;
  }

  .search-bar-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .search-bar-mobile i {
    color: #7b8ca8;
    margin-bottom: -4px;
  }

  .search-bar-mobile input,
  .search-bar-mobile select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d6deea;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #3b4b64;
    background: #fff;
    outline: none;
  }

  .search-bar-mobile .search-btn {
    background: #0b2f6b;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
  }

  /* Bouton mentor dans le menu */
  .mobile-mentor-btn {
    display: block !important;
    padding: 16px 24px !important;
    background: transparent;
  }

  .mobile-mentor-btn .mentor-btn {
    width: 100%;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
  }

  /* Hero */
  .hero {
    padding: 40px 0;
  }

  .hero .container {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
    margin: 0 auto 24px;
  }

  /* Barre de recherche hero (cachée sur mobile, remplacée par celle dans le menu) */
  .search-bar {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .divider {
    display: none;
  }

  .popular {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .tags {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Mission */
  .mission-items {
    flex-direction: column;
    gap: 24px;
  }

  .mission-item {
    width: 100%;
    padding-right: 0;
  }

  .mission-item:not(:last-child)::after {
    display: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar input,
  .search-bar select {
    width: 100%;
  }
}@media (max-width: 768px) {
  /* Cacher la search bar du hero sur mobile */
  .hero .search-bar {
    display: none !important;
  }

  /* Cacher aussi les tags populaires si tu veux */
  .hero .popular {
    display: none !important;
  }
}@media (max-width: 768px) {
  .search-bar-mobile i.fas.fa-search {
    display: none !important;
  }

  .search-bar-mobile select {
    display: none !important;
  }
}/* ===== FLOATING CHAT BUTTON ===== */
.float-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.float-chat-btn:hover {
  transform: scale(1.08);
}

.float-chat-btn i {
  font-size: 28px;
  color: #fff;
}

/* ===== OVERLAY ===== */
.chat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 47, 107, 0.35);
  backdrop-filter: blur(3px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.chat-overlay.open {
  display: flex;
}

/* ===== POPUP ===== */
.chat-popup {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: popupIn 0.3s ease;
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-popup h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #0b2f6b;
  font-weight: 700;
}

.chat-popup p {
  margin: 0 0 22px;
  font-size: 13px;
  color: #51627b;
}

.chat-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #7b8ca8;
  cursor: pointer;
  line-height: 1;
}

.chat-close:hover {
  color: #0b2f6b;
}

.chat-field {
  margin-bottom: 16px;
}

.chat-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0b2f6b;
  margin-bottom: 6px;
}

.chat-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d6deea;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #3b4b64;
  outline: none;
  transition: border 0.2s;
}

.chat-field input:focus {
  border-color: #0b2f6b;
}

.chat-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}

.chat-submit:hover {
  background: #1ebe5d;
}

.chat-submit i {
  font-size: 18px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .chat-popup {
    margin: 0 16px;
    padding: 28px 20px;
  }
}
.hero-sub::after {
  content: '|';
  color: #0b2f6b;
  font-weight: 300;
  margin-left: 2px;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}