/* ============================================================
   eliseu.io — Landing v2
   Developer-grade · GitHub flavor · cool gray, decisive blue
   ============================================================ */

@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper-0: #ffffff;
  --paper-50: #fafbfc;
  --paper-100: #f4f5f7;
  --paper-200: #eeeef0;
  --paper-300: #e4e7eb;
  --paper-400: #d0d7de;
  --paper-500: #b9c0c9;
  --ink-900: #16191f;
  --ink-800: #1f242b;
  --ink-700: #2d333b;
  --ink-600: #424a53;
  --ink-500: #57606a;
  --ink-400: #6e7781;
  --blue-50: #ddf0ff;
  --blue-100: #c2e0ff;
  --blue-400: #58a6ff;
  --blue-500: #2f81f7;
  --blue-600: #1f6fe0;
  --blue-700: #1759bc;
  --green-50: #dafbe1;
  --green-100: #aceebb;
  --green-500: #3fb950;
  --green-900: #166b2e;

  /* WhatsApp — verde de marca, por pedido do cliente */
  --wa: #25d366;
  --wa-hover: #1eb858;
  --wa-deep: #128c5e;

  --surface-page: var(--paper-50);
  --surface-card: var(--paper-0);
  --surface-alt: var(--paper-200);
  --surface-inverse: #1b2027;
  --surface-terminal: #0f1318;

  --text-strong: var(--ink-800);
  --text-heading: var(--ink-700);
  --text-body: var(--ink-600);
  --text-muted: var(--ink-500);
  --text-subtle: var(--ink-400);
  --text-on-inverse: #e6edf3;

  --accent: var(--blue-500);
  --accent-hover: var(--blue-600);
  --accent-active: var(--blue-700);

  --border-subtle: var(--paper-300);
  --border-default: var(--paper-400);
  --border-strong: var(--paper-500);

  --shadow-xs: 0 1px 0 rgba(27, 31, 36, 0.04);
  --shadow-sm: 0 1px 0 rgba(27, 31, 36, 0.04), 0 1px 3px rgba(27, 31, 36, 0.06);
  --shadow-md: 0 3px 6px rgba(27, 31, 36, 0.08), 0 1px 2px rgba(27, 31, 36, 0.06);
  --shadow-lg: 0 8px 24px rgba(27, 31, 36, 0.12), 0 2px 6px rgba(27, 31, 36, 0.06);
  --shadow-xl: 0 16px 40px rgba(27, 31, 36, 0.16), 0 4px 12px rgba(27, 31, 36, 0.08);

  --font-sans: "Satoshi", "Satoshi Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  --section-y: 130px;
  --container-wide: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 0.68, 0.18, 1);
  --transition: 220ms var(--ease);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--surface-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

button, a { font: inherit; }
a { color: var(--blue-600); text-decoration: none; }
img { display: block; max-width: 100%; }

svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  color: var(--text-heading);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), background var(--transition),
    border-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: var(--blue-500);
  border-color: rgba(27, 31, 36, 0.12);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { color: #fff; background: var(--blue-600); box-shadow: var(--shadow-md); }

.btn-secondary { color: var(--text-strong); background: var(--surface-card); }
.btn-secondary:hover { background: var(--paper-200); border-color: var(--border-strong); }

/* WhatsApp button — verde de destaque */
.btn-wa {
  color: #fff;
  background: var(--wa);
  border-color: rgba(18, 140, 94, 0.35);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}
.btn-wa::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-wa:hover { color: #fff; background: var(--wa-hover); box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38); }
.btn-wa:hover::after { transform: translateX(120%); }

.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 18px; border-radius: var(--radius-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid var(--border-default);
  background: rgba(250, 251, 252, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(250, 251, 252, 0.94); }

.nav-shell {
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 116px; height: auto; }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--green-100);
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-900);
  font-family: var(--font-mono); font-size: 11px; line-height: 1.3;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(63, 185, 80, 0.14);
  animation: pulseStatus 2.2s ease-out infinite;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 15px; font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  min-height: 42px; padding: 10px 16px;
  border-radius: var(--radius-sm);
}
/* glow ring para destaque */
.nav-cta::before {
  content: ""; position: absolute; inset: -3px;
  border-radius: inherit; border: 2px solid var(--wa);
  opacity: 0; animation: waRing 2.6s ease-out infinite;
  pointer-events: none;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-default);
  background:
    radial-gradient(800px 420px at 80% 40%, rgba(47, 129, 247, 0.10), transparent 70%),
    radial-gradient(600px 400px at 15% 90%, rgba(47, 129, 247, 0.06), transparent 70%),
    var(--surface-page);
}
.hero-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(208, 215, 222, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 215, 222, 0.5) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(1100px 700px at 70% 35%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(1100px 700px at 70% 35%, black 10%, transparent 80%);
  animation: gridDrift 28s linear infinite;
  opacity: 0.7;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 64px; align-items: center;
  padding-top: 70px; padding-bottom: 70px;
}

