/* Core Technology — sistema visual compartilhado
   Design System: Core Technology - Design System (superfície pública, modo claro).
   Petróleo = identidade/ação; texto em ardósia neutra; densidade respirada. */

:root {
  color-scheme: light;
  /* superfícies */
  --page: #f7fafb;        /* fundo de página (DS bg) */
  --bg: #ffffff;          /* superfície branca: cards, nav, form, mock (DS surface) */
  --surface: #f1f6f8;     /* fill sutil: bandas, hovers, chips (DS surface-2) */
  --border: #dde4e8;
  --border-strong: #c3d0d6;

  /* texto (DS text-strong / text / text-weak) */
  --fg: #16303a;          /* títulos */
  --fg-soft: #23434e;     /* corpo */
  --fg-mute: #5b6b75;     /* secundário */
  --muted: #5b6b75;       /* placeholder / ícone inativo */

  /* identidade */
  --accent: #0e5c6e;
  --accent-strong: #0a4552;

  /* cores funcionais (DS) — sempre com ícone/texto, nunca só cor */
  --success: #0e9f6e; --success-soft: #e3f5ec; --success-ink: #07603f;
  --warning: #b45309; --warning-soft: #fbf0e3; --warning-ink: #8a4008;
  --error: #b3453b; --error-soft: #f7eae9; --error-ink: #8c332b;

  /* derivados — só mistura dos tokens acima */
  --accent-ink: color-mix(in srgb, var(--accent) 85%, var(--fg));
  --accent-wash: color-mix(in srgb, var(--accent) 8%, var(--bg));
  --accent-line: color-mix(in srgb, var(--accent) 22%, var(--border));
  --surface-2: color-mix(in srgb, var(--surface) 60%, var(--bg));
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--accent) 10%, transparent);
  --shadow-md: 0 12px 32px -14px color-mix(in srgb, var(--accent) 30%, transparent);
  --shadow-lg: 0 30px 60px -28px color-mix(in srgb, var(--accent) 34%, transparent);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Tema escuro (DS) — mesma família, variantes mais claras e dessaturadas.
   Só troca a paleta-base; os derivados (accent-ink/wash/line, surface-2)
   recalculam sozinhos porque usam color-mix dos tokens acima. */
.dark {
  color-scheme: dark;
  --page: #0c1619;
  --bg: #122227;
  --surface: #182c33;
  --border: #263b43;
  --border-strong: #35505a;
  --fg: #e8f0f2;
  --fg-soft: #d2dfe3;
  --fg-mute: #8ea3ac;
  --muted: #8ea3ac;
  --accent: #4fb6cc;
  --accent-strong: #6fc9dc;
  --success: #34c08d; --success-soft: #10312a; --success-ink: #6fd9b0;
  --warning: #e0a458; --warning-soft: #332610; --warning-ink: #f0c489;
  --error: #e0736a; --error-soft: #331c1a; --error-ink: #f0a29a;
  /* no escuro a sombra é preta, não tingida de primária */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, 0.66);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip; /* trava rolagem horizontal sem virar contêiner de rolagem (preserva o header sticky) */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-soft);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { color: var(--fg); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0; }

::selection { background: color-mix(in srgb, var(--accent) 22%, var(--bg)); color: var(--fg); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* Salvaguardas contra overflow horizontal — itens de grid/flex precisam poder encolher */
main { overflow-x: clip; }
svg, img, video { max-width: 100%; }
.hero__grid > *, .split > *, .spotlight__inner > *, .contact-grid > * { min-width: 0; }
.hero__copy, .hero__visual, .split__copy, .split__media, .section__head { min-width: 0; max-width: 100%; }
.mock, .mock__main, .mock__bar, .mock__body, .thread, .thread__body,
.kanban, .kanban__col, .plan, .tile, .card, .feat { min-width: 0; }
.mock { max-width: 100%; }
.mock__addr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero h1, .section__head h2, .cta-band h2, .quote p, .card h3, .feat h3, .tile__k,
.hero__lede, .card p, .feat li, .plan li, .tile p, p { overflow-wrap: break-word; }

.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  max-width: 100%; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink); overflow-wrap: break-word;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; flex: none; background: var(--accent-line);
}

