/* ============================================================
   DÉCOUVERT QUATRIÈME — "Unveiling numbers. Guiding lives."
   Immersive sci-fi marketing site
   Design discipline: single warm accent, refined near-black,
   borders-as-elevation, restrained spectral highlights.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Void / surfaces (warm near-black, not pure black) */
  --void:        #08070A;
  --void-2:      #0C0A0F;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-2:   rgba(255, 255, 255, 0.06);
  --hair:        rgba(255, 255, 255, 0.10);
  --hair-strong: rgba(255, 255, 255, 0.16);

  /* Brand accent family (orange = the one accent) */
  --amber:  #FFC15E;
  --orange: #FF8800;   /* brand */
  --ember:  #FF4D00;
  --grad:   linear-gradient(120deg, var(--amber), var(--orange) 48%, var(--ember));
  --grad-soft: linear-gradient(120deg, #FFD89A, #FF9D2E 55%, #FF6A2B);

  /* Spectral rim (holographic specular only — used sparingly) */
  --rim: #18E0FF;

  /* Text */
  --ink:      #F4EFE9;
  --ink-soft: rgba(244, 239, 233, 0.66);
  --ink-mute: rgba(244, 239, 233, 0.42);

  /* Glow */
  --glow-orange: rgba(255, 136, 0, 0.55);

  /* Type */
  --font-display: "Carter One", system-ui, serif;
  --font-tech:    "Audiowide", system-ui, sans-serif;
  --font-body:    "Sora", system-ui, sans-serif;

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 220ms;

  /* Layout */
  --gut: clamp(20px, 5vw, 96px);
  --maxw: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* custom cursor is opt-in: only hide native cursor once JS confirms a capable device */
.cursor-custom, .cursor-custom * { cursor: none; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--orange); }

::selection { background: var(--orange); color: #160a00; }

/* ---------- Background layers ---------- */
#universe {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* Deep radial atmosphere behind the particles */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 120, 0, 0.16), transparent 55%),
    radial-gradient(80% 60% at 85% 110%, rgba(255, 77, 0, 0.10), transparent 60%),
    var(--void);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 240px 60px rgba(0, 0, 0, 0.85);
}

/* Everything readable sits above the canvas */
.nav, main, .footer { position: relative; z-index: 2; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 136, 0, 0.7);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease-out), height .25s var(--ease-out),
              background .25s var(--ease-out), border-color .25s var(--ease-out);
  mix-blend-mode: screen;
}
.cursor::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 4px; height: 4px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 12px 2px var(--glow-orange);
}
.cursor.is-hot { width: 56px; height: 56px; background: rgba(255, 136, 0, 0.10); border-color: transparent; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Boot screen ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--void);
  transition: opacity .8s var(--ease-out), visibility .8s;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot__core { display: grid; justify-items: center; gap: 18px; }
