/* ============================================================
   VixScraper — site institucional (redesign 28/10/2026)
   Identidade: grafite + brasa→âmbar, Sora (títulos) + Inter (texto)
   Sem dependências além das fontes. Tudo em rem.
   ============================================================ */

:root {
  --bg: #0d0f15;
  --bg-2: #11141d;
  --surface: #151925;
  --card: #181d2b;
  --card-2: #1d2233;
  --border: rgba(255, 255, 255, 0.08);
  --border-forte: rgba(255, 255, 255, 0.14);
  --text: #f2f4f8;
  --muted: #9aa3b5;
  --muted-2: #6d7689;
  --brasa: #f0742c;
  --brasa-claro: #ff8d4d;
  --ambar: #ffb547;
  --verde: #3ecf8e;
  --grad: linear-gradient(100deg, var(--brasa), var(--ambar));
  --grad-suave: linear-gradient(100deg, rgba(240, 116, 44, 0.14), rgba(255, 181, 71, 0.14));
  --sombra: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.45);
  --sombra-brasa: 0 0.75rem 2.5rem rgba(240, 116, 44, 0.35);
  --radius: 1.25rem;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --container: 72rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; letter-spacing: -0.02em; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

::selection { background: rgba(240, 116, 44, 0.4); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- fundo decorativo ---------- */
.fundo-grade {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
}
.fundo-brilho {
  position: fixed; z-index: -1; pointer-events: none; border-radius: 50%;
  filter: blur(90px); opacity: 0.17;
}
.fundo-brilho--1 { width: 44rem; height: 30rem; top: -12rem; left: -10rem; background: var(--brasa); }
.fundo-brilho--2 { width: 36rem; height: 26rem; top: 4rem; right: -14rem; background: #4457d4; opacity: 0.12; }

/* ---------- textos utilitários ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.selo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ambar);
  background: rgba(255, 181, 71, 0.08);
  border: 1px solid rgba(255, 181, 71, 0.25);
  border-radius: 99rem; padding: 0.4rem 0.9rem;
}
.selo::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--grad); }

.section { padding: 6.5rem 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin: 1rem 0 0.9rem; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; border-radius: 0.9rem; padding: 0.85rem 1.6rem;
  border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn--primario { background: var(--grad); color: #1a1004; box-shadow: var(--sombra-brasa); }
.btn--primario:hover { transform: translateY(-2px); box-shadow: 0 1rem 3rem rgba(240, 116, 44, 0.5); }
.btn--primario::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); animation: brilho-corre 4.5s ease-in-out infinite;
}
@keyframes brilho-corre { 0%, 55% { left: -80%; } 75%, 100% { left: 130%; } }
.btn--contorno { border-color: var(--border-forte); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn--contorno:hover { border-color: var(--brasa); color: var(--brasa-claro); transform: translateY(-2px); }
.btn--grande { padding: 1.05rem 2.1rem; font-size: 1.05rem; border-radius: 1.1rem; }

/* ---------- navegação ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.rolou {
  background: rgba(13, 15, 21, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.nav-logo img { height: 2rem; width: auto; }
.nav-logo b { color: var(--brasa); font-weight: 800; }
.nav-links { display: flex; gap: 1.4rem; font-size: 0.93rem; color: var(--muted); }
.nav-links a { position: relative; padding: 0.25rem 0; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -0.2rem; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-acoes { display: flex; align-items: center; gap: 0.75rem; }
.nav-acoes .btn { padding: 0.6rem 1.2rem; font-size: 0.92rem; }
.nav-burger { display: none; background: none; border: 1px solid var(--border-forte); border-radius: 0.7rem; width: 2.75rem; height: 2.75rem; color: var(--text); }

.nav-mobile {
  display: none; flex-direction: column; gap: 0.25rem; padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(13, 15, 21, 0.97); border-bottom: 1px solid var(--border);
}
.nav-mobile a { padding: 0.65rem 0.5rem; border-radius: 0.6rem; color: var(--muted); font-weight: 500; }
.nav-mobile a:hover { background: var(--surface); color: var(--text); }
.nav-mobile.aberto { display: flex; }

/* ---------- hero ---------- */
.hero { padding: 9.5rem 0 5.5rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; margin: 1.1rem 0 1.25rem; }
.hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero-nota { margin-top: 1rem; font-size: 0.88rem; color: var(--muted-2); display: flex; align-items: center; gap: 0.45rem; }
.hero-nota svg { color: var(--verde); flex: none; }

.hero-stats { display: flex; gap: 2.25rem; margin-top: 2.75rem; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.hero-stat span { font-size: 0.85rem; color: var(--muted-2); }

/* demo animada do hero */
.demo {
  background: linear-gradient(180deg, var(--card), var(--surface));
  border: 1px solid var(--border-forte); border-radius: var(--radius);
  box-shadow: var(--sombra); overflow: hidden; position: relative;
}
.demo::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.demo-topo { display: flex; align-items: center; gap: 0.45rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); }
.demo-topo i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--border-forte); }
.demo-topo i:first-child { background: rgba(240, 116, 44, 0.7); }
.demo-topo span { margin-left: auto; font-size: 0.75rem; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; }
.demo-corpo { padding: 1.25rem 1.1rem 1.35rem; }
.demo-busca {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--bg); border: 1px solid var(--border-forte); border-radius: 0.8rem;
  padding: 0.7rem 0.95rem; font-size: 0.95rem; min-height: 2.9rem;
}
.demo-busca svg { color: var(--brasa); flex: none; }
.demo-busca .cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--ambar); margin-left: 1px; vertical-align: text-bottom; animation: pisca 0.9s steps(1) infinite; }
@keyframes pisca { 50% { opacity: 0; } }

