/* Tok — design system (tokens da identidade: tok.guru) */
:root {
  color-scheme: light;
  /* Superfícies */
  --bg: #F6F0E4;          /* creme */
  --bg-2: #ECE6D8;        /* areia */
  --panel: #FBF8F1;       /* cartões e diálogos */
  --line: #E2D9C6;
  --line-strong: #CFC4AC;
  --tint: rgba(17, 20, 18, 0.035);
  --tint-2: rgba(17, 20, 18, 0.07);
  /* Texto */
  --ink: #24211C;
  --muted: #5B564D;
  --hard: #111412;        /* tinta: bordas e sombras sólidas */
  /* Marca */
  --brand: #1F4D3D;       /* verde floresta */
  --brand-dark: #15352A;
  --brand-ink: #F6F0E4;
  --brand-soft: rgba(31, 77, 61, 0.10);
  --mint: #CFE0D2;
  --accent: #D9A441;      /* mostarda */
  --accent-ink: #111412;
  --danger: #B3261E;
  --danger-soft: rgba(179, 38, 30, 0.10);
  --warn-soft: rgba(217, 164, 65, 0.18);
  --light: #ECE6D8;
  --light-ink: #24211C;
  --radius: 16px;
  --shadow-hard: 4px 4px 0 var(--hard);
  --font-title: Gelasio, Georgia, serif;
  --font-body: "Atkinson Hyperlegible", Verdana, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}