.boot__compass { color: var(--orange); animation: spin 6s linear infinite; filter: drop-shadow(0 0 18px var(--glow-orange)); }
.boot__label { font-family: var(--font-tech); font-size: 12px; letter-spacing: .35em; color: var(--ink-soft); }
.boot__bar { width: 180px; height: 2px; background: var(--hair); border-radius: 99px; overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--glow-orange); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-tech); font-size: 13px; letter-spacing: .08em;
  padding: 15px 26px; border-radius: 99px; cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), background var(--dur), color var(--dur);
  will-change: transform;
}
.btn svg { transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid { color: #1a0c00; background: var(--grad); box-shadow: 0 8px 30px -8px var(--glow-orange), inset 0 0 0 1px rgba(255,255,255,.2); }
.btn--solid:hover { box-shadow: 0 14px 44px -8px var(--glow-orange), inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--line { color: var(--ink); border: 1px solid var(--hair-strong); background: var(--surface); backdrop-filter: blur(8px); }
.btn--line:hover { border-color: var(--orange); color: var(--orange); }
.btn--ghost { color: var(--ink); border: 1px solid var(--hair); padding: 11px 20px; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gut);
  transition: padding .4s var(--ease-out), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 12px var(--gut);
  background: rgba(8, 7, 10, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hair);
}
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__mark { color: var(--orange); filter: drop-shadow(0 0 10px var(--glow-orange)); } /* sticky, non-rotating brand mark */
.nav__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name { font-family: var(--font-tech); font-size: 14px; letter-spacing: .06em; }
.nav__tag { font-family: var(--font-body); font-size: 10px; letter-spacing: .12em; color: var(--ink-mute); text-transform: lowercase; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--font-tech); font-size: 12px; letter-spacing: .06em; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color var(--dur);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--grad);
  transition: width var(--dur) var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared section frame ---------- */
.section { max-width: var(--maxw); margin-inline: auto; padding: clamp(80px, 12vh, 160px) var(--gut); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); position: relative; }
.section__index {
  font-family: var(--font-tech); font-size: 13px; letter-spacing: .3em; color: var(--orange);
  display: inline-block; margin-bottom: 14px; opacity: .8;
}
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 5.5vw, 68px); line-height: 1.04; letter-spacing: -0.01em;
}
.section__sub { margin-top: 18px; max-width: 56ch; color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 19px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-tech); font-size: 11px; letter-spacing: .28em; color: var(--ink-soft);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px 2px var(--glow-orange); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: 1; } 50%{ transform: scale(1.5); opacity: .5; } }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 120px var(--gut) 80px;
  max-width: var(--maxw); margin-inline: auto;
}
.hero__inner { max-width: 880px; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 11vw, 150px); line-height: 0.94; letter-spacing: -0.02em;
  margin: 22px 0 0;
}
.hero__title .line { display: block; }
.hero__title .line--accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 40px rgba(255, 136, 0, 0.35));
}
.hero__lede { margin-top: 28px; max-width: 60ch; font-size: clamp(16px, 1.9vw, 21px); color: var(--ink-soft); }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats { margin-top: 64px; display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); }
.stat__num {
  font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__unit { font-family: var(--font-tech); font-size: 0.42em; letter-spacing: .04em; -webkit-text-fill-color: var(--ink-mute); margin-left: 4px; }
.stat__label { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; }
.hero__scroll span { font-family: var(--font-tech); font-size: 10px; letter-spacing: .3em; color: var(--ink-mute); }
.hero__scroll-line { width: 1px; height: 50px; background: linear-gradient(var(--orange), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:""; position:absolute; top:0; left:0; width:100%; height:40%; background: var(--orange); animation: scrolldot 2s var(--ease-out) infinite; }
@keyframes scrolldot { 0%{ transform: translateY(-100%);} 100%{ transform: translateY(280%);} }

/* ---------- Glass primitive ---------- */
.glass {
  position: relative; border-radius: 20px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--hair);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .5s, box-shadow .5s;
  will-change: transform;
}
/* spectral top edge — holographic specular */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.35), transparent 30%, transparent 70%, rgba(24,224,255,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .7;
}
.glass__glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-orange), transparent 70%);
  filter: blur(20px); opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease-out); transform: translate(-50%, -50%);
  left: var(--mx, 50%); top: var(--my, 0%);
}
.glass:hover { border-color: var(--hair-strong); box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.glass:hover .glass__glow { opacity: .5; }
.glass h3 { font-family: var(--font-tech); font-size: clamp(15px, 1.5vw, 18px); letter-spacing: .01em; margin-bottom: 12px; }
.glass p { color: var(--ink-soft); font-size: 15px; }

/* ---------- DISCOVER ---------- */
.discover__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.discover__copy .lead { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.5; color: var(--ink); }
.discover__copy p + p { margin-top: 18px; color: var(--ink-soft); }
.discover__cards { display: grid; gap: 16px; }

/* ---------- SERVICES ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { min-height: 220px; display: flex; flex-direction: column; }
.svc--wide { grid-column: span 2; }
.svc p { margin-top: auto; }
.svc h3 { margin-top: 6px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc__tags li { font-family: var(--font-tech); font-size: 10px; letter-spacing: .08em; color: var(--ink-soft); padding: 5px 11px; border: 1px solid var(--hair); border-radius: 99px; }

.svc__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--hair); position: relative; flex: none; }
.svc__icon::after {
  content: ""; position: absolute; inset: 0; background: var(--orange);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 22px; mask-size: 22px;
  filter: drop-shadow(0 0 6px var(--glow-orange));
}
.svc__icon[data-ico="social"]::after  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.6' y1='10.5' x2='15.4' y2='6.5'/%3E%3Cline x1='8.6' y1='13.5' x2='15.4' y2='17.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.6' y1='10.5' x2='15.4' y2='6.5'/%3E%3Cline x1='8.6' y1='13.5' x2='15.4' y2='17.5'/%3E%3C/svg%3E"); }
.svc__icon[data-ico="meta"]::after    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12c3-7 5-7 7 0s4 7 6 0 4-4 5 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12c3-7 5-7 7 0s4 7 6 0 4-4 5 0'/%3E%3C/svg%3E"); }
.svc__icon[data-ico="linkedin"]::after{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h4v16H4zM6 2.5A1.5 1.5 0 1 0 6 5.5 1.5 1.5 0 0 0 6 2.5zM10 9h3.6v2h.05c.5-.9 1.7-1.9 3.5-1.9 3.7 0 4.4 2.3 4.4 5.3V20H18v-4.7c0-1.1 0-2.6-1.6-2.6s-1.8 1.2-1.8 2.5V20H10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h4v16H4zM6 2.5A1.5 1.5 0 1 0 6 5.5 1.5 1.5 0 0 0 6 2.5zM10 9h3.6v2h.05c.5-.9 1.7-1.9 3.5-1.9 3.7 0 4.4 2.3 4.4 5.3V20H18v-4.7c0-1.1 0-2.6-1.6-2.6s-1.8 1.2-1.8 2.5V20H10z'/%3E%3C/svg%3E"); }
.svc__icon[data-ico="map"]::after     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6-7-11a7 7 0 0 1 14 0c0 5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6-7-11a7 7 0 0 1 14 0c0 5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.svc__icon[data-ico="search"]::after  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E"); }
.svc__icon[data-ico="web"]::after     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='15' rx='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Ccircle cx='6' cy='6.5' r='.6' fill='black'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='15' rx='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3C/svg%3E"); }
.svc__icon[data-ico="funnel"]::after  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E"); }
.svc__icon[data-ico="star"]::after    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l2.9 6.3 6.9.7-5.1 4.6 1.4 6.8L12 17.8 5.9 20.4l1.4-6.8L2.2 9l6.9-.7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l2.9 6.3 6.9.7-5.1 4.6 1.4 6.8L12 17.8 5.9 20.4l1.4-6.8L2.2 9l6.9-.7z'/%3E%3C/svg%3E"); }

/* ---------- DISCOVERY ENGINE ---------- */
.engine__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engine__pillar { padding-top: clamp(28px, 3vw, 40px); }
.engine__step {
  display: inline-block; font-family: var(--font-tech); font-size: 13px; letter-spacing: .2em;
  color: var(--orange); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,136,0,.3);
}
.engine__pillar h3 { font-size: clamp(16px, 1.7vw, 19px); }
.engine__cta {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(255,136,0,.10), rgba(255,77,0,.04));
  border-color: rgba(255,136,0,.25);
}
.engine__cta-copy { max-width: 60ch; }
.engine__cta h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.01em; margin-bottom: 8px; }
.engine__cta .btn { flex: none; }

