/* Feuille commune du Pack Néon Aulit (pages légales, accueil). Charte : néon broadcast, saison « base » de saisons.js.
   Polices Orbitron et Rajdhani auto-hébergées (fonts/, licence SIL OFL dans fonts/LICENCE.txt) : aucun appel à un serveur tiers. */
@import url("fonts/fonts.css");

:root {
  /* Mêmes noms que saisons.js ; saisons.js les remplace sur :root quand il est chargé. */
  --bg: #070a10;
  --cyan: #00f5ff;
  --violet: #9b5cff;
  --magenta: #ff2d78;
  --white: #e8eaf6;
  --dim: #8a94a8; /* plus clair que le #4a5568 des overlays : contraste >= 4,5:1 sur --bg pour le texte de page */
  --panel: #0d121c;
  --line: rgba(155, 92, 255, .35);
  --font-titre: 'Orbitron', system-ui, sans-serif;
  --font-texte: 'Rajdhani', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--violet) 22%, transparent), transparent 70%),
    radial-gradient(50rem 28rem at -10% 110%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 70%),
    var(--bg);
  color: var(--white);
  font-family: var(--font-texte);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.65;
}

.lien-evitement {
  position: absolute; left: -999px; top: 0;
  background: var(--cyan); color: var(--bg); padding: .5rem 1rem; font-weight: 700; z-index: 10;
}
.lien-evitement:focus { left: 1rem; top: 1rem; }

.entete {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.marque {
  font-family: var(--font-titre); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  font-size: 1.05rem; color: var(--white); text-decoration: none;
  text-shadow: 0 0 14px color-mix(in srgb, var(--cyan) 70%, transparent);
}
.marque span { color: var(--cyan); }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
nav a { color: var(--white); text-decoration: none; font-weight: 600; padding: .25rem 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { border-bottom-color: var(--magenta); }

main { max-width: 52rem; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2rem) 4rem; }

h1, h2, h3 { font-family: var(--font-titre); line-height: 1.2; }
h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; margin: 0 0 .5rem;
  text-shadow: 0 0 22px color-mix(in srgb, var(--violet) 80%, transparent);
}
.sur-titre {
  font-family: var(--font-titre); color: var(--cyan); text-transform: uppercase; letter-spacing: .2em;
  font-size: .8rem; margin: 0 0 .5rem;
}
h2 {
  font-size: 1.2rem; font-weight: 700; margin: 2.5rem 0 .75rem; padding-left: .9rem;
  border-left: 3px solid var(--magenta); color: var(--white);
}
h3 { font-size: 1rem; font-weight: 600; color: var(--cyan); margin: 1.5rem 0 .5rem; }

p, li { max-width: 68ch; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 2px; }

.chapeau { color: var(--dim); font-size: 1.2rem; margin: 0 0 2rem; }

.encart {
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--cyan);
  padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 4px;
}
.encart p { margin: .25rem 0; }

.a-completer {
  background: #ffd54a; color: #1a1400; font-weight: 700; padding: .05rem .4rem; border-radius: 3px;
}

table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 1.05rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-titre); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.defilement { overflow-x: auto; }

code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; background: var(--panel); padding: .1em .4em; border-radius: 3px; color: var(--cyan); }

.pied {
  border-top: 1px solid var(--line); padding: 1.5rem clamp(1rem, 4vw, 3rem); color: var(--dim);
  font-size: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
.pied ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.pied a { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