/* ---------- Navegação ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); margin-top: 1px; }
.brand__name { font-size: 16.5px; line-height: 1.05; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 9px 14px; border-radius: var(--radius); font-size: 15px; font-weight: 500;
  color: var(--fg-mute); transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav__links a:hover { color: var(--fg); background: var(--surface); }
.nav__links a[aria-current="page"] { color: var(--accent-ink); }
.nav__cta { margin-left: 8px; }
/* CTA do header: garante texto sobre a primária (vence .nav__links a) */
.nav__links a.btn--primary, .nav__links a.btn--primary:hover { color: var(--bg); background: var(--accent); }
.nav__links a.btn--primary:hover { background: var(--accent-ink); }
.nav__burger { display: none; }

/* ---------- Seletor de tema (claro/escuro) ---------- */
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  margin-left: 8px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--fg-mute); cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.theme-toggle:hover { color: var(--fg); border-color: var(--accent-line); background: var(--surface); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle__sun { display: none; }
.dark .theme-toggle__sun { display: block; }
.dark .theme-toggle__moon { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.005em;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  max-width: 100%; text-align: center; white-space: normal; overflow-wrap: break-word;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-ink); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--bg); color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent-line); background: var(--surface); transform: translateY(-1px); }
.btn--lg { padding: 15px 26px; font-size: 16px; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin-top: 16px;
}
.section__head p { margin-top: 16px; font-size: 18px; color: var(--fg-mute); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.03em; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero__lede { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--fg-mute); max-width: 33ch; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--fg-mute); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--accent-ink); }
.hero__glow {
  position: absolute; inset: auto -10% -40% 40%; height: 520px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  pointer-events: none; z-index: -1;
}

/* ---------- Mockup do produto (chrome de app) ---------- */
.mock {
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg); box-shadow: var(--shadow-lg);
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: block; }
.mock__addr { margin-left: 8px; font-size: 12px; color: var(--fg-mute); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; letter-spacing: 0.01em; }
.mock__body { display: grid; grid-template-columns: 168px 1fr; min-height: 360px; }
.mock__side { border-right: 1px solid var(--border); padding: 14px 12px; background: var(--surface-2); }
.mock__side .lbl { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); font-weight: 600; margin: 6px 8px 10px; }
.mock__navitem { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 7px; font-size: 13px; color: var(--fg-soft); font-weight: 500; }
.mock__navitem svg { width: 16px; height: 16px; color: var(--fg-mute); }
.mock__navitem.is-active { background: var(--accent-wash); color: var(--accent-ink); }
.mock__navitem.is-active svg { color: var(--accent-ink); }
.mock__main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock__title { font-size: 15px; font-weight: 600; color: var(--fg); }
.mock__credits { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: 999px; padding: 5px 11px; }
.mock__credits b { font-weight: 700; }

.thread { display: flex; gap: 11px; padding: 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.thread.is-active { border-color: var(--accent-line); background: var(--accent-wash); }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--accent-ink); }
.thread__body { flex: 1; min-width: 0; }
.thread__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.thread__name { font-size: 13.5px; font-weight: 600; color: var(--fg); }
.thread__time { font-size: 11px; color: var(--fg-mute); flex: none; }
.thread__msg { font-size: 12.5px; color: var(--fg-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--fg-mute); background: var(--surface); margin-top: 7px; }
.chip--wa { color: var(--accent-ink); border-color: var(--accent-line); background: var(--accent-wash); }
.chip svg { width: 12px; height: 12px; }

