/* ======== STRUCTURE ======== */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======== NAVIGATION ======== */
.navbar {
  background-color: #007acc;
  padding: 10px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: white;
  font-size: 1.3em;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-menu li a:hover {
  text-decoration: underline;
}

/* ======== HERO ======== */
.hero {
  background-color: #0099ff;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.slogan {
  font-size: 1.2em;
  margin: 10px 0 30px;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: #0099ff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta-button:hover {
  background-color: #007acc;
  color: white;
}

/* ======== SECTIONS ======== */
.section {
  padding: 60px 20px;
  text-align: center;
}

.section h2 {
  color: #0099ff;
  margin-bottom: 20px;
}

/* ======== FOOTER ======== */
.footer {
  background-color: #eee;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}
.hero {
  position: relative;
  background: url('images/banner.jpg') center/cover no-repeat;
  min-height: 400px;
  padding: 100px 20px;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* filtre noir à 50% */
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
