/* ============================================================
   Januss Design System — landing pages (EN + PT).
   Portado do design "Januss Landing Page" para CSS estático.
   Construído sobre a identidade visual Lazaros.
   ============================================================ */

/* ---------- Zona Pro — tipografia da marca Lazaros / Januss ---------- */
@font-face { font-family: "Zona Pro"; src: url("fonts/zona-pro-light.woff2") format("woff2");      font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Zona Pro"; src: url("fonts/zona-pro-regular.woff2") format("woff2");    font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Zona Pro"; src: url("fonts/zona-pro-semibold.woff2") format("woff2");   font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Zona Pro"; src: url("fonts/zona-pro-bold.woff2") format("woff2");       font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Zona Pro"; src: url("fonts/zona-pro-extrabold.woff2") format("woff2");  font-weight: 800; font-style: normal; font-display: swap; }

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Quentes (Lazaros: Sol Toscano / Laranja / Coral) */
  --amber-300: #FBC66B;
  --amber-400: #F9B441;
  --amber-500: #F3953E;
  --amber-600: #DD7E2A;
  --coral-400: #EF7079;
  --coral-500: #EB5660;
  --coral-600: #D23A45;

  /* Violeta (Lazaros: Ultravioleta Noturno + rampa derivada) */
  --violet-975: #0E0B1A;
  --violet-950: #17102B;
  --violet-ink: #1F1A33;
  --violet-900: #261D3A;
  --violet-800: #372E5B;
  --violet-700: #453A6F;
  --violet-600: #574B82;
  --violet-accent: #7A6FB8;
  --violet-400: #9A94B2;
  --violet-300: #B9B4CC;
  --violet-200: #D6D3E0;
  --violet-100: #EAE7F4;
  --violet-50:  #F6F5F9;

  /* Flow Iris — assinatura Januss: pipelines vivos / sucesso */
  --iris-300: #A79BE8;
  --iris-400: #8B79E0;
  --iris-500: #6F5BC9;
  --iris-600: #574399;

  --white: #FFFFFF;
  --black: #100B1F;

  --grad-warm: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-500) 55%, var(--coral-500) 100%);
  --grad-flow: linear-gradient(120deg, var(--iris-400) 0%, var(--amber-400) 100%);
  --grad-night: linear-gradient(165deg, var(--violet-900) 0%, var(--violet-950) 100%);

  /* Semânticos */
  --surface-page: var(--violet-50);
  --surface-card: var(--white);
  --surface-sunken: var(--violet-100);
  --surface-inverse: var(--violet-900);

  --text-strong: var(--violet-900);
  --text-body: var(--violet-800);
  --text-muted: var(--violet-400);
  --text-on-dark: var(--violet-50);
  --text-on-warm: var(--violet-900);

  --border-subtle: var(--violet-100);
  --border-default: var(--violet-200);
  --border-on-dark: rgba(255, 255, 255, 0.12);

  --focus-ring: rgba(139, 121, 224, 0.45);

  /* Tipografia */
  --font-sans: "Zona Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --ls-tight: -0.02em;
  --ls-snug: -0.01em;
  --ls-overline: 0.14em;

  /* Layout */
  --container-xl: 1280px;
  --section-y: clamp(4rem, 9vw, 8rem);

  /* Efeitos */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-2xl: 36px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(38, 29, 58, 0.06);
  --shadow-sm: 0 2px 6px rgba(38, 29, 58, 0.07);
  --shadow-md: 0 8px 24px rgba(38, 29, 58, 0.10);
  --shadow-lg: 0 18px 48px rgba(38, 29, 58, 0.14);
  --shadow-xl: 0 32px 80px rgba(23, 16, 43, 0.22);

  --blur-panel: 14px;

  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: var(--fw-extrabold);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--amber-600); text-decoration: none; transition: color var(--dur-base) var(--ease-standard); }
a:hover { color: var(--coral-500); }

code, pre { font-family: var(--font-mono); font-size: 0.9em; }

::selection { background: var(--amber-400); color: var(--violet-900); }

:focus-visible { outline: 2px solid var(--iris-400); outline-offset: 2px; }

section[id] { scroll-margin-top: 80px; }