/* ---------- Grid de frentes / features ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent-ink); border: 1px solid var(--accent-line); margin-bottom: 18px;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 19px; letter-spacing: -0.01em; }
.card p { margin-top: 10px; font-size: 15px; color: var(--fg-mute); line-height: 1.55; }
.card__tag { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-ink); margin-bottom: 6px; }

.feat { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; background: var(--bg); }
.feat__head { display: flex; align-items: center; gap: 12px; }
.feat__ico { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--accent-ink); }
.feat__ico svg { width: 21px; height: 21px; }
.feat h3 { font-size: 17px; }
.feat p { margin-top: 12px; font-size: 14.5px; color: var(--fg-mute); }
.feat ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.feat li { position: relative; padding-left: 22px; font-size: 14px; color: var(--fg-soft); }
.feat li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent-wash); border: 1px solid var(--accent-line);
}
.feat li::after {
  content: ""; position: absolute; left: 4px; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-ink);
}

/* ---------- Split (texto + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.split__list li { display: flex; gap: 14px; }
.split__list .n { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent-wash); border: 1px solid var(--accent-line); }
.split__list h4 { font-size: 16px; }
.split__list p { margin-top: 4px; font-size: 14.5px; color: var(--fg-mute); }

/* ---------- Kanban mini ---------- */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban__col { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.kanban__h { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-mute); margin: 2px 2px 10px; display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.kanban__card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.kanban__card:last-child { margin-bottom: 0; }
.kanban__card .t { font-size: 12.5px; font-weight: 600; color: var(--fg); }
.kanban__card .v { font-size: 12px; color: var(--accent-ink); font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kanban__card .m { font-size: 11px; color: var(--fg-mute); margin-top: 5px; }
/* estado "negócio fechado" — cor funcional de sucesso (DS) */
.kanban__card--won { background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 42%, var(--border)); }
.kanban__card--won .v { color: var(--success-ink); }
.kanban__card--won .m { color: color-mix(in srgb, var(--success-ink) 80%, var(--success-soft)); }
/* cartão "em arraste" durante a animação demonstrativa */
.kanban__card--drag { box-shadow: var(--shadow-lg); position: relative; z-index: 5; }

/* cursor simulado que arrasta os cartões (só na home) */
.kbd-cursor { position: absolute; top: 0; left: 0; width: 30px; height: 30px; z-index: 40; pointer-events: none; opacity: 0; will-change: transform; }
.kbd-cursor.is-on { opacity: 1; }
.kbd-cursor svg { position: absolute; top: 0; left: 0; overflow: visible; filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--fg) 34%, transparent)); transition: opacity 0.12s var(--ease); }
.kbd-cursor__arrow { transform: translate(-2px, -2px); }
.kbd-cursor__hand { transform: translate(-14px, -14px); opacity: 0; }
.kbd-cursor.is-grab .kbd-cursor__arrow { opacity: 0; }
.kbd-cursor.is-grab .kbd-cursor__hand { opacity: 1; }