.demo-etapas { display: flex; gap: 0.4rem; margin: 1rem 0 1.1rem; }
.demo-etapa {
  flex: 1; text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--muted-2);
  padding: 0.45rem 0.2rem; border-radius: 0.55rem; border: 1px solid var(--border);
  background: var(--bg); transition: all 0.4s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-etapa.ativa { color: #1a1004; background: var(--grad); border-color: transparent; box-shadow: 0 0.4rem 1.2rem rgba(240, 116, 44, 0.35); }
.demo-etapa.feita { color: var(--ambar); border-color: rgba(255, 181, 71, 0.35); background: rgba(255, 181, 71, 0.07); }

.demo-leads { display: grid; gap: 0.55rem; min-height: 13.2rem; }
.demo-lead {
  display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 0.75rem; align-items: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: 0.8rem;
  padding: 0.6rem 0.8rem; opacity: 0; transform: translateY(0.6rem);
}
.demo-lead.visivel { animation: lead-entra 0.5s ease forwards; }
@keyframes lead-entra { to { opacity: 1; transform: none; } }
.demo-lead-av {
  width: 2.4rem; height: 2.4rem; border-radius: 0.65rem; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #1a1004; background: var(--grad);
}
.demo-lead-nome { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.demo-lead-info { font-size: 0.76rem; color: var(--muted-2); display: flex; gap: 0.7rem; flex-wrap: wrap; }
.demo-lead-info b { color: var(--ambar); font-weight: 600; }
.demo-lead-tags { display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-end; }
.demo-tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; border-radius: 99rem; padding: 0.15rem 0.55rem;
  background: rgba(62, 207, 142, 0.12); color: var(--verde); border: 1px solid rgba(62, 207, 142, 0.3);
}
.demo-tag--adv { background: rgba(255, 181, 71, 0.1); color: var(--ambar); border-color: rgba(255, 181, 71, 0.3); }
.demo-rodape { display: flex; justify-content: space-between; align-items: center; margin-top: 1.05rem; font-size: 0.8rem; color: var(--muted-2); }
.demo-rodape b { color: var(--text); font-family: var(--font-display); }

/* fita de segmentos */
.fita { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 0.9rem 0; }
.fita-trilho { display: flex; gap: 2.5rem; width: max-content; animation: fita-corre 38s linear infinite; }
@keyframes fita-corre { to { transform: translateX(-50%); } }
.fita span { font-size: 0.9rem; color: var(--muted-2); white-space: nowrap; display: flex; align-items: center; gap: 0.55rem; }
.fita span::before { content: ''; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--grad); opacity: 0.8; }

/* ---------- fluxo (como funciona) ---------- */
.fluxo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: passo; }
.fluxo-passo { position: relative; padding: 0 1.1rem; text-align: center; }
.fluxo-passo:not(:last-child)::after {
  content: ''; position: absolute; top: 2.1rem; left: calc(50% + 2.6rem); width: calc(100% - 5.2rem); height: 2px;
  background: linear-gradient(90deg, rgba(240, 116, 44, 0.5), rgba(255, 181, 71, 0.15));
}
.fluxo-passo:not(:last-child)::before {
  content: ''; position: absolute; top: calc(2.1rem - 2px); left: calc(50% + 2.6rem); width: 0.5rem; height: 6px;
  border-radius: 6px; background: var(--ambar); opacity: 0; z-index: 1;
}
.visto .fluxo-passo:not(:last-child)::before { animation: particula 2.6s ease-in-out infinite; }
.fluxo-passo:nth-child(2)::before { animation-delay: 0.85s !important; }
.fluxo-passo:nth-child(3)::before { animation-delay: 1.7s !important; }
@keyframes particula {
  0% { left: calc(50% + 2.6rem); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(150% - 3.1rem); opacity: 0; }
}
.fluxo-icone {
  width: 4.2rem; height: 4.2rem; margin: 0 auto 1.1rem; border-radius: 1.15rem;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--card); border: 1px solid var(--border-forte); color: var(--ambar);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.fluxo-icone::after {
  content: counter(passo); counter-increment: passo;
  position: absolute; top: -0.5rem; right: -0.5rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--grad); color: #1a1004; font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
}
.fluxo-passo:hover .fluxo-icone { transform: translateY(-0.3rem); border-color: var(--brasa); box-shadow: var(--sombra-brasa); }
.fluxo-passo h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.fluxo-passo p { font-size: 0.92rem; color: var(--muted); }

