:root {
    --obs: #07060B; --obs2: #0F0D17; --obs3: #1C1929;
    --violet: #7B5CF0; --violet2: #9D7DF5; --violet3: #C4AFFF;
    --gold: #C9A84C; --gold2: #E8C96A;
    --ice: #E2DFF8; --muted: rgba(226,223,248,0.46);
    --border: rgba(123,92,240,0.16);
    --ease: cubic-bezier(.22,.61,.36,1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--obs); color: var(--ice);
    font-family: 'Space Grotesk', sans-serif;
    width: 100%; overflow-x: hidden;
    font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: rgba(123,92,240,0.35); color: #fff; }

  /* ---------- NAV ---------- */
  nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 44px; position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
    border-bottom: 0.5px solid transparent;
  }
  nav.scrolled {
    background: rgba(7,6,11,0.72); backdrop-filter: blur(14px);
    border-bottom: 0.5px solid var(--border); padding: 14px 44px;
  }
  .logo {
    font-family: 'Space Mono', monospace; font-size: 22px; font-weight: 700;
    color: #fff; letter-spacing: -0.5px; text-decoration: none; display: inline-flex; align-items: center;
  }
  .logo span { color: var(--gold2); }
  .logo .triad { display: inline-block; width: 16px; height: 12px; margin-left: 7px; position: relative; }
  .logo .triad i {
    position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--gold2);
    box-shadow: 0 0 6px rgba(232,201,106,0.6); animation: triadFloat 4s ease-in-out infinite;
  }
  .logo .triad i:nth-child(1){ left: 6px; top: 0; animation-delay: 0s; }
  .logo .triad i:nth-child(2){ left: 0; top: 8px; animation-delay: .5s; }
  .logo .triad i:nth-child(3){ left: 12px; top: 8px; animation-delay: 1s; }
  @keyframes triadFloat { 0%,100%{ opacity:.55; transform: translateY(0);} 50%{ opacity:1; transform: translateY(-1px);} }
  .logo sub { font-size: 10px; color: var(--violet3); vertical-align: 2px; margin-left: 8px; font-family: 'Space Grotesk'; font-weight: 300; letter-spacing: 2.5px; }
  .nav-links { display: flex; gap: 30px; }
  .nav-links a {
    color: var(--muted); font-size: 14px; text-decoration: none; font-weight: 400;
    transition: color .25s; position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
    background: var(--gold); transition: width .3s var(--ease);
  }
  .nav-links a:hover { color: var(--ice); }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    background: transparent; border: 0.5px solid var(--violet); color: var(--violet3);
    padding: 9px 22px; border-radius: 6px; font-size: 14px; font-family: 'Space Grotesk';
    cursor: pointer; font-weight: 500; transition: all .25s var(--ease);
  }
  .nav-cta:hover { background: var(--violet); color: #fff; box-shadow: 0 0 22px rgba(123,92,240,0.45); }

  /* ---------- HERO ---------- */
  .hero {
    position: relative; min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 120px 40px 80px; overflow: visible; background: transparent;
  }
  #gravity { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; transition: opacity .5s ease; will-change: opacity; }
  /* tout le contenu passe au-dessus du fond fixe */
  body > *:not(#gravity) { position: relative; z-index: 1; }
  .hero-vignette {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 60% 50% at 50% 42%, transparent 45%, rgba(7,6,11,0.45) 100%);
  }
  .hero-content { position: relative; z-index: 3; max-width: 720px; }
  .eyebrow {
    font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 3.5px;
    color: var(--gold); text-transform: uppercase; margin-bottom: 22px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8); opacity: 0; animation: rise .9s var(--ease) .2s forwards;
  }
  .eyebrow::before { content: '∴'; margin-right: 10px; opacity: .8; }
  .headline {
    font-size: clamp(34px, 6vw, 62px); font-weight: 700; line-height: 1.06; color: #fff;
    margin: 0 auto 22px; letter-spacing: -1.5px;
    text-shadow: 0 2px 40px rgba(7,6,11,0.95), 0 1px 3px rgba(0,0,0,0.9);
    opacity: 0; animation: rise 1s var(--ease) .35s forwards;
  }
  .headline em {
    font-style: normal;
    background: linear-gradient(120deg, var(--violet2), var(--violet3) 50%, var(--gold2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .hero-sub {
    font-family: 'Spectral', Georgia, 'Times New Roman', serif;
    font-size: clamp(16px, 2.2vw, 20px); font-weight: 400; font-style: italic;
    color: rgba(234,231,250,0.97);
    max-width: 560px; margin: 0 auto 40px; line-height: 1.78; letter-spacing: 0.2px;
    -webkit-text-stroke: 0.4px rgba(196,175,255,0.45);
    text-shadow:
      0 -1px 1px rgba(196,175,255,0.25),      /* liseré rétroéclairé (lumière derrière) */
      0 1px 0 rgba(0,0,0,0.55),
      0 2px 5px rgba(0,0,0,0.6),
      0 6px 18px rgba(7,6,11,0.85),            /* ombre projetée vers l'avant */
      0 0 32px rgba(157,125,245,0.28);         /* halo de diffusion */
    padding: 16px 26px; border-radius: 14px;
    background: radial-gradient(ellipse at 50% 28%, rgba(10,9,15,0.34), rgba(10,9,15,0.08));
    backdrop-filter: blur(2px);
    opacity: 0; animation: rise 1s var(--ease) .5s forwards;
  }
  .hero-sub var {
    font-style: italic; font-weight: 500; color: var(--gold2);
    -webkit-text-stroke: 0.35px rgba(232,201,106,0.4);
    text-shadow: 0 -1px 2px rgba(232,201,106,0.3), 0 2px 6px rgba(7,6,11,0.7), 0 0 14px rgba(201,168,76,0.35);
  }
  .btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; opacity: 0; animation: rise 1s var(--ease) .65s forwards; }
  .bp {
    background: var(--violet); color: #fff; border: none; padding: 15px 34px; border-radius: 9px;
    font-size: 15px; font-weight: 600; cursor: pointer; font-family: 'Space Grotesk';
    transition: all .25s var(--ease); box-shadow: 0 8px 30px rgba(123,92,240,0.3);
  }
  .bp:hover { background: var(--violet2); transform: translateY(-2px); box-shadow: 0 12px 38px rgba(123,92,240,0.5); }
  .bg {
    background: rgba(10,9,15,0.5); border: 0.5px solid var(--border); color: var(--ice);
    padding: 15px 30px; border-radius: 9px; font-size: 15px; cursor: pointer; font-family: 'Space Grotesk';
    transition: all .25s var(--ease); backdrop-filter: blur(4px);
  }
  .bg:hover { border-color: var(--violet3); color: var(--violet3); transform: translateY(-2px); }

  .scroll-cue {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; animation: rise 1s var(--ease) 1s forwards;
  }
  .scroll-cue span { font-family: 'Space Mono'; font-size: 9px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
  .scroll-cue .line { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
  .scroll-cue .line::after { content:''; position:absolute; top:-36px; left:0; width:1px; height:36px; background: var(--gold2); animation: scrollDot 2.2s var(--ease) infinite; }
  @keyframes scrollDot { 0%{ top:-36px;} 60%,100%{ top:36px;} }

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

  /* ---------- HORIZON ---------- */
  .horizon-wrap { position: relative; width: 100%; height: 1px; }
  .horizon-wrap::before, .horizon-wrap::after {
    content: ''; position: absolute; top: 0; width: calc(50% - 24px); height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123,92,240,0.45));
  }
  .horizon-wrap::before { left: 0; }
  .horizon-wrap::after { right: 0; transform: scaleX(-1); }
  .h-dots { position: absolute; top: -3px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
  .h-dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(201,168,76,0.6); }

  /* ---------- REVEAL ---------- */
  .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ---------- SECTION HEAD ---------- */
  .section-head { text-align: center; padding: 80px 40px 10px; }
  .section-head .kicker { font-family: 'Space Mono'; font-size: 10px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
  .section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 600; color: #fff; letter-spacing: -0.5px; }

  /* ---------- PILLARS ---------- */
  .pillars {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--border);
    border: 0.5px solid var(--border);
    margin: 40px clamp(24px, 3.4vw, 64px) 0;
    backdrop-filter: blur(8px);
  }
  .pillar { background: rgba(7,6,11,0.66); padding: 48px 36px; transition: background .35s var(--ease); position: relative; overflow: hidden; }
  .pillar::before { content: ''; position: absolute; top: -18px; right: 14px; font-size: 96px; font-family: 'Space Mono'; font-weight: 700; opacity: 0.035; color: #fff; line-height: 1; transition: opacity .4s; }
  .pillar:nth-child(1)::before { content: 'J'; }
  .pillar:nth-child(2)::before { content: 'G'; }
  .pillar:nth-child(3)::before { content: 'B'; right: 34px; }
  .pillar::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 2px; background: linear-gradient(var(--violet), var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
  .pillar:hover { background: rgba(15,13,23,0.78); }
  .pillar:hover::before { opacity: 0.08; }
  .pillar:hover::after { transform: scaleY(1); }
  .p-icon { font-size: 24px; margin-bottom: 20px; color: var(--gold2); display: inline-block; }
  .p-lbl { font-family: 'Space Mono'; font-size: 10px; letter-spacing: 2.5px; color: var(--violet3); text-transform: uppercase; margin-bottom: 10px; }
  .p-title { font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 12px; letter-spacing: -0.3px; }
  .p-desc { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.7; }

  /* ---------- MANIFESTO ---------- */
  .manifesto { padding: 120px 40px; max-width: 800px; margin: 0 auto; text-align: center; position: relative; }
  .manifesto::before { content: '∴'; display: block; font-size: 28px; color: var(--gold); opacity: 0.5; margin-bottom: 28px; letter-spacing: 6px; }
  .m-q { font-family: 'Space Mono'; font-size: 11px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 28px; }
  .m-text { font-size: clamp(20px, 3vw, 30px); font-weight: 300; color: var(--ice); line-height: 1.5; letter-spacing: -0.3px; }
  .m-text strong { font-weight: 700; color: #fff; }
  .m-text em { font-style: normal; color: var(--violet2); }

  /* ---------- PRODUCTS ---------- */
  .products { padding: 90px 40px 100px; background: rgba(15,13,23,0.78); position: relative; overflow: hidden; backdrop-filter: blur(10px); }
  .products::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background:
      linear-gradient(45deg, rgba(255,255,255,0.011) 25%, transparent 25%),
      linear-gradient(-45deg, rgba(255,255,255,0.011) 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.011) 75%),
      linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.011) 75%);
    background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  }
  .pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 1100px; margin: 40px auto 0; position: relative; }
  .pcard { background: var(--obs3); border: 0.5px solid var(--border); border-radius: 14px; padding: 28px 24px; transition: all .3s var(--ease); position: relative; overflow: hidden; }
  .pcard .glowfx { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,0%), rgba(123,92,240,0.14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
  .pcard:hover { border-color: var(--violet); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
  .pcard:hover .glowfx { opacity: 1; }
  .pcard .tri { position: absolute; top: 16px; right: 18px; font-size: 11px; color: var(--gold); opacity: 0.4; font-family: 'Space Mono'; }
  .pname { font-family: 'Space Mono'; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; position: relative; }
  .ptag { display: inline-block; font-size: 10px; letter-spacing: 1.5px; padding: 3px 9px; border-radius: 4px; background: rgba(123,92,240,0.16); color: var(--violet3); text-transform: uppercase; margin-bottom: 14px; position: relative; }
  .pdesc { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.65; position: relative; }

  /* ---------- CTA STRIP ---------- */
  .cta-strip { padding: 90px 40px; text-align: center; position: relative; overflow: hidden; }
  .cta-strip h3 { font-size: clamp(24px, 4vw, 38px); font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: -0.5px; }
  .cta-strip p { color: var(--muted); font-weight: 300; max-width: 480px; margin: 0 auto 32px; }
  .cta-strip .glow { position: absolute; width: 600px; height: 300px; left: 50%; top: 50%; transform: translate(-50%,-50%); background: radial-gradient(ellipse, rgba(123,92,240,0.16), transparent 70%); pointer-events: none; }

  /* ---------- FOOTER ---------- */
  footer { padding: 50px 44px 40px; border-top: 0.5px solid var(--border); background: rgba(7,6,11,0.82); backdrop-filter: blur(10px); }
  .foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
  .foot-brand { max-width: 280px; }
  .foot-brand .logo { font-size: 20px; margin-bottom: 14px; }
  .foot-brand p { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.6; }
  .foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
  .foot-col h4 { font-family: 'Space Mono'; font-size: 10px; letter-spacing: 2px; color: var(--violet3); text-transform: uppercase; margin-bottom: 16px; }
  .foot-col a { display: block; color: var(--muted); font-size: 13px; text-decoration: none; margin-bottom: 10px; transition: color .2s; }
  .foot-col a:hover { color: var(--ice); }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 0.5px solid var(--border); }
  .foot-bottom .fl { font-family: 'Space Mono'; font-size: 13px; color: var(--muted); }
  .foot-bottom .fl span { color: var(--gold2); }
  .foot-bottom .fl::after { content: ' ∴'; color: var(--gold); opacity: 0.5; }
  .foot-bottom .fr { font-size: 12px; color: rgba(226,223,248,0.24); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 860px) {
    nav, nav.scrolled { padding: 14px 20px; }
    .nav-links { display: none; }
    .pillars { grid-template-columns: 1fr; margin: 32px 20px 0; }
    .section-head { padding: 60px 20px 0; }
    .manifesto { padding: 80px 24px; }
    .products { padding: 60px 20px 70px; }
    .foot-top { flex-direction: column; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
