/* Style global */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fafafa;
}

/* Header */
header {
  background-color: #004080; /* bleu institutionnel */
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.logo {
  max-height: 50px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #0066cc;
  border-radius: 4px;
}

/* Bannière */
.hero-background {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-text {
  font-size: 2.4em;
  margin: 0;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-subtext {
  font-size: 1.3em;
  margin-top: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Sections */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  color: #004080;
  margin-bottom: 20px;
}

.presentation p {
  margin-bottom: 20px;
}

/* Bouton CTA */
.cta {
  display: inline-block;
  background-color: #004080;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta:hover {
  background-color: #ffcc00;
  color: #004080;
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 20px;
}

footer p {
  margin: 8px 0;
}

/* Liens dans le footer (email et navigation) */
footer a,
footer a:visited,
footer a:active {
  color: #ffffff !important;   /* force le blanc */
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #ffcc00 !important;   /* doré au survol */
  text-decoration: underline;
}

/* Icône enveloppe */
.footer-icon {
  margin-right: 8px;
  font-size: 1.2em;
}

/* Footer nav */
.footer-nav ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-nav ul li {
  margin: 0 15px;
}

.footer-nav ul li a {
  color: white !important;
  text-decoration: none;
}

.footer-nav ul li a:hover {
  text-decoration: underline;
  color: #ffcc00 !important;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero-background {
    height: 200px;
  }

  .hero-text {
    font-size: 1.8em;
  }

  .hero-subtext {
    font-size: 1em;
  }

  .footer-nav ul {
    flex-direction: column;
  }

  .footer-nav ul li {
    margin: 8px 0;
  }
}
/* Justification du texte */
section p,
section ul,
section li {
  text-align: justify;
}
