/* ==========================================================
   UNIQUE — v5 (claro)
   Fundo branco, nav flutuante e blocos escuros arredondados,
   com a paleta do app (brand #008FC5 · ink #0B2540 · DM Sans).
   Carregado depois de styles.css e das folhas de página.
   ========================================================== */

:root,
:root[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --surface-3: #eef7fb;
  --line: #e6ebf2;
  --line-strong: #d9dfe8;
  --text: #0b2540;
  --text-2: #3e5568;
  --muted: #5b7489;
  --dim: #8a9bb0;

  --brand: #008fc5;
  --brand-2: #00749e;
  --brand-deep: #00749e;
  --brand-sky: #05bcff;
  --brand-glow: rgba(0, 143, 197, .24);
  --brand-tint: rgba(0, 143, 197, .09);
  --grad: linear-gradient(135deg, #00749e, #008fc5 60%, #05bcff);
  --grad-text: linear-gradient(100deg, #00749e 0%, #008fc5 50%, #05bcff 100%);
  --signal: #0b7a56;
  --signal-soft: #e2f4ec;
  --warn: #9a5b00;
  --warn-soft: #fff1d9;
  --danger: #b42318;
  --danger-soft: #fdebe4;
  --claude: #c15f3c;
  --claude-soft: #fdebe4;

  --navy: #0b2540;
  --navy-2: #0f2f52;
  --nav-bg: rgba(255, 255, 255, .86);
  --card-shadow: 0 1px 2px rgba(11, 37, 64, .04), 0 18px 40px -22px rgba(11, 37, 64, .22);
  --grid-line: rgba(11, 37, 64, .045);

  --f-display: "DM Sans", system-ui, sans-serif;
  --f-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;

  color-scheme: light;
}

/* Blocos escuros (hero, CTA final, rodapé): tokens do tema escuro no escopo */
.hero,
.final-box,
.footer {
  --bg: #071a2e;
  --bg-2: #0a2139;
  --surface: #0d2744;
  --surface-2: #10304f;
  --surface-3: #15385c;
  --line: rgba(160, 200, 230, .14);
  --line-strong: rgba(160, 200, 230, .24);
  --text: #f2f7fc;
  --text-2: #c3d3e3;
  --muted: #8ea6bd;
  --dim: #6a8299;
  --brand: #05bcff;
  --brand-2: #42cdff;
  --brand-glow: rgba(5, 188, 255, .3);
  --signal: #39e6a0;
  --signal-soft: rgba(57, 230, 160, .12);
  --warn: #ffb547;
  --warn-soft: rgba(255, 181, 71, .12);
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, .12);
  --claude: #e08a6b;
  --claude-soft: rgba(217, 119, 87, .16);
  --card-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
  --grid-line: rgba(160, 200, 230, .06);
  color: var(--text);
  color-scheme: dark;
}

body { background: var(--bg); color: var(--text); }
::selection { background: var(--brand); color: #fff; }

/* ---------- Tipografia: semibold, sem caixa alta ---------- */
.h-display,
.h2,
.hero h1,
.final-box h2,
.lane h3,
.feature-copy h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: none;
}
.h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--text);
}
.lead { color: var(--text-2); }
.hl,
.h2 .hl,
.h2 span:not([class]) {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--brand-2);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-tint);
}
.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.hero .eyebrow,
.final-box .eyebrow { color: var(--brand); background: rgba(5, 188, 255, .12); }

/* ---------- Botões ---------- */
.btn { border-radius: 12px; font-weight: 600; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 116, 158, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover {
  background: var(--grad);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px -10px rgba(0, 116, 158, .6);
}
.btn-ghost { background: var(--surface); border-color: var(--line-strong); }
.hero .btn-ghost,
.final-box .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }

