/* ============================================================
   Vector Insight — "Ethereal Glass" build
   Agency-tier dark-tech reskin. OLED black, mesh orbs, glass
   double-bezel cards, fluid island nav, spring-eased motion.
   Single accent preserved: Oxford blue, brightened for dark.
   ============================================================ */

/* Self-hosted fonts (gerado de Google Fonts, OFL) — LGPD + sem render-blocking externo */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-500-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-500-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/space-grotesk-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/space-grotesk-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/space-grotesk-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/space-grotesk-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/space-grotesk-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/space-grotesk-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* surfaces */
  --bg:            #050505;
  --bg-2:          #0A0B0E;
  --surface:       rgba(255,255,255,0.035);
  --surface-2:     rgba(255,255,255,0.055);
  --surface-3:     rgba(255,255,255,0.08);
  --hairline:      rgba(255,255,255,0.09);
  --hairline-2:    rgba(255,255,255,0.16);
  --inset-hi:      inset 0 1px 0.5px rgba(255,255,255,0.14);

  /* ink */
  --text:          #F4F5F7;
  --text-soft:     rgba(244,245,247,0.66);
  --text-faint:    rgba(244,245,247,0.56);

  /* accent — Oxford, lifted for dark */
  --accent:        #4B82C4;
  --accent-soft:   #76A4DD;
  --accent-deep:   #1E3A5F;
  --accent-glow:   rgba(75,130,196,0.45);

  /* type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --fs-display: clamp(2.75rem, 1rem + 6.5vw, 5.5rem);
  --fs-h2:      clamp(2rem, 1.1rem + 3.4vw, 3.6rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  --fs-lede:    clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.2vw, 1.12rem);

  /* rhythm */
  --section-pad: clamp(6rem, 11vw, 11rem);
  --container:   1240px;

  /* form */
  --r-shell: 2rem;
  --r-core:  1.625rem;   /* calc(2rem - 0.375rem) */
  --r-pill:  999px;

  --ease:    cubic-bezier(0.32, 0.72, 0, 1);
  --dur:     0.7s;

  /* systemic z-scale */
  --z-grain: 40;
  --z-nav:   60;
  --z-overlay: 80;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
