/* Reset et base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Arial", sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Conteneur central */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background: #111;
  color: white;
  padding: 40px 0;
  text-align: center;
}
header .logo {
  height: 80px;
  display: block;
  margin: 0 auto 10px;
}
header h1 {
  font-size: 2.8rem;
  margin-bottom: 5px;
}
.slogan {
  font-style: italic;
  font-size: 1.2rem;
  color: #ccc;
}

/* Navigation */
nav {
  background: #c40000;
  padding: 12px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
nav .menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}
nav .menu li a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
nav .menu li a:hover,
nav .menu li a.active {
  background-color: #800000;
}

/* Sections */
section {
  background: white;
  margin: 30px 0;
  padding: 30px 20px;
  border-radius: 6px;
  box-shadow: 0 0 6px #ccc;
}
section h2 {
  border-bottom: 3px solid #c40000;
  margin-bottom: 20px;
  padding-bottom: 8px;
  font-size: 2rem;
}

/* Listes */
ul {
  list-style: disc inside;
  margin-left: 15px;
}

/* Cours */
.cours-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.cours-item {
  flex: 1 1 280px;
  background: #eee;
  padding: 15px;
  border-radius: 5px;
  box-shadow: inset 0 0 6px #bbb;
}
.cours-item h3 {
  margin-bottom: 10px;
}

/* Images */
.image-section {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin-top: 20px;
  border-radius: 6px;
}

/* Footer */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  box-shadow: inset 0 2px 4px #222;
}

/* Responsive */
@media (max-width: 650px) {
  nav .menu {
    flex-direction: column;
    gap: 10px;
  }
  .cours-list {
    flex-direction: column;
  }
}.