@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f9f4;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === NAVBAR FIXE === */
.navbar-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.navbar-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #5a9543;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #5a9543;
}

.burger {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  display: none;
  color: #5a9543;
}

/* === MENU BURGER LATÉRAL POUR MOBILE === */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1001;
  }

  .nav-links.show {
    display: flex;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
  }

  .navbar-title {
    font-size: 1.4rem;
  }
}

/* === CONTENU PRINCIPAL === */
main {
  padding-top: 100px;
}

.perinatalite-section {
  flex: 1;
  padding: 40px 20px 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2.5rem;
  color: #4b3b3b;
  border-bottom: 4px solid #73AC55;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.image-top {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.8rem;
  color: #5a9543;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-decoration: underline;
}

h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* === FOOTER === */
footer {
  background: #73AC55;
  color: white;
  padding: 40px 20px 20px 20px;
  font-weight: normal;
  font-size: 1.2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  font-size: 1.5rem;
  border-bottom: 2px solid white;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a,
.footer-bottom a {
  color: white;
  text-decoration: none;
}

.footer-section ul li a:hover,
.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid white;
  margin-top: 30px;
  font-weight: bold;
}

/* === RESPONSIVE CONTENU SEULEMENT === */
@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p,
  li {
    font-size: 1rem;
  }

  .image-top {
    max-height: 200px;
  }
}
