/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: sans-serif;
    line-height: 1.6;
  }
  
  /* Header */
  header {
    background: #ddd;
    padding: 10px;
    display: flex;
    justify-content: space-between; /* <-- assure l'écartement */
    align-items: center;
    position: relative;
  }
  
  nav {
    position: absolute;
    top: 50px;
    right: 0; /* <-- colle à droite */
    width: 100%;
  }
  
  
  .logo {
    font-weight: bold;
  }
  
  nav ul {
    list-style: none;
    display: none;
    flex-direction: column;
    background: #ddd;
    width: 100%;
  }
  
  
  nav ul.show {
    display: flex;
  }
  
  nav a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-top: 1px solid #ccc;
  }
  
  .burger {
    display: block;
    cursor: pointer;
  }
  
  .burger div {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
  }
  
  /* Hero */
  .hero {
    padding: 20px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    margin: 10px 0;
  }
  
  .hero-text button {
    padding: 10px 20px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  .hero-image {
    background: #ccc;
    padding: 40px;
  }
  
  /* Actualités */
  .actualites {
    padding: 20px;
  }
  
  .cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .card {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
  }
  
  /* Accès rapides */
  .acces-rapides {
    padding: 20px;
  }
  
  .quick-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .quick-buttons button {
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  /* Footer */
  footer {
    background: #222;
    color: white;
    padding: 20px;
  }
  
  .footer-columns {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-column h4 {
    margin-bottom: 10px;
  }
  
  .footer-column ul {
    list-style: none;
  }
  
  .footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
  }
  
  /* ============== Desktop Styles ============== */
  @media (min-width: 1024px) {
    .burger {
      display: none;
    }
  
    nav ul {
      display: flex !important;
      position: static;
      flex-direction: row;
      background: none;
      width: auto;
    }
  
    nav a {
      border: none;
      padding: 0 10px;
    }
  
    header {
      text-align: left;
    }
  
    .hero-content {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      text-align: left;
    }
  
    .hero-text, .hero-image {
      flex: 1;
    }
  
    .hero-image {
      height: 200px;
    }
  
    .cards {
      flex-direction: row;
    }
  
    .card {
      flex: 1;
    }
  
    .quick-buttons {
      flex-direction: row;
      gap: 20px;
    }
  
    .quick-buttons button {
      flex: 1;
    }
  
    .footer-columns {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .footer-column {
      flex: 1;
    }
  }
  