/* =========================================================================
   LUEUR — Studio de création web
   Design sombre premium · dégradé lumineux signature · animations natives
   ========================================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(139, 123, 255, .35);
  color: #fff;
}

/* ---------- Design tokens ---------- */
:root {
  /* Fonts */
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  /* Ink / surfaces */
  --ink-900: #07070c;
  --ink-850: #0a0a11;
  --ink-800: #0d0d16;
  --ink-700: #12121d;
  --ink-600: #171724;
  --ink-500: #1e1e2e;

  /* Lines */
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  /* Text */
  --text: #f4f4f8;
  --text-muted: #a6a6bb;
  --text-dim: #71718a;

  /* Brand — the "lueur" */
  --violet: #8b7bff;
  --violet-light: #b7abff;
  --fuchsia: #e264ff;
  --amber: #ffb26b;

  --glow-a: #6f5cff;
  --glow-b: #d95bff;
  --glow-c: #ff9a5c;

  --grad-lueur: linear-gradient(115deg, var(--glow-a) 0%, var(--glow-b) 52%, var(--glow-c) 100%);
  --grad-lueur-soft: linear-gradient(115deg, #8a7bff 0%, #d95bff 55%, #ffab6b 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Spacing scale (density: standard) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* Type scale */
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-sm: 0.875rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --fs-hero: clamp(2.6rem, 1.2rem + 6vw, 6rem);
  --fs-eyebrow: 0.78rem;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .18s;
  --dur: .32s;
  --dur-slow: .6s;

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --header-h: 76px;

  /* Shadows / glows */
  --glow-violet: 0 0 40px rgba(139, 123, 255, .35);
  --shadow-card: 0 24px 60px -30px rgba(0, 0, 0, .8);
  --shadow-float: 0 40px 80px -40px rgba(0, 0, 0, .9);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet-light);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}
h2 { font-size: var(--fs-h2); margin-top: 18px; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }

.lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 20px;
}

.gradient-text {
  background: var(--grad-lueur-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --_bg: var(--ink-600);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--_bg);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
  will-change: transform;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }

.btn--primary {
  border: none;
  color: #14071f;
  background: var(--grad-lueur);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: 0 12px 34px -12px rgba(179, 92, 255, .6);
  font-weight: 700;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background-position var(--dur-slow) var(--ease-out);
}
.btn--primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 18px 48px -12px rgba(217, 91, 255, .7);
  transform: translateY(-2px);
}

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .04); }

.btn--block { width: 100%; }
.btn--lg { min-height: 58px; padding: 18px 32px; font-size: 1.05rem; }

/* Arrow micro-motion */
.btn .arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================================
   Header
   ========================================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(9, 9, 16, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.logo__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--grad-lueur);
  box-shadow: 0 0 16px 2px rgba(217, 91, 255, .7);
  animation: pulse-dot 3.4s var(--ease-in-out) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 14px 1px rgba(217, 91, 255, .55); transform: scale(1); }
  50% { box-shadow: 0 0 22px 4px rgba(217, 91, 255, .85); transform: scale(1.12); }
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1.5px;
  background: var(--grad-lueur-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: 8px; }
.btn--nav { min-height: 44px; padding: 11px 20px; font-size: 0.9rem; }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(7, 7, 12, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: clamp(24px, 6vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--dur), padding-left var(--dur) var(--ease-out);
}
.mobile-menu a:hover { color: #fff; padding-left: 10px; }
.mobile-menu .btn { margin-top: 24px; }

/* =========================================================================
   Custom cursor glow (desktop, fine pointer)
   ========================================================================= */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(139, 123, 255, .16) 0%, rgba(217, 91, 255, .08) 35%, transparent 70%);
  opacity: 0;
  transition: opacity .5s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  body.cursor-ready .cursor-glow { opacity: 1; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 64px;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
}

.hero__eyebrow { margin-bottom: 26px; }

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise-in .9s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise-in { to { transform: translateY(0); } }

