/* ================================================================
   LN LAB'S — Global Styles
   Aesthetic: Industrial-futuristic dark. Bebas Neue + DM Sans.
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;600&display=swap');

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

:root {
  --bg:      #070a0f;
  --bg2:     #0c1018;
  --surface: #111720;
  --card:    #141c28;
  --border:  #1e2d40;
  --border2: #243448;
  --acc:     #00f0ff;
  --acc2:    #0080ff;
  --acc-dim: rgba(0,240,255,.12);
  --red:     #ff4060;
  --green:   #00e5a0;
  --yellow:  #ffd166;
  --text:    #dde8f5;
  --muted:   #5a7a9a;
  --sub:     #8aaccc;
  --display: 'Bebas Neue', sans-serif;
  --body:    'DM Sans', sans-serif;
  --mono:    'JetBrains Mono', monospace;
  --r:       12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Grid background ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,240,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  background: rgba(7,10,15,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 48px;
  gap: 0;
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-dot { color: var(--acc); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 7px 16px; border-radius: 7px;
  font-size: .82rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: all .2s; letter-spacing: .02em;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--acc); }
.nav-cta {
  margin-left: 16px; padding: 8px 20px !important;
  background: var(--acc-dim) !important; color: var(--acc) !important;
  border: 1px solid rgba(0,240,255,.25) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all .2s !important;
}
.nav-cta:hover { background: rgba(0,240,255,.2) !important; }

/* ── Container ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }
@media(max-width:768px) { .container,.nav { padding-left:20px; padding-right:20px; } }

/* ── Section ─────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-label {
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  color: var(--acc); letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 12px; display: block;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: .04em; line-height: 1;
  color: var(--text); margin-bottom: 16px;
}
.section-sub { font-size: .95rem; color: var(--muted); max-width: 560px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 9px; border: none;
  font-family: var(--body); font-size: .88rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all .2s;
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--acc); color: #070a0f;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline {
  background: transparent; color: var(--acc);
  border: 1px solid rgba(0,240,255,.4);
}
.btn-outline:hover { background: var(--acc-dim); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--border2); transform: translateY(-2px); }

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em;
}
.badge-new     { background: rgba(0,240,255,.15); color: var(--acc); }
.badge-popular { background: rgba(255,209,102,.15); color: var(--yellow); }
.badge-updated { background: rgba(0,229,160,.15); color: var(--green); }

/* ── Tags ────────────────────────────────────────────────────── */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 5px;
  font-size: .72rem; font-weight: 500; font-family: var(--mono);
  background: rgba(255,255,255,.06); color: var(--sub);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  margin-top: 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo { font-family: var(--display); font-size: 1.2rem; letter-spacing: .08em; }
.footer-logo span { color: var(--acc); }
.footer-copy { font-size: .78rem; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .78rem; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes glow {
  0%,100% { box-shadow: 0 0 20px rgba(0,240,255,.2); }
  50%      { box-shadow: 0 0 40px rgba(0,240,255,.4); }
}
.anim-1 { animation: fadeUp .6s ease both; }
.anim-2 { animation: fadeUp .6s .1s ease both; }
.anim-3 { animation: fadeUp .6s .2s ease both; }
.anim-4 { animation: fadeUp .6s .3s ease both; }

/* ── Réalisations ─────────────────────────────────────────────── */
.projects-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.projects-label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .18em;
  color: var(--muted); text-transform: uppercase;
  text-align: center; margin-bottom: 28px;
}
.projects-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 40px;
}
.project-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: .45; transition: opacity .25s, filter .25s;
  filter: grayscale(1); text-decoration: none;
}
.project-item:hover { opacity: 1; filter: grayscale(0); }
.project-item img {
  height: 36px; max-width: 140px;
  width: auto; object-fit: contain; display: block;
}
.project-item-text {
  font-family: var(--display); font-size: 1.1rem;
  letter-spacing: .08em; color: var(--muted); white-space: nowrap;
}
