/*
 * Habillage minimal, aux couleurs du jeu. Aucune police distante, aucun script,
 * aucune ressource tierce : une page légale ne doit rien charger d'ailleurs.
 */

:root {
  --encre: #0b0722;
  --encre-2: #150b3d;
  --craie: #fdf7ff;
  --rose: #ff2d95;
  --jaune: #ffd23f;
  --cyan: #22d3ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.2rem 4rem;
  background: linear-gradient(160deg, var(--encre-2), var(--encre) 70%);
  color: var(--craie);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

header, main, footer { max-width: 46rem; margin-inline: auto; }

header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
  padding: 1.6rem 0 1rem;
  border-bottom: 1px solid rgba(253, 247, 255, 0.15);
}

.marque {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.marque .brevet { color: var(--jaune); }
.marque .debile { color: var(--rose); margin-left: 0.3em; }

nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; font-size: 0.92rem; }
nav a { color: var(--craie); opacity: 0.7; text-decoration: none; }
nav a:hover { opacity: 1; text-decoration: underline; }
nav a[aria-current='page'] { opacity: 1; color: var(--cyan); }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 2rem 0 0.3rem; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 0.4rem; color: var(--jaune); }

.date { margin: 0 0 2rem; font-size: 0.88rem; opacity: 0.6; }

a { color: var(--cyan); }

.resume {
  border-left: 3px solid var(--rose);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 0 0 2rem;
}

ul { padding-left: 1.3rem; }
li { margin: 0.3rem 0; }

code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(253, 247, 255, 0.12);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 1.4rem;
  font-size: 0.94rem;
}

th, td {
  border: 1px solid rgba(253, 247, 255, 0.18);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

th { background: rgba(253, 247, 255, 0.07); font-weight: 600; }

.documents { list-style: none; padding: 0; margin: 2rem 0; }

.documents li {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(253, 247, 255, 0.18);
  border-radius: 12px;
  background: rgba(253, 247, 255, 0.05);
}

.documents a { font-size: 1.05rem; font-weight: 600; }
.documents span { font-size: 0.92rem; opacity: 0.75; }

.note { font-size: 0.9rem; opacity: 0.7; }

footer {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(253, 247, 255, 0.15);
  font-size: 0.85rem;
  opacity: 0.55;
}