.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { display: block; }
.logo-word {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--violet-ink);
}
.logo--on-dark .logo-word { color: #fff; }

/* ============================================================
   BUTTON
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-snug);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              background var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; gap: 7px; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 17px; gap: 10px; border-radius: 14px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--amber-400); color: var(--text-on-warm); box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--amber-500); color: var(--text-on-warm); box-shadow: var(--shadow-md); }

.btn--secondary { background: var(--violet-900); color: var(--violet-50); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { background: var(--violet-800); color: var(--violet-50); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--violet-800); border-color: var(--border-default); }
.btn--ghost:hover { background: var(--violet-100); color: var(--violet-800); }

.btn--ghost-on-dark { background: transparent; color: var(--violet-50); border-color: var(--border-on-dark); }
.btn--ghost-on-dark:hover { background: rgba(255, 255, 255, 0.10); color: var(--violet-50); }

/* ============================================================
   TAG / BADGE / EYEBROW
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-snug);
  line-height: 1;
  white-space: nowrap;
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

.tag--amber { background: rgba(249, 180, 65, 0.16); color: var(--amber-600); }
.tag--amber .dot { background: var(--amber-500); }

.tag--live { background: rgba(139, 121, 224, 0.16); color: var(--iris-600); }
.tag--live .dot { background: var(--iris-400); animation: januss-pulse 1.8s var(--ease-standard) infinite; }

.tag--on-dark { background: rgba(255, 255, 255, 0.10); color: var(--violet-50); }
.tag--on-dark .dot { background: var(--iris-400); animation: januss-pulse 1.8s var(--ease-standard) infinite; }

@keyframes januss-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(139, 121, 224, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(139, 121, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 121, 224, 0); }
}

.badge-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--amber-400);
  color: var(--violet-900);
  font-size: 16px;
  font-weight: var(--fw-extrabold);
  line-height: 1;
  box-shadow: var(--shadow-sm);
  flex: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--amber-600);
}
.eyebrow--on-dark { color: var(--violet-300); }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 12px 0 14px;
}
.section-head p {
  font-size: 17px;
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--text-muted);
}
.section-head--on-dark h2 { color: var(--violet-50); }
.section-head--on-dark p { color: var(--violet-300); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 16, 43, 0.6);
  backdrop-filter: blur(var(--blur-panel));
  -webkit-backdrop-filter: blur(var(--blur-panel));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--dur-slow) var(--ease-standard),
              border-color var(--dur-slow) var(--ease-standard);
}
.nav.scrolled {
  background: rgba(20, 13, 38, 0.92);
  border-bottom-color: var(--border-on-dark);
}
.nav .container {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-links { display: flex; gap: 28px; margin-left: 12px; flex: 1; }
.nav-links a {
  font-size: 14.5px;
  font-weight: var(--fw-semibold);
  color: var(--violet-200);
}
.nav-links a:hover { color: var(--amber-400); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  color: var(--violet-200);
  background: transparent;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  transition: color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}
.lang-toggle:hover { color: var(--amber-400); border-color: var(--amber-400); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-night);
  color: var(--violet-50);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(122, 111, 184, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 96px;
}
.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 22px 0 20px;
  color: var(--violet-50);
}
/* Segunda linha do H1: carrega as palavras-chave sem competir com a headline. */
.hero h1 .h1-kicker {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  font-weight: var(--fw-regular);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--violet-200);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--violet-200);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-reassure { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--violet-300); }
.hero-reassure span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Pipeline canvas ---------- */
.pipeline {
  position: relative;
  border-radius: var(--radius-2xl);
  background: rgba(23, 16, 43, 0.5);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(var(--blur-panel));
  -webkit-backdrop-filter: blur(var(--blur-panel));
  padding: 22px 24px 24px;
  overflow: hidden;
}
.pipeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.pipeline::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(249, 180, 65, 0.13), transparent 70%);
  pointer-events: none;
}
.pipeline-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.pipeline-file { font-family: var(--font-mono); font-size: 12.5px; color: var(--violet-200); }