.hero__sub {
  max-width: 520px;
  margin-top: 28px;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .5s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .64s forwards;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .8s forwards;
}
.hero__meta li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: .04em;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__meta li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Hero visual — floating glass composition */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  animation: fade-up 1s var(--ease-out) .3s both;
}
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: .75;
  z-index: 0;
  will-change: transform;
}
.orb--1 { inset: 6% 12% auto auto; width: 46%; aspect-ratio: 1; background: radial-gradient(circle, var(--glow-b), transparent 68%); animation: float-a 14s ease-in-out infinite; }
.orb--2 { inset: auto auto 4% 2%; width: 52%; aspect-ratio: 1; background: radial-gradient(circle, var(--glow-a), transparent 68%); animation: float-b 17s ease-in-out infinite; }
.orb--3 { inset: 40% 0 auto 40%; width: 34%; aspect-ratio: 1; background: radial-gradient(circle, var(--glow-c), transparent 70%); opacity: .5; animation: float-a 20s ease-in-out infinite reverse; }

.glass-card {
  position: absolute;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(30, 30, 46, .92), rgba(13, 13, 22, .88));
  box-shadow: var(--shadow-float);
  padding: 20px;
  z-index: 1;
}
.glass-card--main {
  inset: 12% 8% 20% 8%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: float-b 12s ease-in-out infinite;
}
.glass-card--badge {
  right: -2%;
  bottom: 12%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-a 9s ease-in-out infinite;
}
.glass-card--badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.glass-card--badge b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.glass-card--badge small { display: block; color: var(--text-dim); font-size: .72rem; font-family: var(--font-mono); }

.gc-bar { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.gc-bar span { display: block; height: 100%; border-radius: 999px; background: var(--grad-lueur); }
.gc-row { display: flex; gap: 10px; align-items: center; }
.gc-chip { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-light); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; }
.gc-window { display: flex; gap: 6px; }
.gc-window i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.gc-window i:first-child { background: #ff6b6b55; }
.gc-title { font-family: var(--font-display); color: #fff; font-size: 1.15rem; margin-top: 2px; }
.gc-lines { display: grid; gap: 9px; margin-top: 4px; }
.gc-line { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); }
.gc-line.w80 { width: 80%; } .gc-line.w60 { width: 60%; } .gc-line.w45 { width: 45%; }

@keyframes float-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(0,-18px); } }
@keyframes float-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(0,16px); } }

/* Background glow field (shared) */
.bg-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-field::before,
.bg-field::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: .28;
}
.bg-field::before { top: -10%; left: -6%; width: 42vw; height: 42vw; background: radial-gradient(circle, var(--glow-a), transparent 70%); }
.bg-field::after { bottom: -14%; right: -8%; width: 46vw; height: 46vw; background: radial-gradient(circle, var(--glow-b), transparent 70%); opacity: .2; }

.grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  opacity: .5;
}

/* =========================================================================
   Marquee
   ========================================================================= */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee__item span { color: var(--text); }
.marquee__item::after { content: "✦"; color: var(--violet); font-size: .8em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =========================================================================
   Bento grid (services)
   ========================================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-850));
  padding: clamp(24px, 3vw, 36px);
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-lueur);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }

/* interactive spotlight following cursor (set via JS custom props) */
.card--spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 123, 255, .16), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur);
  pointer-events: none;
}
.card--spot:hover::after { opacity: 1; }

.card__num {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--violet-light);
}
.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(139, 123, 255, .12);
  border: 1px solid var(--line-strong);
  color: var(--violet-light);
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); }
.card__list { margin-top: auto; padding-top: 20px; display: grid; gap: 9px; }
.card__list li {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: .92rem;
}
.card__list svg { width: 16px; height: 16px; color: var(--violet-light); flex-shrink: 0; }

.card--wide { grid-column: span 3; }
.card--third { grid-column: span 2; }
.card--half { grid-column: span 3; }
.card--feature { grid-column: span 2; }
.card--tall { grid-column: span 2; }

