/* ============================================
   Baimadev — Drewl-derived design system
   Tokens and rules transcribed from outputs/design-md/drewl/DESIGN.md
   ============================================ */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* Base palette — Drewl achromatic */
  --ink: #1c1c1c;
  --ink-soft: #2e2e2e;
  --ink-near: #262626;
  --ink-table: #3d3d3d;
  --char: #525252;
  --slate: #707070;
  --gray-mid: #b8b8b8;
  --gray-divider: #cccccc;
  --border: #e0e0e0;
  --chip: #ebebeb;
  --gray-thumb: #f2f2f2;
  --page: #f7f7f7;
  --surface: #ffffff;
  --black: #000000;

  /* Decorative gradient — Drewl signature, blurred only */
  --grad-cyan:   #8BD8FC;
  --grad-blue:   #449AFA;
  --grad-violet: #7D6BF9;
  --grad-pink:   #CC6BF9;
  --grad-purple: #6200f5;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-pill: 9999px;

  /* Spacing */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 40px;
  --s-2xl: 64px;
  --s-3xl: 120px;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Container */
  --container: min(calc(100vw - 2.5rem), 70.5rem);

  /* Shadows — Drewl 7-layer + 9-layer */
  --shadow-card:
    inset 0 -1px 0.5px 0 rgba(0,0,0,0.04),
    0 8px 8px -4px rgba(0,0,0,0.02),
    0 4px 4px -2px rgba(0,0,0,0.03),
    0 3px 3px -1.5px rgba(27,27,27,0.03),
    0 2px 2px -1px rgba(0,0,0,0.04),
    0 0.5px 1px 0 rgba(0,0,0,0.06),
    0 0 0 1px rgba(0,0,0,0.04);

  --shadow-input:
    0 3px 3px -1.5px rgba(0,0,0,0.04),
    0 2px 2px -1px rgba(0,0,0,0.03),
    0 1px 1px -0.5px rgba(0,0,0,0.03),
    0 0.5px 0.5px 0 rgba(0,0,0,0.03),
    0 0.5px 0.5px 1px rgba(0,0,0,0.06);

  --shadow-primary:
    0 32px 32px -12px rgba(27,27,27,0.12),
    0 16px 16px -8px rgba(27,27,27,0.12),
    0 8px 8px -2px rgba(27,27,27,0.12),
    0 4px 4px -2px rgba(27,27,27,0.12),
    0 3px 3px -1.5px rgba(27,27,27,0.12),
    0 2px 2px -1px rgba(27,27,27,0.12),
    0 1px 1px -0.5px rgba(27,27,27,0.12),
    inset 0 1px 2px 0 rgba(255,255,255,0.04),
    inset 0 0.5px 0.5px 0 rgba(255,255,255,0.10);

  --shadow-secondary:
    inset 0 -1px 0.5px 0 rgba(0,0,0,0.04),
    0 8px 8px -4px rgba(0,0,0,0.02),
    0 4px 4px -2px rgba(0,0,0,0.03),
    0 3px 3px -1.5px rgba(27,27,27,0.03),
    0 2px 2px -1px rgba(0,0,0,0.04),
    0 0.5px 1px 0 rgba(0,0,0,0.06),
    0 0 0 1px rgba(0,0,0,0.04);

  --shadow-hover:
    inset 0 -1px 0.5px 0 rgba(0,0,0,0.05),
    0 24px 28px -10px rgba(27,27,27,0.10),
    0 12px 14px -6px rgba(27,27,27,0.07),
    0 6px 6px -3px rgba(27,27,27,0.05),
    0 2px 2px -1px rgba(0,0,0,0.05),
    0 0 0 1px rgba(0,0,0,0.05);
}

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.011rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--ink); color: #fff; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: var(--container);
  margin-inline: auto;
}

section { padding-block: 3.5rem; }
@media (min-width: 768px) { section { padding-block: 5rem; } }
@media (min-width: 1024px) { section { padding-block: 7.5rem; } }

/* Section heading block */
.section__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  max-width: 44rem;
}
.section__head .eyebrow { color: var(--slate); }
.section__head .lede { color: var(--char); }
.section__head--center { text-align: center; margin-inline: auto; align-items: center; }

/* Dotted divider — Drewl signature */
.dot-rule {
  height: 8px;
  background-image: radial-gradient(circle, var(--border) 25%, transparent 26%);
  background-size: 8px 8px;
  background-position: 0 50%;
  background-repeat: repeat-x;
  margin-block: 0;
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.display-hero {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03rem;
  color: var(--ink);
  margin: 0;
}
@media (min-width: 768px) { .display-hero { font-size: 2.75rem; line-height: 1.08; } }
@media (min-width: 1024px) { .display-hero { font-size: 4rem; letter-spacing: -0.045rem; } }

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.18;
  letter-spacing: -0.025rem;
  color: var(--ink);
  margin: 0;
}
@media (min-width: 1024px) { .h2 { font-size: 2.5rem; letter-spacing: -0.03rem; } }

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.012rem;
  color: var(--ink);
  margin: 0;
}

