/* Landing do Escritório Virtual — mesmo padrão visual do escritório (cores, pílulas, painéis, fonte pixel) */
:root {
  --bg: #14151c;
  --bg-2: #1b1d26;
  --panel: #1f2230;
  --panel-2: #262a3b;
  --line: #333852;
  --text: #e8e9f1;
  --muted: #9aa0b8;
  --accent: #7c6cf2;
  --accent-2: #5b4ee0;
  --blue: #2e86de;
  --ok: #2ecc71;
  --warn: #ffd93d;
  --danger: #ff6b6b;
  --info: #4aa3ff;
  --gold: #f5d08a;
  --gold-line: #b8912f;
  --radius: 10px;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124,108,242,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(46,134,222,.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grade de pixels bem sutil no fundo */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--warn); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.grad {
  background: linear-gradient(90deg, #a99cff, var(--accent) 40%, #4aa3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------------------------ topo (igual ao escritório) */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 10px clamp(14px, 4vw, 32px);
  background: rgba(27,29,38,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--blue)); font-size: 18px;
}
.brand h1 { font-family: var(--pixel); font-size: 11px; letter-spacing: .5px; }
.brand p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.conn { padding: 3px 9px; border-radius: 99px; background: #183527; color: var(--ok); font-size: 12px; }
.conn::before { content: "● "; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.topbar__cta { margin-left: auto; }

/* ------------------------------------------------ componentes do escritório */
.btn {
  border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; cursor: pointer;
  background: var(--panel-2); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--primary { background: var(--accent); box-shadow: 0 6px 24px -8px rgba(124,108,242,.7); }
.btn--primary:hover { background: var(--accent-2); }
.btn--accent { background: var(--blue); }
.btn--ok { background: #1f8a4c; box-shadow: 0 6px 26px -8px rgba(46,204,113,.7); }
.btn--ok:hover { background: #23a058; }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { background: var(--panel-2); }
.btn--lg { padding: 14px 22px; font-size: 16px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,204,113,.55); }
  70% { box-shadow: 0 0 0 14px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; white-space: nowrap; font-style: normal; }
.pill--working { background: #1c3550; color: #8cc8ff; }
.pill--waiting { background: #4a3f12; color: var(--warn); }
.pill--done { background: #183527; color: var(--ok); }
.pill--idle { background: #2b2f40; color: var(--muted); }

.card {
  background: linear-gradient(180deg, var(--panel), #1b1e2b);
  border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.kicker {
  display: inline-block; font-family: var(--pixel); font-size: 10px; letter-spacing: 1px;
  color: var(--gold); background: rgba(17,19,26,.8); border: 1px solid var(--gold-line);
  padding: 6px 10px; border-radius: 99px; margin-bottom: 14px;
}
.error-box { background: #3a2230; color: #ffd0d0; border: 1px solid #6e2c3c; border-radius: 8px; padding: 9px 12px; font-size: 14px; }

/* ------------------------------------------------ hero */
main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(14px, 4vw, 32px); }
.hero {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
  padding: clamp(36px, 7vw, 80px) 0 48px;
}
.hero__title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -1px; margin: 18px 0 16px; font-weight: 800; }
.hero__sub { font-size: 18px; color: #c4c8da; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.hero__checks li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.window {
  border: 1px solid #3c4260; border-radius: 14px; overflow: hidden; background: #0f1016;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(124,108,242,.15), 0 0 120px -30px rgba(124,108,242,.5);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .6s;
}
.window:hover { transform: none; }
.window__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.window__bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.window__bar span:nth-child(2) { background: var(--warn); }
.window__bar span:nth-child(3) { background: var(--ok); }
.window__bar em { margin-left: 8px; font-style: normal; font-size: 12px; color: var(--muted); }
.window__screen { position: relative; }
.window__screen img { width: 100%; height: auto; image-rendering: auto; }

/* balão de notificação sobre o mapa */
.toast {
  position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px);
  display: flex; align-items: center; gap: 10px;
  background: rgba(17,19,26,.92); border: 1px solid #3c4260; border-left: 3px solid var(--ok);
  border-radius: 10px; padding: 8px 12px; font-size: 13px;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.toast.is-on { opacity: 1; transform: none; }
.toast b { color: var(--gold); }

/* faixa de tarefas */
.ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2);
  margin: 0 calc(50% - 50vw); padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; gap: 14px; width: max-content; animation: scroll 50s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c9cde0; white-space: nowrap; }
.ticker__item::after { content: "•"; color: var(--line); margin-left: 6px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ------------------------------------------------ seções */
.section { padding: clamp(56px, 9vw, 96px) 0 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.5px; font-weight: 800; }
.section__head p { margin-top: 10px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps h3 { font-size: 17px; margin: 14px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.steps__n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px;
  font-family: var(--pixel); font-size: 13px; background: linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.25);
}

/* equipe: cada cartão mostra um zoom do mapa real */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .team { grid-template-columns: repeat(3, 1fr); } }
.agent {
  position: relative; text-align: left; padding: 0; cursor: pointer; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.agent:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 40px -18px rgba(124,108,242,.8); }
.agent__shot {
  aspect-ratio: 4 / 3; background-image: url("img/mapa.jpg"); background-repeat: no-repeat;
  background-color: #0f1016; transition: background-size .5s;
  image-rendering: pixelated;
}
.agent:hover .agent__shot { filter: saturate(1.15); }
.agent__info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.agent__name { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.agent__nick {
  background: rgba(17,19,26,.82); border: 1px solid var(--gold-line); color: var(--gold);
  font-size: 11px; font-weight: 600; padding: 0 7px; border-radius: 99px;
}
.agent__role { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.agent .pill { position: absolute; top: 10px; left: 10px; font-size: 11px; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat h3 { font-size: 18px; margin: 12px 0 6px; }
.feat p { color: var(--muted); font-size: 15px; }
.feat__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--panel-2); font-size: 22px; }

/* comparativo */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.compare__col { border-radius: 14px; padding: 24px; border: 1px solid var(--line); }
.compare__col h3 { font-size: 20px; margin-bottom: 14px; }
.compare__col ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.compare__col--old { background: #1a1b23; }
.compare__col--old li { color: var(--muted); }
.compare__col--old li::before { content: "💸 "; }
.compare__col--new { background: linear-gradient(160deg, rgba(124,108,242,.22), var(--panel) 60%); border-color: var(--accent); }
.compare__col--new li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.compare__foot { font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.compare__vs { align-self: center; font-family: var(--pixel); font-size: 14px; color: var(--gold); }

/* ------------------------------------------------ oferta */
.offer__box {
  max-width: 620px; margin: 0 auto; text-align: center; position: relative;
  background: linear-gradient(180deg, #232741, var(--panel));
  border: 1px solid var(--accent); border-radius: 20px; padding: clamp(24px, 5vw, 40px);
  box-shadow: 0 0 0 6px rgba(124,108,242,.08), 0 40px 100px -40px rgba(124,108,242,.8);
}
.offer__box h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.5px; }
.offer__list { list-style: none; padding: 0; margin: 20px 0 24px; text-align: left; display: grid; gap: 10px; }
.offer__list li { padding-left: 28px; position: relative; }
.offer__list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 6px; background: #183527; color: var(--ok); font-size: 12px; font-weight: 800;
}

.gate__lock { position: relative; display: grid; place-items: center; padding: 18px; border-radius: 12px; background: #151722; border: 1px dashed #3c4260; }
.price-blur { display: flex; flex-direction: column; align-items: center; filter: blur(9px); user-select: none; }
.price-blur__old { color: var(--muted); }
.price-blur__new { font-size: 48px; font-weight: 800; }
.lock { position: absolute; font-size: 34px; animation: wiggle 2.4s infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-12deg); } 90% { transform: rotate(12deg); } 95% { transform: rotate(-6deg); } }
.gate__msg { margin: 16px 0 18px; font-weight: 600; }

form { display: grid; gap: 14px; text-align: left; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
input {
  background: #151722; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,108,242,.25); }
input.is-bad { border-color: var(--danger); }
.field--bonus { padding: 12px; border-radius: 12px; background: rgba(46,204,113,.06); border: 1px dashed rgba(46,204,113,.45); }
.field--bonus small { font-size: 12.5px; }
.field--bonus.is-ok small { color: var(--ok); }

.reveal-price { animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.hello { color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.price { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 6px 0 22px; }
.price__old { color: var(--muted); font-size: 17px; }
.price__old s, .price__mid s { text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.price__mid { color: var(--muted); font-size: 17px; }
.price__label { color: var(--muted); font-size: 14px; margin-top: 6px; }
.price__new {
  font-size: clamp(46px, 9vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -2px;
  background: linear-gradient(180deg, #fff, #c9c2ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price__new small { font-size: .38em; letter-spacing: 0; font-weight: 700; vertical-align: middle; }
.price__inst { font-size: 17px; margin-bottom: 8px; }
.price__inst strong { color: var(--ok); }
.add-whats { margin-top: 22px; padding: 14px; border-radius: 12px; background: rgba(46,204,113,.06); border: 1px dashed rgba(46,204,113,.45); }
.add-whats p { margin-bottom: 10px; }
.add-whats__form { display: flex; gap: 8px; }
.add-whats__form input { flex: 1; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq details[open] { border-color: #4a4f72; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; }

.final { text-align: center; padding: clamp(64px, 10vw, 110px) 0; }
.final h2 { font-size: clamp(26px, 3.8vw, 42px); line-height: 1.2; font-weight: 800; margin-bottom: 28px; letter-spacing: -.5px; }
.footer { border-top: 1px solid var(--line); background: var(--bg-2); text-align: center; padding: 26px 16px 100px; display: grid; gap: 4px; font-size: 14px; }

/* ------------------------------------------------ painel lateral (igual ao do escritório) */
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: 420px; max-width: 100%;
  background: var(--panel); border-left: 1px solid var(--line); overflow-y: auto;
  animation: slide-in .22s ease-out;
}
@keyframes slide-in { from { transform: translateX(30px); opacity: 0; } }
.panel__close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--panel-2); cursor: pointer; font-size: 20px; line-height: 1; z-index: 2;
}
.panel-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.panel-body > .pill { align-self: flex-start; }
.agent-head { display: flex; flex-direction: column; gap: 14px; padding-right: 36px; }
.agent-head__avatar { width: 100%; aspect-ratio: 4/3; border-radius: 12px; border: 1px solid #3c4260; background-image: url("img/mapa.jpg"); background-repeat: no-repeat; image-rendering: pixelated; }
.agent-head h2 { font-size: 22px; }
.panel__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel__list li { background: #151722; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.panel__list li::before { content: "▸ "; color: var(--accent); }
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(8,9,14,.6); backdrop-filter: blur(2px); }

/* barra fixa no celular */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 20;
  display: none; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(31,34,48,.95); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5); font-size: 14px; line-height: 1.25;
  transition: transform .3s, opacity .3s;
}
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------ responsivo */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .window { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar .conn, .brand p { display: none; }
  .topbar__cta { display: none; }
  .hero__sub { font-size: 16px; }
  .hero__actions .btn { flex: 1; }
  .steps, .feats { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .agent__role { display: none; }
  .agent__info { padding: 10px; }
  .agent__name { font-size: 14px; flex-wrap: wrap; gap: 4px; }
  .compare { grid-template-columns: 1fr; }
  .compare__vs { justify-self: center; }
  .sticky-cta { display: flex; }
  .add-whats__form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