/* ---------- Nav flutuante (pílula branca) ---------- */
.nav {
  top: 12px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 12px 16px 0;
}
.nav-shell {
  max-width: 1240px;
  height: 64px;
  padding: 0 10px 0 18px;
  border-radius: 18px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px -14px rgba(11, 37, 64, .25);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.nav .brand { gap: 1px; }
.brand img { width: 46px; height: 46px; border-radius: 8px; }
/* Nome UNIQUE igual ao site antigo: Inter black, 20px, tracking -1.2px */
.brand-word {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -1.2px;
  line-height: 18px;
  color: #0f172a;
}
.footer .brand-word { color: #fff; }
.nav-links a { font-weight: 500; color: var(--text-2); border-radius: 10px; }
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links .pill-new { font-family: var(--f-body); font-weight: 700; background: var(--brand-tint); color: var(--brand); }
.nav-login { font-weight: 500; }
.theme-toggle { display: none !important; }
.mobile-nav { inset: 92px 16px auto 16px; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--card-shadow); background: #fff; max-height: calc(100vh - 110px); }
.mobile-nav a.m-link { font-family: var(--f-display); font-weight: 600; font-size: 20px; }

/* ---------- Hero: card escuro arredondado com respiro lateral ---------- */
.hero {
  margin: 16px 16px 0;
  padding: 88px 0 72px;
  border-radius: 28px;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(5, 188, 255, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(0, 116, 158, .35), transparent 60%),
    linear-gradient(180deg, #0b2540 0%, #071a2e 100%);
}
.hero::before {
  background-image: radial-gradient(rgba(160, 200, 230, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after { opacity: .35; }
.hero h1 {
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: #fff;
}
.hero h1 .u-brand { color: var(--brand); }
.hero h1 .ink {
  background: linear-gradient(100deg, #42cdff 0%, #05bcff 45%, #7fe0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.hero-proof strong { font-family: var(--f-display); font-weight: 700; color: #fff; }

/* Páginas internas: o primeiro bloco também vira card escuro */

/* ---------- Seções e cards claros ---------- */
.section { padding: 112px 0; }
.esteira,
.new-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.lane,
.feature,
.case,
.integ,
.compare,
.payroll-card,
.screen,
.form,
.diff-point {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--card-shadow);
}
.esteira .lane,
.new-section .feature { background: var(--bg); box-shadow: none; }
.lane-ico,
.diff-point .dp-ico { background: var(--brand-tint); color: var(--brand); }
.diff-point { grid-template-columns: 44px 1fr; gap: 18px; align-items: center; padding: 20px 24px; }
.diff-point .dp-ico { width: 44px; height: 44px; }
.lane h3,
.feature-copy h3 { letter-spacing: -.02em; }
.steps::before { background: linear-gradient(var(--brand), var(--brand-sky)); }
.steps li:last-child .n { border-color: var(--brand-sky); color: var(--brand-2); }

.compare th.col-u,
.compare td.col-u { background: var(--brand-tint); }
.platform-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; }

/* Logos dos clientes: maiores, coloridas e em cartões claros */
.marquee-track { gap: 28px; }
.marquee-track img {
  height: 72px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  filter: none;
  opacity: 1;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55);
}
.logos-title { color: var(--text-2); font-size: 14px; }

/* ---------- CTA final: card escuro ---------- */
.final { padding: 96px 0; }
.final-box {
  border-radius: 28px;
  border: 0;
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(5, 188, 255, .26), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(0, 116, 158, .4), transparent 60%),
    linear-gradient(180deg, #0b2540, #071a2e);
  box-shadow: 0 40px 80px -40px rgba(11, 37, 64, .55);
}
.final-box h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: #fff;
}
.final-box h2 span {
  background: linear-gradient(100deg, #42cdff, #05bcff 50%, #7fe0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final-box .form { background: #fff; border: 0; color: #0b2540; --text: #0b2540; --text-2: #3e5568; --muted: #5b7489; --line: #e6ebf2; --line-strong: #d9dfe8; --surface: #fff; --surface-2: #f6f8fc; --bg: #f6f8fc; --brand: #008fc5; }

/* ---------- Rodapé escuro ---------- */
.footer { background: var(--bg); border-top: 0; margin-top: 24px; }
.footer-tag { font-family: var(--f-display); font-weight: 700; text-transform: none; color: var(--text); }

/* Quando os links não cabem na pílula (fonte, zoom ou idioma), o main.js liga .nav-compact e eles vão para o menu ☰ */
.nav-shell { gap: 14px; max-width: 1320px; }
.nav-links { gap: 0; }
.nav-links a { padding: 8px 6px; font-size: 14px; }
.nav-actions { flex: none; gap: 6px; }
.nav-login { padding: 8px; }
.nav-actions .btn .arrow { display: none; }
.nav.nav-compact .nav-links { display: none; }
.nav.nav-compact .hamburger { display: inline-grid; }

@media (max-width: 860px) {
  .hero { margin: 12px 10px 0; border-radius: 22px; padding-top: 56px; }
  .nav { padding: 10px 10px 0; }
  .final-box { border-radius: 22px; }
}

/* ---------- Seletor de idioma (dropdown com bandeiras) ---------- */
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(11, 37, 64, .12); }
.lang-dd { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-btn:hover,
.lang-dd.open .lang-btn { background: var(--surface-2); color: var(--text); }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.lang-dd.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -16px rgba(11, 37, 64, .3);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60;
}
.lang-dd.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a,
.lang-row a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-2); font-weight: 600; }
.lang-menu a[aria-current="page"]::after { content: "✓"; margin-left: auto; font-size: 12px; }

.lang-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.lang-row a { border: 1px solid var(--line); }
.lang-row a[aria-current="page"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-2); font-weight: 600; }
@media (max-width: 1080px) { .nav-actions .lang-dd { display: none; } }

/* ---------- Hero centralizado (sem o card da esteira) ---------- */
.hero-grid.hero-full { grid-template-columns: 1fr; max-width: 1000px; text-align: center; }
.hero-full .hero-sub { margin-left: auto; margin-right: auto; max-width: 720px; }
.hero-full .hero-actions,
.hero-full .hero-proof { justify-content: center; }
.hero-full .hero-proof div { min-width: 140px; }

/* ---------- Diagrama "cérebro": cards ligados à logo da Unique ---------- */
.brain {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: start;
  margin-top: 56px;
}
.brain-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.brain-lines path { fill: none; stroke: rgba(160, 200, 230, .2); stroke-width: 1.4; transition: stroke .3s, stroke-width .3s; }
.brain-lines path.on { stroke: rgba(5, 188, 255, .85); stroke-width: 1.8; }
.brain-lines .dot { fill: #e8f7ff; filter: drop-shadow(0 0 4px rgba(5, 188, 255, .9)); }

.brain-col { position: relative; z-index: 1; }
.brain-col ul { list-style: none; margin: 0; padding: 0; }
.brain-title {
  margin: 0 0 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brain-left .brain-title { text-align: left; }
.brain-right .brain-title { text-align: right; }

.node { position: relative; display: flex; align-items: center; height: 46px; margin-bottom: 54px; }
.brain-left .node { justify-content: flex-start; }
.brain-right .node { justify-content: flex-end; }
/* os cards formam um arco em volta da logo: os do meio ficam mais perto dela */
.brain-left .node:nth-child(1), .brain-right .node:nth-child(1) { --x: 0px; }
.brain-left .node:nth-child(2), .brain-right .node:nth-child(2) { --x: 64px; }
.brain-left .node:nth-child(3), .brain-right .node:nth-child(3) { --x: 112px; }
.brain-left .node:nth-child(4), .brain-right .node:nth-child(4) { --x: 112px; }
.brain-left .node:nth-child(5), .brain-right .node:nth-child(5) { --x: 64px; }
.brain-left .node:nth-child(6), .brain-right .node:nth-child(6) { --x: 0px; }
.brain-left .node { padding-left: var(--x); }
.brain-right .node { padding-right: var(--x); }

.node-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  height: 46px;
  padding: 0 14px 0 7px;
  border-radius: 14px;
  border: 1px solid rgba(160, 200, 230, .2);
  background: rgba(13, 39, 68, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f2f7fc;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.node-card span { flex: 1; }
.node-ico {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(5, 188, 255, .12);
  color: #42cdff;
}
.node-ico svg { width: 17px; height: 17px; }
.node-bad .node-ico { background: rgba(255, 107, 107, .12); color: #ff8a8a; }
.node-state {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: rgba(160, 200, 230, .3);
  transition: background .25s, box-shadow .25s;
}
.node.open .node-card {
  border-color: rgba(5, 188, 255, .7);
  background: linear-gradient(90deg, rgba(5, 188, 255, .22), rgba(5, 188, 255, .06));
  box-shadow: 0 0 0 4px rgba(5, 188, 255, .08), 0 10px 30px -10px rgba(5, 188, 255, .5);
}
.node.open .node-state { background: #39e6a0; box-shadow: 0 0 0 4px rgba(57, 230, 160, .18); }
.node-bad.open .node-state { background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, .18); }
.node.open .node-ico { background: rgba(5, 188, 255, .22); }
.node-tag {
  align-self: center;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  margin-left: 8px;
  border-radius: 8px;
  border: 1px solid rgba(5, 188, 255, .35);
  background: rgba(5, 188, 255, .1);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #42cdff;
}

/* subcard de detalhes: aparece logo abaixo do card, no espaço entre as linhas */
.node-sub {
  position: absolute;
  top: calc(100% + 7px);
  display: flex;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.brain-left .node-sub { left: calc(var(--x) + 46px); }
.brain-right .node-sub { right: calc(var(--x) + 2px); }
.node.open .node-sub { opacity: 1; transform: none; }
.node-sub li {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid rgba(57, 230, 160, .25);
}
.node-sub li::before { content: "✓ "; }
.node-bad .node-sub li { color: var(--danger); background: var(--danger-soft); border-color: rgba(255, 107, 107, .3); }
.node-bad .node-sub li::before { content: ""; }

.brain-hub { position: relative; z-index: 2; grid-column: 2; grid-row: 1; align-self: center; text-align: center; padding-top: 30px; }
.hub-orb {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #15385c, #071a2e 70%);
  border: 1px solid rgba(160, 200, 230, .28);
  box-shadow: 0 0 0 10px rgba(5, 188, 255, .05), 0 0 60px rgba(5, 188, 255, .35), inset 0 0 30px rgba(5, 188, 255, .18);
}
.hub-orb::before,
.hub-orb::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(5, 188, 255, .7);
  border-right-color: rgba(5, 188, 255, .2);
  animation: hub-spin 6s linear infinite;
}
.hub-orb::after { inset: -24px; border-top-color: rgba(66, 205, 255, .35); animation-duration: 10s; animation-direction: reverse; }
@keyframes hub-spin { to { transform: rotate(360deg); } }
.hub-orb img { width: 74px; height: 74px; }
.hub-label {
  margin: 30px 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.hub-sub { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  .hub-orb::before, .hub-orb::after { animation: none; }
}

@media (max-width: 1080px) {
  .brain { grid-template-columns: 1fr 1fr; gap: 24px; min-height: 0; margin-top: 40px; }
  .brain-lines { display: none; }
  .brain-hub { grid-column: 1 / -1; grid-row: 1; align-self: center; padding: 0 0 12px; }
  .brain-left, .brain-right { grid-row: 2; }
  .brain-left .node, .brain-right .node { --x: 0px !important; justify-content: flex-start; height: auto; flex-wrap: wrap; margin-bottom: 14px; }
  .brain-right .brain-title { text-align: left; }
  .node-card { width: 100%; }
  .node-tag { display: none; }
  .brain-left .node-sub, .brain-right .node-sub { left: auto; right: auto; }
  .node-sub { position: static; opacity: 1; transform: none; flex-wrap: wrap; white-space: normal; margin-top: 8px; }
}
@media (max-width: 640px) {
  .brain { grid-template-columns: 1fr; }
  .brain-right { grid-row: 3; }
}

/* ---------- Janela de app (telefones / e-mails do decisor) ---------- */
.console.appwin {
  --aw-ink: #0b2540; --aw-muted: #64748b; --aw-dim: #94a3b8; --aw-line: #e8edf3;
  padding: 0; overflow: hidden; color: var(--aw-ink);
  background: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 22px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.06);
  font-family: 'DM Sans', system-ui, sans-serif;
}
.aw-bar { display: flex; align-items: flex-end; justify-content: space-between; height: 54px; padding: 0 18px 0 16px; background: #f1f4f8; border-bottom: 1px solid var(--aw-line); }
.aw-tab { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px 0 14px; margin-bottom: -1px; background: #fff; border: 1px solid var(--aw-line); border-bottom: 0; border-radius: 12px 12px 0 0; font-weight: 600; font-size: 15px; }
.aw-tab img { width: 24px; height: 24px; border-radius: 6px; }
.aw-ctrl { display: flex; gap: 16px; align-self: center; }
.aw-ctrl i { width: 11px; height: 11px; position: relative; display: block; }
.aw-ctrl i:nth-child(1)::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1.5px; background: var(--aw-dim); }
.aw-ctrl i:nth-child(2) { border: 1.5px solid var(--aw-dim); border-radius: 2px; }
.aw-ctrl i:nth-child(3)::before, .aw-ctrl i:nth-child(3)::after { content: ''; position: absolute; left: -1px; right: -1px; top: 5px; height: 1.5px; background: var(--aw-dim); transform: rotate(45deg); }
.aw-ctrl i:nth-child(3)::after { transform: rotate(-45deg); }
.aw-body { padding: 22px 22px 18px; }
.aw-who { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #f4f6f9; border-radius: 16px; }
.aw-who > div:nth-child(2) { flex: 1; min-width: 0; }
.aw-who b { display: block; font-size: 15.5px; font-weight: 600; }
.aw-who span { display: block; font-size: 13px; color: var(--aw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #00749e; background: #dcf1fa; }
.aw-who .aw-level { flex: none; font-size: 12.5px; font-weight: 600; color: #00749e; }
.aw-task { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; }
.aw-task b { flex: 1; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.aw-time { font-size: 13px; color: var(--aw-dim); font-variant-numeric: tabular-nums; }
.aw-spin { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2.5px solid #d6eef8; border-top-color: #008fc5; animation: aw-spin .8s linear infinite; }
.appwin.done .aw-spin { animation: none; border: 0; background: #16a34a 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
@keyframes aw-spin { to { transform: rotate(360deg); } }
.aw-th, .appwin .v-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) 128px; gap: 14px; align-items: center; }
.aw-th { padding: 0 0 10px; border-bottom: 1px solid #d9e0e8; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--aw-dim); }
.appwin .v-row { margin: 0; padding: 14px 0; background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--aw-line); }
.aw-num { min-width: 0; }
.aw-num b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-num small { display: block; font-size: 12.5px; color: var(--aw-muted); }
.appwin .v-steps { margin: 0; gap: 0; display: block; font-size: 13px; color: var(--aw-dim); line-height: 1.45; }
.appwin .v-step { font: inherit; padding: 0; border: 0; background: none; color: var(--aw-dim); }
.appwin .v-step + .v-step::before { content: ' · '; color: var(--aw-dim); }
.appwin .v-step.ok { color: #334155; background: none; }
.appwin .v-status { justify-self: start; white-space: nowrap; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; padding: 6px 11px; border-radius: 8px; color: var(--aw-dim); background: transparent; }
.appwin .v-status.ok { color: #15803d; background: #e8f7ee; }
.appwin .v-status.ok[data-tone="brand"] { color: #00749e; background: #e3f4fb; }
.appwin .v-status.ok[data-tone="warn"] { color: #b45309; background: #fdf3e3; }
.appwin .v-status.ok[data-tone="bad"] { color: #dc2626; background: #fdecec; }
.aw-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; font-size: 12.5px; color: var(--aw-dim); }
.aw-foot span:last-child { color: var(--aw-muted); }
.aw-li .bi { color: #0a66c2; }
@media (max-width: 640px) {
  .aw-body { padding: 18px 16px 14px; }
  .aw-th { display: none; }
  .aw-th, .appwin .v-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .appwin .v-steps { grid-column: 1; grid-row: 2; }
  .appwin .v-status { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .aw-who .aw-level { display: none; }
}

/* Vídeo no lugar do print da plataforma */
.screen-video { display: block; width: 100%; height: auto; border-radius: 18px; background: #fff; }
@media (max-width: 640px) { .wide-shot.screen .screen-video { border-radius: 12px; } }

/* Balão "Lookalike B2B" sobre o ICP no menu */
.nav-links a.nav-icp { position: relative; }
.nav-tip {
  position: absolute; bottom: calc(100% - 3px); right: -4px;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, #00749e, #008fc5 60%, #05bcff);
  box-shadow: 0 4px 12px -4px rgba(0, 116, 158, .6);
  animation: nav-tip-float 2.8s ease-in-out infinite;
}
.nav-tip::after {
  content: ''; position: absolute; top: 100%; right: 20px;
  border: 5px solid transparent; border-top-color: #0089bd; border-bottom: 0;
}
html[lang^="en"] .nav-tip { right: auto; left: -4px; }
html[lang^="en"] .nav-tip::after { right: auto; left: 20px; }
@keyframes nav-tip-float { 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .nav-tip { animation: none; } }

/* Selo "B2B" ao lado de Explorar Mercado (mesmas cores do balão Lookalike B2B) */
.nav-b2b {
  display: inline-block; margin-left: -1px; padding: 1px 4px; border-radius: 999px;
  font-family: var(--f-body); font-size: 8.5px; font-weight: 700; line-height: 1.25; letter-spacing: .03em;
  color: #fff; vertical-align: 2px;
  background: linear-gradient(135deg, #00749e, #008fc5 60%, #05bcff);
  border: 1px solid #00749e;
  box-shadow: 0 3px 10px -4px rgba(0, 116, 158, .6);
}
.mobile-nav .nav-b2b { font-size: 10px; padding: 1px 5px; vertical-align: 4px; }
@media (max-width: 1440px) { .nav-links a { padding-left: 7px; padding-right: 7px; font-size: 13.5px; } }

/* ---------- Clonagem de ICP: diagrama na janela branca ---------- */
.icp-win .aw-task { margin: 4px 0 6px; }
.icp-map { position: relative; height: 380px; }
.icp-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.icp-links path { fill: none; stroke: #6cc3e6; stroke-width: 1.8; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: icp-flow 1.6s linear infinite; }
@keyframes icp-flow { to { stroke-dashoffset: -22; } }
.icp-seed { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border: 1.5px solid #008fc5; border-radius: 16px; box-shadow: 0 10px 28px -12px rgba(0, 143, 197, .55), 0 0 0 6px #e8f6fc; white-space: nowrap; }
.icp-seed img { width: 28px; height: 28px; border-radius: 7px; }
.icp-seed b { display: block; font-size: 15px; font-weight: 600; }
.icp-seed small { display: block; font-size: 12px; color: var(--aw-muted); }
.icp-pt { position: absolute; width: 41%; padding: 12px 14px; background: #f4f6f9; border: 1px solid var(--aw-line); border-radius: 14px; }
.icp-pt.tl { left: 0; top: 0; } .icp-pt.tr { right: 0; top: 0; }
.icp-pt.bl { left: 0; bottom: 0; } .icp-pt.br { right: 0; bottom: 0; }
.icp-pt b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.icp-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 7px; color: #15803d; background: #e8f7ee; white-space: nowrap; }
.icp-tag[data-tone="brand"] { color: #00749e; background: #e3f4fb; }
.icp-tag[data-tone="warn"] { color: #b45309; background: #fdf3e3; }
.icp-tag[data-tone="ink"] { color: #334155; background: #e9edf3; }
.icp-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--aw-line); }
.icp-foot > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.icp-foot i { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; }
.icp-foot i svg { width: 15px; height: 15px; }
.icp-foot i.ok { color: #15803d; background: #e8f7ee; }
.icp-foot i.ai { color: #d97757; background: #fbeee8; }
.icp-foot b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.icp-foot small { display: block; font-size: 12px; color: var(--aw-muted); line-height: 1.3; }
@media (max-width: 640px) {
  .icp-map { height: 330px; }
  .icp-pt { width: 46%; padding: 10px; }
  .icp-pt b { font-size: 13px; }
  .icp-tag { font-size: 11px; padding: 3px 7px; white-space: normal; }
  .icp-seed { padding: 9px 11px; gap: 8px; }
  .icp-seed small { display: none; }
  .icp-foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .icp-links path { animation: none; } }

/* ---------- Hero empilhado: texto em cima, vídeo da plataforma embaixo ---------- */
.hero-produto .hero-grid.hero-stack { grid-template-columns: 1fr; gap: 44px; text-align: center; }
.hero-stack .hero-copy { max-width: 880px; margin: 0 auto; }
.hero-stack .crumbs { justify-content: center; }
.hero-produto .hero-stack h1 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.06; }
.hero-stack .hero-sub { font-size: clamp(16px, 1.3vw, 18px); max-width: 700px; margin: 20px auto 0; }
.hero-stack .hero-actions,
.hero-stack .hero-proof { justify-content: center; }
.hero-stack .hero-proof div { min-width: 130px; }
.hero-stack .hero-visual { max-width: 1180px; width: 100%; margin: 0 auto; }
.hero-stack .hero-proof { display: none; } /* os contadores do vídeo já mostram esses números */
.hero-produto .hero-grid.hero-stack { gap: 36px; }

/* ---------- Perguntas frequentes da home ---------- */
.home-faq {
  max-width: 880px;
  margin: 48px auto 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.home-faq details + details { border-top: 1px solid var(--line); }
.home-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.01em;
  transition: background .2s;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary:hover { background: var(--surface-2); }
.home-faq summary:focus-visible { outline: 2px solid var(--brand-2); outline-offset: -2px; }
.home-faq summary .bi { flex: none; margin-top: 3px; color: var(--muted); transition: transform .2s, color .2s; }
.home-faq details[open] summary .bi { transform: rotate(180deg); color: var(--brand); }
.home-faq-a { margin: 0; padding: 0 22px 20px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.home-faq-a a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .home-faq summary { padding: 16px 18px; font-size: 15.5px; }
  .home-faq-a { padding: 0 18px 18px; font-size: 15px; }
}
