/* =========================================================
   PLANCTON RECORDS — styles communs (accueil + artistes)
   ========================================================= */

@font-face {
  font-family: logoFont;
  src: url('fonts/Roboto-Medium.ttf');
  font-display: swap;
}

html, body {
  margin: 0;
  width: 100%;
  background-color: #000;
  color: #fff;
  font-family: logoFont, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

/* Curseur en points : la classe « dots » est ajoutée par curseur.js
   seulement sur ordinateur, si le nuage de points a bien démarré. */
html.dots, html.dots body, html.dots a, html.dots button { cursor: none; }

a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.4); }
a:hover, a:focus-visible { border-bottom-style: solid; border-bottom-color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- Menu du haut ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: linear-gradient(#000 40%, rgba(0,0,0,0));
}
.nav a { border-bottom: none; opacity: .7; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-bottom: 1px solid #fff; }
.nav .home { opacity: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }

/* ---------- Titres ---------- */
h2.label {
  font-size: .8rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .25em;
  opacity: .6;
  margin: 0 0 4vh;
}

/* ---------- Pied de page (mentions légales obligatoires) ---------- */
footer {
  text-align: center;
  font-size: .72rem;
  line-height: 1.7;
  opacity: .5;
  padding: 8vh 16px 4vh;
}

/* ---------- Nuage de points ---------- */
#overlayCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9999;
  display: block;
}

@media (max-width: 600px) {
  .nav { padding: 14px 16px; font-size: .72rem; letter-spacing: .15em; }
  .nav ul { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