.h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.011rem;
  color: var(--ink);
  margin: 0;
}

.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.011rem;
  color: var(--char);
}
@media (min-width: 1024px) { .lede { font-size: 1.125rem; } }

.body { color: var(--char); font-size: 1rem; line-height: 1.5; letter-spacing: -0.011rem; }
.body-sm { color: var(--slate); font-size: 0.875rem; line-height: 1.43; letter-spacing: -0.00525rem; }
.caption { color: var(--slate); font-size: 0.8125rem; line-height: 1.54; letter-spacing: -0.00488rem; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.75rem;
  padding-inline: 1.125rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: -0.00525rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
  user-select: none;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.82)), #1a1a1a;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 30%, rgba(255,255,255,0.32), rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { transform: translateY(-1px); }

.btn--secondary {
  color: var(--ink-soft);
  background: var(--surface);
  box-shadow: var(--shadow-secondary);
}
.btn--secondary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 -1px 0.5px 0 rgba(0,0,0,0.05),
    0 12px 14px -6px rgba(0,0,0,0.05),
    0 6px 6px -3px rgba(0,0,0,0.05),
    0 0 0 1px rgba(0,0,0,0.06);
}

.btn--ghost {
  color: var(--ink-near);
  background: transparent;
  height: 2.25rem;
  padding-inline: 0.75rem;
  font-weight: 400;
}
.btn--ghost:hover {
  background: rgba(28,28,28,0.04);
  color: var(--ink-soft);
}

.btn--outlined {
  color: var(--ink-near);
  background: transparent;
  box-shadow: 0 0 0 1px var(--border);
  height: 2.25rem;
  padding-inline: 0.875rem;
}
.btn--outlined:hover { box-shadow: 0 0 0 1px var(--ink-soft); }

.btn .arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.22s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   6. CARD (base + hover)
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: var(--s-lg);
  position: relative;
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1), box-shadow 0.32s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.card.is-hover:hover,
.service:hover,
.step:hover,
.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   7. BADGES & CHIPS
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--chip);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 2px 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.00488rem;
}

/* "New" gradient spinner badge — Drewl signature */
.new-badge {
  --bg: #0b0b0b;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px 6px 8px;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: #ebebeb;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.00488rem;
  position: relative;
  isolation: isolate;
}

.new-badge .micro {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04));
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   8. NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,247,247,0.72);
  backdrop-filter: blur(44px);
  -webkit-backdrop-filter: blur(44px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.125rem;
  gap: var(--s-md);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.025rem;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a1a1a, #000);
  box-shadow: var(--shadow-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.5px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__link {
  color: var(--char);
  font-size: 0.875rem;
  line-height: 1.43;
  letter-spacing: -0.00525rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-pill);
  transition: color 0.22s ease, background 0.22s ease;
}
.nav__link:hover { color: var(--ink-soft); background: rgba(28,28,28,0.04); }
.nav__cta { display: inline-flex; gap: 0.5rem; align-items: center; }

/* ============================================================
   9. HERO
   ============================================================ */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
@media (min-width: 768px) { .hero { padding-block: 5.5rem 4rem; } }
@media (min-width: 1024px) { .hero { padding-block: 7.5rem 6rem; } }

.hero__inner {
  text-align: center;
  max-width: 50rem;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Ambient atmospheric glow — multiple soft radial blobs, no blend modes */
.hero__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(110vw, 78rem);
  height: 36rem;
  background:
    radial-gradient(28% 38% at 22% 28%, rgba(139,216,252,0.55), transparent 65%),
    radial-gradient(26% 34% at 72% 22%, rgba(68,154,250,0.45), transparent 65%),
    radial-gradient(32% 42% at 78% 72%, rgba(125,107,249,0.50), transparent 65%),
    radial-gradient(28% 36% at 26% 76%, rgba(204,107,249,0.42), transparent 65%);
  filter: blur(72px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero__glow { height: 26rem; filter: blur(52px); opacity: 0.85; }
}

/* Floating UI fragments — desktop only */
.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: none;
}
@media (min-width: 1024px) { .hero__decor { display: block; } }

.hero__chip {
  position: absolute;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  opacity: 0;
  /* Two animations on independent properties: opacity (fade in) + translate (float) */
  animation-name: hero-chip-in, hero-float;
  animation-duration: 0.9s, 7s;
  animation-timing-function: cubic-bezier(.2,.7,.2,1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}
.hero__chip small {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-right: 2px;
}

/* Chip 1 — top-left — Code/CLI deploy */
.hero__chip--code {
  top: 16%; left: 4%;
  background: linear-gradient(180deg, #14141a, #0c0c10);
  color: #ebebeb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 500;
  padding: 9px 13px;
  animation-delay: 0.05s, 0s;
  box-shadow:
    0 16px 24px -8px rgba(20,20,26,0.32),
    0 4px 8px -2px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1px rgba(255,255,255,0.04);
}
.hero__chip--code .prompt { color: var(--grad-violet); }
.hero__chip--code .cmd { color: #ebebeb; }
.hero__chip--code .ok { color: #4ad97a; font-weight: 600; }
.hero__chip--code .cursor {
  display: inline-block;
  width: 6px; height: 11px;
  background: #ebebeb;
  margin-left: 1px;
  animation: cursor-blink 1s steps(2) infinite;
  vertical-align: middle;
}
@keyframes cursor-blink { 50% { opacity: 0; } }

/* Chip 2 — top-right — Growth metric */
.hero__chip--metric {
  top: 14%; right: 5%;
  animation-delay: 0.18s, 0.6s;
}
.hero__chip--metric .arrow-up {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ad97a, #2bb35e);
  display: grid; place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(43,179,94,0.35);
}
.hero__chip--metric .num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.hero__chip--metric svg.spark {
  width: 36px; height: 16px;
  color: #4ad97a;
}

/* Chip 3 — bottom-left — AI agent active */
.hero__chip--ai {
  bottom: 18%; left: 5%;
  animation-delay: 0.32s, 1.2s;
}
.hero__chip--ai .ai-orb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--grad-cyan), var(--grad-blue), var(--grad-violet), var(--grad-pink), var(--grad-cyan));
  position: relative;
  isolation: isolate;
  animation: spin 5s linear infinite;
}
.hero__chip--ai .ai-orb::after {
  content: "";
  position: absolute; inset: 4px;
  background: var(--surface);
  border-radius: 50%;
  z-index: 1;
}
.hero__chip--ai .ai-orb::before {
  content: "";
  position: absolute; inset: 7px;
  background: var(--ink);
  border-radius: 50%;
  z-index: 2;
}
.hero__chip--ai .typing {
  color: var(--slate);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 3px;
}
.hero__chip--ai .typing i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--slate);
  display: inline-block;
  animation: typing 1.4s ease-in-out infinite;
}
.hero__chip--ai .typing i:nth-child(2) { animation-delay: 0.2s; }
.hero__chip--ai .typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* Chip 4 — bottom-right — Build status */
.hero__chip--status {
  bottom: 14%; right: 4%;
  animation-delay: 0.48s, 1.8s;
}
.hero__chip--status .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(74,217,122,0.15);
  display: grid; place-items: center;
  color: #2bb35e;
}
.hero__chip--status .duration {
  color: var(--slate);
  font-weight: 500;
  font-size: 11px;
}

