body {
  background-color: #1a0e15;
  color: white;
  font-family: 'DM Mono', monospace;
  margin: 0;
  padding: 0;
}

h1 {
  color: white;
  font-size: 3rem;
  text-align: center;
  padding-top: 5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background-color: #1a0e15;
}

.nav-logo {
  color: #5C0A28;
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #7a7a9a;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: white;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 4rem;
  gap: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.accent {
  background: linear-gradient(135deg, #5C0A28, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: #7a7a9a;
  font-size: 1.1rem;
  max-width: 500px;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: #5C0A28;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #8a1840;
}

/* ABOUT */
.about {
  padding: 5rem 4rem;
  background-color: #241420;
  text-align: center;
}

.about h2 {
  color: #5C0A28;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about p {
  color: #7a7a9a;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* PROJETS */
.projets {
  background-color: #1a0e15;
  padding: 5rem 4rem;
  text-align: center;
}

.projets h2 {
  color:#5C0A28;
  font-size: 2rem;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.projet-card {
background-color: #241420;
padding: 5rem 4rem;
border-radius: 3rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.projet-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 50px rgba(92, 10, 40, 0.3);
}

.projet-info h3 {
color:white;
font-size: 2rem;
text-align: center;
font-family: 'Syne', sans-serif;
font-weight: 800;
letter-spacing: -0.02em;
}

.projet-info p {
  color: #7a7a9a;
}

.projet-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag {
  padding: 0.4rem 0.9rem;
  background-color: rgba(169, 169, 169, 0.1);
  border: 1px solid rgba(169, 169, 169, 0.3);
  border-radius: 1rem;
  color: #A9A9A9  ;
  font-size: 0.8rem;
}

.projet-features {
  list-style: none;
  color: #7a7a9a;
  padding: 0;
  margin-top: 1rem;
}

.projet-features li {
  padding: 0.3rem 0;
}

.competences {
  background-color: #1a0e15;
  padding: 5rem 4rem;
  text-align: center;
}

.competences h2 {
  color: #5C0A28;
  font-size: 2rem;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.skill {
  padding: 1.5rem;
  background-color: rgba(92, 10, 40, 0.1);
  border: 1px solid rgba(92, 10, 40, 0.3);
  border-radius: 1rem;
  color: #A9A9A9;
  font-weight: bold;
  font-size: 1rem;
  text-align: left;
  width: 250px;
  min-height: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

.skill:hover {
transform: translateY(-4px);
box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15)
}

.skill p {
  margin-bottom: 0.8rem;
}

.skill-bar {
  height: 6px;
  background-color: rgba(169, 169, 169, 0.15);
  border-radius: 999px;
  margin-top: 0.8rem;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #5C0A28, #ec4899);
  border-radius: 999px;
}

.contact {
  margin-bottom: 2rem;
}

.contact a {
  color: #5C0A28;
  text-decoration: none;
}

.contact a:hover {
  color: white;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #7a7a9a;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {

  /* TITRES — réduire la taille */
  .competences h2,
  .projets h2,
  .about h2,
  .contact h2 {
    font-size: 1.8rem;
  }

  .projet-info h3 {
    font-size: 1.5rem;
  }

  /* COMPETENCES — pleine largeur */

  .competences {
    padding: 3rem 1rem;
  }

  .skills-grid {
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .skill {
    width: 95%;
    padding: 1rem;
    box-sizing: border-box;
  }

  /* PROJETS */
  .projet-card {
    padding: 2rem 1.5rem;
  }

  .projet-tags {
    justify-content: flex-start;
  }

  /* NAVIGATION */
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    text-align: center;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* HERO */
  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  /* ABOUT */
  .about {
    padding: 3rem 1.5rem;
  }

  /* PROJETS */
  .projets {
    padding: 3rem 1.5rem;
  }

  .projet-card {
    padding: 2rem 1.5rem;
  }

  /* CONTACT */
  .contact {
    padding: 3rem 1.5rem;
  }
}
/* ========== FIN ========== */

/* ANIMATIONS */
.reveal:nth-child(1) { transition-delay: 0s;}
.reveal:nth-child(2) { transition-delay: 0.1s;}
.reveal:nth-child(3) { transition-delay: 0.2s;}
.reveal:nth-child(4) { transition-delay: 0.3s;}
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}