p { text-wrap: pretty; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- ambient background: mesh orbs ---- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(46rem 46rem at 78% -8%,  rgba(75,130,196,0.22), transparent 60%),
    radial-gradient(40rem 40rem at 8% 18%,   rgba(30,58,95,0.30),  transparent 62%),
    radial-gradient(50rem 50rem at 92% 92%,  rgba(118,164,221,0.10), transparent 60%),
    var(--bg);
}
.bg-mesh::after { /* vignette to keep edges OLED */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 30%, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* ---- fixed grain overlay ---- */
.grain {
  position: fixed; inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: var(--section-pad); position: relative; }

/* ---- eyebrow tag ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-soft);
  padding: 0.5em 1em 0.5em 0.9em;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--inset-hi);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 12px 2px var(--accent-glow);
}

/* ---- section head ---- */
.head { max-width: 30ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.head .eyebrow { margin-bottom: 1.5rem; }
.head h2 { font-size: var(--fs-h2); }
.head .sub { color: var(--text-soft); font-size: var(--fs-lede); margin-top: 1.2rem; max-width: 52ch; }

/* ============================================================
   BUTTONS — island pill + button-in-button trailing icon
   ============================================================ */
.btn-pill {
  --pad-y: 0.7rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: var(--pad-y) var(--pad-y) var(--pad-y) 1.5rem;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 14px 40px -14px var(--accent-glow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  will-change: transform;
}
.btn-pill:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 22px 60px -18px var(--accent-glow); }
.btn-pill:active { transform: scale(0.98); }
.btn-pill__icon {
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-pill__icon svg { width: 18px; height: 18px; }
.btn-pill:hover .btn-pill__icon {
  transform: translate(3px, -3px) scale(1.06);
  background: rgba(255,255,255,0.26);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  box-shadow: var(--inset-hi);
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--hairline-2); }
.btn-ghost:active { transform: scale(0.98); }

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent-soft); font-weight: 500;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.text-link:hover { gap: 0.85rem; color: #fff; }

/* ============================================================
   DOUBLE-BEZEL (Doppelrand) — outer shell + inner core
   ============================================================ */
/* Flattened: a single quiet surface, not a glass doppelrand. Glass is
   reserved for the two deliberate moments (hero diagram, CTA panel). */
.bezel {
  background: none;
  border: 0;
  border-radius: var(--r-shell);
  padding: 0;
}
.bezel__core {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-core);
  height: 100%;
}
/* the two reserved glass moments keep the lifted double-surface */
.diagram .bezel,
.cta-panel .bezel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 0.4rem;
  box-shadow: var(--inset-hi);
}
.diagram .bezel__core,
.cta-panel .bezel__core {
  background: linear-gradient(180deg, var(--bg-2), #07080a);
  box-shadow: var(--inset-hi);
}

/* ============================================================
   NAV — fluid island pill, detached
   ============================================================ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
  padding-inline: 1rem;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: max-content;
  max-width: 100%;
  padding: 0.55rem 0.6rem 0.55rem 1.4rem;
  border-radius: var(--r-pill);
  background: rgba(12,13,16,0.6);
  border: 1px solid var(--hairline-2);
  box-shadow: var(--inset-hi), 0 20px 50px -24px rgba(0,0,0,0.8);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand .mark { width: 20px; height: 20px; flex: none; }
.nav__links { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); }
.nav__links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-soft);
  transition: color var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--hairline-2);
  font-size: 0.92rem; font-weight: 600; color: var(--text);
  transition: background var(--dur) var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--surface-3); }

/* hamburger */
.burger {
  display: none;
  position: relative;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--hairline-2);
  cursor: pointer;
}
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), opacity calc(var(--dur) * 0.5) var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -5px); }
.burger span:nth-child(3) { transform: translate(-50%, 5px); }
body.menu-open .burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* full-screen overlay menu */
.menu {
  position: fixed; inset: 0;
  z-index: var(--z-overlay);
  display: grid;
  place-content: center;
  gap: 0.5rem;
  background: rgba(5,5,6,0.8);
  backdrop-filter: saturate(140%) blur(36px);
  -webkit-backdrop-filter: saturate(140%) blur(36px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-soft);
  padding-block: 0.2rem;
  transform: translateY(2.5rem);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.menu a:hover { color: #fff; }
body.menu-open .menu a { transform: translateY(0); opacity: 1; }
body.menu-open .menu a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .menu a:nth-child(2) { transition-delay: 0.14s; }
body.menu-open .menu a:nth-child(3) { transition-delay: 0.20s; }
body.menu-open .menu a:nth-child(4) { transition-delay: 0.26s; }
body.menu-open .menu a:nth-child(5) { transition-delay: 0.32s; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .nav { padding: 0.5rem 0.5rem 0.5rem 1.3rem; }
}

/* ============================================================
   HERO — editorial split
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: 9rem;
  padding-bottom: 5rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero h1 {
  font-size: var(--fs-display);
  margin-top: 1.8rem;
}
.hero h1 .accent {
  color: var(--accent-soft);
}
.hero .lede {
  font-size: var(--fs-lede);
  color: var(--text-soft);
  max-width: 46ch;
  margin-top: 2rem;
}
.hero .cta-row { margin-top: 2.8rem; }

/* floating module diagram (the "vetor") */
.diagram { aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.diagram .bezel__core { padding: clamp(1.2rem, 3vw, 2rem); display: grid; }
.modgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.5rem, 1.5vw, 0.9rem);
  height: 100%;
}
.modgrid span {
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  box-shadow: var(--inset-hi);
}
.modgrid span.mid { background: rgba(75,130,196,0.18); border-color: rgba(118,164,221,0.3); }
.modgrid span.on {
  background: linear-gradient(160deg, var(--accent-soft), var(--accent));
  border-color: rgba(255,255,255,0.25);
  box-shadow: var(--inset-hi), 0 0 24px -2px var(--accent-glow);
}
.diagram__cap {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint);
}
.diagram__cap .live { color: var(--accent-soft); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .diagram { order: -1; max-width: 360px; }
  .hero { padding-top: 8rem; }
}

/* ============================================================
   PROSE block (problema)
   ============================================================ */
.prose-2 { max-width: 62ch; display: grid; gap: 1.4rem; color: var(--text-soft); font-size: var(--fs-lede); line-height: 1.55; }
.prose-2 strong { color: var(--text); font-weight: 600; }

/* ============================================================
   BENTO — método + prova
   ============================================================ */
.bento { display: grid; gap: 1rem; }
.bento--method { grid-template-columns: repeat(6, 1fr); }
.bento--method .cell:nth-child(1) { grid-column: span 6; }
.bento--method .cell:nth-child(2) { grid-column: span 3; }
.bento--method .cell:nth-child(3) { grid-column: span 3; }