@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
@keyframes hero-chip-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__chip,
  .hero__chip--code,
  .hero__chip--metric,
  .hero__chip--ai,
  .hero__chip--status { animation: none; opacity: 1; translate: 0 0; }
  .hero__chip--code .cursor,
  .hero__chip--ai .ai-orb,
  .hero__chip--ai .typing i { animation: none; }
}
.hero__pill {
  display: inline-flex; margin-bottom: 1.75rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero .lede { margin: 0 auto 2rem; max-width: 36rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero__meta { margin-top: 1.75rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; color: var(--slate); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; letter-spacing: -0.00488rem; }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: #4a9d6f; box-shadow: 0 0 0 3px rgba(74,157,111,0.18); }

/* ============================================================
   10. MARQUEE
   ============================================================ */
.marquee {
  margin-top: 3rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll 38s linear infinite;
  padding-block: 0.5rem;
}
.marquee__item {
  color: var(--slate);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02rem;
  opacity: 0.78;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.marquee__item .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--gray-mid);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   11. STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  position: relative;
  transition: background 0.32s ease;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--grad-cyan), var(--grad-violet), var(--grad-pink));
  transition: width 0.5s cubic-bezier(.2,.7,.2,1);
}
.stat:hover::after { width: 100%; }
.stat:hover .stat__num { transform: translateY(-2px); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.035rem;
  color: var(--ink);
  display: inline-block;
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 1024px) { .stat__num { font-size: 2.75rem; } }
.stat__label { color: var(--slate); font-size: 0.875rem; letter-spacing: -0.00525rem; }

/* ============================================================
   12. GRIDS
   ============================================================ */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   13. SERVICES
   ============================================================ */
.service {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 17rem;
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
}
.service__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1), box-shadow 0.32s cubic-bezier(.2,.7,.2,1);
}
.service:hover .service__icon {
  transform: rotate(-6deg) scale(1.06);
  box-shadow:
    0 8px 12px -4px rgba(27,27,27,0.12),
    0 0 0 1px rgba(0,0,0,0.06);
}
.service__title { margin-top: 0.25rem; }
.service__desc { color: var(--slate); font-size: 0.9375rem; letter-spacing: -0.00525rem; line-height: 1.5; }
.service__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}
.service__list li {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  letter-spacing: -0.00488rem;
}
.service__list li::before {
  content: ""; width: 14px; height: 1px; background: var(--ink-soft); display: inline-block;
}

