/* ===============================
   BASE DU SITE
=============================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: url("../images/fde.jpg") center/cover fixed no-repeat;
  background-color: #eef3f2;
  color: #1d2b38;
  line-height: 1.7;
  font-size: 18px;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   VIEWPORT MOBILE
=============================== */
/* À mettre dans le <head> :
<meta name="viewport" content="width=device-width, initial-scale=1.0">
*/


/* ===============================
   HEADER & NAVIGATION
=============================== */

header {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* iPhone fix */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav > a {
  color: #2e8b57;
  font-size: 1.2em;
  font-weight: 800;
  text-decoration: none;
}

nav .menu a {
  margin-left: 25px;
  font-weight: 700;
  font-size: 0.9em;
  color: #1d2b38;
  text-decoration: none;
  padding: 6px 10px; /* clic tactile amélioré */
}

nav .menu a:hover {
  color: #2e8b57;
}

/* ===============================
   HERO
=============================== */

.hero {
  padding: 40px 20px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.70);
  max-width: 900px;
  width: 95%;
  margin: 10px auto 0;
  padding: 40px 30px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-card h1 {
  font-size: 2.7em;
  margin-bottom: 15px;
  color: #1d2b38;
  font-weight: 800;
}

.hero-card p {
  font-size: 1.25em;
  max-width: 750px;
  margin: 0 auto 20px;
}

/* ===============================
   SECTIONS
=============================== */

section {
  max-width: 900px;
  width: 95%;
  margin: 60px auto;
  padding: 35px 30px;
  background: rgba(255, 255, 255, 0.70);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.15em;
}

h2 {
  color: #2e8b57;
  text-align: center;
  margin-bottom: 25px;
  font-size: 2em;
  font-weight: 800;
}

/* ===============================
   CORRECTION double-fond
=============================== */

section * {
  background: transparent !important;
}

/* ===============================
   LISTES
=============================== */

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
  font-size: 1.1em;
  color: #1d2b38;
}

ul li::before {
  content: "•";
  color: #2e8b57;
  position: absolute;
  left: 0;
}

/* ===============================
   FOOTER (même style que sections)
=============================== */

footer {
  max-width: 900px;
  width: 95%;
  margin: 60px auto;
  padding: 35px 30px;
  background: rgba(255, 255, 255, 0.70);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: #1d2b38;
  text-align: center;
  line-height: 1.6;
}

footer a {
  color: #2e8b57;
  text-decoration: none;
  font-weight: 700;
}

footer a:hover {
  text-decoration: underline;
}

/* ===============================
   RESPONSIVE MOBILE
=============================== */

@media (max-width: 600px) {

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  .hero-card {
    padding: 25px 15px;
  }

  nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  nav .menu a {
    margin-left: 0;
    margin-right: 10px;
    font-size: 1em;
  }
}
