* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #1b2735, #090a0f);
  color: white;
}

/* NAVIGATION PROPRE (vertical fixe) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 140px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;

  background: rgba(0,0,0,0.6);
  padding: 10px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  text-align: center;
}

/* PAGES */
.page {
  margin-left: 140px;
  padding: 40px;
  min-height: 100vh;
}

/* HERO */
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* 🌕 LUNE PROPRE (corrige noir + déformation) */
.moon-img {
  width: 55vmin;
  height: 55vmin;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-top: 30px;
}

/* SCAN */
.scan-wrapper {
  position: relative;
  margin-left: 140px;
  height: 100vh;
  overflow: hidden;
}

video, canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* UI SCAN */
.scan-ui {
  position: absolute;
  bottom: 40px;
  left: 160px;
}

.scan-card {
  background: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 10px;
}

.logo-img {
  width: 60px;
  height: auto;
  display: block;
}
a {
  color: #00bcd4; /* couleur normale */
  text-decoration: none;
}

a:visited {
  color: #00bcd4; /* même couleur après clic */
}