/* Featured service variant — has media on top (used in "Para quem é?") */
.service--featured { padding: 0; min-height: 0; gap: 0; }
.service--featured .service__body {
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  flex: 1;
}
.service__media {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.service--featured:hover .service__media { transform: scale(1.02); }

/* ============================================================
   14. PROJECTS
   ============================================================ */
.projects { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .projects { grid-template-columns: repeat(12, 1fr); } }

.project {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1), box-shadow 0.32s cubic-bezier(.2,.7,.2,1);
}
.project:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 -1px 0.5px 0 rgba(0,0,0,0.05),
    0 32px 36px -12px rgba(27,27,27,0.14),
    0 16px 18px -8px rgba(27,27,27,0.08),
    0 8px 8px -2px rgba(27,27,27,0.06),
    0 0 0 1px rgba(0,0,0,0.06);
}
@media (min-width: 1024px) {
  .project--wide { grid-column: span 7; }
  .project--tall { grid-column: span 5; }
  .project--half { grid-column: span 6; }
}
.project__media {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.project:hover .project__media { transform: scale(1.02); }
.project__body {
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.project__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.22;
  letter-spacing: -0.022rem;
  color: var(--ink);
  margin: 0;
}
@media (min-width: 1024px) { .project__quote { font-size: 1.5rem; } }
.project__meta {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  color: var(--slate);
  font-size: 0.8125rem;
  letter-spacing: -0.00488rem;
  margin-top: 0.25rem;
}
.project__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 0.5rem; }
.project__client { color: var(--ink-soft); font-weight: 500; font-size: 0.875rem; letter-spacing: -0.00525rem; }
.project__cta {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.00525rem;
  display: inline-flex; gap: 0.4rem; align-items: center;
}
.project:hover .project__cta span { transform: translateX(4px); }
.project__cta span { display: inline-block; transition: transform 0.22s ease; }

/* ============================================================
   15. SITES & LANDING PAGES PORTFOLIO
   ============================================================ */
.websites {
  background:
    linear-gradient(180deg, var(--page) 0%, #eeeeee 48%, var(--page) 100%);
  overflow: hidden;
}
.websites__intro {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .websites__intro {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }
}
.websites__intro .section__head { margin-bottom: 0; }
.websites__note {
  background: #101010;
  color: #ebebeb;
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-primary);
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.websites__note::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% -10%;
  height: 80%;
  background: radial-gradient(55% 65% at 50% 0%, rgba(139,216,252,0.34), transparent 70%),
              radial-gradient(45% 55% at 72% 0%, rgba(204,107,249,0.28), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}
.websites__note strong {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.055rem;
  color: #fff;
  position: relative;
  z-index: 1;
}
.websites__note span {
  color: rgba(235,235,235,0.68);
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: -0.00525rem;
  position: relative;
  z-index: 1;
}
.website-feature {
  display: grid;
  grid-template-columns: 1fr;
  background: #101010;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-primary);
  margin-bottom: 1rem;
}
@media (min-width: 920px) {
  .website-feature {
    grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.55fr);
  }
}
.website-feature__media {
  min-height: 16rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0b0b0b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 920px) {
  .website-feature__media {
    border-bottom: 0;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
}
.website-feature__media img,
.website-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.75s cubic-bezier(.2,.7,.2,1), filter 0.32s ease;
}
.website-feature:hover .website-feature__media img,
.website-card:hover .website-card__media img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}
.website-feature__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  color: #ebebeb;
}
@media (min-width: 1024px) {
  .website-feature__body { padding: 2rem; }
}
.website-feature__body .h3 { color: #fff; font-size: 2rem; letter-spacing: -0.03rem; }
.website-feature__body p {
  color: rgba(235,235,235,0.68);
  margin: 0;
  line-height: 1.55;
}
.website-feature__body .project__cta { color: #fff; }
.website-feature__body .chip {
  background: rgba(255,255,255,0.10);
  color: #ebebeb;
}
.website-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .website-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .website-grid { grid-template-columns: repeat(3, 1fr); }
}
.website-card {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}
.website-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.website-card__media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-thumb);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.website-card__body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.website-card__body p {
  margin: 0;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.48;
  letter-spacing: -0.00525rem;
}
.website-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ============================================================
   16. PROJECT VISUAL TREATMENTS (pv-*)
   ============================================================ */