.card--accent {
  background: var(--grad-lueur);
  color: #14071f;
  border: none;
}
.card--accent .card__num,
.card--accent p { color: rgba(20, 7, 31, .72); }
.card--accent h3 { color: #14071f; }

/* Small feature card */
.feature { text-align: left; }
.feature .card__icon { width: 46px; height: 46px; margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: .92rem; }

/* =========================================================================
   Approche / process
   ========================================================================= */
.approach { position: relative; }
.approach__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.approach__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.approach__note {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-800);
}
.approach__note p { color: var(--text-muted); }
.approach__note .sign {
  margin-top: 16px;
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
}
.approach__note .sign small { display: block; font-family: var(--font-mono); font-size: .74rem; color: var(--text-dim); font-weight: 400; margin-top: 3px; letter-spacing: .04em; }

.steps { display: grid; gap: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dim);
  transition: color var(--dur);
}
.step:hover .step__no { color: var(--violet-light); }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); }

/* =========================================================================
   Why / differentiators
   ========================================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

/* =========================================================================
   Budget CTA section
   ========================================================================= */
.budget {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(139, 123, 255, .16), transparent 55%),
    radial-gradient(120% 120% at 90% 100%, rgba(217, 91, 255, .14), transparent 55%),
    var(--ink-800);
  padding: clamp(36px, 6vw, 72px);
  overflow: hidden;
  text-align: center;
}
.budget h2 { max-width: 16ch; margin-inline: auto; }
.budget p { max-width: 54ch; margin: 20px auto 0; color: var(--text-muted); font-size: var(--fs-lg); }
.budget .btn { margin-top: 34px; }

/* =========================================================================
   Final CTA band
   ========================================================================= */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 1.2rem + 5vw, 5rem); }
.cta-band .btn { margin-top: 34px; }
.cta-band .cta-mail {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: .92rem;
  transition: color var(--dur);
}
.cta-band .cta-mail:hover { color: var(--violet-light); }

/* =========================================================================
   Forms (contact)
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-info { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-info h2 { margin-bottom: 20px; }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-item {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-800);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out);
}
.contact-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.contact-item__icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(139, 123, 255, .12);
  border: 1px solid var(--line-strong);
  color: var(--violet-light);
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--text-dim); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-item b { color: #fff; font-weight: 600; font-size: 1rem; }

.form {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-850));
  padding: clamp(24px, 4vw, 40px);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block;
  margin-bottom: 9px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.field label .req { color: var(--violet-light); }
.field .hint { font-size: .8rem; color: var(--text-dim); margin-top: 7px; }
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  background: var(--ink-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: #fff;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 123, 255, .18);
  background: var(--ink-850);
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a6a6bb' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.select option { background: var(--ink-800); color: #fff; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__foot .privacy { font-size: .82rem; color: var(--text-dim); max-width: 40ch; }
.form__foot .privacy a { color: var(--violet-light); text-decoration: underline; text-underline-offset: 3px; }
.form__status { margin-top: 18px; font-size: .92rem; }

/* =========================================================================
   Page hero (inner pages)
   ========================================================================= */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(28px, 5vw, 56px);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lead { max-width: 620px; }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-top: 48px; margin-bottom: 14px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--text-muted); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--violet-light); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose .callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: var(--r-sm);
  background: var(--ink-800);
  padding: 18px 22px;
  margin: 24px 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .updated { font-family: var(--font-mono); font-size: .8rem; color: var(--text-dim); }

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 80px) 32px;
  background: var(--ink-850);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { max-width: 380px; }
.footer__brand p { color: var(--text-muted); margin-top: 18px; }
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
@media (min-width: 861px) {
  .footer__cta { align-items: flex-end; }
}
.footer__cta .label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { color: var(--text-muted); font-size: .9rem; transition: color var(--dur); }
.footer__links a:hover { color: #fff; }
.footer__copy { color: var(--text-dim); font-size: .85rem; font-family: var(--font-mono); }

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
/* Progressive enhancement: only hide when JS is active (.js on <html>).
   Without JS, content stays fully visible instead of being stuck invisible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .card--wide, .card--third, .card--half, .card--feature, .card--tall { grid-column: span 3; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: grid; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .bento { grid-template-columns: 1fr; }
  .card--wide, .card--third, .card--half, .card--feature, .card--tall { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 48px); }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero h1 .line > span { transform: none; }
  .hero__sub, .hero__actions, .hero__meta, .hero__visual { opacity: 1 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
  .marquee__track { animation: none; }
}
