
  :root {
    --bg: #0c0d0f; --surface: #13151a; --surface2: #1a1d24;
    --border: rgba(255,255,255,0.07); --text: #e8eaf0; --muted: #7a7f8e;
    --accent: #00d4aa; --accent2: #ff6b35; --accent3: #3b9eff; --accent4: #af52de;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.5rem; height: 60px;
    background: rgba(12,13,15,0.92); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: var(--text); text-decoration: none; }
  .nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 500; padding: 0.35rem 0.9rem; border-radius: 6px; transition: color 0.2s, background 0.2s; }
  .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
  .nav-links a.active { color: var(--accent); background: rgba(0,212,170,0.1); }
  .nav-links a.btn-blue { color: #3b9eff; border: 1px solid rgba(59,158,255,0.3); background: rgba(59,158,255,0.07); }
  .nav-links a.btn-blue:hover { background: rgba(59,158,255,0.14); }

  /* HERO */
  .hero {
    min-height: 60vh; display: flex; align-items: flex-end;
    padding: 100px 2rem 4rem; position: relative; overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,212,170,0.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner { max-width: 1000px; width: 100%; margin: 0 auto; }
  .hero-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; }
  .hero-breadcrumb a { color: var(--muted); text-decoration: none; }
  .hero-breadcrumb a:hover { color: var(--text); }
  .hero-breadcrumb span { opacity: 0.4; }

  .hero-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); background: rgba(0,212,170,0.1); border: 1px solid rgba(0,212,170,0.25); padding: 0.3rem 0.8rem; border-radius: 100px; display: inline-block; margin-bottom: 1rem; }

  .hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
  .hero h1 span { color: var(--accent); }
  .hero-sub { font-size: 1rem; color: var(--muted); max-width: 560px; font-weight: 300; margin-bottom: 2rem; }
  .hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
  .btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: #0c0d0f; font-size: 0.83rem; font-weight: 700; padding: 0.65rem 1.3rem; border-radius: 8px; text-decoration: none; transition: opacity 0.2s; }
  .btn-primary:hover { opacity: 0.85; }
  .btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--border); color: var(--muted); font-size: 0.83rem; font-weight: 500; padding: 0.65rem 1.3rem; border-radius: 8px; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

  hr.divider { border: none; border-top: 1px solid var(--border); }
  section { padding: 4rem 2rem; }
  .container { max-width: 1000px; margin: 0 auto; }
  .section-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
  .section-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
  .section-desc { color: var(--muted); max-width: 580px; margin-bottom: 2.5rem; font-size: 0.9rem; }

  /* CONTEXTE */
  .ctx-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ctx-text p { color: var(--muted); margin-bottom: 1rem; font-size: 0.9rem; }
  .ctx-cards { display: flex; flex-direction: column; gap: 0.75rem; }
  .ctx-card { display: flex; align-items: flex-start; gap: 0.9rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem; }
  .ctx-card-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ctx-card-icon svg { width: 16px; height: 16px; }
  .ctx-card-icon.teal { background: rgba(0,212,170,0.1); }
  .ctx-card-icon.orange { background: rgba(255,107,53,0.1); }
  .ctx-card-icon.green { background: rgba(52,199,89,0.1); }
  .ctx-card-icon.purple { background: rgba(175,82,222,0.1); }
  .ctx-card-title { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.15rem; }
  .ctx-card-desc { font-size: 0.8rem; color: var(--muted); }

  /* FEATURES */
  .features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; transition: border-color 0.2s; }
  .feature-card:hover { border-color: rgba(0,212,170,0.25); }
  .feature-card-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
  .feature-card-title .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
  .feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
  .feature-list li { font-size: 0.82rem; color: var(--muted); display: flex; align-items: flex-start; gap: 0.5rem; }
  .feature-list li::before { content: '–'; flex-shrink: 0; color: rgba(0,212,170,0.4); }

  /* STACK */
  .stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 0.75rem; }
  .stack-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; transition: border-color 0.2s, transform 0.2s; }
  .stack-card:hover { transform: translateY(-2px); border-color: rgba(0,212,170,0.2); }
  .stack-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .stack-name { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.2rem; }
  .stack-role { font-size: 0.74rem; color: var(--muted); margin-bottom: 0.5rem; }
  .stack-tag { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 4px; background: rgba(0,212,170,0.1); color: var(--accent); }

  /* COMPÉTENCES */
  .blocs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .bloc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
  .bloc-header { display: flex; align-items: center; gap: 0.75rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.15); }
  .bloc-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.8rem; padding: 0.25rem 0.6rem; border-radius: 6px; border: 1px solid rgba(0,212,170,0.3); background: rgba(0,212,170,0.1); color: var(--accent); }
  .bloc-title { font-weight: 600; font-size: 0.9rem; }
  .bloc-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
  .comp-group-title { font-size: 0.8rem; font-weight: 600; color: var(--accent); margin-bottom: 0.4rem; }
  .comp-list { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
  .comp-list li { font-size: 0.79rem; color: var(--muted); padding-left: 1rem; position: relative; }
  .comp-list li::before { content: '–'; position: absolute; left: 0; color: var(--border); }

  /* MOCKUP */
  .mockup-wrap { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; max-width: 480px; }
  .mockup-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.9rem; background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--border); }
  .mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
  .mockup-dot:nth-child(1) { background: #ff5f57; }
  .mockup-dot:nth-child(2) { background: #ffbd2e; }
  .mockup-dot:nth-child(3) { background: #28ca41; }
  .mockup-url { flex: 1; font-size: 0.68rem; color: var(--muted); background: rgba(255,255,255,0.04); border-radius: 4px; padding: 0.2rem 0.6rem; text-align: center; }
  .mockup-body { padding: 1.25rem; }
  .mockup-row { display: flex; gap: 0.5rem; margin-bottom: 0.55rem; }
  .mb { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); }
  .mb.accent { background: rgba(0,212,170,0.25); }
  .mb.w60 { width: 60%; } .mb.w40 { width: 40%; } .mb.w30 { width: 30%; } .mb.w80 { width: 80%; } .mb.w50 { width:50%; }
  .mockup-table { margin-top: 0.75rem; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
  .mt-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0; }
  .mt-row:not(:last-child) { border-bottom: 1px solid var(--border); }
  .mt-cell { padding: 0.4rem 0.6rem; font-size: 0; }
  .mt-cell .mb { margin: 0; }
  .mt-row:first-child { background: rgba(0,212,170,0.06); }
  .sig-badge { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: rgba(0,212,170,0.2); }
  .sig-badge.pending { background: rgba(255,107,53,0.2); }

  footer { border-top: 1px solid var(--border); padding: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .footer-left { color: var(--muted); font-size: 0.78rem; }
  .footer-right { display: flex; gap: 1rem; }
  .footer-right a { color: var(--muted); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
  .footer-right a:hover { color: var(--text); }

  @media (max-width: 768px) {
    .ctx-layout, .blocs-grid, .features-grid { grid-template-columns: 1fr; }
    nav { padding: 0 1rem; }
    .hero { padding: 90px 1rem 3rem; }
  }