/* ---------- THE EDGE ---------- */
.edge__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: stretch; }
.edge__feature { display: flex; flex-direction: column; justify-content: center; }
.edge__feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.01em; }
.edge__feature > p { font-size: clamp(15px, 1.6vw, 18px); }
.edge__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.edge__chips span { font-family: var(--font-tech); font-size: 11px; letter-spacing: .04em; color: var(--orange); padding: 8px 14px; border: 1px solid rgba(255,136,0,.3); border-radius: 99px; background: rgba(255,136,0,.06); }
.edge__stats { display: grid; gap: 18px; }
.stat--card { padding: 24px 28px; }
.stat--card .stat__num { font-size: clamp(28px, 3.4vw, 40px); }
.stat--card .stat__label { color: var(--ink-soft); font-size: 14px; margin-top: 10px; }

/* ---------- PROCESS ---------- */
.process__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.process__track::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--hair-strong) 15%, var(--hair-strong) 85%, transparent); }
.process__step { position: relative; padding-top: 56px; }
.process__num {
  position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-tech); font-size: 14px; color: var(--orange);
  background: var(--void-2); border: 1px solid rgba(255,136,0,.4);
  box-shadow: 0 0 0 6px var(--void), 0 0 24px -4px var(--glow-orange);
}
.process__step h3 { font-family: var(--font-tech); font-size: 16px; margin-bottom: 8px; }
.process__step p { color: var(--ink-soft); font-size: 14px; }

