/* ==========================================================================
   VulpesLab — landing page
   Paleta clara:  #f4f1ea · #dce8ec · #8fb3c4 · #1f2937
   Paleta escura: #f4e9d8 · #d9a05b · #1b2420 · #2a211b
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f1ea;
  --bg-soft: #e9efee;
  --surface: #fbf9f4;
  --surface-2: #dce8ec;
  --ink: #1f2937;
  --ink-2: #46556a;
  --ink-3: #5d6b7a;
  --line: rgba(31, 41, 55, 0.14);
  --line-strong: rgba(31, 41, 55, 0.28);
  --accent: #8fb3c4;
  --accent-ink: #2f6175;
  --accent-soft: rgba(143, 179, 196, 0.2);
  --brand-navy: #111722;
  --night-bg: #1f2937;
  --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.05);
  --shadow-md: 0 18px 40px -26px rgba(31, 41, 55, 0.45);
  --shadow-lg: 0 40px 90px -50px rgba(31, 41, 55, 0.65);
  --radius: 20px;
  --radius-sm: 12px;
  --btn-bg: #1f2937;
  --btn-ink: #f4f1ea;
  --header-h: 76px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --display: "Space Grotesk", "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #1b2420;
  --bg-soft: #202b26;
  --surface: #24302a;
  --surface-2: #2a211b;
  --ink: #f4e9d8;
  --ink-2: #cdbfad;
  --ink-3: #ab9b87;
  --line: rgba(244, 233, 216, 0.15);
  --line-strong: rgba(244, 233, 216, 0.3);
  --accent: #d9a05b;
  --accent-ink: #e6b57a;
  --accent-soft: rgba(217, 160, 91, 0.14);
  --accent-ink-on: #1b2420;
  --night-bg: #241d18;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 18px 40px -26px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -50px rgba(0, 0, 0, 0.95);
  --btn-bg: #d9a05b;
  --btn-ink: #1b2420;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

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

img { display: block; max-width: 100%; height: auto; }

button, input, textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

[data-theme="dark"] :focus-visible { outline-color: var(--accent); }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.wrap--narrow { max-width: 880px; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.eyebrow--center { justify-content: center; }

.display-2 {
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lead {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.muted { color: var(--ink-3); }

.text-link {
  color: var(--accent-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.text-link:hover { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 8px 24px -14px rgba(17, 23, 34, 0.6);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(17, 23, 34, 0.65);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent-ink);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.86rem; }
.btn--lg { padding: 0.95rem 1.55rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(17, 23, 34, 0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-navy);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.1);
  overflow: hidden;
}

.brand__badge img {
  width: auto;
  height: 36px;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand__lab { color: var(--accent-ink); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--accent-soft);
  transform: rotate(12deg);
}

.theme-toggle svg,
.nav-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle__sun { display: none; }

[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}

.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(24px, 6vw, 40px) clamp(20px, 6vw, 40px) 32px;
  background: var(--bg);
  overflow-y: auto;
  animation: menu-in 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-menu[hidden] { display: none; }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.7rem, 8vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mobile-menu nav a span {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}

.mobile-menu__foot { display: grid; gap: 0.9rem; }

.mobile-menu__foot .btn {
  width: 100%;
  font-size: 0.85rem;
  padding-inline: 0.9rem;
}

.mobile-menu__foot p { color: var(--ink-3); font-size: 0.85rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 62% at 82% 22%, rgba(143, 179, 196, 0.32), transparent 68%),
    radial-gradient(42% 46% at 6% 82%, rgba(220, 232, 236, 0.85), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(31, 41, 55, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 41, 55, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 78%);
}

[data-theme="dark"] .hero__bg {
  background:
    radial-gradient(58% 62% at 82% 22%, rgba(217, 160, 91, 0.16), transparent 68%),
    radial-gradient(42% 46% at 6% 82%, rgba(42, 33, 27, 0.9), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

[data-theme="dark"] .hero__bg::before {
  background-image:
    linear-gradient(to right, rgba(244, 233, 216, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 233, 216, 0.055) 1px, transparent 1px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  min-height: clamp(620px, calc(100svh - var(--header-h)), 860px);
}

.hero__title {
  font-size: clamp(2.55rem, 5.3vw, 4.35rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.hero__title .accent {
  color: var(--accent-ink);
  background-image: linear-gradient(transparent 74%, var(--accent-soft) 74%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  white-space: nowrap;
}

.hero__lead {
  margin-top: clamp(1.2rem, 2vw, 1.6rem);
  max-width: 52ch;
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.72;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: clamp(2rem, 3.4vw, 2.8rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-3);
}

.hero__facts li { display: flex; align-items: baseline; gap: 0.4rem; }

.hero__facts strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
}

/* Cartão escuro com o símbolo */
.hero__visual { display: flex; justify-content: flex-end; }