/* ---------- Faixa de destaque ---------- */
.spotlight { background: var(--accent); color: var(--bg); border-radius: var(--radius-lg); overflow: hidden; }
.spotlight * { color: inherit; }
.spotlight__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 60px); }
.spotlight .eyebrow { color: color-mix(in srgb, var(--bg) 82%, var(--accent)); }
.spotlight .eyebrow::before { background: color-mix(in srgb, var(--bg) 55%, transparent); }
.spotlight h2 { font-size: clamp(26px, 3.5vw, 38px); letter-spacing: -0.02em; }
.spotlight p { margin-top: 16px; color: color-mix(in srgb, var(--bg) 82%, var(--accent)); font-size: 17px; }
.spotlight .btn--primary { background: var(--bg); color: var(--accent-ink); }
.spotlight .btn--primary:hover { background: color-mix(in srgb, var(--bg) 90%, var(--accent)); }
.spotlight .btn--ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 45%, transparent); }
.spotlight .btn--ghost:hover { background: color-mix(in srgb, var(--bg) 12%, transparent); border-color: var(--bg); }
.spotlight__pills { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.spotlight__pills span { font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--bg) 40%, transparent); background: color-mix(in srgb, var(--bg) 10%, transparent); }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: var(--bg); display: flex; flex-direction: column; }
.plan--feat { border-color: var(--accent); box-shadow: var(--shadow-md); position: relative; }
.plan__flag { position: absolute; top: -11px; left: 28px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bg); background: var(--accent); padding: 4px 11px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan__for { font-size: 13.5px; color: var(--fg-mute); margin-top: 6px; min-height: 40px; }
.plan__price { margin: 18px 0; padding-bottom: 18px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--fg-mute); }
.plan__price b { display: block; font-size: 24px; color: var(--fg); font-weight: 600; letter-spacing: -0.01em; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--fg-soft); }
.plan li svg { width: 17px; height: 17px; flex: none; color: var(--accent-ink); margin-top: 2px; }
.plan li.off { color: var(--fg-mute); }
.plan li.off svg { color: var(--muted); }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- Catálogo add-ons ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: var(--bg); transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.tile:hover { border-color: var(--accent-line); background: var(--surface); }
.tile__k { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--fg); }
.tile__k svg { width: 18px; height: 18px; color: var(--accent-ink); }
.tile p { margin-top: 8px; font-size: 13.5px; color: var(--fg-mute); }
.tile__tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-mute); }

/* ---------- Prova / princípios ---------- */
.quote { max-width: 780px; margin-inline: auto; text-align: center; }
.quote p { font-size: clamp(20px, 3vw, 28px); line-height: 1.3; color: var(--fg); letter-spacing: -0.01em; font-weight: 500; }
.quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 14px; color: var(--fg-mute); }

/* ---------- CTA final ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; max-width: 18ch; margin-inline: auto; }
.cta-band p { margin-top: 16px; font-size: 18px; color: var(--fg-mute); max-width: 46ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Formulário ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; }
.info-list .feat__ico { background: var(--accent-wash); border-color: var(--accent-line); }
.info-list h4 { font-size: 15px; }
.info-list p { font-size: 14.5px; color: var(--fg-mute); margin-top: 3px; }
.info-list a:hover { color: var(--accent-ink); }

.form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--fg); margin-bottom: 7px; letter-spacing: 0.005em; }
.field label .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--fg);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__err { display: none; font-size: 12.5px; color: var(--error); margin-top: 6px; font-weight: 500; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .field__err { display: block; }
.form__note { font-size: 12.5px; color: var(--fg-mute); margin-top: 4px; }
.form__ok {
  display: none; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--success-ink);
  background: var(--success-soft); border: 1px solid color-mix(in srgb, var(--success) 30%, var(--border)); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px;
}
.form__ok.show { display: flex; }
.form__ok svg { width: 20px; height: 20px; flex: none; }

/* ---------- Rodapé ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 56px 32px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 16px; font-size: 14px; color: var(--fg-mute); max-width: 34ch; }
.footer h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-mute); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--fg-soft); }
.footer ul a:hover { color: var(--accent-ink); }
.footer__bar { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--fg-mute); }

/* ---------- Utilidades / animação ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .plans, .tiles { grid-template-columns: 1fr; }
  .hero__grid, .split, .spotlight__inner, .contact-grid, .footer__grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .footer__grid { gap: 28px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger {
    display: inline-grid; place-items: center; margin-left: auto; width: 42px; height: 42px;
    border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--fg); cursor: pointer;
  }
  .nav__burger svg { width: 22px; height: 22px; }
  .theme-toggle { margin-left: auto; }
  .nav__burger { margin-left: 6px; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 16px 18px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .nav[data-open="true"] .nav__cta { margin: 6px 0 0; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .field__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* Kanban compacto no mobile — evita o texto dos cartões e cabeçalhos vazarem */