/* Grafo: pg customers + orders → customer_360 → destino (load) */
.pipeline-graph { position: relative; display: flex; flex-direction: column; }
.graph-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.graph-center { display: flex; justify-content: center; }
.graph-center .node { width: min(100%, 250px); }

.graph-wires { display: block; width: 100%; }
.graph-wires--merge { height: 34px; }
.graph-wires--down { height: 26px; }
.graph-wires path { animation: januss-flow 1s linear infinite; }
@keyframes januss-flow { from { stroke-dashoffset: 26; } to { stroke-dashoffset: 0; } }

.node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--radius-md);
  background: rgba(38, 29, 58, 0.72);
  border: 1px solid var(--border-on-dark);
  backdrop-filter: blur(var(--blur-panel));
  -webkit-backdrop-filter: blur(var(--blur-panel));
  box-shadow: var(--shadow-md);
  min-width: 0;
}
.node--live { border-color: var(--iris-500); }
.node-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  flex: none;
}
.node-glyph--extract { background: var(--amber-400); color: var(--violet-900); }
.node-glyph--transform { background: var(--iris-500); color: #fff; }
.node-glyph--load { background: var(--violet-600); color: var(--violet-50); }
.node-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.node-name {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--violet-50);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node-meta { font-family: var(--font-mono); font-size: 11px; color: var(--violet-300); }
.node-pulse {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--iris-400);
  animation: januss-pulse 1.8s var(--ease-standard) infinite;
}

.pipeline-stats { position: relative; display: flex; gap: 12px; margin-top: 22px; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(23, 16, 43, 0.55);
  border: 1px solid var(--border-on-dark);
  backdrop-filter: blur(var(--blur-panel));
  -webkit-backdrop-filter: blur(var(--blur-panel));
  box-shadow: var(--shadow-lg);
}
.stat-value {
  font-size: 24px;
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}
.stat--amber .stat-value { color: var(--amber-400); }
.stat--iris .stat-value { color: var(--iris-400); }
.stat--violet .stat-value { color: var(--violet-50); }
.stat-label { font-size: 12px; font-weight: var(--fw-semibold); color: var(--violet-300); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.strip {
  background: var(--surface-inverse);
  border-top: 1px solid var(--border-on-dark);
}
.strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
}
.strip-label { font-size: 13.5px; font-weight: var(--fw-semibold); color: var(--violet-300); }
.strip-engines {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.engine { display: inline-flex; align-items: center; gap: 9px; color: var(--violet-100); }
.engine-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.engine-name { font-size: 14px; font-weight: var(--fw-semibold); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--surface-page); padding: var(--section-y) 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--violet-100);
  color: var(--violet-700);
  transition: background var(--dur-base) var(--ease-standard);
}
.feature:hover .feature-icon { background: var(--violet-200); }
.feature h3 { font-size: 18px; font-weight: var(--fw-bold); }
.feature p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }
.feature strong { color: var(--text-body); font-weight: var(--fw-semibold); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  background: var(--surface-card);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-kicker {
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-muted);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--violet-100);
  color: var(--violet-800);
}
.step h3 { font-size: 20px; font-weight: var(--fw-bold); }
.step p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ============================================================
   HTTP CONNECTOR
   ============================================================ */
.connector {
  position: relative;
  background: var(--grad-night);
  color: var(--violet-50);
  padding: var(--section-y) 0;
  overflow: hidden;
}
.connector::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 121, 224, 0.18), transparent 70%);
  pointer-events: none;
}
.connector .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.connector h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 12px 0 16px;
  color: var(--violet-50);
}
.connector-sub {
  font-size: 17px;
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--violet-200);
  max-width: 480px;
  margin-bottom: 24px;
}
.connector-bullets { display: flex; flex-direction: column; gap: 13px; }
.connector-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--violet-100);
}
.connector-bullets svg { flex: none; margin-top: 1px; }