.hero-card {
  position: relative;
  width: min(100%, 470px);
  margin: 0;
  border-radius: 26px;
  background: var(--brand-navy);
  color: #f4f1ea;
  border: 1px solid rgba(244, 241, 234, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 50px 90px -50px rgba(17, 23, 34, 0.85);
  overflow: hidden;
  transform: rotate(-1.2deg);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-card:hover { transform: rotate(0deg) translateY(-3px); }

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 32%, rgba(143, 179, 196, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-card__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #9fb0bd;
}

.hero-card__brand { display: inline-flex; align-items: center; gap: 0.5rem; }

.hero-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fb3c4;
  box-shadow: 0 0 0 4px rgba(143, 179, 196, 0.16);
}

.hero-card__tag {
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(143, 179, 196, 0.35);
  border-radius: 999px;
  color: #a9c8d6;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card__stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 330px;
  padding: 1rem;
}

.hero-card__ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(143, 179, 196, 0.24);
  border-radius: 50%;
}

.hero-card__ring::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(244, 241, 234, 0.06);
  border-radius: 50%;
}

.hero-card__mark {
  position: relative;
  height: 268px;
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.chip {
  position: absolute;
  z-index: 2;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.07);
  backdrop-filter: blur(5px);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #ecf2f4;
  white-space: nowrap;
}

.chip::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #8fb3c4;
  vertical-align: 0.08em;
}

.chip--tl { top: 14%; left: 6%; }
.chip--tr { top: 22%; right: 5%; }
.chip--bl { bottom: 24%; left: 4%; }
.chip--br { bottom: 13%; right: 6%; }

.hero-card__console {
  position: relative;
  padding: 1rem 1.25rem 1.2rem;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.9;
  color: #b9c6cf;
}