/* ---------- BUILDERS ---------- */
.builders { max-width: var(--maxw); }
.builders__inner { text-align: center; padding: clamp(40px, 6vw, 80px); display: grid; justify-items: center; gap: 20px; }
.builders__inner h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 4vw, 50px); line-height: 1.12; letter-spacing: -0.01em; }
.builders__inner .lead { max-width: 62ch; color: var(--ink-soft); font-size: clamp(15px, 1.7vw, 19px); }

/* ---------- FOUNDER ---------- */
.founder__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.founder__media { display: grid; place-items: center; }
.founder__orb {
  width: clamp(180px, 24vw, 280px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  color: var(--orange);
  background: radial-gradient(circle at 50% 35%, rgba(255,136,0,.18), transparent 60%);
  border: 1px solid var(--hair);
  position: relative;
}
.founder__orb::before { content:""; position:absolute; inset:-1px; border-radius:50%; border:1px solid rgba(255,136,0,.25); animation: spin 30s linear infinite; }
.founder__orb svg { animation: spin 40s linear infinite reverse; filter: drop-shadow(0 0 20px var(--glow-orange)); }
.founder__quote p { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 3vw, 36px); line-height: 1.3; letter-spacing: -0.01em; }
.founder__quote footer { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.founder__name { font-family: var(--font-tech); font-size: 15px; color: var(--orange); }
.founder__role { font-size: 13px; color: var(--ink-mute); }

/* ---------- CONTACT ---------- */
.contact { text-align: center; max-width: 760px; }
.contact__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 7vw, 84px); line-height: 1; margin: 14px 0; letter-spacing: -0.02em; }
.contact__lede { color: var(--ink-soft); max-width: 52ch; margin: 0 auto; font-size: clamp(15px, 1.8vw, 19px); }
.contact__form { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.field { position: relative; }
.field--full { grid-column: span 2; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: rgba(0,0,0,.25); border: 1px solid var(--hair); border-radius: 12px;
  padding: 18px 16px 8px; resize: vertical; transition: border-color var(--dur), background var(--dur);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255,136,0,.05); }
.field label {
  position: absolute; left: 16px; top: 16px; font-size: 14px; color: var(--ink-mute);
  pointer-events: none; transition: transform .2s var(--ease-out), color .2s, font-size .2s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px); font-size: 10px; letter-spacing: .08em; color: var(--orange); font-family: var(--font-tech);
}
.contact__form .btn--block { grid-column: span 2; margin-top: 6px; }
.contact__note { grid-column: span 2; font-size: 13px; color: var(--orange); min-height: 18px; text-align: center; }
.contact__email { display: inline-block; margin-top: 28px; font-family: var(--font-tech); font-size: clamp(13px, 1.6vw, 17px); color: var(--ink-soft); letter-spacing: .04em; position: relative; }
.contact__email:hover { color: var(--orange); }

