/* ====== Global ====== */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fafafa;
    line-height: 1.6;
  }
  
  main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    padding-top: 100px;
  }
  
  /* ====== Header ====== */


/* 🌟 NAVBAR FIX */
/* ✅ FIX position absolute */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9); /* fond semi-transparent */
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* ✅ logo size fix */
  .logo {
    height: 45px;
    max-height: 100%;
    object-fit: contain;
  }
  
  /* ✅ Ajustement des UL */
  .nav-links ul {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  
  .nav-links ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 8px 15px;
    transition: all 0.3s ease;
  }
  
  .nav-links ul li a:hover {
    color: #662843;
  }
  
  /* ✅ LIEN VALEURS SPECIAL */
  .nav-links ul li .btn-ancre {
    background: #662843;
    color: #fff;
    border-radius: 4px;
  }
  
  .nav-links ul li .btn-ancre:hover {
    background: #000;
    color: #fff;
  }
  
  /* ✅ DROPDOWN */
/* 🔧 Conteneur du dropdown */
.dropdown {
    position: relative;
    z-index: 1001; /* ✅ Assure que le menu passe au-dessus de tout */
  }
 
  /* 🔽 Menu déroulant caché de base */
  .nav-links ul .dropdown-menu {
    display: none;
    flex-direction: column;
    
    position: absolute;
    top: calc(100% + 10px); /* ✅ Juste sous la navbar */
    left: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    z-index: 1002;
  }
  
  .nav-links ul .dropdown:hover .dropdown-menu {
    display: flex;
  }
  
  /* ✅ Affichage au hover */
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  /* ✅ Style interne */
  .dropdown-menu li {
    padding: 8px 20px;
  }
  
  .dropdown-menu li a {
    display: block;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .dropdown-menu li a:hover {
    background: #f5f5f5;
  }
  
  
  /* ✅ RÉSEAUX SOCIAUX */
  .social-icons a {
    background: #fff;
    color: #000;
    border-radius: 50%;
    padding: 6px 9px;
    margin-left: 5px;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
  }
  
  .social-icons a:hover {
    background: #662843;
    color: #fff;
  }
  
  /* ✅ MENU BURGER */
  .menu-toggle {
    display: none;
    font-size: 1.6em;
    color: #000;
    cursor: pointer;
  }
  
  /* ✅ RESPONSIVE */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background: white;
      display: none;
      flex-direction: column;
      text-align: center;
      gap: 20px;
      padding: 20px 0;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links ul {
      flex-direction: column;
      gap: 10px;
    }
  
    .dropdown-menu {
      position: static;
      box-shadow: none;
      background: #f0f0f0;
    }
  }
  



  /* ====== Hero Section ====== */
  .hero {
    background: linear-gradient(to right, #f4e9f1, #ffffff);
    border-left: 8px solid #662843;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(102, 40, 67, 0.1);
  }
  
  .hero h1 {
    color: #662843;
    font-size: 2.2em;
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 1.2em;
    color: #444;
  }
  
  /* ====== Content Section ====== */
  .content h2 {
    font-size: 1.8em;
    color: #662843;
    margin-top: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
  }
  
  .content p {
    font-size: 1.1em;
    color: #555;
  }
  
  .content ul {
    padding-left: 20px;
    margin-top: 10px;
  }
  
  .content ul li {
    margin-bottom: 10px;
  }
  
  /* ====== Footer ====== */
  footer {
    background-color: #662843;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
  }
  
  /* ====== Responsive ====== */
  @media (max-width: 768px) {
    .hero {
      padding: 20px;
    }
  
    .hero h1 {
      font-size: 1.8em;
    }
  
    .content h2 {
      font-size: 1.5em;
    }
  }

  .structure-section .hero {
    background: linear-gradient(to right, #f4e9f1, #ffffff);
    border-left: 8px solid #662843;
    padding: 40px;
    margin: 100px 0 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(102, 40, 67, 0.1);
  }
  
  .structure-section .hero h1 {
    color: #662843;
    font-size: 2.2em;
  }
  
  .structure-section .content {
    margin-bottom: 40px;
  }
  
  .structure-section .content h2 {
    font-size: 1.6em;
    color: #662843;
    margin-bottom: 10px;
  }
  
  .structure-section .content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 10px;
  }
  
  .structure-section .note {
    font-size: 0.9em;
    color: #999;
    font-style: italic;
    margin-top: 10px;
  }
  .footer {
    background: #662843;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    font-size: 0.9em;
}  
  