/* FestiLumieres : néon cyan et magenta sur fond de nuit, comme l'application. */
:root {
  --bg: #04050c;
  --surface: #0a0c1d;
  --border: #1b2246;
  --text: #dbe7ff;
  --muted: #8fa3d6;
  --accent: #00f0ff;
  --accent-strong: #7ff8ff;
  --magenta: #ff2bd6;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(700px 420px at 50% -8%, rgba(0, 240, 255, .16), transparent 70%),
    radial-gradient(700px 420px at 50% 108%, rgba(255, 43, 214, .13), transparent 70%),
    linear-gradient(transparent 96%, rgba(0, 240, 255, .05) 97%) 0 0 / 46px 46px,
    linear-gradient(90deg, transparent 96%, rgba(0, 240, 255, .05) 97%) 0 0 / 46px 46px,
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site { border-bottom: 1px solid var(--border); }
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 240, 255, .6);
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav { display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: #fff; }

main { padding: 40px 0 56px; }

.hero { text-align: center; padding: 16px 0 8px; }
.hero img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 0 30px rgba(0, 240, 255, .35), 0 0 60px rgba(255, 43, 214, .25);
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .hero img { animation: none; } }
.hero h1 {
  margin: 22px 0 6px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 6px var(--accent), 0 0 22px var(--accent), 0 0 48px var(--magenta);
}
.hero p { margin: 0 auto; max-width: 500px; color: var(--muted); }
.badge {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(255, 43, 214, .45);
}

h1 { font-size: 28px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; color: #fff; }
h2 { font-size: 20px; font-weight: 600; margin: 36px 0 10px; color: #fff; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 36px 0;
  padding: 0;
  list-style: none;
}
.features li {
  margin: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.features strong { display: block; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 15px; }

.card {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--magenta);
  border-radius: 14px;
}
.card p:last-child { margin-bottom: 0; }

details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 480px) {
  nav { gap: 12px; font-size: 14px; }
  .brand span { display: none; }
  .hero h1 { font-size: 26px; letter-spacing: .14em; }
}
