/* ==========================================================
   UNIQUE — Páginas de produto
   /pages/geracao-de-leads.html · /pages/inteligencia-de-mercado.html
   Carregado depois de /css/styles.css. Usa apenas os tokens
   definidos lá, para funcionar nos temas escuro e claro.
   ========================================================== */

/* Âncoras não ficam escondidas atrás do menu fixo */
.section[id], .split[id], .feature[id], .final[id] { scroll-margin-top: 84px; }

/* Ícones do Bootstrap Icons dentro dos blocos reaproveitados da home */
.lane-ico .bi { font-size: 21px; line-height: 1; }
.dp-ico .bi { font-size: 18px; line-height: 1; }
.btn .bi { font-size: 17px; line-height: 1; }

/* ---------- Trilha de navegação ---------- */
.crumbs {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { color: var(--text-2); transition: color .2s; }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--dim); }

/* ---------- Hero de produto ---------- */
.hero-produto { padding: 48px 0 96px; }
.hero-produto .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
.hero-produto .hero-copy,
.hero-produto .hero-visual { min-width: 0; }
.hero-produto .hero-visual { position: relative; }
.hero-produto h1 { font-size: clamp(34px, 4.8vw, 64px); line-height: .98; margin-top: 18px; }
.hero-produto .hero-proof strong { font-size: 26px; }
.hero-produto .screen { margin: 0; max-width: none; }
.hero-produto .console { max-width: 560px; margin-left: auto; }
.hero-produto .float-chip.one { left: -30px; bottom: 40px; }
.hero-produto .float-chip.two { right: -18px; top: -26px; }
.hero-produto .float-chip.one .fc-ico { background: var(--signal-soft); color: var(--signal); }

.console-foot .ex-note { font-size: 12.5px; color: var(--muted); }
.send-chip {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--claude);
  background: var(--claude-soft);
  padding: 5px 9px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ---------- Bloco de duas colunas (texto + tela) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split + .split { margin-top: 120px; }
.section-head + .split { margin-top: 72px; }
.split.flip > :first-child { order: 2; }
.split-copy { min-width: 0; }
.split .screen { margin: 0; max-width: none; min-width: 0; }
.split .h2 { font-size: clamp(32px, 3.8vw, 50px); }
.split-h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0;
}
.split-copy > p { color: var(--text-2); margin: 18px 0 0; }
.split-copy .diff-points { margin-top: 32px; }

/* Lista de checks reaproveitando .feature-copy sem o padding do card */
.feature-copy.flat { padding: 0; }
.feature-copy.flat ul { margin-top: 26px; }

/* Legenda dentro das telas reais */
.screen > .screen-caption { margin: 14px 10px 4px; font-size: 14px; }
.screen-stack { display: grid; gap: 12px; }

/* ---------- Legendas de status (telefone / e-mail) ---------- */
.legend { margin-top: 26px; display: grid; gap: 16px; }
.legend-row { display: grid; gap: 8px; }
.legend-row > span {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.legend-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st-ok { color: var(--signal); background: var(--signal-soft); }
.st-brand { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.st-warn { color: var(--warn); background: var(--warn-soft); }
.st-bad { color: var(--danger); background: var(--danger-soft); }
.st-off { color: var(--dim); background: var(--surface-2); border-color: var(--line); }

/* ---------- Cards simples (decisores, sinais) ---------- */
.p-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.p-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
}
.p-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px; line-height: 1;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
}
.p-ico.sig { background: var(--signal-soft); color: var(--signal); }
.p-ico.warn { background: var(--warn-soft); color: var(--warn); }
.p-ico.bad { background: var(--danger-soft); color: var(--danger); }
.p-card h3 { margin: 18px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.p-card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Mock: preferências de exportação ---------- */
.mock-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--card-shadow);
  padding: 24px;
  min-width: 0;
}
.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.ex-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface-3);
  white-space: nowrap;
}
.pref { padding: 16px 0; border-bottom: 1px solid var(--line); }
.pref > b { display: block; font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.pref ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pref li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 6px 11px 6px 8px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
}
.pref li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--line-strong);
}
.pref li.on {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}
.pref li.on::before {
  border-color: var(--brand);
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.mock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.fake-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  font-size: 13.5px;
  white-space: nowrap;
}

