:root {
  --bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-main: #ffffff;
  --text-muted: #cfd8dc;
  --accent: #4fc3f7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* ⬅️ au lieu de center */
  padding-top: 30px;
}


.container {
  width: min(900px, 90%);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

header {
  text-align: center;
  margin-bottom: 20px;
}


header h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

header p {
  color: var(--text-muted);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 25px 0 35px;
  flex-wrap: nowrap;
}

nav a {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 60px;
  padding: 0 22px;

  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.12);       /* ⬅️ plus visible */
  border: 1px solid rgba(255, 255, 255, 0.25); /* ⬅️ cadre clair */

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: 
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

nav a:hover,
nav a.active {
  background: rgba(79, 195, 247, 0.25);
  box-shadow: 0 10px 30px rgba(79, 195, 247, 0.35);
  transform: translateY(-3px);
}


main {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 20px;
  min-height: 300px; /* espace pour le contenu */
}


footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