/* Dashboard / SaaS chrome */
.pv-grid { background:
  repeating-linear-gradient(0deg, rgba(28,28,28,0.04) 0 1px, transparent 1px 24px),
  repeating-linear-gradient(90deg, rgba(28,28,28,0.04) 0 1px, transparent 1px 24px),
  var(--gray-thumb);
  position: relative;
}
.pv-grid::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 75% 30%, rgba(125,107,249,0.22), transparent 70%),
              radial-gradient(50% 60% at 25% 80%, rgba(139,216,252,0.30), transparent 70%);
  mix-blend-mode: color;
  filter: blur(20px);
}
.pv-grid__chrome {
  position: absolute; inset: 1.5rem;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.pv-grid__bar {
  height: 28px;
  background: var(--gray-thumb);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex; align-items: center; gap: 5px; padding: 0 10px;
}
.pv-grid__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-mid); display: inline-block; }
.pv-grid__content {
  padding: 14px;
  display: grid; grid-template-columns: 30% 1fr; gap: 10px;
}
.pv-grid__sidebar {
  background: var(--gray-thumb);
  border-radius: 8px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.pv-grid__sidebar i { display: block; height: 8px; border-radius: 4px; background: rgba(28,28,28,0.08); }
.pv-grid__sidebar i:nth-child(1) { width: 70%; }
.pv-grid__sidebar i:nth-child(2) { width: 100%; background: var(--ink); height: 10px; }
.pv-grid__sidebar i:nth-child(3) { width: 60%; }
.pv-grid__sidebar i:nth-child(4) { width: 80%; }
.pv-grid__main { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; }
.pv-grid__kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pv-grid__kpi span {
  background: var(--gray-thumb); border-radius: 6px; height: 38px; padding: 6px 8px;
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: -0.4px; color: var(--ink);
}
.pv-grid__kpi span small { color: var(--slate); font-weight: 400; font-size: 8px; letter-spacing: 0; }
.pv-grid__chart {
  background: var(--gray-thumb); border-radius: 6px; position: relative; overflow: hidden;
}
.pv-grid__chart::before {
  content: "";
  position: absolute; left: 6%; right: 6%; bottom: 6%;
  height: 50%;
  background:
    linear-gradient(180deg, rgba(28,28,28,0.18), transparent),
    linear-gradient(180deg, transparent 30%, rgba(28,28,28,0.5) 30%, rgba(28,28,28,0.5) 30.5%, transparent 30.5%),
    linear-gradient(180deg, transparent 60%, rgba(28,28,28,0.3) 60%, rgba(28,28,28,0.3) 60.5%, transparent 60.5%);
  clip-path: polygon(0 100%, 8% 70%, 18% 75%, 28% 50%, 40% 60%, 52% 30%, 64% 40%, 76% 18%, 88% 28%, 100% 8%, 100% 100%);
}
.pv-grid__bullets { display: flex; gap: 6px; }
.pv-grid__bullets i {
  flex: 1; height: 16px; background: var(--gray-thumb); border-radius: 4px;
}

/* Mobile app preview */
.pv-app {
  background: linear-gradient(160deg, #f4f6ff 0%, #fff 50%, #fff5fb 100%);
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.pv-app::before {
  content: "";
  position: absolute; inset: -10%;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(139,216,252,0.5), transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(204,107,249,0.4), transparent 70%);
  filter: blur(40px);
}
.pv-app__phone {
  width: 38%;
  aspect-ratio: 9/19;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.pv-app__notch {
  width: 36px; height: 6px; border-radius: 4px;
  background: #1c1c1c;
  margin: 0 auto 6px;
}
.pv-app__hero {
  height: 38%;
  border-radius: 12px;
  background:
    linear-gradient(135deg, var(--grad-violet), var(--grad-pink));
  position: relative;
  color: #fff;
  padding: 10px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.pv-app__hero strong { font-family: var(--font-display); font-size: 11px; letter-spacing: -0.3px; line-height: 1.1; }
.pv-app__hero small { font-size: 7px; opacity: 0.9; }
.pv-app__row { display: flex; gap: 6px; }
.pv-app__row i { flex: 1; height: 36px; border-radius: 8px; background: var(--gray-thumb); }
.pv-app__row i:nth-child(2) { background: #1c1c1c; }
.pv-app__list {
  flex: 1;
  background: var(--gray-thumb);
  border-radius: 10px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 5px;
}
.pv-app__list i { display: block; height: 6px; border-radius: 4px; background: rgba(28,28,28,0.1); }
.pv-app__list i:nth-child(odd) { width: 70%; }
.pv-app__list i:nth-child(even) { width: 90%; }

/* Code preview */
.pv-code {
  background: linear-gradient(180deg, #0e0e10, #161618);
  color: #d4d4d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0;
  padding: 22px 22px 0;
  position: relative;
  overflow: hidden;
}
.pv-code::after {
  content: "";
  position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(125,107,249,0.45), transparent 70%);
  filter: blur(40px);
}
.pv-code__bar {
  display: flex; gap: 6px; margin-bottom: 14px;
}
.pv-code__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a2e; }
.pv-code pre { margin: 0; white-space: pre-wrap; }
.pv-code .k { color: #cc6bf9; }
.pv-code .s { color: #8bd8fc; }
.pv-code .c { color: #6b6b70; font-style: italic; }
.pv-code .f { color: #7d6bf9; }
.pv-code .v { color: #fff; }

/* Map preview */
.pv-map {
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(139,216,252,0.4), transparent 60%),
    radial-gradient(50% 60% at 80% 80%, rgba(125,107,249,0.3), transparent 60%),
    var(--gray-thumb);
  position: relative;
  overflow: hidden;
}
.pv-map::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(28,28,28,0.18) 14%, transparent 15%);
  background-size: 14px 14px;
  background-position: 0 0;
  opacity: 0.7;
}
.pv-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-map__dot {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: #1c1c1c;
  box-shadow: 0 0 0 4px rgba(28,28,28,0.15);
}
.pv-map__pulse {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: #1c1c1c;
  box-shadow: 0 0 0 6px rgba(98,0,245,0.25);
}
.pv-map__pulse::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px solid rgba(98,0,245,0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(0.4); opacity: 0.9; }
  to { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   16. NEW VISUAL TREATMENTS — "Para quem é?" cards
   ============================================================ */

/* pv-spark — Ideação (startups). Sticky-notes ao redor de uma lâmpada */
.pv-spark {
  background:
    radial-gradient(60% 70% at 28% 28%, rgba(139,216,252,0.36), transparent 70%),
    radial-gradient(55% 60% at 78% 76%, rgba(204,107,249,0.30), transparent 70%),
    repeating-linear-gradient(0deg,  rgba(28,28,28,0.045) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(28,28,28,0.045) 0 1px, transparent 1px 18px),
    var(--gray-thumb);
  position: relative;
  overflow: hidden;
}
.pv-spark__connect {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.pv-spark__bulb {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--surface);
  border-radius: 50%;
  box-shadow:
    0 12px 24px -8px rgba(125,107,249,0.4),
    0 0 0 1px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.6);
  display: grid; place-items: center;
  z-index: 2;
}
.pv-spark__bulb svg { width: 28px; height: 28px; color: var(--ink); }
.pv-spark__note {
  position: absolute;
  background: var(--surface);
  padding: 6px 10px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: -0.3px;
  color: var(--ink);
  box-shadow:
    0 4px 6px -2px rgba(0,0,0,0.08),
    0 1px 2px rgba(0,0,0,0.05),
    0 0 0 1px rgba(0,0,0,0.04);
  z-index: 1;
  white-space: nowrap;
}
.pv-spark__note small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2px;
}
.pv-spark__note--1 { top: 14%;  left:  6%; transform: rotate(-3deg); }
.pv-spark__note--2 { top: 18%;  right: 6%; transform: rotate(3deg); }
.pv-spark__note--3 { bottom: 16%; left: 8%; transform: rotate(2deg); }
.pv-spark__note--4 { bottom: 14%; right: 6%; transform: rotate(-3deg); }

/* pv-bars — Escala (negócios consolidados). Gráfico de crescimento */
.pv-bars {
  background:
    radial-gradient(55% 70% at 80% 20%, rgba(125,107,249,0.30), transparent 70%),
    radial-gradient(50% 60% at 18% 80%, rgba(139,216,252,0.28), transparent 70%),
    var(--gray-thumb);
  position: relative;
  overflow: hidden;
}
.pv-bars__chart {
  position: absolute; inset: 14% 10% 22%;
  display: flex; align-items: flex-end; gap: 8%;
}
.pv-bars__bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--ink), var(--ink-soft));
  position: relative;
}
.pv-bars__bar:nth-child(1) { height: 28%; opacity: 0.30; }
.pv-bars__bar:nth-child(2) { height: 38%; opacity: 0.45; }
.pv-bars__bar:nth-child(3) { height: 48%; opacity: 0.60; }
.pv-bars__bar:nth-child(4) { height: 62%; opacity: 0.75; }
.pv-bars__bar:nth-child(5) { height: 78%; opacity: 0.88; }
.pv-bars__bar:nth-child(6) { height: 96%; opacity: 1; }
.pv-bars__line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.pv-bars__axis {
  position: absolute; left: 10%; right: 10%; bottom: 14%;
  display: flex; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-transform: uppercase;
}
.pv-bars__pulse {
  position: absolute;
  right: 12%;
  top: 18%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(98,0,245,0.25);
  z-index: 2;
}
.pv-bars__pulse::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid rgba(98,0,245,0.45);
  animation: pulse 2.4s ease-out infinite;
}
.pv-bars__badge {
  position: absolute; top: 10%; left: 10%;
  background: var(--surface);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
  box-shadow:
    0 4px 6px -2px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.04);
  display: inline-flex; align-items: center; gap: 5px;
}
.pv-bars__badge::before {
  content: "↑";
  color: #4a9d6f;
  font-weight: 700;
}