.hero-card__console p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card__console .prompt { color: #8fb3c4; margin-right: 0.35rem; }
.hero-card__console .ok { color: #a9c8d6; }
.hero-card__console .fin { color: #f4f1ea; }

/* ==========================================================================
   Integrações / marquee
   ========================================================================== */
.integrations {
  position: relative;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  padding-block: 1.6rem;
}

.integrations__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.integrations__label {
  flex: none;
  max-width: 10rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-3);
}

.marquee {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.5rem;
}

.marquee__list li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-2);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.integrations__note {
  flex: none;
  max-width: 13rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ==========================================================================
   Seções
   ========================================================================== */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--soft { background: var(--bg-soft); }

.section--night {
  --ink: #f4f1ea;
  --ink-2: #b7c4cd;
  --ink-3: #93a3ae;
  --line: rgba(244, 241, 234, 0.14);
  --line-strong: rgba(244, 241, 234, 0.3);
  --surface: rgba(244, 241, 234, 0.045);
  --accent-ink: #a9c8d6;
  --accent-soft: rgba(143, 179, 196, 0.16);
  --btn-bg: #f4f1ea;
  --btn-ink: #111722;
  background: var(--night-bg);
  color: var(--ink);
}

[data-theme="dark"] .section--night {
  --ink: #f4e9d8;
  --ink-2: #c9baa7;
  --ink-3: #a6957f;
  --line: rgba(244, 233, 216, 0.15);
  --line-strong: rgba(244, 233, 216, 0.3);
  --accent-ink: #e6b57a;
  --accent-soft: rgba(217, 160, 91, 0.16);
  --btn-bg: #d9a05b;
  --btn-ink: #1b2420;
}

.section__head { margin-bottom: clamp(2.5rem, 4vw, 3.6rem); }

.section__head .display-2 { max-width: 18ch; }

.section__head .lead { margin-top: 1.25rem; }

.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.section__head--split .lead { margin-top: 0; padding-bottom: 0.3rem; }

.section__head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section__head--center .display-2 { max-width: none; margin-inline: auto; }

.section__head--center .lead { margin-inline: auto; }

.section__callout {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 760px;
  margin-top: clamp(2rem, 3.6vw, 3rem);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.section__callout .icon {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  color: var(--accent-ink);
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1rem; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--ink-2);
}

.card--problem { min-height: 0; }

.card__index {
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}

.card--service .card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.card--service:hover .card__icon {
  background: var(--accent);
  color: #111722;
  transform: scale(1.05);
}

.services__extra {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-3);
}

.services__extra strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Pilares
   ========================================================================== */
.pillars .section__head--split .display-2 { max-width: 14ch; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.8vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(244, 241, 234, 0.06), rgba(244, 241, 234, 0.015));
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.pillar::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.pillar:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.pillar:hover::after { opacity: 1; }

.pillar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.6rem;
}

.pillar__num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-ink);
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-ink);
}

.pillar__icon .icon { width: 19px; height: 19px; }

.pillar h3 {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}

.pillar > p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 1.4rem;
}

.ticks {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.ticks .icon {
  width: 15px;
  height: 15px;
  margin-top: 0.23rem;
  color: var(--accent-ink);
  stroke-width: 2;
}

.ticks--lg { gap: 0.7rem; margin-top: 1.8rem; }
.ticks--lg li { font-size: 0.95rem; }

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(70% 90% at 50% 50%, var(--accent-soft), transparent 72%),
    var(--bg);
}

.quote {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.quote__mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 12px 30px -18px rgba(17, 23, 34, 0.55);
}

.quote blockquote { margin: 0; }

.quote blockquote p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--ink);
}

.quote figcaption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ==========================================================================
   Processo
   ========================================================================== */
.steps {
  border-top: 1px solid var(--line-strong);
}

.step {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--line);
}

.step__num {
  padding-top: 0.2rem;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-ink);
}

.step__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.step h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.step__time {
  padding: 0.22rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  white-space: nowrap;
}

.step__body p {
  max-width: 66ch;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-2);
}

.steps__note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  border-top: 1px solid var(--line-strong);
}

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-ink); }

.faq__icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--accent-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item[open] .faq__icon {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__body { padding: 0 3rem 1.5rem 0; }

.faq__body p {
  max-width: 70ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-2);
  animation: faq-in 0.28s ease;
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Contato
   ========================================================================== */
.contact { overflow: hidden; }

.contact::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact__info .display-2 { max-width: 16ch; }

.contact__info .lead { margin-top: 1.25rem; max-width: 48ch; }

.contact__details {
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.contact__details a,
.contact__details p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact__details a {
  width: fit-content;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease;
}

.contact__details a:hover { color: var(--accent-ink); }

.contact__details .icon { width: 16px; height: 16px; color: var(--accent-ink); }

.contact__panel {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 23, 34, 0.28);
  box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .contact__panel { background: rgba(0, 0, 0, 0.16); }

.contact-form { display: grid; gap: 1rem; }

.contact-form__title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.field { display: grid; gap: 0.4rem; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
}

.field .opt { color: var(--ink-3); font-weight: 400; }

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; min-height: 110px; }

.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--ink-3) 75%, transparent); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form .btn { margin-top: 0.3rem; }