/* ---------- BOOKING CONSOLE ---------- */
.console { margin-top: 40px; padding: 0; text-align: left; overflow: hidden; }
.console__tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--hair); background: rgba(0,0,0,.2); }
.console__tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-tech); font-size: 12px; letter-spacing: .04em; color: var(--ink-soft);
  background: transparent; border: 0; border-radius: 12px; padding: 13px 14px; cursor: pointer;
  transition: color var(--dur), background var(--dur);
}
.console__tab svg { opacity: .8; }
.console__tab:hover { color: var(--ink); }
.console__tab.is-active { color: #1a0c00; background: var(--grad); box-shadow: 0 6px 20px -8px var(--glow-orange); }
.console__panel { padding: clamp(20px, 3vw, 32px); animation: panelIn .45s var(--ease-out); }
.console__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.booking { border-radius: 14px; overflow: hidden; }
.booking iframe { display: block; width: 100%; min-height: 640px; border: 0; border-radius: 14px; background: #fff; }
.booking__fallback {
  display: grid; justify-items: center; text-align: center; gap: 14px;
  padding: clamp(28px, 5vw, 52px) 20px; color: var(--orange);
  border: 1px dashed rgba(255,136,0,.3); border-radius: 14px; background: rgba(255,136,0,.04);
}
.booking__fallback h3 { font-family: var(--font-tech); font-size: 16px; color: var(--ink); }
.booking__fallback p { color: var(--ink-soft); max-width: 46ch; font-size: 15px; }
.booking__fallback .btn { margin-top: 6px; }

/* form sits inside a console panel now (no longer its own glass card) */
.console .contact__form { margin-top: 0; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--hair); margin-top: 60px; padding: 56px var(--gut) 40px; max-width: var(--maxw); margin-inline: auto; position: relative; overflow: hidden; }
/* near-invisible giant wordmark, bottom-left — barely there but present */
.footer__ghost {
  position: absolute; left: -0.04em; bottom: -0.18em; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 400; white-space: nowrap;
  font-size: clamp(54px, 13vw, 190px); line-height: 1; letter-spacing: -0.02em;
  color: rgba(255, 145, 40, 0.045);
  user-select: none;
}
.footer__top, .footer__bottom { position: relative; z-index: 1; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--hair); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand svg { color: var(--orange); filter: drop-shadow(0 0 10px var(--glow-orange)); }
.footer__brand strong { display: block; font-family: var(--font-tech); font-size: 14px; letter-spacing: .04em; }
.footer__brand em { font-size: 11px; color: var(--ink-mute); letter-spacing: .1em; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-family: var(--font-tech); font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.footer__nav a:hover { color: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 12px; color: var(--ink-mute); }

/* ---------- HERO AI TYPEWRITER ---------- */
.hero__ai {
  margin-top: 16px; display: flex; align-items: center; gap: 9px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--ink-soft); min-height: 18px;
}
.hero__ai-prompt { color: var(--orange); font-weight: 700; letter-spacing: -1px; }
.hero__ai-caret { width: 7px; height: 15px; background: var(--orange); display: inline-block; box-shadow: 0 0 10px var(--glow-orange); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 14px; max-width: 920px; }
.faq__item { padding: 0; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: clamp(18px, 2.3vw, 26px) clamp(20px, 3vw, 30px);
  font-family: var(--font-tech); font-size: clamp(14px, 1.5vw, 17px); color: var(--ink);
  transition: color var(--dur);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--orange); }
.faq__item summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; background: var(--orange); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.faq__item summary i::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq__item summary i::after  { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq__item[open] summary i::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { padding: 0 clamp(20px, 3vw, 30px) clamp(20px, 3vw, 26px); }
.faq__item[open] .faq__answer { animation: panelIn .4s var(--ease-out); }
.faq__answer p { color: var(--ink-soft); font-size: 15px; max-width: 72ch; }

/* ---------- SYSTEM TELEMETRY CHIP ---------- */
.telemetry {
  position: fixed; left: 18px; bottom: 16px; z-index: 35;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-tech); font-size: 10px; letter-spacing: .12em; color: var(--ink-mute);
  padding: 7px 13px; border: 1px solid var(--hair); border-radius: 99px;
  background: rgba(8, 7, 10, 0.5); backdrop-filter: blur(10px); pointer-events: none;
}
.telemetry__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--glow-orange); animation: pulse 2.4s ease-in-out infinite; }
.telemetry__status { color: var(--orange); }
@media (max-width: 860px) { .telemetry { display: none; } }

/* ---------- QUATRIÈME AI ASSISTANT ---------- */
.assistant { position: fixed; right: 20px; bottom: 20px; z-index: 45; }
.assistant__fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  color: #1a0c00; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px var(--glow-orange), inset 0 0 0 1px rgba(255,255,255,.25);
  transition: transform .35s var(--ease-spring);
}
.assistant__fab:hover { transform: scale(1.07); }
.assistant.is-open .assistant__fab { transform: scale(.92); }
.assistant__fab-pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--orange); animation: fabpulse 2.6s ease-out infinite; }
@keyframes fabpulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

