body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    color: #333;
  }
  
  header {
    background-color: #0f172a;
    color: white;
    padding: 20px;
    text-align: center;
  }
  
  main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
  }
  
  section {
    margin-bottom: 50px;
  }
  
  .intro {
    background: white;
    padding: 20px;
    border-radius: 10px;
  }
  
  .cv-competences {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .cv, .competences {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 20px;
    border-radius: 10px;
  }
  
  .competences ul {
    padding-left: 20px;
  }
  
  .projets .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .projet {
    background: #e2e8f0;
    padding: 30px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
  }
  
   /* Menu burger */
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1001;
}

/* Menu latéral */
#side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #0f172a;
  color: white;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 1000;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

#side-menu ul {
  list-style: none;
  padding: 0;
}

#side-menu ul li {
  padding: 15px 25px;
  border-bottom: 1px solid #1e293b;
}

#side-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

#side-menu ul li a:hover {
  text-decoration: underline;
}
/* Place correctement le bouton ☰ sur toutes les pages */
.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 1001;
}

/* Ajoute un petit padding à gauche pour ne pas gêner */
body {
  padding-left: 0;
}

/* Le menu latéral */
#side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #0f172a;
  color: white;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 1000;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

footer {
  background-color: #0f172a;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #94a3b8;
  margin: 0 10px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}
