/* Pages de maintenance et « Prochainement » (deploy/maintenance/page.php) : aucun style en ligne (CSP). */
:root {
  color-scheme: light dark;
  --accent: #b0105c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #ffb0cb;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 32px 16px 24px;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.55;
  background: Canvas;
  color: CanvasText;
}
main {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 34rem;
  text-align: center;
}
main img {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  border-radius: 50%;
}
h1 {
  margin: 0 0 16px;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--accent);
}
h2 {
  margin: 24px 0 8px;
  font-size: 1.2rem;
}
p,
ul {
  margin: 0 0 12px;
}
ul {
  display: inline-block;
  padding-left: 1.2em;
  text-align: left;
}
footer {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
}
footer svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* « Prochainement » : fond toujours sombre, pluie de symboles (matrix.js) derrière un panneau */
.soon {
  color-scheme: dark;
  --accent: #ffa59a;
  --panel: rgb(14 6 8 / 0.72);
  --edge: rgb(255 150 140 / 0.18);
  min-height: 100dvh;
  background: #070304;
  color: #fbeeed;
}
.soon .matrix {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.soon main,
.soon footer {
  position: relative;
  z-index: 1;
}
.soon main {
  padding: 28px 24px;
  border: 1px solid var(--edge);
  border-radius: 24px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 60px rgb(0 0 0 / 0.6);
}
.soon main img {
  box-shadow: 0 0 32px rgb(255 120 110 / 0.35);
}
.soon h1 {
  text-shadow: 0 0 18px rgb(255 120 110 / 0.45);
}
.soon p:last-child {
  margin-bottom: 0;
}
.soon strong {
  color: #fff;
}
.soon footer a {
  padding: 0 18px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