.terminal {
  border-radius: var(--radius-xl);
  background: rgba(23, 16, 43, 0.6);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  backdrop-filter: blur(var(--blur-panel));
  -webkit-backdrop-filter: blur(var(--blur-panel));
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-on-dark);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots i { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dots i:nth-child(1) { background: var(--coral-500); }
.terminal-dots i:nth-child(2) { background: var(--amber-400); }
.terminal-dots i:nth-child(3) { background: var(--iris-400); }
.terminal-file {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--violet-300);
  margin-left: 6px;
}
.terminal-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.terminal-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 13px;
}
.terminal-line .sym { font-weight: 600; color: var(--iris-600); }
.terminal-line:first-child .sym { color: var(--violet-200); }
.terminal-line .txt { color: var(--violet-100); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--surface-page); padding: var(--section-y) 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
  color: var(--text-body);
}
.plan--popular {
  background: var(--grad-night);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  color: var(--violet-50);
}
.plan-tag { position: absolute; top: 20px; right: 20px; }
.plan h3 { font-size: 20px; }
.plan--popular h3 { color: var(--violet-50); }
.plan-tagline { font-size: 14px; color: var(--text-muted); }
.plan--popular .plan-tagline { color: var(--violet-300); }
.plan-head { display: flex; flex-direction: column; gap: 4px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price .amount {
  font-size: 34px;
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  color: var(--text-strong);
}
.plan--popular .plan-price .amount { color: var(--violet-50); }
.plan-price .period { font-size: 14px; color: var(--text-muted); }
.plan--popular .plan-price .period { color: var(--violet-300); }
.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text-body);
}
.plan--popular .plan-features li { color: var(--violet-200); }
.plan-features svg { flex: none; margin-top: 1px; stroke: var(--violet-400); }
.plan--popular .plan-features svg { stroke: var(--violet-300); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta {
  background: var(--surface-card);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border-subtle);
}
.cta .container { max-width: 720px; text-align: center; }
.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.cta p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--text-muted);
  margin-bottom: 28px;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface-inverse);
  color: var(--violet-200);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-tagline {
  font-size: 12.5px;
  color: var(--violet-400);
  letter-spacing: 0.02em;
  margin-top: 10px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--violet-300);
  max-width: 280px;
  margin-top: 14px;
}
.footer h4 {
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-100);
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-col > p { font-size: 14px; color: var(--violet-300); }
.footer-links a:hover { color: var(--amber-400); }
.footer-col > p { margin-bottom: 14px; }
.footer-bottom {
  max-width: var(--container-xl);
  margin: 36px auto 0;
  padding: 20px 32px 0;
  border-top: 1px solid var(--border-on-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--violet-400);
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: var(--violet-400); }
.footer-bottom a:hover { color: var(--amber-400); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin-left: auto;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
.cookie-banner p { font-size: 13.5px; line-height: 1.6; color: var(--text-body); }
.cookie-banner p a { font-weight: var(--fw-semibold); }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-standard), transform 0.7s var(--ease-standard);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   TRANSFORMAÇÕES & VALIDAÇÕES (seção clara, 2 colunas)
   ============================================================ */
.transform {
  background: var(--surface-page);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border-subtle);
}
.transform .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.transform h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 12px 0 16px;
}
.transform-sub {
  font-size: 17px;
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 24px;
}
.transform-bullets { display: flex; flex-direction: column; gap: 13px; }
.transform-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
}
.transform-bullets svg { flex: none; margin-top: 2px; }
.transform-bullets strong { color: var(--text-strong); font-weight: var(--fw-semibold); }

/* Painel de regras de coluna */
.rules {
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.rules-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.rules-file { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.rules-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-page);
  border: 1px solid var(--border-subtle);
}
.rule-name { font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; color: var(--text-strong); }
.rule-flow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--iris-600);
}
.rule-flow svg { flex: none; }
.rule-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.rule-tag--null { background: rgba(139, 121, 224, 0.14); color: var(--iris-600); }
.rule-tag--fail { background: rgba(235, 86, 96, 0.14); color: var(--coral-600); }
.rule-tag--case { background: rgba(249, 180, 65, 0.16); color: var(--amber-600); }

.rules-sql { margin: 0 10px 10px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--violet-900); }
.rules-sql-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--violet-300);
  margin-bottom: 8px;
}
.rules-sql pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--violet-100);
  white-space: pre-wrap;
  word-break: break-word;
}
.rules-sql .kw { color: var(--amber-400); }
.rules-sql .cm { color: var(--violet-400); }
.rules-sql .ok { color: var(--iris-300); }