/* ============================================================
   17. PROCESS / STEPS
   ============================================================ */
.process {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.875rem; min-height: 14rem; }
.step__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06rem;
  color: var(--slate);
  text-transform: uppercase;
  display: flex; gap: 0.625rem; align-items: center;
}
.step__num::before { content: ""; width: 18px; height: 1px; background: var(--ink); }

/* Step variant with media banner */
.step--media { padding: 0; min-height: 0; gap: 0; }
.step--media .step__body {
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.875rem;
  flex: 1;
}
.step__media {
  aspect-ratio: 16/8;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.step--media:hover .step__media { transform: scale(1.02); }

/* ============================================================
   18. NEW VISUAL TREATMENTS — Step cards
   ============================================================ */

/* pv-discovery — Step 1 Estratégia. Mind map de descoberta */
.pv-discovery {
  background:
    radial-gradient(50% 70% at 50% 50%, rgba(139,216,252,0.32), transparent 70%),
    radial-gradient(45% 55% at 85% 30%, rgba(125,107,249,0.22), transparent 70%),
    var(--gray-thumb);
  position: relative;
  overflow: hidden;
}
.pv-discovery::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(28,28,28,0.10) 14%, transparent 15%);
  background-size: 12px 12px;
  opacity: 0.55;
}
.pv-discovery__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-discovery__node {
  position: absolute;
  background: var(--surface);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
  box-shadow:
    0 4px 6px -2px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.04);
  z-index: 2;
  white-space: nowrap;
}
.pv-discovery__center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.2px;
  box-shadow:
    0 8px 12px -4px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.10);
  z-index: 3;
}
.pv-discovery__node--1 { top: 12%; left:  8%; }
.pv-discovery__node--2 { top: 14%; right: 10%; }
.pv-discovery__node--3 { bottom: 14%; left: 12%; }
.pv-discovery__node--4 { bottom: 12%; right: 8%; }

