/* ForXell — charte visuelle partagée */
:root {
  --midnight: #070D24;
  --midnight2: #0E1640;
  --indigo: #5B5BF5;
  --cyan: #22D3EE;
  --ink: #F2F5FF;
  --muted: #9AA3C7;
  --card: rgba(255,255,255,.045);
  --stroke: rgba(122,140,200,.16);
  --maxw: 1180px;
  --grad: linear-gradient(118deg, #5B5BF5, #22D3EE);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  color: var(--ink); line-height: 1.55;
  background:
    radial-gradient(1100px 800px at 82% -5%, rgba(91,91,245,.18), transparent 55%),
    radial-gradient(900px 700px at -5% 30%, rgba(34,211,238,.10), transparent 55%),
    linear-gradient(170deg, var(--midnight) 0%, var(--midnight2) 100%);
  background-attachment: fixed; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.logo-x { position: relative; width: 34px; height: 34px; flex-shrink: 0; }
.logo-x i {
  position: absolute; top: 50%; left: 50%; width: 42px; height: 9px;
  border-radius: 5px; background: var(--grad);
}
.logo-x i:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.logo-x i:last-child  { transform: translate(-50%,-50%) rotate(-45deg); }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,13,36,.72); border-bottom: 1px solid var(--stroke);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); transition: color .15s; }
@media(max-width: 760px) { .nav-links a:not(.btn) { display: none; } }
/* Bouton « Se connecter » : reste sur UNE ligne et ne comprime pas le logo —
   sur mobile il ne reste que lui + le sélecteur de langue dans la barre. */
nav .logo { flex-shrink: 0; white-space: nowrap; }
.nav-login { white-space: nowrap; flex-shrink: 0; }
@media(max-width: 760px) {
  .nav-links { gap: 10px; }
  .nav-login { padding: 9px 15px; font-size: 13.5px; }
  /* Place au bouton login : le sélecteur garde son drapeau, pas le libellé
     (les noms complets restent dans le menu déroulant). Sélecteur volontairement
     plus spécifique que le <style> inline du sélecteur, injecté après ce fichier. */
  .lang-selector .lang-current span { display: none; }
  .lang-selector .lang-current { padding: 8px 11px; }
}
@media(max-width: 380px) { .nav-login { padding: 8px 12px; font-size: 13px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: var(--grad); color: #06122B;
  box-shadow: 0 10px 36px rgba(34,211,238,.24);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(34,211,238,.34); }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--stroke); box-shadow: none;
}
.btn.ghost:hover { border-color: rgba(91,91,245,.5); }
.btn.sm { padding: 10px 20px; font-size: 14px; }

/* Sections */
section { padding: 90px 0; }
.eyebrow {
  text-align: center; font-size: 13px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
}
h2 {
  text-align: center; font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 800; letter-spacing: -.025em; margin-top: 14px;
}
.lead {
  text-align: center; color: var(--muted); font-size: 18px;
  max-width: 600px; margin: 16px auto 0; font-weight: 500;
}

/* Cards */
.card {
  padding: 36px 30px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--stroke);
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91,91,245,.4); }

/* Footer */
footer {
  border-top: 1px solid var(--stroke);
  padding: 48px 0;
  color: var(--muted); font-size: 14px;
}
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a:hover { color: var(--ink); }

/* Badge pill */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--stroke); background: var(--card);
  font-size: 14px; color: var(--muted); font-weight: 600;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
