/* Reset */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body { font-family: Arial, sans-serif; line-height:1.6; text-align:center; }

/* Menu */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: #34495e; z-index: 9999;
}
.nav-inner {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 20px; padding: 14px 16px;
}
nav a {
  color: #fff; text-decoration: none; font-weight: bold; font-size: 18px;
}
nav a:hover { text-decoration: underline; }

/* Conteneur */
.container {
  max-width: 1000px; margin: 96px auto 40px; padding: 0 16px;
}

/* Image d’accueil */
.hero { display: flex; flex-direction: column; align-items: center; }
.hero img { width: 100%; max-width: 600px; height: auto; border-radius: 8px; margin: 0 auto; }

/* Titres */
h1, h2, p { font-size: clamp(16px, 2.5vw, 22px); line-height: 1.4; }
h2 { margin-bottom: 20px; color: #34495e; }

/* Pied de page */
footer {
  background: #2c3e50; color: white; text-align: center;
  padding: 15px; margin-top: 40px; font-size: 16px;
}

/* Sous-menu Quiz */
.sub-menu {
  margin: 20px 0; display: flex; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
.sub-menu a {
  background: #34495e; color: #fff; padding: 8px 14px;
  border-radius: 4px; text-decoration: none; font-weight: bold;
}
.sub-menu a:hover { background: #2c3e50; text-decoration: underline; }

/* Responsive */
@media (max-width: 600px) {
  nav a { font-size: 16px; }
  .container { margin-top: 120px; padding: 0 8px; }
  .hero img { max-width: 100%; }
}