/* pv-build — Step 2 Construção. Cards empilhados / iteração */
.pv-build {
  background:
    radial-gradient(50% 60% at 75% 40%, rgba(204,107,249,0.22), transparent 70%),
    radial-gradient(40% 50% at 22% 70%, rgba(139,216,252,0.20), transparent 70%),
    linear-gradient(180deg, #fafafa, var(--gray-thumb));
  position: relative;
  overflow: hidden;
}
.pv-build__layer {
  position: absolute;
  background: var(--surface);
  border-radius: 9px;
  box-shadow:
    0 6px 12px -4px rgba(0,0,0,0.10),
    0 2px 4px rgba(0,0,0,0.04),
    0 0 0 1px rgba(0,0,0,0.04);
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.pv-build__layer i {
  width: 14px; height: 14px;
  border-radius: 4px;
  display: inline-block;
}
.pv-build__layer--1 { top: 18%; left: 12%; transform: rotate(-3deg); width: 46%; }
.pv-build__layer--1 i { background: linear-gradient(135deg, var(--grad-cyan), var(--grad-blue)); }
.pv-build__layer--2 { top: 38%; right: 14%; transform: rotate(2deg); width: 42%; }
.pv-build__layer--2 i { background: var(--ink); }
.pv-build__layer--3 { bottom: 14%; left: 18%; transform: rotate(-1deg); width: 50%; }
.pv-build__layer--3 i { background: linear-gradient(135deg, var(--grad-violet), var(--grad-pink)); }
.pv-build__loop {
  position: absolute; right: 8%; top: 8%;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--surface);
  border-radius: 50%;
  color: var(--ink);
  box-shadow:
    0 4px 8px -2px rgba(0,0,0,0.10),
    0 0 0 1px rgba(0,0,0,0.04);
  z-index: 2;
}
.pv-build__loop svg {
  width: 14px; height: 14px;
  animation: rotate-slow 6s linear infinite;
}
@keyframes rotate-slow { to { transform: rotate(360deg); } }

/* pv-launch — Step 3 Lançamento. Foguete subindo */
.pv-launch {
  background:
    radial-gradient(50% 60% at 80% 80%, rgba(204,107,249,0.32), transparent 70%),
    radial-gradient(60% 70% at 20% 30%, rgba(139,216,252,0.30), transparent 70%),
    linear-gradient(180deg, #fafafa, var(--gray-thumb));
  position: relative;
  overflow: hidden;
}
.pv-launch__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-launch__star {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0.5;
}
.pv-launch__star--1 { top: 22%; left: 28%; }
.pv-launch__star--2 { top: 36%; left: 60%; opacity: 0.3; }
.pv-launch__star--3 { top: 18%; right: 22%; opacity: 0.7; }
.pv-launch__star--4 { bottom: 30%; left: 18%; opacity: 0.4; }
.pv-launch__rocket {
  position: absolute;
  top: 18%; right: 14%;
  width: 36px; height: 36px;
  background: var(--surface);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow:
    0 12px 18px -6px rgba(125,107,249,0.45),
    0 0 0 1px rgba(0,0,0,0.05);
  z-index: 2;
  color: var(--ink);
  transform: rotate(-12deg);
}
.pv-launch__rocket svg { width: 18px; height: 18px; }
.pv-launch__live {
  position: absolute;
  bottom: 14%; left: 12%;
  background: var(--ink);
  color: #fff;
  padding: 4px 10px 4px 6px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow:
    0 4px 8px -2px rgba(0,0,0,0.20),
    0 0 0 1px rgba(0,0,0,0.10);
}
.pv-launch__live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4a9d6f;
  box-shadow: 0 0 0 3px rgba(74,157,111,0.30);
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,157,111,0.30); }
  50%      { box-shadow: 0 0 0 5px rgba(74,157,111,0.10); }
}