.wide-shot { margin-top: 64px; }
.sub-h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 88px 0 0;
  text-align: center;
  text-wrap: balance;
}
.sub-h + .integrations { margin-top: 32px; }

/* ---------- Novidades em página de produto ---------- */
.feature-stack { display: grid; gap: 20px; margin-top: 64px; }
.feature.span-6.flip { grid-template-columns: 1.15fr 1fr; }
.feature.span-6.flip .feature-visual { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.feature-copy .chip + .chip { margin-left: 6px; }
.feature-copy .chip.soft { background: var(--surface-3); color: var(--text-2); }
.feature.span-6 .feature-visual { min-height: 360px; }

.chat .ex-tag { align-self: flex-end; }
.draft {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 2px solid var(--claude);
  border-radius: 8px;
  background: var(--bg-2);
  font-size: 13px;
  color: var(--text-2);
}

/* Faixa com link para a outra página de produto */
.linkedin-strip.xlink { margin-top: 64px; }
.linkedin-strip.xlink .lane-ico { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }

/* ---------- Folha de pagamento + faturamento ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
  align-items: start;
}
.duo .payroll-card { margin-top: 0; box-shadow: var(--card-shadow); border-color: var(--line-strong); }

/* Simulador: alterna mensal/anual só com CSS */
.sim { position: relative; }
.sim .seg {
  display: inline-flex;
  padding: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
}
.sim .seg label {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
#sim-m:checked ~ .seg label[for="sim-m"],
#sim-a:checked ~ .seg label[for="sim-a"] { background: var(--brand); color: #fff; }
#sim-m:focus-visible ~ .seg label[for="sim-m"],
#sim-a:focus-visible ~ .seg label[for="sim-a"] { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.sim .v-a { display: none; }
#sim-a:checked ~ .bars .v-m { display: none; }
#sim-a:checked ~ .bars .v-a { display: inline; }
.sim-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.ranges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.range-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px;
  min-width: 0;
}
.rc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rc-big {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -.035em;
  line-height: 1;
  margin-top: 16px;
}
.rc-big small {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 6px;
}
.rail { position: relative; display: flex; gap: 3px; margin-top: 22px; }
.rail i { flex: 1; height: 14px; border-radius: 3px; background: var(--brand); }
.rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--surface) 72%, transparent), transparent);
  pointer-events: none;
}
.rail-ends {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
}
.rail-ends span:last-child { text-align: right; }
.rc-note { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }
.porte { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.porte li {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}

/* ---------- Galeria de duas telas ---------- */
.shots-2 {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}
.shots-2 .screen { margin: 0; max-width: none; min-width: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-produto .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-produto .console { margin: 0 auto; }
  .hero-produto .float-chip.one { left: 12px; bottom: -22px; }
  .hero-produto .float-chip.two { right: 12px; top: -22px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .duo { grid-template-columns: 1fr; }
  .p-cards { grid-template-columns: 1fr 1fr; }
  .feature.span-6.flip { grid-template-columns: 1fr; }
  .feature.span-6.flip .feature-visual { order: 0; border-right: 0; }
}

@media (max-width: 860px) {
  .split + .split { margin-top: 88px; }
  .shots-2, .ranges { grid-template-columns: 1fr; }
  .sub-h { margin-top: 64px; }
}

@media (max-width: 640px) {
  .hero-produto { padding: 32px 0 64px; }
  .crumbs { margin-bottom: 20px; }
  .p-cards { grid-template-columns: 1fr; }
  .p-card { padding: 22px; }
  .mock-card { padding: 18px; }
  .range-card { padding: 20px; }
  .rc-big { font-size: 36px; }
  .split .screen, .shots-2 .screen, .wide-shot.screen { padding: 8px; border-radius: var(--r-lg); }
  .split .screen img, .shots-2 .screen img, .wide-shot.screen img { border-radius: 12px; }
  .screen-bar { padding: 4px 6px 8px; }
  .feature.span-6 .feature-visual { min-height: 320px; }
  .linkedin-strip.xlink { margin-top: 48px; }
}