.assistant__panel {
  position: absolute; right: 0; bottom: 74px; width: min(370px, 88vw);
  height: min(72vh, 580px); display: flex; flex-direction: column; padding: 0;
  transform-origin: bottom right;
}
.assistant__panel[hidden] { display: none; }
.assistant.is-open .assistant__panel { animation: assistantIn .4s var(--ease-out); }
@keyframes assistantIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

.assistant__head { display: flex; align-items: center; gap: 11px; padding: 14px 15px; border-bottom: 1px solid var(--hair); }
.assistant__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--orange); background: rgba(255,136,0,.12); border: 1px solid rgba(255,136,0,.3); }
.assistant__avatar svg { animation: spin 26s linear infinite; }
.assistant__id { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.assistant__id strong { font-family: var(--font-tech); font-size: 13px; letter-spacing: .02em; }
.assistant__id > span { font-size: 11px; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 6px; }
.assistant__live { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--glow-orange); animation: pulse 2.4s ease-in-out infinite; }
.assistant__close { background: none; border: 0; color: var(--ink-soft); cursor: pointer; padding: 6px; border-radius: 8px; transition: color var(--dur); }
.assistant__close:hover { color: var(--orange); }

.assistant__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: var(--hair-strong) transparent; }
.assistant__log::-webkit-scrollbar { width: 6px; }
.assistant__log::-webkit-scrollbar-thumb { background: var(--hair-strong); border-radius: 99px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 15px; font-size: 14px; line-height: 1.5; animation: assistantIn .3s var(--ease-out); }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--hair); border-bottom-left-radius: 5px; color: var(--ink); }
.msg--user { align-self: flex-end; background: var(--grad); color: #1a0c00; border-bottom-right-radius: 5px; font-weight: 500; }
.msg--bot a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.msg--bot strong { color: var(--orange); }
.msg--typing { display: inline-flex; gap: 5px; align-items: center; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: typing 1.1s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* in-chat AI scan result */
.scan { margin-top: 10px; display: grid; gap: 7px; }
.scan__row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.4; }
.scan__ico { width: 16px; height: 16px; flex: none; margin-top: 1px; border-radius: 4px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.scan__ico--ok { background: rgba(255,136,0,.14); color: var(--orange); }
.scan__ico--warn { background: rgba(255,77,0,.18); color: var(--ember); }
.scan__bar { height: 4px; border-radius: 99px; background: var(--hair); overflow: hidden; margin: 4px 0 2px; }
.scan__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.1s var(--ease-out); }

.assistant__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 15px 12px; }
.assistant__chip {
  font-family: var(--font-tech); font-size: 11px; letter-spacing: .02em; color: var(--orange);
  background: rgba(255,136,0,.07); border: 1px solid rgba(255,136,0,.28); border-radius: 99px;
  padding: 8px 12px; cursor: pointer; transition: background var(--dur), color var(--dur);
}
.assistant__chip:hover { background: var(--orange); color: #1a0c00; }

.assistant__compose { display: flex; gap: 8px; padding: 12px 13px; border-top: 1px solid var(--hair); }
.assistant__compose input {
  flex: 1; background: rgba(0,0,0,.3); border: 1px solid var(--hair); border-radius: 99px;
  padding: 11px 16px; color: var(--ink); font-family: var(--font-body); font-size: 14px;
}
.assistant__compose input:focus { outline: none; border-color: var(--orange); }
.assistant__compose button {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #1a0c00; display: grid; place-items: center; transition: transform var(--dur);
}
.assistant__compose button:hover { transform: scale(1.07); }

@media (max-width: 600px) {
  .assistant { right: 14px; bottom: 14px; }
  .assistant__panel { bottom: 70px; height: min(70vh, 520px); }
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 22px; position: absolute; top: 100%; left: 0; right: 0;
    padding: 28px var(--gut) 36px; background: rgba(8,7,10,.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--hair);
  }
  .discover__grid, .edge__grid, .founder__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--wide { grid-column: span 2; }
  .process__track { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .process__track::before { display: none; }
}
@media (max-width: 760px) {
  .engine__grid { grid-template-columns: 1fr; }
  .engine__cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc--wide { grid-column: span 1; }
  .contact__form { grid-template-columns: 1fr; }
  .field--full, .contact__form .btn--block, .contact__note { grid-column: span 1; }
  .process__track { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px 40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor { display: none; }
  body { cursor: auto; }
}
