@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

body {
  min-height: 100vh;
  background: #07111f;
  color: #f8fafc;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.13) 0%, transparent 70%);
  filter: blur(70px);
  top: -200px; left: -200px;
  pointer-events: none; z-index: 0;
}

/* -- Nav -- */
.topnav {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(7,17,31,0.8);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 10;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(96,165,250,0.35);
  background: rgba(59,130,246,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
  transition: color 0.2s, border-color 0.2s, background 0.2s,
              transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
}
.back-btn:hover {
  color: #bfdbfe;
  border-color: rgba(96,165,250,0.6);
  background: rgba(59,130,246,0.16);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateX(-4px);
}

.nav-brand {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.nav-logo {
  width: 26px; height: 26px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(59,130,246,0.5));
}

/* -- Page -- */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* -- Carte légale -- */
.legal-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 3rem 2.75rem;
  backdrop-filter: blur(12px);
  animation: fadeUp 0.6s cubic-bezier(.22,1,.36,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.legal-card h1 {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.updated {
  font-size: 0.78rem;
  color: #f1f5f9;
  margin-bottom: 2.5rem;
}

.legal-card h2 {
  max-width: 880px;
  font-size: 1rem;
  font-weight: 700;
  color: #93c5fd;
  margin: 2rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.legal-card p {
  max-width: 880px;
  font-size: 0.9rem;
  color: #f1f5f9;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-card ul {
  max-width: 880px;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-card ul li {
  font-size: 0.88rem;
  color: #f1f5f9;
  padding-left: 1.2rem;
  position: relative;
}
.legal-card ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-size: 0.75rem;
}

.legal-card a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
}
.legal-card a:hover { color: #93c5fd; }

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table { min-width: 480px; }

/* ------------------------------
   RESPONSIVE - MOBILE
------------------------------ */
@media (max-width: 520px) {
  .nav-brand { display: none; }
  .legal-card { padding: 2rem 1.5rem; }
  .legal-card h1 { font-size: 1.55rem; }
  .page { padding: 2rem 1rem 4rem; }
}

@media (max-width: 380px) {
  .back-btn span { display: none; }
  .legal-card { padding: 1.5rem 1.1rem; }
  .legal-card h1 { font-size: 1.35rem; }
}