/* ============================================================
   PROXY AGENTE / SEGURANÇA (seção escura, 2 colunas)
   ============================================================ */
.proxy {
  position: relative;
  background: var(--grad-night);
  color: var(--violet-50);
  padding: var(--section-y) 0;
  overflow: hidden;
}
.proxy::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 121, 224, 0.16), transparent 70%);
  pointer-events: none;
}
.proxy .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.proxy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 12px 0 16px;
  color: var(--violet-50);
}
.proxy-sub {
  font-size: 17px;
  line-height: 1.6;
  font-weight: var(--fw-light);
  color: var(--violet-200);
  max-width: 480px;
  margin-bottom: 24px;
}
.proxy-bullets { display: flex; flex-direction: column; gap: 13px; }
.proxy-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--violet-100);
}
.proxy-bullets svg { flex: none; margin-top: 1px; }

.proxy-diagram {
  position: relative;
  border-radius: var(--radius-2xl);
  background: rgba(23, 16, 43, 0.5);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(var(--blur-panel));
  -webkit-backdrop-filter: blur(var(--blur-panel));
  padding: 22px;
  overflow: hidden;
}
.proxy-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.zone {
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.zone-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--violet-300);
  margin-bottom: 14px;
}
.zone-label svg { flex: none; }
.zone-nodes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.zone-nodes .node { flex: 1 1 180px; }
.zone-arrow { flex: none; color: var(--iris-400); }
.proxy-flow-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--violet-300);
}
.proxy-flow-link svg { flex: none; color: var(--iris-400); }
.node-glyph--proxy { background: var(--iris-500); color: #fff; }
.node-glyph--cloud { background: var(--violet-600); color: var(--violet-50); }

/* ============================================================
   CONTACT CARD (substitui a grade de planos)
   ============================================================ */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
}
.contact-method {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface-page);
  color: var(--text-body);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}
.contact-method:hover {
  transform: translateY(-2px);
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--grad-night);
  color: var(--violet-50);
}
.contact-icon--wa { background: var(--iris-400); color: var(--white); }
.contact-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-label {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-value { font-size: 18px; font-weight: var(--fw-semibold); color: var(--text-strong); }
.contact-arrow { flex: none; margin-left: auto; color: var(--violet-300); transition: transform var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
.contact-method:hover .contact-arrow { transform: translateX(3px); color: var(--amber-500); }

/* ============================================================
   RESPONSIVO
   O design de referência é desktop-only; estes breakpoints
   preservam a responsividade que o site já tinha.
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-sub { max-width: none; }
  .connector .container { grid-template-columns: 1fr; gap: 40px; }
  .connector-sub { max-width: none; }
  .transform .container { grid-template-columns: 1fr; gap: 40px; }
  .transform-sub { max-width: none; }
  .proxy .container { grid-template-columns: 1fr; gap: 40px; }
  .proxy-sub { max-width: none; }
  .strip .container { justify-content: center; }
  .strip-engines { justify-content: flex-start; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  /* O "Entrar" sai para a barra caber; o CTA principal continua visível. */
  .nav-signin { display: none; }
  .nav .container { gap: 12px; }
  .hero .container { padding-top: 48px; padding-bottom: 64px; }
  /* Os dois nós de origem dividem a largura: compacta para o nome não truncar
     e o meta não quebrar em duas linhas. */
  .pipeline { padding: 18px 16px 20px; }
  .graph-sources { gap: 8px; }
  .graph-sources .node { padding: 10px; gap: 8px; }
  .graph-sources .node-glyph { width: 30px; height: 30px; font-size: 11px; }
  .graph-sources .node-name { font-size: 12px; }
  .graph-sources .node-meta { font-size: 10px; white-space: nowrap; }
  .features-grid,
  .how-grid,
  .pricing-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .pipeline-stats { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; padding-left: 20px; padding-right: 20px; }
  .cookie-banner { max-width: none; }
  .contact-card { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .feature:hover { transform: none; }
  .pipeline-wires path,
  .tag .dot,
  .node-pulse { animation: none; }
}
