/* Drop'Z — style partagé v2 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0b14;
  --surface: #13101f;
  --surface-2: #191527;
  --border: #2a1d45;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --text: #e2d9f3;
  --muted: #8b7aa0;
  --radius: 14px;
  --commun: #7dd3fc;
  --rare: #a78bfa;
  --legendaire: #fbbf24;
  --danger: #f87171;
  --success: #4ade80;
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, var(--purple-glow), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

a { color: inherit; }

/* ── NAV ── */
nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 32px; height: 32px; border-radius: 50%; }
.nav-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--purple-light);
}
.nav-links { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--purple-light); transform: translateY(-1px); }

/* ── LAYOUT ── */
main { flex: 1; width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 56px 24px; }
.page-head { text-align: center; margin-bottom: 48px; }
.page-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.page-head h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.btn:hover { border-color: var(--purple); transform: translateY(-1px); }
.btn-primary { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-light); }

/* ── FOOTER ── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
footer.site-footer a { color: var(--muted); text-decoration: none; }
footer.site-footer a:hover { color: var(--purple-light); }
footer.site-footer .footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* focus visibility */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 720px) {
  nav.site-nav { padding: 14px 18px; }
  .nav-links { gap: 16px; }
  .container { padding: 40px 16px; }
}