/* ---------- modos e campos ---------- */
.modos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.modo {
  background: var(--card); border: 1px solid var(--border-forte); border-radius: var(--radius);
  padding: 2rem 1.75rem; position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modo:hover { transform: translateY(-0.35rem); box-shadow: var(--sombra); }
.modo--adv { border-color: rgba(255, 181, 71, 0.4); background: linear-gradient(180deg, rgba(255, 181, 71, 0.06), var(--card) 35%); }
.modo--adv::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.modo-cabeca { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.modo-cabeca h3 { font-size: 1.45rem; }
.modo-credito {
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  border-radius: 0.8rem; padding: 0.45rem 0.85rem; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--border-forte); color: var(--text);
}
.modo-credito b { font-size: 1.3rem; color: var(--ambar); }
.modo > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.4rem; }
.campos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.campo {
  font-size: 0.82rem; font-weight: 500; padding: 0.38rem 0.75rem; border-radius: 99rem;
  background: var(--bg); border: 1px solid var(--border); color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.campo svg { width: 0.85rem; height: 0.85rem; color: var(--verde); }
.campo--novo { border-color: rgba(255, 181, 71, 0.45); color: var(--ambar); background: rgba(255, 181, 71, 0.07); font-weight: 600; }
.campo--novo svg { color: var(--ambar); }
.campos-titulo { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin: 1.1rem 0 0.65rem; }
.modo-nota { font-size: 0.85rem; color: var(--muted-2); margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px dashed var(--border-forte); }
.modo-nota b { color: var(--ambar); }

.creditos-regra {
  margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.regra {
  background: var(--surface); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.2rem 1.25rem; display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted);
}
.regra svg { flex: none; color: var(--ambar); margin-top: 0.1rem; }
.regra b { color: var(--text); display: block; margin-bottom: 0.15rem; font-weight: 600; }

/* ---------- VixAnalyzer ---------- */
.analistas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.analista {
  background: var(--card); border: 1px solid var(--border-forte); border-radius: var(--radius);
  padding: 2rem 1.65rem 1.75rem; position: relative; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.analista:hover { transform: translateY(-0.4rem); box-shadow: var(--sombra); border-color: rgba(240, 116, 44, 0.45); }
.analista--destaque { border-color: rgba(255, 181, 71, 0.5); background: linear-gradient(180deg, rgba(240, 116, 44, 0.08), var(--card) 40%); }
.analista-selo {
  position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #1a1004; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 99rem; padding: 0.3rem 0.9rem; white-space: nowrap;
}
.analista-icone {
  width: 3.4rem; height: 3.4rem; border-radius: 1rem; margin-bottom: 1.1rem;
  background: var(--grad-suave); border: 1px solid rgba(255, 181, 71, 0.3); color: var(--ambar);
  display: flex; align-items: center; justify-content: center;
}
.analista h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.analista-tempo { font-size: 0.8rem; color: var(--muted-2); margin-bottom: 0.9rem; }
.analista > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.2rem; }
.analista ul { display: grid; gap: 0.55rem; margin-bottom: 1.4rem; }
.analista li { font-size: 0.88rem; color: var(--muted); display: flex; gap: 0.55rem; align-items: flex-start; }
.analista li svg { flex: none; color: var(--verde); margin-top: 0.22rem; }
.analista-rodape {
  margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between;
}
.analista-rodape b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ambar); }
.analista-rodape span { font-size: 0.8rem; color: var(--muted-2); }