@media (max-width: 500px) {
  .kanban { gap: 6px; }
  .kanban__col { padding: 8px 5px; border-radius: 8px; }
  .kanban__h { font-size: 8.5px; letter-spacing: 0.01em; gap: 4px; margin: 2px 1px 8px; }
  .kanban__h span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .kanban__h [data-count] { flex: none; }
  .kanban__card { padding: 7px 8px; border-radius: 7px; }
  .kanban__card .t { font-size: 11px; line-height: 1.25; overflow-wrap: anywhere; }
  .kanban__card .v { font-size: 10.5px; overflow-wrap: anywhere; }
  .kanban__card .m { font-size: 9.5px; overflow-wrap: anywhere; }
}

/* ---------- Menu Produtos (dropdown) ---------- */
.nav__drop { position: relative; display: flex; }
.nav__drop-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav__caret { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.nav__drop:hover .nav__caret, .nav__drop:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 8px; display: grid; gap: 2px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s var(--ease);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu .nav__menu-item { display: grid; gap: 3px; padding: 10px 12px; border-radius: var(--radius); background: transparent; }
.nav__menu .nav__menu-item:hover { background: var(--surface); }
.nav__menu-title { font-size: 14.5px; font-weight: 600; color: var(--fg); letter-spacing: -0.005em; }
.nav__menu-desc { font-size: 12.5px; color: var(--fg-mute); line-height: 1.4; }
.nav__menu-soon { padding: 10px 12px 6px; font-size: 12px; letter-spacing: 0.02em; color: var(--muted); border-top: 1px solid var(--border); margin-top: 4px; }

/* ---------- Hero: constelação de capacidades (animação A) ---------- */
.constellation { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; margin-inline: auto; }
.constellation__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cons-ring { fill: none; stroke: var(--accent-line); stroke-width: 1; stroke-dasharray: 3 9; transform-origin: 200px 200px; opacity: 0.75; animation: cons-spin 44s linear infinite; }
.cons-lines line { stroke: var(--border); stroke-width: 1.5; }
.cons-pulses line { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 22 178; opacity: 0.85; animation: cons-flow 3.4s linear infinite; }
@keyframes cons-flow { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes cons-spin { to { transform: rotate(360deg); } }
.cons-node {
  position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; box-shadow: var(--shadow-sm);
  animation: cons-breathe 4.6s ease-in-out infinite;
}
.cons-node svg { width: 15px; height: 15px; color: var(--accent-ink); }
.cons-node--center {
  padding: 13px 19px; font-size: 14.5px; color: var(--bg); background: var(--accent);
  border-color: var(--accent); box-shadow: var(--shadow-md); z-index: 2; animation: none;
}
.cons-node--center svg { color: var(--bg); }
@keyframes cons-breathe { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 5px)); } }

/* ---------- Hero: palavra rotativa (animação C) ---------- */
.rotator { color: var(--accent-ink); display: inline-block; transition: opacity 0.26s var(--ease), transform 0.26s var(--ease); }
.rotator.is-out { opacity: 0; transform: translateY(-8px); }
.split__list .n svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  .cons-ring, .cons-pulses line, .cons-node { animation: none !important; }
  .rotator { transition: none; }
}

@media (max-width: 760px) {
  .nav[data-open="true"] .nav__drop { flex-direction: column; align-items: stretch; }
  .nav[data-open="true"] .nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0; padding: 2px 0 6px 12px; min-width: 0;
  }
  .nav[data-open="true"] .nav__menu-soon { border-top: none; padding-top: 2px; }
  .nav__caret { display: none; }
}
@media (max-width: 560px) {
  .constellation { max-width: 320px; }
  .cons-node { font-size: 10.5px; padding: 5px 9px; gap: 5px; }
  .cons-node svg { display: none; }
  .cons-node--center { font-size: 12px; padding: 9px 13px; }
  .cons-node--center svg { display: inline; }
}