/* ============================================================
   19. TESTIMONIALS
   ============================================================ */
.quotes { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.quote__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.32;
  letter-spacing: -0.018rem;
  color: var(--ink);
  margin: 0;
}
@media (min-width: 1024px) { .quote__text { font-size: 1.4375rem; } }
.quote__author {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: auto;
}
.avatar {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--grad-cyan), var(--grad-violet));
  box-shadow: var(--shadow-card);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: -0.4px;
  transition: transform 0.32s cubic-bezier(.2,.7,.2,1);
}
.avatar--b { background: linear-gradient(135deg, #1a1a1a, #3d3d3d); }
.avatar--c { background: linear-gradient(135deg, var(--grad-violet), var(--grad-pink)); }
.quote:hover .avatar { transform: scale(1.08) rotate(-4deg); }
.quote__meta { display: flex; flex-direction: column; }
.quote__meta strong { color: var(--ink); font-weight: 500; font-size: 0.9375rem; letter-spacing: -0.00525rem; }
.quote__meta span { color: var(--slate); font-size: 0.8125rem; letter-spacing: -0.00488rem; }

/* ============================================================
   20. FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 0; max-width: 50rem; margin-inline: auto; }
details.faq__item {
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 0;
  margin-bottom: 0.625rem;
  overflow: hidden;
  transition: box-shadow 0.32s ease;
}
details.faq__item:hover {
  box-shadow:
    inset 0 -1px 0.5px 0 rgba(0,0,0,0.05),
    0 12px 16px -6px rgba(27,27,27,0.08),
    0 6px 8px -3px rgba(27,27,27,0.05),
    0 0 0 1px rgba(0,0,0,0.06);
}
details.faq__item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1.125rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.011rem;
  color: var(--ink);
}
details.faq__item > summary::-webkit-details-marker { display: none; }
details.faq__item .plus {
  width: 22px; height: 22px; border-radius: 50%; background: var(--chip);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: transform 0.22s ease, background 0.22s ease;
  font-size: 14px; line-height: 1;
}
details.faq__item[open] .plus { transform: rotate(45deg); background: var(--ink); color: #fff; }
details.faq__item .faq__body {
  padding: 0 1.5rem 1.25rem;
  color: var(--char);
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: -0.00525rem;
}

/* ============================================================
   21. CTA DARK BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(180deg, #111, #050505);
  color: #ebebeb;
  border-radius: var(--r-lg);
  padding: 3rem 1.75rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .cta-band { padding: 5rem 3rem; } }
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 70%; height: 70%;
  transform: translate(-50%, -30%);
  background: linear-gradient(93deg, var(--grad-cyan), var(--grad-blue), var(--grad-violet), var(--grad-pink));
  filter: blur(80px);
  opacity: 0.32;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.03rem;
  color: #f7f7f7;
  margin: 0 0 1rem;
}
@media (min-width: 1024px) { .cta-band h2 { font-size: 3rem; } }
.cta-band p {
  color: rgba(235,235,235,0.72);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.011rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--ink-soft);
  box-shadow:
    inset 0 -1px 0.5px 0 rgba(0,0,0,0.04),
    0 8px 8px -4px rgba(0,0,0,0.06),
    0 4px 4px -2px rgba(0,0,0,0.06),
    0 2px 2px -1px rgba(0,0,0,0.06);
}
.cta-band .btn--ghost {
  color: #f7f7f7;
}
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ============================================================
   22. FOOTER
   ============================================================ */
footer.foot {
  padding: 4rem 0 2.5rem;
  border-top: 1px dashed var(--border);
}
.foot__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.875rem;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.foot li a {
  color: var(--slate);
  font-size: 0.875rem;
  letter-spacing: -0.00525rem;
  transition: color 0.22s ease;
}
.foot li a:hover { color: var(--ink); }
.foot__brand p {
  color: var(--char);
  font-size: 0.9375rem;
  line-height: 1.5;
  letter-spacing: -0.00525rem;
  margin: 0.875rem 0 1.25rem;
  max-width: 22rem;
}
.foot__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: var(--slate);
  font-size: 0.8125rem;
  letter-spacing: -0.00488rem;
}

/* ============================================================
   23. UTILITIES
   ============================================================ */
.kbd-arrow { display: inline-block; transform: translateY(-1px); }

/* ============================================================
   24. REVEAL-ON-SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.06s; }
.reveal.delay-2 { transition-delay: 0.12s; }
.reveal.delay-3 { transition-delay: 0.18s; }
.reveal.delay-4 { transition-delay: 0.24s; }

/* ============================================================
   25. REDUCE MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .new-badge::before { animation: none; }
  .pv-map__pulse::after,
  .pv-bars__pulse::after,
  .pv-launch__live::before { animation: none; }
  .pv-build__loop svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