/* ---------- hub / recursos ---------- */
.recursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.recurso {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.recurso:hover { transform: translateY(-0.3rem); border-color: rgba(240, 116, 44, 0.4); box-shadow: var(--sombra); }
.recurso-icone {
  width: 3rem; height: 3rem; border-radius: 0.9rem; margin-bottom: 1.1rem;
  background: var(--grad-suave); border: 1px solid rgba(255, 181, 71, 0.25); color: var(--ambar);
  display: flex; align-items: center; justify-content: center;
}
.recurso h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.recurso p { font-size: 0.93rem; color: var(--muted); }
.recurso p b { color: var(--ambar); font-weight: 600; }

/* ---------- planos ---------- */
.planos-controles { display: flex; justify-content: center; margin-bottom: 3rem; }
.alternar {
  display: inline-flex; background: var(--surface); border: 1px solid var(--border-forte);
  border-radius: 99rem; padding: 0.3rem; gap: 0.25rem; position: relative;
}
.alternar button {
  background: none; border: none; color: var(--muted); font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 1.5rem; border-radius: 99rem; transition: color 0.25s, background 0.25s;
}
.alternar button.ativo { background: var(--grad); color: #1a1004; }
.alternar .selo-desc { font-size: 0.72rem; font-weight: 700; margin-left: 0.4rem; color: var(--verde); }
.alternar button.ativo .selo-desc { color: #0a3d24; }

.planos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.plano {
  background: var(--card); border: 1px solid var(--border-forte); border-radius: var(--radius);
  padding: 1.9rem 1.5rem 1.6rem; display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plano:hover { transform: translateY(-0.4rem); box-shadow: var(--sombra); }
.plano--destaque { border-color: rgba(240, 116, 44, 0.55); background: linear-gradient(180deg, rgba(240, 116, 44, 0.09), var(--card) 42%); }
.plano--destaque::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); }
.plano-selo {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #1a1004; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 99rem; padding: 0.32rem 0.95rem; white-space: nowrap;
}
.plano-selo--teste { background: var(--surface); color: var(--verde); border: 1px solid rgba(62, 207, 142, 0.4); }
.plano h3 { font-size: 1.25rem; }
.plano-desc { font-size: 0.85rem; color: var(--muted-2); margin: 0.3rem 0 1.2rem; min-height: 4.3rem; }

.plano-preco { margin-bottom: 0.4rem; }
.preco-cheio { font-size: 0.9rem; color: var(--muted-2); text-decoration: line-through; display: block; min-height: 1.4rem; }
/* Preço e "/mês no Pix" em linhas próprias: com valores de 3 dígitos o texto quebrava só em alguns cartões. */
.preco-pix { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.preco-pix b { line-height: 1.1; }
.preco-pix b { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.preco-pix > span { font-size: 0.85rem; color: var(--muted-2); }
.preco-meio { font-size: 0.8rem; color: var(--muted-2); min-height: 1.3rem; }
.preco-meio b { color: var(--muted); font-weight: 600; }
.plano-pix-selo {
  display: inline-flex; align-items: center; gap: 0.35rem; margin: 0.55rem 0 1.2rem;
  font-size: 0.73rem; font-weight: 700; color: var(--verde);
  background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.3);
  border-radius: 99rem; padding: 0.25rem 0.7rem; width: fit-content;
}
.plano-creditos {
  display: flex; align-items: baseline; gap: 0.45rem; padding: 0.8rem 1rem; border-radius: 0.85rem;
  background: var(--bg); border: 1px solid var(--border-forte); margin-bottom: 1.2rem;
}
.plano-creditos b { font-family: var(--font-display); font-size: 1.35rem; color: var(--ambar); }
.plano-creditos span { font-size: 0.8rem; color: var(--muted-2); }
.plano ul { display: grid; gap: 0.55rem; margin-bottom: 1.5rem; }
.plano li { font-size: 0.87rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.plano li svg { flex: none; color: var(--verde); margin-top: 0.22rem; }
.plano li.indisponivel { color: var(--muted-2); opacity: 0.6; }
.plano li.indisponivel svg { color: var(--muted-2); }
.plano .btn { margin-top: auto; width: 100%; }
.planos-nota { text-align: center; font-size: 0.88rem; color: var(--muted-2); margin-top: 2rem; }
.planos-nota b { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-lista { max-width: 50rem; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; transition: border-color 0.25s; }
.faq-item[open] { border-color: rgba(240, 116, 44, 0.45); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mais { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--border-forte); display: flex; align-items: center; justify-content: center; color: var(--ambar); transition: transform 0.3s ease, background 0.3s; font-weight: 400; }
.faq-item[open] .faq-mais { transform: rotate(45deg); background: var(--grad); color: #1a1004; border-color: transparent; }
.faq-corpo { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.95rem; }
.faq-corpo a { color: var(--ambar); text-decoration: underline; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, rgba(240, 116, 44, 0.16), rgba(255, 181, 71, 0.07));
  border: 1px solid rgba(240, 116, 44, 0.35); border-radius: 1.75rem;
  padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; width: 30rem; height: 30rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 116, 44, 0.25), transparent 65%);
  top: -15rem; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.cta-final h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.9rem; position: relative; }
.cta-final p { color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; position: relative; }
.cta-final .hero-ctas { justify-content: center; position: relative; }

/* ---------- contato ---------- */
.contato-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
.contato-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1.1rem; padding: 1.7rem 1.5rem;
  text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.contato-card:hover { transform: translateY(-0.25rem); border-color: rgba(240, 116, 44, 0.4); }
.contato-card svg { color: var(--ambar); margin: 0 auto 0.8rem; display: block; }
.contato-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.contato-card p, .contato-card a { font-size: 0.9rem; color: var(--muted); }
.contato-card a:hover { color: var(--ambar); }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--border); background: var(--bg-2); padding: 4rem 0 2rem; }
.rodape-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.rodape-marca img { width: 11.25rem; height: auto; margin-bottom: 1rem; }
.rodape-marca p { font-size: 0.9rem; color: var(--muted-2); max-width: 18rem; }
.rodape h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.rodape ul { display: grid; gap: 0.55rem; }
.rodape ul a { font-size: 0.92rem; color: var(--muted); transition: color 0.2s; }
.rodape ul a:hover { color: var(--ambar); }
.rodape-base {
  border-top: 1px solid var(--border); padding-top: 1.75rem; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 0.75rem; font-size: 0.82rem; color: var(--muted-2);
}

/* ---------- WhatsApp flutuante ---------- */
.zap {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0.6rem 1.8rem rgba(37, 211, 102, 0.45); transition: transform 0.25s ease;
}
.zap:hover { transform: scale(1.08); }

/* ---------- reveal por rolagem ---------- */
.reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visto { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---------- responsivo ---------- */
@media (max-width: 64rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero { padding-top: 7.5rem; }
  .fluxo { grid-template-columns: 1fr 1fr; row-gap: 2.75rem; }
  .fluxo-passo:nth-child(2)::after, .fluxo-passo:nth-child(2)::before { display: none; }
  .analistas, .recursos, .creditos-regra { grid-template-columns: 1fr 1fr; }
  .planos { grid-template-columns: 1fr 1fr; }
  .rodape-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; align-items: center; justify-content: center; }
  .nav-acoes .btn--contorno { display: none; }
}
@media (max-width: 40rem) {
  .section { padding: 4.5rem 0; }
  .fluxo { grid-template-columns: 1fr; }
  .fluxo-passo::after, .fluxo-passo::before { display: none !important; }
  .modos, .analistas, .recursos, .planos, .creditos-regra, .contato-grid, .rodape-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .demo-etapas { flex-wrap: wrap; }
  .demo-etapa { flex: 1 1 40%; }
  .analista--destaque { order: -1; }
}

/* ---------- acessibilidade ---------- */
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .demo-lead { opacity: 1; transform: none; }
  .fita-trilho { animation: none; }
}