.bento--proof { grid-template-columns: repeat(6, 1fr); }
.bento--proof .cell:nth-child(1),
.bento--proof .cell:nth-child(2),
.bento--proof .cell:nth-child(3) { grid-column: span 2; }
.bento--proof .cell:nth-child(4) { grid-column: span 6; }
@media (max-width: 960px) {
  .bento--proof .cell:nth-child(1),
  .bento--proof .cell:nth-child(2),
  .bento--proof .cell:nth-child(3) { grid-column: span 3; }
}

.cell .bezel__core { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 0.8rem; min-height: 100%; }
.cell .idx { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent-soft); }
.cell h3 { font-size: var(--fs-h3); }
.cell p { color: var(--text-soft); }
.cell .val {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem); line-height: 1;
  letter-spacing: -0.04em; color: var(--text);
}
.cell .ctx { color: var(--text-soft); font-size: 0.95rem; }

@media (max-width: 760px) {
  .bento--method, .bento--proof { grid-template-columns: 1fr; }
  .bento .cell { grid-column: 1 / -1 !important; }
}

/* ============================================================
   ESSAYS — staggered glass rows
   ============================================================ */
.essays { display: grid; gap: 0.8rem; }
.essay {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-core);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--inset-hi);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.essay:hover { transform: translateX(8px); background: var(--surface-2); border-color: var(--hairline-2); }
.essay .e-n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-soft); letter-spacing: 0.08em; }
.essay h3 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); font-weight: 600; }
.essay .e-lede { color: var(--text-soft); margin-top: 0.3rem; font-size: 0.98rem; }
.essay .e-date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-faint); white-space: nowrap; }
@media (max-width: 680px) {
  .essay { grid-template-columns: 1fr; gap: 0.4rem; }
  .essay .e-date { display: none; }
}

/* ============================================================
   CTA panel
   ============================================================ */
.cta-panel .bezel__core {
  padding: clamp(2.5rem, 6vw, 5.5rem);
  text-align: center;
  display: grid;
  place-items: center;
  gap: 1.6rem;
  position: relative;
  overflow: hidden;
}
.cta-panel .bezel__core::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40rem 24rem at 50% -30%, var(--accent-glow), transparent 60%);
  pointer-events: none;
}
.cta-panel h2 { font-size: var(--fs-h2); max-width: 16ch; position: relative; }
.cta-panel p { color: var(--text-soft); max-width: 50ch; font-size: var(--fs-lede); position: relative; }
.cta-panel .cta-row { justify-content: center; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline); padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__thesis { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; max-width: 22ch; margin-top: 1.2rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-faint); margin-bottom: 1.2rem; font-weight: 500; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer__col a { color: var(--text-soft); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-faint);
}
@media (max-width: 680px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ============================================================
   SCROLL REVEAL — the entrance is additive, the resting state is
   visible. Content is NEVER gated on a class, so print, headless
   capture, and no-scroll renderers always show the full page; the
   fade-up only plays for users whose viewport reaches the element.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal.is-visible {
    animation: reveal-rise 0.9s var(--ease) both;
    will-change: transform, opacity;
  }
  .js .reveal[data-delay="1"].is-visible { animation-delay: 0.08s; }
  .js .reveal[data-delay="2"].is-visible { animation-delay: 0.16s; }
  .js .reveal[data-delay="3"].is-visible { animation-delay: 0.24s; }
}
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(2.5rem); filter: blur(8px); }
  to   { opacity: 1; transform: none;               filter: blur(0); }
}