.container { width: min(1140px, 92%); margin: auto; }

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
}
.logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }
.logo-sm img { height: 26px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.lang-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--tint);
  cursor: pointer;
  font-family: inherit;
}
.lang { position: relative; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  list-style: none;
  box-shadow: 0 18px 50px rgba(17, 20, 18, 0.12);
  z-index: 50;
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: 9px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.lang-menu button:hover { background: var(--tint-2); }
.lang-menu button.active { color: var(--brand); font-weight: 700; }
.flag { width: 20px; height: 14px; border-radius: 3px; flex-shrink: 0; display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--hard); box-shadow: var(--shadow-hard); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--hard); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--hard); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-on-dark { border-color: var(--brand-ink); color: var(--brand-ink); background: transparent; }
.btn-on-dark:hover { background: rgba(246, 240, 228, 0.1); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
/* Ação travada (ex.: verificação pendente): continua clicável para explicar
   o bloqueio no toque, mas sinaliza visualmente a indisponibilidade */
.btn-locked, .btn-locked:hover { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost.btn-locked:hover { background: transparent; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 60px 0 80px; }
h1, h2, h3, .title-font { font-family: var(--font-title); font-weight: 700; color: var(--brand); }
h1 { font-size: clamp(40px, 5.5vw, 62px); line-height: 1.05; letter-spacing: -0.5px; }
h1 .accent { color: var(--brand); }
.lede { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 46ch; }
.checks { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks li::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(31, 77, 61, 0.15);
  color: var(--brand);
  font-size: 13px;
  flex-shrink: 0;
}
.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* Cards / panels */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 1px 0 var(--line);
}

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(320px, 100%);
  background: var(--bg);
  border: 3px solid var(--hard);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--hard);
}
.phone-top { background: var(--brand); color: var(--brand-ink); padding: 14px 16px 12px; font-size: 13px; }
.phone-contact { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; font-size: 14px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.verified { color: var(--brand); font-size: 12px; }
.chat { background: var(--bg-2); padding: 18px 14px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
.bubble { padding: 10px 14px; border-radius: 14px; max-width: 85%; font-size: 13.5px; line-height: 1.45; }
.bubble.in { background: var(--mint); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--bg); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble .time { display: block; font-size: 10px; opacity: 0.55; text-align: right; margin-top: 3px; }
.qr-badge {
  position: absolute;
  right: -8px;
  bottom: 24px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 50px rgba(31, 77, 61, 0.4);
}
.qr-badge svg { width: 58px; height: 58px; background: #fff; border-radius: 8px; padding: 5px; }

/* Light features strip */
.strip {
  background: var(--light);
  color: var(--light-ink);
  border-radius: 22px;
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 20px 0 70px;
}
.strip-item h3 { font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.strip-item p { font-size: 14px; color: var(--muted); }
.strip-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(31, 77, 61, 0.14); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }

/* Stats band */
.stats { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px; align-items: center; padding: 50px 0 70px; border-top: 1px solid var(--line); }
.stats h2 { font-size: 30px; letter-spacing: -1px; line-height: 1.2; }
.stats h2 .accent { color: var(--brand); }
.stat b { font-family: var(--font-title); font-size: 36px; color: var(--brand); display: block; letter-spacing: -1px; }
.stat span { color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 70px 0; }
.kicker { color: var(--brand); font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; }
h2.title { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.3px; line-height: 1.1; margin: 10px 0 14px; }
.sub { color: var(--muted); max-width: 60ch; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 40px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.tile .price-anchor { margin-top: auto; }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p, .tile li { color: var(--muted); font-size: 14.5px; }
.tile ul { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.tile ul li::before { content: '•'; color: var(--brand); margin-right: 8px; }
.step-num { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: 0.1em; margin-bottom: 10px; display: block; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 40px; align-items: start; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; position: relative; }
.price-card.featured { border: 2px solid var(--hard); box-shadow: 6px 6px 0 var(--hard); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: var(--accent-ink); border: 1.5px solid var(--hard); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.05em; }
.price-card h3 { font-size: 18px; }
.price { font-family: var(--font-title); color: var(--brand); font-size: 38px; font-weight: 700; letter-spacing: -0.5px; margin: 12px 0 4px; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.price-card li { color: var(--muted); font-size: 14.5px; display: flex; gap: 10px; }
.price-card li::before { content: '✓'; color: var(--brand); font-weight: 700; }

/* Forms */
.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
input, select {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #FFFDF8;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
select option { background: var(--panel); color: var(--ink); }
textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #FFFDF8;
  color: var(--ink);
  outline: none;
  resize: vertical;
  min-height: 72px;
}
textarea::placeholder { color: var(--muted); }
input::placeholder { color: var(--muted); }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--brand); }
.form-msg.err { color: var(--danger); }

/* CTA band */
.cta-band { text-align: center; background: var(--accent); color: var(--hard); border: 1px solid var(--line); border-radius: 24px; padding: 60px 30px; margin: 40px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 50px 0 40px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font-size: 14px; margin-bottom: 14px; }
.foot-grid a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.foot-grid a:hover { color: var(--ink); }
.tagline { color: var(--muted); font-size: 14px; margin-top: 10px; }
.copyright { color: var(--muted); font-size: 13px; margin-top: 40px; text-align: center; }
.foot-grid button.link {
  display: block;
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 9px;
  cursor: pointer;
  text-align: left;
}
.foot-grid button.link:hover { color: var(--ink); }

/* Redes sociais */
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.socials a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Formulário de contato do rodapé */
.foot-form { display: grid; gap: 10px; }
.foot-form input { padding: 10px 12px; font-size: 14px; border-radius: 10px; }
.foot-form .btn { min-height: 42px; padding: 8px 16px; font-size: 14px; }

/* Painel administrativo */
.auth-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: 78vh;
  padding: 20px 0;
}
.auth-stats { display: flex; gap: 34px; margin-top: 34px; }
.auth-stats .stat b { font-size: 26px; }
.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  text-align: center;
  padding: 2px;
}
.link-btn:hover { color: var(--brand); }
.code-input { text-align: center; font-size: 26px; letter-spacing: 10px; font-weight: 700; }
@media (max-width: 960px) {
  .auth-split { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .auth-stats { gap: 24px; }
}
.tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.tab {
  flex: 1;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.tab.active { background: rgba(31, 77, 61, 0.12); border-color: var(--brand); color: var(--brand); }
.auth-form { display: grid; gap: 14px; }
.oauth-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(31, 77, 61, 0.1);
  border: 1px solid rgba(31, 77, 61, 0.35);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
.oauth-note strong { color: var(--brand); font-weight: 800; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 30px 0 26px; }

/* Abas do painel (Vagas / Visão geral) — controle segmentado */
.seg-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 24px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.seg-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.seg-tab:hover { color: var(--ink); }
.seg-tab.active { background: rgba(31, 77, 61, 0.14); color: var(--brand); }
@media (max-width: 560px) { .seg-tabs { display: flex; } .seg-tab { flex: 1; justify-content: center; } }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.job-row h3 { font-size: 17px; }
.job-meta { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.job-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.job-stats span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.job-actions .btn { padding: 9px 14px; font-size: 13px; border-radius: 9px; }
.chip { font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; vertical-align: 2px; margin-left: 10px; }
.chip.open { background: rgba(31, 77, 61, 0.14); color: var(--brand); }
.chip.closed { background: var(--danger-soft); color: var(--danger); }
.chip.muted { background: var(--tint-2); color: var(--muted); }
.qr-holder { display: inline-block; background: #fff; border-radius: 14px; padding: 10px; }
.qr-holder svg { width: 220px; height: 220px; display: block; }
@media (max-width: 700px) { .job-grid { grid-template-columns: 1fr; } }

/* Identidade da empresa no topo */
.nav-links { flex-wrap: wrap; justify-content: flex-end; }
.co-badge { display: flex; align-items: center; gap: 11px; margin-right: 4px; }
.co-avatar {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--brand-ink);
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(31, 77, 61, 0.28);
}
.co-name {
  font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.4px;
  max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.icon-btn .icon-btn-ico { display: none; }

/* Campo de senha com botão de revelar */
.pw-field { position: relative; display: flex; }
.pw-field input { width: 100%; padding-right: 48px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 17px; line-height: 1;
  padding: 6px 9px; color: var(--muted); border-radius: 8px;
}
.pw-toggle:hover { background: var(--tint-2); }

/* Botão de ação destrutiva */
.btn-danger { background: var(--danger); color: #fff; border-color: var(--hard); }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--danger-soft); }

/* Linha do tempo da verificação */
.verify-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.verify-badge {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px;
  background: var(--warn-soft); border: 1px solid var(--accent);
}
.verify-steps { list-style: none; display: grid; gap: 0; margin: 4px 0 18px; }
.vstep { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 20px; }
.vstep:last-child { padding-bottom: 0; }
.vstep:not(:last-child)::before {
  content: ''; position: absolute; left: 13px; top: 28px; bottom: 0;
  width: 2px; background: var(--line);
}
.vstep.done:not(:last-child)::before { background: rgba(31, 77, 61, 0.4); }
.vdot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  border: 2px solid var(--line); background: var(--panel); color: var(--muted);
}
.vstep.done .vdot { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.vstep.current .vdot { border-color: var(--brand); color: var(--brand); }
.vstep.error .vdot { border-color: var(--danger); color: var(--danger); }
.vstep b { font-size: 14.5px; display: block; line-height: 1.4; }
.vstep small { color: var(--muted); font-size: 13px; display: block; }
.vstep.pending b { color: var(--muted); }
.vstep.current b { color: var(--brand); }

/* Toast flutuante — top/right/margin explícitos anulam o estilo UA de
   [popover] (inset: 0; margin: auto), que esticaria a caixa pela tela */
.toast {
  position: fixed; left: 50%; bottom: 28px; top: auto; right: auto; margin: 0;
  transform: translateX(-50%) translateY(12px);
  background: var(--panel); border: 1px solid rgba(31, 77, 61, 0.5); color: var(--ink);
  padding: 13px 20px; border-radius: 12px; font-size: 14px; font-weight: 600;
  box-shadow: 0 18px 50px rgba(17, 20, 18, 0.12); z-index: 200;
  max-width: min(92vw, 460px); overflow-wrap: anywhere;
  opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--danger); }

@media (max-width: 700px) {
  nav { gap: 12px; }
  .nav-links { gap: 10px; }
  .co-avatar { width: 34px; height: 34px; font-size: 15px; }
  .co-name { font-size: 15.5px; max-width: 46vw; }
  /* Botões de senha/sair viram ícones para não ocupar a barra toda */
  .icon-btn { padding: 9px 11px; }
  .icon-btn .icon-btn-ico { display: inline; font-size: 15px; }
  .icon-btn .icon-btn-label { display: none; }
}

/* Cartaz de impressão */
#poster { display: none; }
@media print {
  body > .container, dialog { display: none !important; }
  body { background: #fff !important; }
  #poster { display: block !important; color: var(--hard); }
  .poster-inner { text-align: center; padding: 40px 20px; }
  .poster-hiring { font-family: var(--font-mono); font-size: 20px; font-weight: 500; letter-spacing: 0.25em; color: var(--brand); }
  #poster-title { font-family: var(--font-title); font-size: 52px; letter-spacing: -0.5px; margin: 18px 0 6px; color: var(--brand); }
  #poster-company { font-size: 22px; color: var(--muted); margin-bottom: 4px; }
  #poster-meta { font-size: 17px; color: var(--muted); margin-bottom: 28px; }
  #poster-qr svg { width: 340px; height: 340px; }
  .poster-cta { font-size: 18px; line-height: 1.5; margin-top: 28px; color: var(--hard); }
  .poster-brand { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--font-mono); color: var(--muted); }
  .poster-brand img { height: 40px; }
}

/* Scrollbars discretas */
html { scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* Modais (Privacidade / Termos) */
dialog {
  margin: auto; /* o reset global zera margens; sem isto o <dialog> abre no canto */
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  width: min(680px, 92vw);
  max-height: 84vh;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(17, 20, 18, 0.12);
}
dialog::backdrop { background: rgba(17, 20, 18, 0.45); backdrop-filter: blur(3px); }
.dlg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}
.dlg-head h2 { font-size: 19px; letter-spacing: -0.5px; }
.dlg-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.dlg-close:hover { color: var(--ink); }
.dlg-body {
  padding: 20px 26px 30px;
  overflow-y: auto;
  max-height: calc(84vh - 72px);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.dlg-body::-webkit-scrollbar { width: 7px; }
.dlg-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: none; }
.dlg-body::-webkit-scrollbar-track { background: transparent; }
.dlg-body h3 { font-size: 15px; margin: 18px 0 6px; }
.dlg-body h3:first-child { margin-top: 0; }
.dlg-body p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 8px; }
.dlg-body .note { font-size: 12.5px; color: var(--muted); margin-top: 20px; font-style: italic; }

/* Login */
.login-wrap { min-height: 78vh; display: grid; place-items: center; }
.login-card { width: min(420px, 100%); }
.login-card h1 { font-size: 28px; letter-spacing: 0; margin-bottom: 8px; }
.login-card p { color: var(--muted); font-size: 15px; }
.login-card form { display: grid; gap: 14px; margin-top: 24px; }

/* Teaser: nav + hero + footer travados em uma viewport (sem rolagem) */
.page-teaser { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.teaser-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; align-content: center; padding: 10px 0; }
.page-teaser h1 { font-size: clamp(36px, 4.6vw, 54px); }
.page-teaser footer { margin-top: 0; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-teaser footer .tagline, .page-teaser footer .copyright { margin: 0; font-size: 13px; }

@media (max-width: 960px) {
  .hero, .teaser-hero { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn):not(.nav-vagas) { display: none; }
  .qr-badge { right: 4px; width: 120px; height: 120px; }
  .qr-badge svg { width: 44px; height: 44px; }
}

/* Builder de perguntas configuráveis (painel da empresa) */
.q-builder { display: grid; gap: 12px; }
.q-builder-head b { font-size: 14.5px; }
.q-builder-head p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
#q-list { display: grid; gap: 10px; }
.q-add-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border: 1px dashed rgba(31, 77, 61, 0.55);
  border-radius: 11px;
  background: rgba(31, 77, 61, 0.07);
  color: var(--brand);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.q-add-btn:hover { background: rgba(31, 77, 61, 0.14); border-color: var(--brand); }
.q-add-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.q-item {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 10px;
}
.q-item-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-item-head .q-num { color: var(--brand); font-weight: 800; font-size: 13px; min-width: 22px; }
.q-item-head select { flex: 1; min-width: 160px; padding: 9px 12px; font-size: 13.5px; }
.q-item-head .q-move, .q-item-head .q-del {
  background: none; border: 1px solid var(--line); border-radius: 8px;
  color: var(--muted); cursor: pointer; padding: 6px 9px; font-size: 13px; line-height: 1;
}
.q-item-head .q-move:hover, .q-item-head .q-del:hover { color: var(--ink); border-color: var(--line-strong); }
.q-item-head .q-del:hover { color: var(--danger); }
.q-config { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.q-config input[type="number"], .q-config input[type="url"], .q-config input[type="text"] { padding: 9px 12px; font-size: 13.5px; }
.q-config input[type="number"] { width: 130px; }
.q-config select { padding: 9px 12px; font-size: 13.5px; }
.q-config textarea { min-height: 70px; font-size: 13.5px; width: 100%; }
.q-config .q-check { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 13px; cursor: pointer; }
.q-config .q-check input { accent-color: var(--brand); width: 15px; height: 15px; }
.q-type-hint { color: var(--muted); font-size: 12px; width: 100%; }

/* Modal de candidatos */
.dlg-wide { width: min(760px, 94vw); }
.app-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--tint);
}
.app-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.app-card-head b { font-size: 15px; }
.app-card-head .app-meta { color: var(--muted); font-size: 12.5px; }
.app-answers { display: grid; gap: 7px; }
.app-answer { font-size: 13.5px; }
.app-answer .aq { color: var(--muted); }
.app-answer .av { color: var(--ink); }
.app-answer a { color: var(--brand); }

/* Admin — navegação por seções (menu de páginas) */
.logo-tag { margin-left: 6px;  font-size: 13px; font-weight: 600; color: var(--muted); }
.admin-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  overflow-x: auto;
}
.admin-tabs a {
  padding: 12px 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s;
}
.admin-tabs a:hover { color: var(--ink); }
.admin-tabs a.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-count {
  display: inline-block;
  min-width: 20px;
  text-align: center;
  background: rgba(31, 77, 61, 0.14);
  color: var(--brand);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 800;
  margin-left: 4px;
}
.view { padding-bottom: 50px; }
.page-head { padding: 2px 0 24px; }
.page-head h1 { font-size: 28px; letter-spacing: -1px; }
.page-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 72ch; }
.empty-note { color: var(--muted); text-align: center; padding: 30px 0; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.data-table th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 8px 10px; }
.data-table td { padding: 10px; }
.data-table tbody tr { border-top: 1px solid var(--line); }
.data-table .t-strong { font-weight: 600; }
.data-table .t-muted { color: var(--muted); }
.data-table .price-input { width: 110px; padding: 8px 10px; font-size: 14px; border-radius: 8px; }

/* Ranking IA no modal de candidatos */
.apps-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.app-score {
  display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  background: rgba(31, 77, 61, 0.15); color: var(--brand);
  font-size: 12.5px; font-weight: 800; vertical-align: 1px;
}
.app-summary { color: var(--muted); font-size: 13px; font-style: italic; margin: 2px 0 8px; }

/* Mini-ATS: filtros e controles de pipeline por candidato */
.apps-filters { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.apps-filter-search { flex: 1 1 200px; font-size: 14px; padding: 10px 14px; }
.apps-filter-stage { font-size: 14px; padding: 10px 14px; }
.apps-filter-starred { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; cursor: pointer; }
.apps-filter-starred input { width: auto; min-width: 0; padding: 0; }
.app-star {
  background: none; border: none; cursor: pointer; font-size: 20px; line-height: 1;
  color: var(--muted); padding: 0 4px;
}
.app-star.on { color: var(--accent); }
.app-card-head .app-star { margin-right: auto; }
.app-ats { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; flex-wrap: wrap; }
.app-stage-label { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.app-stage { font-size: 13px; padding: 8px 12px; border-radius: 10px; }
.app-wa {
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700;
  color: var(--brand); text-decoration: none; border: 1px solid rgba(31, 77, 61, 0.5);
  border-radius: 10px; padding: 7px 12px;
}
.app-wa:hover { background: rgba(31, 77, 61, 0.12); }
.app-notes { width: 100%; margin-top: 8px; font-size: 13.5px; }
.apps-stage-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.apps-stage-counts:empty { display: none; }
.stage-count {
  border: 1px solid var(--line); background: var(--tint); color: var(--muted);
  border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.stage-count.on { border-color: var(--brand); color: var(--brand); background: rgba(31, 77, 61, 0.12); }

/* Dashboard consolidado da conta */
.dash-stats { margin-bottom: 26px; display: grid; gap: 16px; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.kpi-val { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.kpi-lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.dash-pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dash-pipeline .stage-count { cursor: default; }
.dash-sec-label { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-right: 4px; }
.dash-top { display: grid; gap: 6px; }
.dash-top-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--tint); }
.dash-top-title { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-top-num {
  color: var(--brand); font-weight: 700; white-space: nowrap;
  background: none; border: none; font-family: inherit; font-size: inherit;
  cursor: pointer; padding: 3px 8px; margin: -3px -8px; border-radius: 8px;
  transition: background 0.15s;
}
.dash-top-num:hover { background: rgba(31, 77, 61, 0.14); text-decoration: underline; }
.dash-top-num:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

/* Admin — aba Empresas: filtro por status e vagas da empresa (sub-seção) */
.company-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.company-jobs { margin: -6px 0 14px; padding: 12px 16px; background: var(--tint); border-radius: 10px; font-size: 13px; }
.company-jobs p { margin: 4px 0; }
.company-jobs a { color: var(--brand); }

/* Admin — visão geral (dashboard do operador) */
.dash-stats .dash-sec-label { margin-bottom: 8px; }

/* Marketplace público de vagas (/vagas) */
.mkt-hero { padding: 34px 0 6px; }
.mkt-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; transition: color 0.2s; }
.mkt-back:hover { color: var(--ink); }
.mkt-hero h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1.5px; margin: 8px 0 10px; }
.mkt-stats { color: var(--muted); font-size: 13.5px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.mkt-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0 8px;
  padding: 16px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.mkt-filters input, .mkt-filters select { font-size: 14px; padding: 11px 14px; width: 100%; }
@media (max-width: 860px) { .mkt-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mkt-filters { grid-template-columns: 1fr; } }
.mkt-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 4px; flex-wrap: wrap; }
.mkt-count { color: var(--muted); font-size: 13.5px; }
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 18px 0 40px; }
.mkt-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mkt-card h3 { font-size: 16.5px; letter-spacing: -0.2px; }
.mkt-card .mkt-company { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.mkt-card .mkt-verified { color: var(--brand); font-size: 12px; }
.mkt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mkt-chip { background: var(--tint); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; padding: 5px 10px; border-radius: 999px; }
.mkt-chip.category { background: rgba(31, 77, 61, 0.12); border-color: rgba(31, 77, 61, 0.3); color: var(--brand); font-weight: 600; }
.mkt-card .btn { margin-top: auto; text-align: center; }
.mkt-empty, .mkt-error { text-align: center; color: var(--muted); padding: 50px 0; }
.mkt-load-more { display: block; margin: 0 auto 50px; }
.mkt-skel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; height: 168px; opacity: 0.5; animation: mkt-pulse 1.4s ease-in-out infinite; }
@keyframes mkt-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.6; } }

/* Números da plataforma (site institucional /app) — seção compacta de prova
   social; cards reaproveitam os tokens de .tile/.stat (painel, kpi). */
.numbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 26px; }
.number-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.number-card b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -1px; color: var(--brand); font-variant-numeric: tabular-nums; }
.number-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }

/* Depoimentos (empresas x candidatos, duas colunas) */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 36px; }
.testi-col h3 { font-size: 17px; margin-bottom: 16px; }
.testi-card { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.testi-quote { color: var(--ink); font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; }
.testi-quote::before { content: '“'; color: var(--brand); font-weight: 800; }
.testi-quote::after { content: '”'; color: var(--brand); font-weight: 800; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-who .avatar { width: 32px; height: 32px; font-size: 12px; flex-shrink: 0; }
.testi-who b { font-size: 13.5px; display: block; }
.testi-who span { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 820px) { .testi-grid { grid-template-columns: 1fr; } }

/* Admin — aba Compras: filtros e agrupamento por cliente */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.purchase-filters { display: grid; gap: 12px; margin-bottom: 18px; }
.purchase-filters .company-filters { margin-bottom: 0; }
.purchase-filters .stage-count.alert { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }
.purchase-search-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.purchase-search-row .apps-filter-search { flex: 1 1 260px; min-width: 0; }
.purchases-summary { margin: 0 0 16px; }
.purchases-summary:empty { display: none; }
.buyer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.buyer-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.buyer-head h3 { font-size: 16.5px; }
.buyer-timeline { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.purchase-item { border-bottom: 1px solid var(--line); }
.purchase-item:last-child { border-bottom: 0; }
.purchase-line {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap; padding: 13px 2px; cursor: pointer;
  border-radius: 10px; transition: background 0.15s;
}
.purchase-line:hover { background: var(--tint); }
.purchase-line:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.purchase-line-info { min-width: 0; }
.purchase-line-title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.purchase-line-title .chip { margin-left: 8px; }
.purchase-line .job-meta { font-size: 13px; }
.purchase-events {
  margin: 0 0 12px; padding: 12px 16px;
  background: var(--tint); border-radius: 10px; font-size: 13px;
}
.purchase-events p { margin: 4px 0; }
@media (max-width: 560px) {
  .purchase-line { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* =====================================================================
   Tok — landing (/app) e teaser (/): componentes do layout "página inicial"
   ===================================================================== */
.tk-page { background: var(--bg-2); font-size: 18px; line-height: 1.55; }
.tk-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tk-eyebrow { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.tk-h1 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.tk-h2 { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: var(--brand); }
.tk-section { padding: 88px 0; }
.tk-section > .tk-wrap { display: flex; flex-direction: column; gap: 28px; }
.tk-head { display: flex; flex-direction: column; gap: 12px; }

/* Header */
.tk-header { background: var(--bg); border-bottom: 1.5px solid var(--line); position: sticky; top: 0; z-index: 40; }
.tk-header .tk-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.tk-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 700; font-size: 17px; }
.tk-nav a { color: var(--brand); text-decoration: none; padding: 10px 0; }
.tk-nav a:hover { color: var(--brand-dark); text-decoration: underline; }
.tk-actions { display: flex; align-items: center; gap: 12px; }
.tk-nav .tk-nav-cta { display: none; }
.tk-menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brand); background: transparent; color: var(--brand); cursor: pointer; align-items: center; justify-content: center; }
.tk-menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.tk-hero { background: var(--brand); color: var(--bg); }
.tk-hero .tk-wrap { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.tk-hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tk-hero .tk-eyebrow { color: var(--mint); }
.tk-hero .tk-h1 { color: var(--bg); }
.tk-hero-lede { margin: 0; font-size: 21px; line-height: 1.5; color: var(--mint); max-width: 520px; }
.tk-cta-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.tk-cta-row .btn { min-height: 56px; padding: 14px 28px; font-size: 19px; }
.tk-hero-art { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.tk-hero-art > img { display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 24px; }
.tk-chatcard { align-self: flex-start; margin: -64px 0 0 24px; position: relative; background: var(--bg); color: var(--ink); border: 2px solid var(--hard); border-radius: 20px; box-shadow: var(--shadow-hard); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.tk-chatcard .tk-eyebrow { font-size: 12px; letter-spacing: 0.08em; color: var(--brand); }
.tk-msg { margin: 0; border-radius: 14px; padding: 10px 14px; font-size: 16px; line-height: 1.4; }
.tk-msg.in { background: var(--mint); border-bottom-left-radius: 4px; }
.tk-msg.out { background: var(--bg-2); border-bottom-right-radius: 4px; align-self: flex-end; }

/* Segmentado (abas e seletor de país) */
.tk-seg { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px; }
.tk-seg button { min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 16px; background: transparent; color: var(--brand); cursor: pointer; }
.tk-seg button[aria-pressed="true"] { background: var(--brand); color: var(--bg); }
.tk-seg-light { background: var(--bg); }

/* Passos */
.tk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tk-step { background: var(--bg-2); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tk-num { flex-shrink: 0; width: 52px; height: 52px; box-sizing: border-box; border-radius: 50%; background: var(--accent); border: 2px solid var(--hard); box-shadow: 3px 3px 0 var(--hard); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: var(--hard); }
.tk-step h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.tk-step p { margin: 0; font-size: 17px; color: var(--muted); }

/* Mural */
.tk-mural-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tk-link { color: var(--brand); font-weight: 700; text-underline-offset: 4px; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-chip { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--brand); background: transparent; color: var(--brand); font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.tk-chip[aria-pressed="true"] { background: var(--brand); color: var(--bg); }
.tk-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.tk-job { background: var(--bg); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tk-job-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tk-tag { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--brand-dark); }
.tk-tag.hot { background: var(--accent); color: var(--hard); }
.tk-ref { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.tk-job h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.tk-job p { margin: 0; font-size: 16px; color: var(--muted); }
.tk-job .btn { align-self: flex-start; margin-top: 8px; }
.tk-empty { color: var(--muted); }

/* Para empresas (fundo verde) */
.tk-dark { background: var(--brand); color: var(--bg); }
.tk-dark .tk-eyebrow { color: var(--mint); }
.tk-dark .tk-h2 { color: var(--bg); }
.tk-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.tk-split-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.tk-split-copy p { margin: 0; color: var(--mint); }
.tk-split-copy .btn { align-self: flex-start; }
.tk-features { flex: 1.4 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tk-feature { background: var(--brand-dark); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tk-feature svg { width: 30px; height: 30px; color: var(--accent); }
.tk-feature h3 { margin: 0; font-size: 20px; color: var(--bg); }
.tk-feature p { margin: 0; font-size: 15.5px; color: var(--mint); }
.tk-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; border-top: 1.5px solid rgba(207, 224, 210, 0.25); padding-top: 28px; }
.tk-numbers b { display: block; font-family: var(--font-title); font-size: 34px; color: var(--accent); }
.tk-numbers span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); }

/* Preços */
.tk-prices-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tk-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.tk-price { background: var(--bg); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.tk-price.featured { border: 2px solid var(--hard); box-shadow: 6px 6px 0 var(--hard); }
.tk-price.dark { background: var(--brand); color: var(--bg); }
.tk-price-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.tk-price.dark .tk-price-label { color: var(--mint); }
.tk-price-label .tk-tag { font-family: var(--font-body); letter-spacing: 0; text-transform: none; background: var(--accent); color: var(--hard); border: 1.5px solid var(--hard); }
.tk-price-value { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 44px; line-height: 1.1; color: var(--brand); }
.tk-price.dark .tk-price-value { color: var(--bg); }
.tk-price-value small { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--muted); }
.tk-price.dark .tk-price-value small { color: var(--mint); }
.tk-price ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; }
.tk-price .btn { align-self: flex-start; margin-top: auto; }
.tk-price-note { margin: 4px 0 0; padding-top: 12px; border-top: 1.5px solid var(--line); font-size: 15px; color: var(--muted); }

/* Depoimentos */
.tk-testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tk-testis .testi-card { background: var(--bg); border: 0; border-radius: 22px; margin: 0; }

/* Piloto */
.tk-pilot { background: var(--accent); color: var(--hard); }
.tk-pilot .tk-eyebrow { color: var(--brand-dark); }
.tk-pilot .tk-h2 { color: var(--hard); }
.tk-pilot .tk-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tk-pilot-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.tk-pilot-copy p { margin: 0; }
.tk-pilot-copy .btn { align-self: flex-start; background: var(--bg); color: var(--hard); border-color: var(--hard); box-shadow: var(--shadow-hard); }
.tk-pilot img { flex: 1 1 380px; min-width: 0; width: 100%; max-width: 520px; height: 200px; object-fit: cover; border-radius: 22px; border: 2px solid var(--hard); background: var(--bg-2); }

/* Rodapé */
.tk-footer { background: var(--brand-dark); color: var(--bg); padding: 40px 0 28px; }
.tk-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(207, 224, 210, 0.2); }
.tk-footer-brand img { height: 32px; display: block; }
.tk-footer-brand p { margin: 12px 0 0; font-family: var(--font-title); font-weight: 700; font-size: 18px; }
.tk-footer-links { display: grid; grid-template-columns: repeat(2, minmax(160px, auto)); gap: 10px 64px; }
.tk-footer-links a, .tk-footer-links button { color: var(--bg); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
.tk-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.tk-footer-bottom button { background: none; border: 0; color: var(--mint); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* Seletor de idioma no header claro */
.tk-header .lang-chip { border: 2px solid var(--line); color: var(--brand); background: transparent; font-weight: 700; min-height: 40px; }

@media (max-width: 860px) {
  .tk-nav { display: none; }
  .tk-actions .btn { display: none; }
  .tk-menu-btn { display: inline-flex; }
  .tk-header.open .tk-nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1.5px solid var(--line); padding: 8px 24px 16px; gap: 0; }
  .tk-nav .tk-nav-cta { display: inline-flex; margin-top: 8px; }
  .tk-hero .tk-wrap { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .tk-cta-row .btn { flex: 1 1 100%; }
  .tk-hero-art > img { height: 240px; }
  .tk-chatcard { display: none; }
  .tk-section { padding: 56px 0; }
  .tk-seg { align-self: stretch; }
  .tk-seg button { flex: 1; }
  .tk-step { flex-direction: row; align-items: flex-start; padding: 20px; }
  .tk-step > div { display: flex; flex-direction: column; gap: 4px; }
  .tk-job .btn { align-self: stretch; }
  .tk-footer-links { grid-template-columns: 1fr; }
}

/* Teaser (/) e login: hero ocupando a viewport */
.tk-teaser { flex: 1; display: flex; align-items: center; }
.tk-teaser .tk-wrap { width: 100%; }
.tk-teaser-art { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.tk-teaser-art > img { width: min(320px, 80%); height: auto; background: var(--bg-2); border: 2px solid var(--hard); border-radius: 28px; box-shadow: 6px 6px 0 var(--hard); padding: 12px; }
.tk-teaser-art .tk-chatcard { align-self: center; margin: -40px 0 0 120px; }
.tk-waitlist { display: flex; flex-wrap: wrap; gap: 12px; }
.tk-waitlist input { flex: 1 1 220px; }
.tk-hero .form-msg.ok { color: var(--mint); }
.tk-hero .form-msg.err { color: #FFD2CC; }
.tk-hero .login-card { flex: 0 1 420px; color: var(--ink); }
.tk-hero .login-card h2 { font-size: 28px; margin-bottom: 8px; }
.tk-hero .login-card form { display: grid; gap: 14px; margin-top: 24px; }
.page-teaser .tk-footer { padding: 18px 0; }
.page-teaser .tk-footer a { color: var(--mint); }
.tk-nav a.btn { color: var(--accent-ink); text-decoration: none; padding: 10px 22px; }
.tk-nav a.btn-ghost { color: var(--brand); }
@media (max-width: 860px) {
  .tk-teaser-art .tk-chatcard { display: none; }
}
.tk-section.tk-pilot > .tk-wrap { flex-direction: row; align-items: center; }