/* ============================================================
   Retrabalho 28/10/2026 — abertura, fundo interativo, Quem Somos,
   chave Google, rodapé e microinterações
   ============================================================ */

/* ---------- abertura (splash) ---------- */
#abertura {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, #1a1e2b 0%, #0d0f15 70%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s;
}
#abertura.saindo { opacity: 0; visibility: hidden; pointer-events: none; }
body.com-abertura { overflow: hidden; }
.abertura-miolo { text-align: center; }
.abertura-simbolo { filter: drop-shadow(0 0 1.6rem rgba(255, 140, 0, 0.45)); }
.ab-barra { opacity: 0; transform-box: fill-box; transform-origin: center; }
.ab-barra--1 { animation: ab-entra-esq 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards; }
.ab-barra--2 { animation: ab-entra-dir 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.17s forwards; }
.ab-barra--3 { animation: ab-entra-esq 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.29s forwards; }
@keyframes ab-entra-esq { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes ab-entra-dir { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.ab-faisca { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ab-faisca 0.5s ease-out forwards; }
.ab-faisca:nth-of-type(1) { animation-delay: 0.5s; }
.ab-faisca:nth-of-type(2) { animation-delay: 0.57s; }
.ab-faisca:nth-of-type(3) { animation-delay: 0.64s; }
.ab-faisca:nth-of-type(4) { animation-delay: 0.71s; }
.ab-faisca:nth-of-type(5) { animation-delay: 0.78s; }
.ab-faisca:nth-of-type(6) { animation-delay: 0.85s; }
@keyframes ab-faisca { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }
.abertura-nome { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: 0.02em; }
.ab-letra { display: inline-block; opacity: 0; transform: translateY(0.5rem); animation: ab-letra 0.35s ease-out forwards; color: var(--text); }
.ab-letra.ab-vix { color: var(--brasa); }
.abertura-nome .ab-letra:nth-child(1) { animation-delay: 0.50s; }
.abertura-nome .ab-letra:nth-child(2) { animation-delay: 0.545s; }
.abertura-nome .ab-letra:nth-child(3) { animation-delay: 0.59s; }
.abertura-nome .ab-letra:nth-child(4) { animation-delay: 0.635s; }
.abertura-nome .ab-letra:nth-child(5) { animation-delay: 0.68s; }
.abertura-nome .ab-letra:nth-child(6) { animation-delay: 0.725s; }
.abertura-nome .ab-letra:nth-child(7) { animation-delay: 0.77s; }
.abertura-nome .ab-letra:nth-child(8) { animation-delay: 0.815s; }
.abertura-nome .ab-letra:nth-child(9) { animation-delay: 0.86s; }
.abertura-nome .ab-letra:nth-child(10) { animation-delay: 0.905s; }
@keyframes ab-letra { to { opacity: 1; transform: none; } }
.abertura-frase {
  margin-top: 0.6rem; font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted-2); opacity: 0; animation: ab-letra 0.5s ease-out 1.05s forwards;
}

/* ---------- fundo interativo ---------- */
#fundoCanvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#fundoCursor {
  position: fixed; z-index: -1; pointer-events: none;
  width: 38rem; height: 38rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 116, 44, 0.09), rgba(255, 181, 71, 0.04) 45%, transparent 70%);
  transform: translate(-50%, -50%); left: var(--mx, 50vw); top: var(--my, 35vh);
  transition: opacity 0.4s; opacity: 0;
}
body.tem-mouse #fundoCursor { opacity: 1; }
#barraProgresso {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- marca na navegação ---------- */
.nav-logo { letter-spacing: 0.01em; font-weight: 800; }
.nav-logo b { font-weight: 800; }
.marca-simbolo { flex: none; }
.marca-faisca { animation: marca-flutua 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mf-2 { animation-delay: 0.6s; animation-duration: 3.6s; }
.mf-3 { animation-delay: 1.1s; animation-duration: 4s; }
@keyframes marca-flutua { 0%, 100% { transform: translateY(0); opacity: 0.75; } 50% { transform: translateY(-2.5px); opacity: 1; } }

/* traço que se desenha sob os títulos */
.section-head h2 { position: relative; padding-bottom: 1.05rem; }
.section-head h2::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) scaleX(0);
  width: 4.5rem; height: 3px; border-radius: 3px; background: var(--grad);
  transform-origin: center; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