/* skip link */
.skip-link {
  position: absolute; left: 1rem; top: 1rem; z-index: 200;
  transform: translateY(-160%);
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 0.7em 1.1em; border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* skip motion for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   CONTENT PAGES — intros, prose, stacks, quotes, forms, checklist
   Shares the glass tokens above. Used by /metodo, /diagnostico,
   /indice, /obrigado, /sobre, /ensaios and the essays.
   ============================================================ */

/* active nav item */
.nav__links a[aria-current="page"] { color: var(--text); }

/* page intro (kicker + h1 + lede), clears the fixed island nav */
.page-intro { padding-top: clamp(8.5rem, 13vw, 12rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-intro h1 { font-size: var(--fs-h2); margin-top: 1.5rem; max-width: 20ch; }
.page-intro .lede { font-size: var(--fs-lede); color: var(--text-soft); max-width: 58ch; margin-top: 1.6rem; }
.page-intro .cta-row { margin-top: 2.2rem; }
.page-intro--narrow .container { max-width: 760px; }

/* generic lede outside the hero */
.lede { font-size: var(--fs-lede); color: var(--text-soft); }

/* content section spacing — tighter than the home's giant rhythm */
.section--content { padding-block: clamp(2.6rem, 5vw, 4.5rem); }
.section--content + .section--content { border-top: 1px solid var(--hairline); }
.section--content > .container > .head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section--content .head { max-width: 40ch; }
.section--content .head h2 { font-size: var(--fs-h3); }

/* long-form prose */
.prose { max-width: 68ch; display: grid; gap: 1.25rem; color: var(--text-soft); font-size: var(--fs-body); line-height: 1.72; }
.prose h2 { font-size: var(--fs-h3); color: var(--text); margin-top: 1rem; }
.prose h3 { font-size: 1.15rem; color: var(--text); margin-top: 0.6rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); }
.prose a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: 0.55rem; }
.prose li { color: var(--text-soft); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-2); padding: 0.12em 0.4em; border-radius: 6px; color: var(--text); }
.prose pre { background: var(--bg-2); border: 1px solid var(--hairline); border-radius: var(--r-core); padding: 1.2rem 1.3rem; overflow: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1rem 0; padding: 1.1rem 1.4rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-core); color: var(--text); font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; }

/* stack list — "o que você recebe", passos numerados */
.stack { display: grid; gap: 0; max-width: 72ch; padding: 0; margin: 0; }
.stack li { list-style: none; display: grid; grid-template-columns: minmax(3.6rem, max-content) 1fr; gap: 1.4rem; padding-block: 1.5rem; border-top: 1px solid var(--hairline); }
.stack li:last-child { border-bottom: 1px solid var(--hairline); }
.stack .s-n { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-soft); letter-spacing: 0.08em; padding-top: 0.3rem; white-space: nowrap; }
.stack h3 { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.stack p { color: var(--text-soft); }
@media (max-width: 640px) { .stack li { grid-template-columns: 1fr; gap: 0.4rem; } }

/* pull quote */
.pullquote { max-width: 62ch; margin-block: 1.6rem; }
.pullquote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.24; letter-spacing: -0.02em; color: var(--text); }
.pullquote cite { display: block; margin-top: 0.9rem; font-family: var(--font-mono); font-style: normal; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--text-faint); text-transform: uppercase; }

/* callout block — highlighted statement (garantia, próximo passo) */
.callout .bezel__core { padding: clamp(1.8rem, 4vw, 3rem); display: grid; gap: 1rem; }
.callout .eyebrow { justify-self: start; }
.callout h2, .callout h3 { font-size: var(--fs-h3); max-width: 26ch; }
.callout p { color: var(--text-soft); max-width: 54ch; }

/* lead capture form */
.lead-form { max-width: 31rem; display: grid; gap: 1rem; margin-top: 0.4rem; }
.lead-form .field { display: grid; gap: 0.45rem; }
.lead-form label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-faint); }
.lead-form input { font-family: var(--font-body); font-size: 1rem; color: var(--text); background: var(--surface); border: 1px solid var(--hairline-2); border-radius: 0.9rem; padding: 0.9rem 1.1rem; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.lead-form input:focus { outline: none; border-color: var(--accent-soft); background: var(--surface-2); }
.lead-form input::placeholder { color: var(--text-faint); }
.lead-form button.btn-pill { border: 1px solid rgba(255,255,255,0.18); cursor: pointer; margin-top: 0.3rem; justify-self: start; }
.form-note { font-size: 0.85rem; color: var(--text-faint); margin-top: 0.2rem; }
.form-error { font-size: 0.9rem; color: var(--accent-soft); }

/* checklist (/obrigado) */
.checklist { display: grid; gap: 0; max-width: 66ch; padding: 0; margin: 0; }
.checklist .group { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent-soft); margin-top: 2rem; margin-bottom: 0.4rem; }
.checklist li { list-style: none; display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.85rem; padding: 0.85rem 0; color: var(--text-soft); border-bottom: 1px solid var(--hairline); }
.checklist .box { width: 1.05rem; height: 1.05rem; border: 1px solid var(--hairline-2); border-radius: 5px; margin-top: 0.3rem; flex: none; box-shadow: var(--inset-hi); }

/* essay article body width */
.essay-body { padding-top: clamp(1rem, 2vw, 2rem); }
