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

:root {
  --bg: #09090f;
  --surface: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.07);
  --text: #e2e8f0;
  --muted: rgba(255,255,255,0.45);
  --faint: rgba(255,255,255,0.2);
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }

.lang-fr { display: none !important; }
html.fr .lang-en { display: none !important; }
html.fr .lang-fr { display: revert !important; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(9,9,15,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 100;
}
.nav-left { display: flex; align-items: center; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.logo, .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark { width: 32px; height: 32px; background: linear-gradient(135deg, #6366f1, #8b5cf6); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: white; flex-shrink: 0; }
.logo-text { font-weight: 700; font-size: 16px; letter-spacing: 0.5px; }

.lang-toggle { display: flex; gap: 2px; background: rgba(255,255,255,0.06); border-radius: 6px; padding: 3px; }
.lang-btn { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; cursor: pointer; color: var(--faint); transition: all .2s; border: none; background: none; }
.lang-btn.active { background: rgba(255,255,255,0.12); color: var(--text); }

.back-link { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color .2s; }
.back-link:hover { color: rgba(255,255,255,0.7); }

hr { border: none; border-top: 1px solid var(--border); margin: 0 48px; }

footer { padding: 24px 48px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer p { font-size: 12px; color: var(--faint); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--faint); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--muted); }

@media (max-width: 640px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  hr { margin: 0 20px; }
  footer { padding: 20px; }
}
