/* Reset & Base */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f4fef8;
  color: #2e2e2e;
}

/* Header */
header {
  background-color: #cfe9dc;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #aad4bd;
}

header h1 {
  margin: 0;
  color: #145c43;
  font-size: 2.5rem;
}

/* --- MENU HAMBURGER --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* --- MENU HAMBURGER --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}


nav ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

/* Par défaut sur desktop */
@media (min-width: 769px) {
  nav ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #a8d5ba;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    text-align: right;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav ul li {
    margin: 10px 0;
  }

  nav.active ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header {
    position: relative;
  }
}

nav a {
  text-decoration: none;
  color: #145c43;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero section */
.hero {
  background: linear-gradient(to bottom, #e4f6ed, #f4fef8);
  padding: 60px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  color: #145c43;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #3b3b3b;
}

/* Features section */
#features {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

#features h3 {
  color: #145c43;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

#features ul {
  list-style-type: disc;
  padding-left: 20px;
}

#features li {
  margin-bottom: 10px;
}

/* Screenshots */
#screenshots {
  background-color: #e9f7f0;
  padding: 40px 20px;
  text-align: center;
}

/* Contact section */
#contact {
  background-color: #f4fef8;
  padding: 40px 20px;
  text-align: center;
  color: #145c43;
}

#contact h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

#contact a {
  color: #145c43;
  font-weight: bold;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

.screens {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.screens img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #cfe9dc;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 2px solid #aad4bd;
}

footer a {
  color: #145c43;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}