.contact-form__note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.contact-form__note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__status {
  min-height: 1.2rem;
  font-size: 0.78rem;
  color: var(--accent-ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.site-footer__brand .brand { margin-bottom: 1rem; }

.site-footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-3);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer__nav > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }

.site-footer__title {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.site-footer__nav a {
  font-size: 0.88rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.site-footer__nav a:hover { color: var(--accent-ink); }

.site-footer__muted { font-size: 0.82rem; color: var(--ink-3); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--ink-3);
}

.site-footer__morph { letter-spacing: 0.02em; }

.site-footer__top { color: var(--ink-2); transition: color 0.2s ease; }
.site-footer__top:hover { color: var(--accent-ink); }

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Página legal
   ========================================================================== */
.legal {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 7vw, 6rem);
}

.legal h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  max-width: 20ch;
}

.legal__updated {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-3);
}

.legal__body {
  max-width: 74ch;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.legal__body h2 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal__body h2:first-child { margin-top: 0; }

.legal__body p,
.legal__body li {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--ink-2);
}

.legal__body p { margin-bottom: 0.9rem; }

.legal__body ul {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal__body li::marker { color: var(--accent-ink); }

.legal__body a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__body a:hover { color: var(--ink); }

.legal__body code {
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.85em;
}

.legal__back { margin-top: 2.6rem; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid { gap: 2.5rem; }
  .hero-card__stage { height: 300px; }
  .hero-card__mark { height: 236px; }
  .hero-card__ring { width: 230px; height: 230px; }
  .chip { font-size: 0.62rem; padding: 0.32rem 0.55rem; }
  .integrations__note { display: none; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: grid; }
  .site-header__cta { display: none; }
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 2.5rem 3.5rem;
  }
  .hero__copy { max-width: 640px; }
  .hero__title { max-width: 16ch; }
  .hero__visual { justify-content: flex-start; }
  .hero-card { max-width: 520px; }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .section__head--split .lead { max-width: 62ch; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info .display-2 { max-width: 20ch; }
  .contact__panel { max-width: 640px; }
}

@media (max-width: 860px) {
  .cards--3 { grid-template-columns: 1fr; }
  .card--problem { min-height: 0; }
  .card__index { padding-bottom: 1.2rem; margin-bottom: 0; }
  .integrations__inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .integrations__label { max-width: none; }
  .marquee { width: 100%; }
  .pillars__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  :root { --header-h: 68px; }
  .brand__badge { width: 38px; height: 38px; border-radius: 10px; }
  .brand__badge img { height: 31px; }
  .brand__name { font-size: 1.08rem; }
  .hero-card { transform: none; }
  .hero-card__stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    height: auto;
    padding: 1.2rem 1rem 0.6rem;
    justify-items: center;
  }
  .hero-card__mark { grid-column: 1 / -1; height: 210px; margin-bottom: 0.6rem; }
  .hero-card__ring { display: none; }
  .chip { position: static; font-size: 0.63rem; }
  .hero-card__console { font-size: 0.63rem; padding: 0.85rem 1rem 1rem; line-height: 1.85; }
  .hero__facts { gap: 0.35rem 1.2rem; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 0.85rem; }
  .step__num { font-size: 1.15rem; padding-top: 0.25rem; }
  .step__head { justify-content: flex-start; gap: 0.5rem; }
  .faq__body { padding-right: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .quote__mark { width: 50px; height: 50px; border-radius: 14px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .btn--lg { width: 100%; }
  .hero__actions { gap: 0.6rem; }
  .hero__title { font-size: 2.35rem; }
}

/* ==========================================================================
   Acessibilidade / preferências
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero-card { transform: none; }
}

@media (forced-colors: active) {
  .btn,
  .card,
  .pillar,
  .faq__icon,
  .field input,
  .field textarea { border: 1px solid CanvasText; }
}