.hero-copy h1 {
  max-width: 16ch;
  margin-top: 20px;
  color: var(--text-strong);
  font-size: clamp(46px, 5.6vw, 74px);
  font-weight: 900;
}
.hero-copy h1 .grad {
  background: linear-gradient(120deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead {
  max-width: 56ch; margin-top: 24px;
  color: var(--text-body); font-size: 20px; line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-signals { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.hero-signals span {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-family: var(--font-mono); font-size: 12px;
}
.hero-signals span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(47, 129, 247, 0.14);
}
.contact-strip { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.contact-strip a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  transition: color var(--transition);
}
.contact-strip a svg { width: 15px; height: 15px; }
.contact-strip a:hover { color: var(--accent-active); }

/* Hero visual — console */
.hero-visual { position: relative; display: grid; gap: 20px; }
.console-card {
  position: relative;
  border: 1px solid #2a313a;
  border-radius: var(--radius-lg);
  background: var(--surface-terminal);
  box-shadow: 0 34px 90px rgba(15, 19, 24, 0.32), var(--shadow-xl);
  overflow: hidden;
  animation: floatCard 7s ease-in-out infinite;
}
.console-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 80% -10%, rgba(47,129,247,0.18), transparent 70%);
  pointer-events: none;
}
.console-topbar {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 15px;
  border-bottom: 1px solid #2a313a;
  color: #7d8590; font-family: var(--font-mono); font-size: 12px;
}
.window-dots { display: inline-flex; gap: 7px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a424c; }
.window-dots i:nth-child(1) { background: #ff5f57; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.console-topbar .path { margin-left: auto; color: #56607a; }

.console-body {
  padding: 26px 28px 30px;
  color: #e6edf3; font-family: var(--font-mono); font-size: 14.5px; line-height: 1.95;
}
.console-body .cmd { color: #e6edf3; }
.cmd .tilde { color: #56d364; }
.cmd .bin { color: #79c0ff; }
.cmd .flag { color: #a5d6ff; }
.console-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  opacity: 0; transform: translateX(-8px);
  animation: lineIn 0.5s var(--ease) forwards;
}
.console-line .ok { color: #56d364; }
.console-line em { color: #7d8590; font-style: normal; white-space: nowrap; }
.console-progress { color: #7d8590; padding: 8px 0; opacity: 0; animation: lineIn 0.5s var(--ease) forwards; }
.console-success {
  margin-top: 10px; color: #56d364; font-weight: 500;
  opacity: 0; transform: translateX(-8px);
  animation: lineIn 0.5s var(--ease) forwards;
}
.console-success span { color: #7d8590; }
.console-cursor {
  display: inline-block; width: 9px; height: 1.05em; vertical-align: text-bottom;
  margin-left: 4px; background: #79c0ff;
  animation: blink 1s step-end infinite;
}

/* delays for build lines */
.d1 { animation-delay: 0.5s; } .d2 { animation-delay: 0.9s; }
.d3 { animation-delay: 1.3s; } .d4 { animation-delay: 1.7s; }
.d5 { animation-delay: 2.1s; } .d6 { animation-delay: 2.5s; }
.d7 { animation-delay: 2.9s; } .d8 { animation-delay: 3.4s; }

.system-stamp {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}
.system-stamp .mark {
  flex-shrink: 0; width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  background: var(--surface-card);
}
.system-stamp .mark img { width: 24px; }
.system-stamp span {
  color: var(--text-strong); font-size: 18px; font-weight: 800; line-height: 1.18;
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 720px; }
.section-head.narrow { max-width: 660px; }
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 44px; align-items: end; max-width: none;
}
.section-head h2 {
  margin-top: 16px; color: var(--text-heading);
  font-size: clamp(34px, 4.4vw, 54px); font-weight: 800;
}
.section-head p { margin-top: 18px; color: var(--text-body); font-size: 19px; line-height: 1.6; }

/* ============================================================
   PROBLEMA (dark)
   ============================================================ */
.problem-section {
  background:
    radial-gradient(700px 360px at 80% 10%, rgba(207, 34, 46, 0.10), transparent 70%),
    linear-gradient(180deg, #1b2027, #14181d);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.problem-section .eyebrow { color: #ff7b72; }
.problem-section .section-head h2 { color: var(--text-on-inverse); }
.problem-section .section-head p { color: rgba(230, 237, 243, 0.62); }

.chaos-board {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; margin-top: 56px;
}
.chaos-card {
  --problem-border: rgba(255, 255, 255, 0.10);
  --problem-border-hover: rgba(255, 255, 255, 0.22);
  --problem-glow: rgba(255, 255, 255, 0.04);
  position: relative;
  min-height: 214px; padding: 22px;
  border: 1px solid var(--problem-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22), inset 0 0 0 1px var(--problem-glow);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  will-change: transform;
}
.chaos-card .card-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  color: rgba(230,237,243,0.6);
  font-family: var(--font-mono); font-size: 12px;
}
.chaos-card .card-kicker svg { width: 13px; height: 13px; }
.chaos-card h3 { margin-top: 26px; color: var(--text-on-inverse); font-size: 22px; line-height: 1.18; }
.chaos-card p { margin-top: 12px; color: rgba(230, 237, 243, 0.56); font-size: 15px; }
.chaos-card.rot-a {
  --problem-border: rgba(88, 166, 255, 0.34);
  --problem-border-hover: rgba(88, 166, 255, 0.58);
  --problem-glow: rgba(88, 166, 255, 0.04);
  transform: rotate(-2deg) translateY(12px);
  animation: floatA 8s ease-in-out infinite;
}
.chaos-card.rot-b {
  --problem-border: rgba(191, 135, 0, 0.34);
  --problem-border-hover: rgba(191, 135, 0, 0.60);
  --problem-glow: rgba(191, 135, 0, 0.05);
  transform: rotate(1.4deg) translateY(-6px);
  animation: floatB 9s ease-in-out infinite;
}
.chaos-card.rot-c {
  --problem-border: rgba(163, 113, 247, 0.30);
  --problem-border-hover: rgba(163, 113, 247, 0.56);
  --problem-glow: rgba(163, 113, 247, 0.04);
  transform: rotate(-1deg) translateY(20px);
  animation: floatA 8.5s ease-in-out infinite 0.4s;
}
.chaos-card.rot-d {
  --problem-border: rgba(207, 34, 46, 0.34);
  --problem-border-hover: rgba(207, 34, 46, 0.60);
  --problem-glow: rgba(207, 34, 46, 0.05);
  transform: rotate(2.2deg) translateY(6px);
  animation: floatB 7.5s ease-in-out infinite 0.6s;
}
.chaos-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.015);
  border-color: var(--problem-border-hover);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), inset 0 0 0 1px var(--problem-glow);
  z-index: 2; animation-play-state: paused;
}
.chaos-card .tag-sheet {
  border-color: rgba(88, 166, 255, 0.52);
  background: rgba(88, 166, 255, 0.08);
  color: #79c0ff;
}
.chaos-card .tag-warn { border-color: rgba(191,135,0,0.5); background: rgba(191,135,0,0.08); color: #e3b341; }
.chaos-card .tag-calendar {
  border-color: rgba(163, 113, 247, 0.50);
  background: rgba(163, 113, 247, 0.08);
  color: #d2a8ff;
}
.chaos-card .tag-danger { border-color: rgba(207,34,46,0.45); background: rgba(207,34,46,0.08); color: #ff7b72; }

/* ============================================================
   SOLUÇÕES (light)
   ============================================================ */
.solution-section { background: var(--surface-page); }
.solution-section .solution-head { max-width: 760px; }

.pipeline {
  position: relative;
  margin-top: 54px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pipeline-track {
  display: flex; align-items: stretch; gap: 0;
  padding: 30px 28px;
  background:
    linear-gradient(180deg, var(--paper-100), var(--paper-50));
  border-bottom: 1px solid var(--border-default);
}
.pipe-node {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.pipe-node .dot {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--blue-100); border-radius: 50%;
  background: var(--surface-card); color: var(--accent);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pipe-node .dot svg { width: 20px; height: 20px; }
.pipe-node .lbl { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-strong); }
.pipe-node::before {
  content: ""; position: absolute; top: 23px; left: -50%; width: 100%; height: 2px;
  background: var(--border-default); z-index: 0;
}
.pipe-node:first-child::before { display: none; }
.pipe-node .dot { position: relative; z-index: 1; }
.pipe-node.lit .dot {
  border-color: var(--accent); color: #fff; background: var(--accent);
  box-shadow: 0 0 0 5px rgba(47, 129, 247, 0.14);
  transform: translateY(-2px);
}
.pipe-node.lit::before { background: linear-gradient(90deg, var(--accent), var(--accent)); }

.pipeline-output { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; }
.pipeline-output .out-copy { padding: 32px; border-right: 1px solid var(--border-default); }
.pipeline-output .out-copy h3 { max-width: 22ch; margin-top: 12px; color: var(--text-strong); font-size: 28px; }
.pipeline-output ul { display: grid; gap: 13px; margin: 22px 0 0; padding: 0; list-style: none; }
.pipeline-output li { position: relative; padding-left: 26px; color: var(--text-body); }
.pipeline-output li svg { position: absolute; left: 0; top: 4px; width: 17px; height: 17px; color: var(--green-500); }
.pipeline-output .out-aside {
  padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: var(--paper-100);
}
.out-aside .quote {
  color: var(--text-strong); font-size: 19px; font-weight: 800; line-height: 1.3;
}
.out-aside .quote-by { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }

/* Service grid */
.services-head { margin-top: 80px; }
.services-head .eyebrow { color: var(--accent); }
.services-head h3 { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--text-heading); }
.service-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-top: 34px;
}
.service-card {
  position: relative; padding: 26px 24px;
  border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  background: var(--surface-card); box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent); transition: width 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-5px); border-color: var(--blue-100); box-shadow: var(--shadow-lg); }
.service-card:hover::after { width: 100%; }
.service-card .ic {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  background: var(--paper-100); color: var(--accent);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.service-card:hover .ic { background: var(--accent); color: #fff; border-color: var(--accent); }
.service-card .ic svg { width: 22px; height: 22px; }
.service-card h4 { margin-top: 18px; color: var(--text-strong); font-size: 20px; font-weight: 700; }
.service-card p { margin-top: 9px; color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   PROCESSO inline (dentro de soluções? não — mantemos estrutura)
   Method strip
   ============================================================ */

/* ============================================================
   PARCERIA KOMMO — card embutido no "quem sou eu"
   ============================================================ */
.partner-card {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 22px;
  border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  background: var(--surface-card); box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.partner-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.partner-logo { flex-shrink: 0; width: 150px; height: auto; }
.partner-text p { color: var(--text-strong); font-size: 17px; font-weight: 800; line-height: 1.2; }
.partner-text span { display: block; margin-top: 6px; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.cred-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 14px; }

/* ============================================================
   CASES (light) — sem modal, expansão inline
   ============================================================ */
.cases-section { overflow: hidden; background: var(--surface-alt); }
.cases-section .eyebrow { color: var(--accent); }
.cases-section .section-head h2 { color: var(--text-heading); font-size: clamp(40px, 5.5vw, 66px); }
.cases-section .section-head p { color: var(--text-body); }

.case-shell { margin-top: 46px; }
.case-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 18px;
}
.case-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.case-chip {
  padding: 7px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  color: var(--text-muted);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.case-chip:hover { color: var(--text-strong); border-color: var(--border-strong); }
.case-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.case-controls { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  color: var(--text-strong);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.icon-btn:hover { background: var(--paper-100); border-color: var(--border-strong); transform: translateY(-1px); }

.case-card-v2 {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.case-media { position: relative; min-height: 360px; background: #0f1318; overflow: hidden; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.case-card-v2:hover .case-media img { transform: scale(1.04); }
.case-media .media-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(15, 19, 24, 0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--blue-400); font-family: var(--font-mono); font-size: 11px;
}
.case-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(20,24,29,0.35));
}

.case-detail { padding: 34px 36px; display: flex; flex-direction: column; }
.case-detail .seg { color: var(--accent); font-family: var(--font-mono); font-size: 12px; }
.case-detail h3 { margin-top: 12px; color: var(--text-strong); font-size: 34px; font-weight: 800; }
.case-detail .summary { margin-top: 14px; color: var(--text-body); font-size: 16px; line-height: 1.6; }

.case-metric {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; padding: 14px 16px;
  border: 1px solid var(--blue-100); border-left: 3px solid var(--accent);
  border-radius: var(--radius-md); background: var(--blue-50);
}
.case-metric-value { color: var(--accent-active); font-size: 30px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.case-metric-label { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }

.case-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.case-stack span {
  padding: 4px 10px; border-radius: var(--radius-sm);
  background: var(--paper-100); border: 1px solid var(--border-default);
  color: var(--text-muted); font-family: var(--font-mono); font-size: 12px;
}

/* Expand */
.case-expand {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease), margin-top 0.5s var(--ease), opacity 0.4s var(--ease);
  opacity: 0; margin-top: 0;
}
.case-expand > div { overflow: hidden; }
.case-card-v2.open .case-expand { grid-template-rows: 1fr; opacity: 1; margin-top: 22px; }
.case-steps { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--border-default); }
.case-step { position: relative; padding-left: 18px; }
.case-step::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; }
.case-step.s1::before { background: var(--danger, #cf222e); }
.case-step.s2::before { background: var(--accent); }
.case-step.s3::before { background: var(--green-500); }
.case-step span { display: block; color: var(--text-subtle); font-family: var(--font-mono); font-size: 11px; margin-bottom: 3px; }
.case-step p { color: var(--text-body); font-size: 14.5px; line-height: 1.55; }

.case-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 24px; }
.btn-expand {
  background: var(--surface-card); border-color: var(--border-default); color: var(--text-strong);
}
.btn-expand:hover { background: var(--paper-200); border-color: var(--border-strong); }
.btn-expand svg { transition: transform var(--transition); }
.case-card-v2.open .btn-expand svg { transform: rotate(180deg); }

.case-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.case-dots button {
  width: 36px; height: 6px; border: 0; border-radius: var(--radius-pill);
  background: var(--border-default); cursor: pointer; transition: background var(--transition), width var(--transition);
}
.case-dots button.active { background: var(--accent); width: 48px; }

/* ============================================================
   SOBRE (dark gradient)
   ============================================================ */
.about-section {
  background:
    radial-gradient(circle at 14% 16%, rgba(47, 129, 247, 0.07), transparent 36%),
    var(--surface-page);
  border-top: 1px solid var(--border-default);
  color: var(--text-body);
}
.about-layout {
  display: grid; grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px; align-items: stretch;
}
.about-photo {
  position: relative; margin: 0;
  display: flex; min-height: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center top; transition: transform 0.7s var(--ease); }
.about-photo:hover img { transform: scale(1.03); }
.about-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px; background: linear-gradient(transparent, rgba(15,19,24,0.86));
  color: var(--blue-400); font-family: var(--font-mono); font-size: 12px;
}
.about-copy { display: flex; flex-direction: column; }
.about-copy h2 { max-width: 16ch; margin-top: 14px; color: var(--text-strong); font-size: clamp(38px, 4.6vw, 60px); font-weight: 900; }
.about-text { display: grid; gap: 14px; max-width: 60ch; margin-top: 22px; }
.about-text p { color: var(--text-body); font-size: 17px; line-height: 1.6; }
.about-text p.lead { color: var(--text-strong); font-size: 21px; font-weight: 800; }
.about-credentials { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; }
.quote-chip, .fiap-badge {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.quote-chip:hover, .fiap-badge:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.quote-chip { padding: 20px 22px; border-left: 3px solid var(--accent); }
.quote-chip p { color: var(--text-strong); font-size: 20px; font-weight: 800; line-height: 1.22; }
.quote-chip span, .fiap-badge span { display: block; margin-top: 10px; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }
.fiap-badge { display: grid; place-items: center; padding: 18px; text-align: center; }
.fiap-badge img { width: 82px; height: 82px; object-fit: contain; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final-cta {
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(37, 211, 102, 0.14), transparent 65%),
    radial-gradient(600px 360px at 50% 100%, rgba(47, 129, 247, 0.12), transparent 65%),
    linear-gradient(180deg, #192028, #14181d);
  color: rgba(230, 237, 243, 0.7); text-align: center;
}
.cta-inner { position: relative; z-index: 1; max-width: 800px; }
.final-cta h2 { margin-top: 16px; color: var(--text-on-inverse); font-size: clamp(40px, 5.6vw, 68px); font-weight: 900; }
.final-cta p:not(.eyebrow) { max-width: 56ch; margin: 20px auto 0; font-size: 19px; }
.final-cta .eyebrow { color: var(--blue-400); justify-content: center; width: 100%; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.cta-sign {
  max-width: 46ch; margin: 26px auto 0;
  color: rgba(230, 237, 243, 0.62);
  font-family: var(--font-mono); font-size: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 64px 0 48px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: #14181d; color: rgba(230, 237, 243, 0.62); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 1.15fr; gap: 48px; align-items: start; }
.footer img { width: 120px; }
.footer-brand p { max-width: 32ch; margin-top: 16px; font-size: 15px; }
.footer-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  border: 1px solid rgba(63, 185, 80, 0.28); background: rgba(63, 185, 80, 0.10);
  color: #56d364; font-family: var(--font-mono); font-size: 12px;
}
.footer .lbl { display: block; margin-bottom: 14px; color: rgba(230, 237, 243, 0.4); font-family: var(--font-mono); font-size: 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; color: rgba(230, 237, 243, 0.82); font-size: 15px; transition: color var(--transition); }
.footer-links a svg { width: 16px; height: 16px; color: rgba(230, 237, 243, 0.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--blue-400); }
.footer-links a:hover svg { color: var(--blue-400); }
.footer-signature p { max-width: 24ch; color: var(--text-on-inverse, #e6edf3); font-size: 26px; font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; }
.footer-mark { display: block; margin-top: 16px; color: rgba(230, 237, 243, 0.4); font-family: var(--font-mono); font-size: 12px; }

/* ============================================================
   FLOATING WHATSAPP — verde, destaque
   ============================================================ */
.floating-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 62px; height: 62px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.42);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  animation: floatWa 3.2s ease-in-out infinite;
}
.floating-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: waRing 2.4s ease-out infinite;
}
.floating-whatsapp:hover { color: #fff; background: var(--wa-hover); transform: translateY(-4px) scale(1.05); box-shadow: 0 22px 48px rgba(37, 211, 102, 0.5); }
.floating-whatsapp svg { width: 28px; height: 28px; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes pulseStatus {
  0% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.3); }
  70% { box-shadow: 0 0 0 8px rgba(63, 185, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0); }
}
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 46px 46px; } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes floatA { 0%, 100% { transform: rotate(-2deg) translateY(12px); } 50% { transform: rotate(-2deg) translateY(4px); } }
@keyframes floatB { 0%, 100% { transform: rotate(1.4deg) translateY(-6px); } 50% { transform: rotate(1.4deg) translateY(2px); } }
@keyframes lineIn { to { opacity: 1; transform: translateX(0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes floatWa { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes waRing {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-iteration-count: 1 !important;
    transition-duration: 1ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  :root { --section-y: 92px; }
  .nav-links { display: none; }
  .hero { min-height: auto; }
  .hero-inner, .about-layout, .section-head.split { grid-template-columns: 1fr; }
  .case-card-v2 { grid-template-columns: 1fr; }
  .case-media { min-height: 260px; }
  .pipeline-output { grid-template-columns: 1fr; }
  .pipeline-output .out-copy { border-right: 0; border-bottom: 1px solid var(--border-default); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chaos-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-row { grid-template-columns: minmax(0, 1fr) 150px; }
  .about-photo { max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 76px; }
  body { font-size: 16px; }
  .site-header { background: rgba(250, 251, 252, 0.96); }
  .nav-shell { min-height: 64px; gap: 14px; }
  .brand { flex: 0 0 auto; min-width: 0; }
  .brand img { width: 98px; }
  .status-pill { display: none; }
  .nav-cta {
    width: auto;
    min-width: 124px;
    min-height: 42px;
    flex: 0 0 auto;
    padding: 0 14px;
  }
  .nav-cta span.label { display: inline; }
  .hero-inner { gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .hero-copy h1 { font-size: 40px; }
  .console-body { padding: 18px; font-size: 12px; }
  .console-line em { display: none; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .nav-shell .nav-cta {
    width: auto;
    min-width: 124px;
    flex: 0 0 auto;
  }
  .pipeline { margin-top: 36px; border-radius: var(--radius-lg); }
  .pipeline-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    padding: 26px 20px 28px;
  }
  .pipe-node { min-width: 0; }
  .pipe-node:nth-child(5) { grid-column: 1 / -1; justify-self: center; min-width: 118px; }
  .pipe-node::before { display: none; }
  .pipe-node .dot { width: 50px; height: 50px; }
  .pipeline-output .out-copy,
  .pipeline-output .out-aside { padding: 24px 22px; }
  .pipeline-output .out-copy h3 { max-width: none; font-size: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .chaos-board { grid-template-columns: 1fr; }
  .chaos-card, .chaos-card.rot-a, .chaos-card.rot-b, .chaos-card.rot-c, .chaos-card.rot-d { transform: none; animation: none; }
  .cases-section .section-head p { display: none; }
  .case-shell { margin-top: 24px; }
  .case-toolbar {
    display: block;
    margin-bottom: 14px;
  }
  .case-chips {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1px 0 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .case-chips::-webkit-scrollbar { display: none; }
  .case-chip {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 13px;
    max-width: 190px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }
  .case-chip:nth-child(3) { grid-column: auto; }
  .case-controls,
  .case-dots { display: none; }
  .icon-btn { width: 42px; height: 42px; }
  .case-card-v2 { border-radius: var(--radius-lg); }
  .case-media { min-height: 210px; }
  .case-media .media-tag { top: 12px; left: 12px; max-width: calc(100% - 24px); }
  .case-detail { padding: 24px; }
  .case-detail h3 { font-size: 28px; }
  .case-metric-value { font-size: 26px; }
  .case-actions { padding-top: 18px; }
  .case-actions .btn-wa { display: none; }
  .about-photo { max-width: 340px; margin-left: auto; margin-right: auto; }
  .partner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }
  .partner-logo { width: min(150px, 58vw); }
  .cred-row { grid-template-columns: 1fr; }
  .quote-chip { padding: 20px; }
  .quote-chip p { font-size: 19px; }
  .fiap-badge {
    width: 100%;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 18px;
    text-align: left;
  }
  .fiap-badge img { width: 72px; height: 72px; }
  .fiap-badge span { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-copy h2 { font-size: 34px; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .nav-shell { gap: 10px; }
  .brand img { width: 94px; }
  .nav-shell .nav-cta { width: auto; min-width: 116px; min-height: 40px; flex-basis: auto; padding: 0 12px; }
  .pipeline-track { padding-left: 16px; padding-right: 16px; }
  .case-chips { padding-right: 8px; }
  .case-chip:nth-child(3) { grid-column: auto; }
}