.visto .section-head h2::after, .section-head.visto h2::after { transform: translateX(-50%) scaleX(1); }

/* ---------- Quem somos ---------- */
.sobre { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2.5rem; align-items: center; margin-bottom: 3.25rem; }
.sobre-texto p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.02rem; }
.sobre-texto strong { color: var(--text); }
.sobre-pilares { display: grid; gap: 1rem; }
.pilar {
  display: flex; gap: 1rem; align-items: center; background: var(--card);
  border: 1px solid var(--border); border-radius: 1rem; padding: 1.05rem 1.2rem;
  transition: transform 0.3s ease, border-color 0.3s;
}
.pilar:hover { transform: translateX(0.35rem); border-color: rgba(240, 116, 44, 0.45); }
.pilar-icone {
  flex: none; width: 2.8rem; height: 2.8rem; border-radius: 0.85rem; color: var(--ambar);
  background: var(--grad-suave); border: 1px solid rgba(255, 181, 71, 0.3);
  display: flex; align-items: center; justify-content: center;
}
.pilar h4 { font-size: 0.98rem; }
.pilar p { font-size: 0.85rem; color: var(--muted-2); }

/* ---------- chave Google própria ---------- */
.chave-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.chave-titulo { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 1rem 0 1rem; font-weight: 700; }
.chave-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.chave-sub strong { color: var(--ambar); }
.chave-lista { display: grid; gap: 0.85rem; }
.chave-lista li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.chave-lista li svg { flex: none; color: var(--verde); margin-top: 0.25rem; }
.chave-lista b { color: var(--text); }

