/* Le Papa Curieux : page d'attente. Couleurs inspirées de la piste « croquis » (ardoise, craie,
   surligneur), sans ses polices : l'identité n'est pas encore validée. Polices du système, aucun
   fichier chargé d'ailleurs. */
:root {
  --encre: #1E2A33;
  --papier: #F2F0E9;
  --quadrillage: rgba(30, 42, 51, 0.07);
  --surligneur: #FFE24A;
  --accent: #C2185B;
  --doux: #4A5862;
}

@media (prefers-color-scheme: dark) {
  :root {
    --encre: #F2F0E9;
    --papier: #1E2A33;
    --quadrillage: rgba(242, 240, 233, 0.06);
    --accent: #FF7A9A;
    --doux: #B8C2C8;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 3rem 1rem 2rem;
  color: var(--encre);
  background-color: var(--papier);
  background-image:
    linear-gradient(var(--quadrillage) 1px, transparent 1px),
    linear-gradient(90deg, var(--quadrillage) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

header, main, footer {
  max-width: 36rem;
  margin: 0 auto;
}

h1 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
}

.surligne {
  padding: 0 0.2em;
  border-radius: 0.2em;
  color: #1E2A33;
  background: var(--surligneur);
}

.note {
  display: inline-block;
  margin: 0;
  padding: 0.1rem 0.6rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  transform: rotate(-3deg);
}

.signature {
  margin: 0 0 2rem;
  color: var(--doux);
  font-style: italic;
}

.rubriques {
  padding: 0;
  list-style: none;
}

.rubriques li {
  margin: 0.4rem 0;
  padding-left: 1.6rem;
  position: relative;
}

.rubriques li::before {
  content: "?" / "";
  position: absolute;
  left: 0;
  width: 1.2rem;
  text-align: center;
  color: var(--accent);
  font-weight: 700;
}

a { color: inherit; text-underline-offset: 0.15em; }

.bouton {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--encre);
  border-radius: 0.6rem;
  box-shadow: 4px 4px 0 var(--encre);
  color: #1E2A33;
  background: var(--surligneur);
  font-weight: 700;
  text-decoration: none;
}

.bouton:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--quadrillage);
  color: var(--doux);
  font-size: 0.95rem;
}
