:root {
  --bg: #0b0f14;
  --bg-2: #121922;
  --text: #eef2f6;
  --muted: #8b98a8;
  --accent: #f5c400;
  --accent-2: #1fd17a;
  --line: #1f2a36;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { opacity: .85; }

/* ---------- Page d'accueil « bientôt » ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(245,196,0,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(31,209,122,.10), transparent 60%),
    var(--bg);
  overflow: hidden;
  position: relative;
}

/* lignes de terrain en fond */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    radial-gradient(circle at 50% 50%, transparent 119px, var(--line) 120px, transparent 121px);
  opacity: .35;
  pointer-events: none;
}

.top, .content, .bottom { position: relative; max-width: 960px; width: 100%; margin: 0 auto; }

.logo {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.logo span { color: var(--accent); }

.content { padding: 48px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-2);
  border: 1px solid rgba(31,209,122,.35);
  background: rgba(31,209,122,.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .3; } }

h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
h1 em { font-style: normal; color: var(--accent); }

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 560px;
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.feature strong { display: block; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .92rem; }

.bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: .85rem;
  color: var(--muted);
}
.bottom a { color: var(--muted); }

/* ---------- Pages légales ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
.legal .logo { display: inline-block; margin-bottom: 32px; text-decoration: none; color: var(--text); }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 8px; }
.legal .maj { color: var(--muted); margin-bottom: 32px; font-size: .9rem; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; color: var(--accent); }
.legal p, .legal li { color: #cfd7e0; margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; }
.todo { background: rgba(245,196,0,.15); color: var(--accent); padding: 0 4px; border-radius: 4px; }