.chave-painel {
  background: linear-gradient(180deg, var(--card-2), var(--surface));
  border: 1px solid var(--border-forte); border-radius: var(--radius);
  box-shadow: var(--sombra); padding: 1.5rem 1.4rem; position: relative; overflow: hidden;
}
.chave-painel::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.chave-painel-topo { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.35rem; }
.chave-painel-topo svg { color: var(--ambar); flex: none; }
.chave-painel-topo b { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.chave-painel-topo span { font-size: 0.78rem; color: var(--muted-2); }
.chave-ativa {
  margin-left: auto; font-style: normal; font-size: 0.72rem; font-weight: 700;
  color: var(--verde); background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.35);
  border-radius: 99rem; padding: 0.25rem 0.7rem;
}
.chave-medidor { background: var(--bg); border: 1px solid var(--border-forte); border-radius: 0.9rem; padding: 1rem 1.1rem 1.15rem; margin-bottom: 1rem; }
.chave-medidor-rotulo { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.3rem; }
.chave-medidor-rotulo b { color: var(--text); font-family: var(--font-display); }
.chave-barra { position: relative; height: 0.65rem; border-radius: 99rem; background: var(--surface); border: 1px solid var(--border); }
.chave-barra i {
  display: block; height: 100%; width: 0; border-radius: 99rem; background: var(--grad);
  box-shadow: 0 0 0.8rem rgba(240, 116, 44, 0.5); transition: width 0.3s linear;
}
.chave-barra em {
  position: absolute; top: -0.3rem; bottom: -0.3rem; left: 80%; width: 2px;
  background: var(--verde); border-radius: 2px;
}
.chave-barra em::after {
  content: 'limite'; position: absolute; top: -1.25rem; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--verde);
}
.chave-medidor-notas { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted-2); margin-top: 0.85rem; }
.chave-medidor-notas b { color: var(--verde); }
.chave-linhas { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.chave-linha {
  display: flex; justify-content: space-between; gap: 1rem; font-size: 0.87rem;
  color: var(--muted); background: var(--bg); border: 1px solid var(--border);
  border-radius: 0.7rem; padding: 0.6rem 0.9rem;
}
.chave-linha b { color: var(--text); font-weight: 600; }
.chave-linha b.verde { color: var(--verde); }
.chave-painel-nota { font-size: 0.8rem; color: var(--muted-2); }

/* ---------- fluxo: passos acendendo em sequência ---------- */
.fluxo-passo.aceso .fluxo-icone {
  border-color: var(--brasa); color: #1a1004; background: var(--grad);
  box-shadow: var(--sombra-brasa); transform: translateY(-0.3rem);
}
.fluxo-icone { transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s, background 0.45s, color 0.45s; }

/* ---------- cartões com leve 3D (tilt) ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- rodapé ---------- */
.rodape { position: relative; background: #0a0c11; padding-top: 4.5rem; }
.rodape::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: 0.8; }
.rodape-logo { width: 11.25rem; height: auto; filter: brightness(0) invert(1); margin-bottom: 1.1rem; }
.rodape-marca p { color: var(--muted-2); }

@media (max-width: 64rem) {
  .sobre, .chave-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  #abertura { display: none; }
  .ab-barra, .ab-faisca, .ab-letra, .abertura-frase { animation: none; opacity: 1; transform: none; }
  #fundoCanvas, #fundoCursor { display: none; }
  .section-head h2::after { transform: translateX(-50%) scaleX(1); }
}

/* ============================================================
   Demonstração por etapas e janela dos documentos legais (28/10/2026)
   ============================================================ */

/* palco da demonstração: altura fixa para nada pular entre as cenas */
.demo-leads { position: relative; min-height: 21rem; align-content: start; }

/* --- Busca: mapa com radar e pinos --- */
.demo-mapa {
  position: absolute; inset: 0; border-radius: 0.9rem; overflow: hidden;
  border: 1px solid var(--border-forte);
  background:
    linear-gradient(28deg, transparent 47%, rgba(255, 255, 255, 0.07) 47.5%, rgba(255, 255, 255, 0.07) 49%, transparent 49.5%),
    linear-gradient(-62deg, transparent 58%, rgba(255, 255, 255, 0.05) 58.5%, rgba(255, 255, 255, 0.05) 60%, transparent 60.5%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 2.2rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 2.2rem),
    radial-gradient(ellipse at 30% 80%, rgba(60, 110, 170, 0.18), transparent 55%),
    var(--bg);
  animation: mapa-entra 0.45s ease both;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.demo-mapa.saindo { opacity: 0; transform: scale(0.97); }
@keyframes mapa-entra { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.demo-radar {
  position: absolute; left: 50%; top: 50%; width: 34rem; height: 34rem; margin: -17rem 0 0 -17rem;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 140, 0, 0.32), rgba(255, 140, 0, 0.06) 14%, transparent 26%);
  animation: radar-gira 1.7s linear infinite;
}
@keyframes radar-gira { to { transform: rotate(360deg); } }
.demo-anel {
  position: absolute; left: 50%; top: 50%; width: 9rem; height: 9rem; margin: -4.5rem 0 0 -4.5rem;
  border-radius: 50%; border: 1px solid rgba(255, 181, 71, 0.35);
  animation: anel-abre 1.7s ease-out infinite;
}
.demo-anel--2 { animation-delay: 0.85s; }
@keyframes anel-abre { from { transform: scale(0.3); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.demo-pin {
  position: absolute; transform: translate(-50%, -100%) translateY(-1.2rem); opacity: 0;
  animation: pin-cai 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: drop-shadow(0 0.35rem 0.5rem rgba(0, 0, 0, 0.5));
}
.demo-pin::after {
  content: ''; position: absolute; left: 50%; bottom: -0.3rem; width: 1.6rem; height: 0.55rem; margin-left: -0.8rem;
  border-radius: 50%; border: 2px solid rgba(255, 181, 71, 0.7);
  animation: pin-onda 1.2s ease-out infinite; opacity: 0;
}
@keyframes pin-cai { to { opacity: 1; transform: translate(-50%, -100%); } }
@keyframes pin-onda { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(1.8); opacity: 0; } }
.demo-mapa-rotulo {
  position: absolute; left: 0.8rem; bottom: 0.8rem; font-size: 0.78rem; color: var(--muted);
  background: rgba(13, 15, 21, 0.85); border: 1px solid var(--border-forte); border-radius: 99rem;
  padding: 0.3rem 0.8rem; backdrop-filter: blur(4px);
}
.demo-mapa-rotulo b { color: var(--ambar); font-family: var(--font-display); }

/* --- Coleta: linhas em esqueleto que vão sendo preenchidas --- */
.demo-lead { transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.demo-lead-miolo { min-width: 0; }
.demo-lead-nome, .demo-lead-info { min-height: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-lead-info { flex-wrap: nowrap; }
.esq {
  display: inline-block; height: 0.62rem; border-radius: 99rem; vertical-align: middle;
  background: linear-gradient(90deg, var(--surface) 0%, var(--card-2) 50%, var(--surface) 100%);
  background-size: 200% 100%; animation: esq-brilha 1.1s linear infinite;
}
@keyframes esq-brilha { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.surge { animation: surge 0.4s ease both; }
@keyframes surge { from { opacity: 0; transform: translateY(0.25rem); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.demo-lead-av { transition: background 0.35s ease, color 0.35s ease; }
.demo-lead-av.vazio { background: var(--surface); color: transparent; }
.demo-lead-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; min-height: 1.3rem; margin-top: 0.25rem; font-size: 0.7rem; }
.demo-cadastro { color: var(--verde); font-weight: 600; animation: surge 0.4s ease both; }
.demo-cadastro::before { content: '✓ '; }

/* --- Enriquecimento: visita ao site e chips do que achou --- */
.demo-lead.foco {
  border-color: rgba(255, 181, 71, 0.6); background: rgba(255, 181, 71, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.2), 0 0.6rem 1.6rem rgba(240, 116, 44, 0.2);
}
.demo-visita { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ambar); font-weight: 600; }
.demo-giro {
  width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2px solid rgba(255, 181, 71, 0.25);
  border-top-color: var(--ambar); animation: giro 0.7s linear infinite;
}
@keyframes giro { to { transform: rotate(360deg); } }
.demo-visita-barra {
  display: inline-block; width: 3.5rem; height: 0.3rem; border-radius: 99rem; background: var(--surface); overflow: hidden;
}
.demo-visita-barra i { display: block; height: 100%; width: 0; background: var(--grad); animation: visita 0.7s ease-out forwards; }
@keyframes visita { to { width: 100%; } }
.demo-chip {
  font-size: 0.66rem; font-weight: 700; padding: 0.08rem 0.5rem; border-radius: 99rem;
  color: var(--ambar); background: rgba(255, 181, 71, 0.1); border: 1px solid rgba(255, 181, 71, 0.4);
  animation: chip-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes chip-pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.demo-nada { color: var(--muted-2); font-style: italic; animation: surge 0.4s ease both; }

/* --- Entrega --- */
.demo-lead-tags .demo-tag { animation: chip-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.demo-lead.entregue { border-color: rgba(62, 207, 142, 0.22); }

/* --- janela dos documentos legais --- */
.janela-legal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.janela-legal[hidden] { display: none; }
.janela-legal-fundo {
  position: absolute; inset: 0; background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s ease;
}
.janela-legal-caixa {
  position: relative; width: min(56rem, 100%); height: min(85vh, 60rem);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border-forte); border-radius: 1.25rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(1rem) scale(0.98); transition: opacity 0.25s ease, transform 0.25s ease;
}
.janela-legal-caixa::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); z-index: 1; }
.janela-legal.aberta .janela-legal-fundo { opacity: 1; }
.janela-legal.aberta .janela-legal-caixa { opacity: 1; transform: none; }
.janela-legal-topo { display: flex; align-items: center; gap: 0.75rem; padding: 1.1rem 1.25rem 1rem; border-bottom: 1px solid var(--border); }
.janela-legal-topo > svg { color: var(--ambar); flex: none; }
.janela-legal-topo h2 { font-size: 1.15rem; flex: 1; min-width: 0; }
.janela-legal-nova { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.janela-legal-nova:hover { color: var(--ambar); }
.janela-legal-fechar {
  flex: none; width: 2.3rem; height: 2.3rem; border-radius: 0.7rem; border: 1px solid var(--border-forte);
  background: var(--bg); color: var(--text); display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.janela-legal-fechar:hover { border-color: var(--brasa); color: var(--brasa-claro); }
.janela-legal-corpo { position: relative; flex: 1; background: #fff; }
.janela-legal-corpo iframe { width: 100%; height: 100%; border: 0; display: block; opacity: 0; transition: opacity 0.25s ease; }
.janela-legal-corpo iframe.pronto { opacity: 1; }
.janela-legal-carregando {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  color: #6d7689; font-size: 0.9rem; background: #fff;
}
.janela-legal-carregando[hidden] { display: none; }
.janela-legal-carregando span {
  width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid rgba(240, 116, 44, 0.25);
  border-top-color: var(--brasa); animation: giro 0.7s linear infinite;
}
body.janela-aberta { overflow: hidden; }
.rodape-base a { color: var(--muted); }
.rodape-base a:hover { color: var(--ambar); }

@media (max-width: 40rem) {
  .janela-legal { padding: 0.6rem; }
  .janela-legal-caixa { height: 92vh; }
  .janela-legal-nova { display: none; }
  .demo-leads { min-height: 22.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .janela-legal-fundo, .janela-legal-caixa { transition: none; }
}
.demo-lead.entregue .demo-lead-info span:last-child { display: none; }
